Lines Matching refs:FastBitmapDrawable
152 FastBitmapDrawable iconDrawable = mLauncher.createIconDrawable(b); in applyFromShortcutInfo()
154 iconDrawable.setState(FastBitmapDrawable.State.DISABLED); in applyFromShortcutInfo()
169 FastBitmapDrawable iconDrawable = mLauncher.createIconDrawable(info.iconBitmap); in applyFromApplicationInfo()
171 iconDrawable.setState(FastBitmapDrawable.State.DISABLED); in applyFromApplicationInfo()
255 if (mIcon instanceof FastBitmapDrawable) { in updateIconState()
256 FastBitmapDrawable d = (FastBitmapDrawable) mIcon; in updateIconState()
259 d.animateState(FastBitmapDrawable.State.DISABLED); in updateIconState()
261 d.animateState(FastBitmapDrawable.State.PRESSED); in updateIconState()
263 d.animateState(FastBitmapDrawable.State.NORMAL); in updateIconState()
532 FastBitmapDrawable.State prevState = FastBitmapDrawable.State.NORMAL; in reapplyItemInfo()
533 if (mIcon instanceof FastBitmapDrawable) { in reapplyItemInfo()
534 prevState = ((FastBitmapDrawable) mIcon).getCurrentState(); in reapplyItemInfo()
557 if (mIcon instanceof FastBitmapDrawable) { in reapplyItemInfo()
558 ((FastBitmapDrawable) mIcon).setState(prevState); in reapplyItemInfo()
595 … public void setFastScrollFocusState(final FastBitmapDrawable.State focusState, boolean animated) { in setFastScrollFocusState()
597 if (!(mIcon instanceof FastBitmapDrawable)) { in setFastScrollFocusState()
601 FastBitmapDrawable d = (FastBitmapDrawable) mIcon; in setFastScrollFocusState()
603 FastBitmapDrawable.State prevState = d.getCurrentState(); in setFastScrollFocusState()
625 private static int getStartDelayForStateChange(final FastBitmapDrawable.State fromState, in getStartDelayForStateChange()
626 final FastBitmapDrawable.State toState) { in getStartDelayForStateChange()
631 return FastBitmapDrawable.FAST_SCROLL_INACTIVE_DURATION / 4; in getStartDelayForStateChange()