void () { if (isDisplayable() && isShowing()) { WindowManager.getInstance().setAlphaModeRatio(FloatingDecorator.this, getCurrentAlphaRatio()); } if (myCurrentFrame < TOTAL_FRAME_COUNT) { myCurrentFrame++; myFrameTicker.addRequest(myAnimator, DELAY); } else { myFrameTicker.cancelAllRequests(); } }