Searched refs:oldIcon (Results 1 – 3 of 3) sorted by relevance
52 Drawable oldIcon = shortcut.getIcon(); in updateWorkspaceItems()53 boolean oldPromiseState = (oldIcon instanceof PreloadIconDrawable) in updateWorkspaceItems()54 && ((PreloadIconDrawable) oldIcon).hasNotCompleted(); in updateWorkspaceItems()58 && oldIcon instanceof PreloadIconDrawable in updateWorkspaceItems()59 ? (PreloadIconDrawable) oldIcon in updateWorkspaceItems()
246 PreloadIconDrawable oldIcon, Runnable onFinishCallback) { in maybePerformFinishedAnimation() argument248 mProgressColor = oldIcon.mProgressColor; in maybePerformFinishedAnimation()249 mTrackColor = oldIcon.mTrackColor; in maybePerformFinishedAnimation()250 mPlateColor = oldIcon.mPlateColor; in maybePerformFinishedAnimation()252 if (oldIcon.mInternalStateProgress >= 1) { in maybePerformFinishedAnimation()253 mInternalStateProgress = oldIcon.mInternalStateProgress; in maybePerformFinishedAnimation()
964 private void updateProgressBarUi(PreloadIconDrawable oldIcon) { in updateProgressBarUi() argument967 if (preloadDrawable != null && oldIcon != null) { in updateProgressBarUi()968 preloadDrawable.maybePerformFinishedAnimation(oldIcon, () -> setIcon(originalIcon)); in updateProgressBarUi()