Home
last modified time | relevance | path

Searched refs:AnimatedFloat (Results 1 – 25 of 39) sorted by relevance

12

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragLayerController.java30 import com.android.launcher3.anim.AnimatedFloat;
52 private final AnimatedFloat mBgTaskbar = new AnimatedFloat(this::updateBackgroundAlpha);
53 private final AnimatedFloat mBgNavbar = new AnimatedFloat(this::updateBackgroundAlpha);
54 private final AnimatedFloat mKeyguardBgTaskbar = new AnimatedFloat(this::updateBackgroundAlpha);
55 private final AnimatedFloat mNotificationShadeBgTaskbar = new AnimatedFloat(
57 private final AnimatedFloat mImeBgTaskbar = new AnimatedFloat(this::updateBackgroundAlpha);
58 private final AnimatedFloat mAssistantBgTaskbar = new AnimatedFloat(
61 private final AnimatedFloat mBgOverride = new AnimatedFloat(this::updateBackgroundAlpha);
64 private final AnimatedFloat mBgOffset = new AnimatedFloat(this::updateBackgroundOffset);
68 private final AnimatedFloat mTaskbarAlpha = new AnimatedFloat(this::updateTaskbarAlpha);
[all …]
DTaskbarViewController.java26 import static com.android.launcher3.anim.AnimatedFloat.VALUE;
59 import com.android.launcher3.anim.AnimatedFloat;
99 private final AnimatedFloat mTaskbarIconScaleForStash = new AnimatedFloat(this::updateScale);
100 private final AnimatedFloat mTaskbarIconTranslationYForHome = new AnimatedFloat(
102 private final AnimatedFloat mTaskbarIconTranslationYForStash = new AnimatedFloat(
105 private final AnimatedFloat mTaskbarIconScaleForPinning = new AnimatedFloat(
108 private final AnimatedFloat mTaskbarIconTranslationXForPinning = new AnimatedFloat(
111 private final AnimatedFloat mTaskbarIconTranslationYForPinning = new AnimatedFloat(
119 private AnimatedFloat mTaskbarNavButtonTranslationY;
120 private AnimatedFloat mTaskbarNavButtonTranslationYForInAppDisplay;
[all …]
DNavbarButtonsViewController.java93 import com.android.launcher3.anim.AnimatedFloat;
173 private final AnimatedFloat mTaskbarNavButtonTranslationY = new AnimatedFloat(
175 private final AnimatedFloat mTaskbarNavButtonTranslationYForInAppDisplay = new AnimatedFloat(
177 private final AnimatedFloat mTaskbarNavButtonTranslationYForIme = new AnimatedFloat(
181 private final AnimatedFloat mNavButtonInAppDisplayProgressForSysui = new AnimatedFloat(
184 private final AnimatedFloat mTaskbarNavButtonDarkIntensity = new AnimatedFloat(
187 private final AnimatedFloat mOnTaskbarBackgroundNavButtonColorOverride = new AnimatedFloat(
190 private final AnimatedFloat mSlideInViewVisibleNavButtonColorOverride = new AnimatedFloat(
193 private final AnimatedFloat mOnBackgroundNavButtonColorOverrideMultiplier = new AnimatedFloat(
295 flags -> (flags & flagsToRemoveTranslation) != 0, AnimatedFloat.VALUE, in setupController()
[all …]
DTaskbarSpringOnStashController.java18 import static com.android.launcher3.anim.AnimatedFloat.VALUE;
27 import com.android.launcher3.anim.AnimatedFloat;
41 private final AnimatedFloat mTranslationForStash = new AnimatedFloat(
DTaskbarTranslationController.java18 import static com.android.launcher3.anim.AnimatedFloat.VALUE;
30 import com.android.launcher3.anim.AnimatedFloat;
51 private final AnimatedFloat mTranslationYForSwipe = new AnimatedFloat(
DTaskbarScrimViewController.java30 import com.android.launcher3.anim.AnimatedFloat;
53 private final AnimatedFloat mScrimAlpha = new AnimatedFloat(this::updateScrimAlpha);
DLauncherTaskbarUIController.java37 import com.android.launcher3.anim.AnimatedFloat;
73 private final AnimatedFloat mTaskbarInAppDisplayProgress = new AnimatedFloat(
75 private final MultiPropertyFactory<AnimatedFloat> mTaskbarInAppDisplayProgressMultiProp =
77 AnimatedFloat.VALUE, DISPLAY_PROGRESS_COUNT, Float::max);
DTaskbarForceVisibleImmersiveController.java33 import com.android.launcher3.anim.AnimatedFloat;
53 private final AnimatedFloat mIconAlphaForDimming = new AnimatedFloat(
DTaskbarControllers.java24 import com.android.launcher3.anim.AnimatedFloat;
80 private final AnimatedFloat mCornerRoundness = new AnimatedFloat(this::updateCornerRoundness);
290 public AnimatedFloat getTaskbarCornerRoundness() { in getTaskbarCornerRoundness()
DStashedHandleViewController.java36 import com.android.launcher3.anim.AnimatedFloat;
78 private final AnimatedFloat mTaskbarStashedHandleHintScale = new AnimatedFloat(
202 public AnimatedFloat getStashedHandleHintScale() { in getStashedHandleHintScale()
DTaskbarLauncherStateController.java45 import com.android.launcher3.anim.AnimatedFloat;
139 private final AnimatedFloat mIconAlignment =
140 new AnimatedFloat(this::onIconAlignmentRatioChanged);
143 private AnimatedFloat mTaskbarBackgroundAlpha;
144 private AnimatedFloat mTaskbarAlpha;
145 private AnimatedFloat mTaskbarCornerRoundness;
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAnimatedFloat.java28 public class AnimatedFloat { class
30 public static final FloatProperty<AnimatedFloat> VALUE =
31 new FloatProperty<AnimatedFloat>("value") {
33 public void setValue(AnimatedFloat obj, float v) {
38 public Float get(AnimatedFloat obj) {
52 public AnimatedFloat() { in AnimatedFloat() method in AnimatedFloat
56 public AnimatedFloat(Runnable updateCallback) { in AnimatedFloat() method in AnimatedFloat
60 public AnimatedFloat(Consumer<Float> updateCallback) { in AnimatedFloat() method in AnimatedFloat
64 public AnimatedFloat(Runnable updateCallback, float initialValue) { in AnimatedFloat() method in AnimatedFloat
69 public AnimatedFloat(Consumer<Float> updateCallback, float initialValue) { in AnimatedFloat() method in AnimatedFloat
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTaskViewSimulator.java49 import com.android.launcher3.anim.AnimatedFloat;
100 public final AnimatedFloat taskPrimaryTranslation = new AnimatedFloat();
101 public final AnimatedFloat taskSecondaryTranslation = new AnimatedFloat();
104 public final AnimatedFloat carouselScale = new AnimatedFloat();
105 public final AnimatedFloat carouselPrimaryTranslation = new AnimatedFloat();
106 public final AnimatedFloat carouselSecondaryTranslation = new AnimatedFloat();
109 public final AnimatedFloat recentsViewScale = new AnimatedFloat();
110 public final AnimatedFloat fullScreenProgress = new AnimatedFloat();
111 public final AnimatedFloat recentsViewSecondaryTranslation = new AnimatedFloat();
112 public final AnimatedFloat recentsViewPrimaryTranslation = new AnimatedFloat();
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DSysUiScrim.java40 import com.android.launcher3.anim.AnimatedFloat;
94 private final AnimatedFloat mSysUiAnimMultiplier = new AnimatedFloat(this::reapplySysUiAlpha);
95 private final AnimatedFloat mSysUiProgress = new AnimatedFloat(this::reapplySysUiAlpha);
152 public AnimatedFloat getSysUIMultiplier() { in getSysUIMultiplier()
159 public AnimatedFloat getSysUIProgress() { in getSysUIProgress()
DPreloadIconDrawable.java40 import com.android.launcher3.anim.AnimatedFloat;
114 private final AnimatedFloat mIconScaleMultiplier = new AnimatedFloat(mInvalidateRunnable);
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DOverviewActionsView.java37 import com.android.launcher3.anim.AnimatedFloat;
104 private final AnimatedFloat[] mAlphaProperties = new AnimatedFloat[NUM_ALPHAS];
169 mAlphaProperties[index] = new AnimatedFloat(() -> { in onFinishInflate()
322 public AnimatedFloat getContentAlpha() { in getContentAlpha()
326 public AnimatedFloat getVisibilityAlpha() { in getVisibilityAlpha()
330 public AnimatedFloat getFullscreenAlpha() { in getFullscreenAlpha()
334 public AnimatedFloat getShareTargetAlpha() { in getShareTargetAlpha()
338 public AnimatedFloat getIndexScrollAlpha() { in getIndexScrollAlpha()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DFallbackSwipeHandler.java59 import com.android.launcher3.anim.AnimatedFloat;
240 private final AnimatedFloat mHomeAlpha;
242 private final AnimatedFloat mVerticalShiftForScale = new AnimatedFloat();
243 private final AnimatedFloat mRecentsAlpha = new AnimatedFloat();
258 mHomeAlpha = new AnimatedFloat(); in FallbackHomeAnimationFactory()
266 mHomeAlpha = new AnimatedFloat(this::updateHomeAlpha); in FallbackHomeAnimationFactory()
302 pa.setFloat(mRecentsAlpha, AnimatedFloat.VALUE, 0, ACCELERATE); in createActivityAnimationToHome()
342 .build(mVerticalShiftForScale, AnimatedFloat.VALUE) in playAtomicAnimation()
DSwipeUpAnimationLogic.java37 import com.android.launcher3.anim.AnimatedFloat;
77 protected final AnimatedFloat mCurrentShift = new AnimatedFloat(this::onCurrentShiftUpdated);
122 mDp, taskViewSimulator.recentsViewScale, AnimatedFloat.VALUE, in initTransitionEndpoints()
123 taskViewSimulator.recentsViewSecondaryTranslation, AnimatedFloat.VALUE in initTransitionEndpoints()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarViewController.java37 import com.android.launcher3.anim.AnimatedFloat;
78 private final AnimatedFloat mBubbleBarScale = new AnimatedFloat(this::updateScale);
79 private final AnimatedFloat mBubbleBarTranslationY = new AnimatedFloat(
197 public AnimatedFloat getBubbleBarScale() { in getBubbleBarScale()
201 public AnimatedFloat getBubbleBarTranslationY() { in getBubbleBarTranslationY()
DBubbleStashController.java29 import com.android.launcher3.anim.AnimatedFloat;
67 private AnimatedFloat mIconScaleForStash;
68 private AnimatedFloat mIconTranslationYForStash;
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java47 import com.android.launcher3.anim.AnimatedFloat;
171 .getCurrentShift(), AnimatedFloat.VALUE, 1, ACCELERATE); in fadeOutFakeTaskView()
178 .getCurrentShift(), AnimatedFloat.VALUE, 0, ACCELERATE); in fadeOutFakeTaskView()
213 .getCurrentShift(), AnimatedFloat.VALUE, 0, ACCELERATE); in fadeOutFakeTaskView()
239 .getCurrentShift(), AnimatedFloat.VALUE, 0, ACCELERATE); in resetFakeTaskView()
351 AnimatedFloat getCurrentShift() { in getCurrentShift()
DAllSetActivity.java67 import com.android.launcher3.anim.AnimatedFloat;
104 private final AnimatedFloat mSwipeProgress = new AnimatedFloat(this::onSwipeProgressUpdate);
324 private AnimatedFloat createSwipeUpProxy(GestureState state) { in createSwipeUpProxy()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DProgressDelegateInputConsumer.java32 import com.android.launcher3.anim.AnimatedFloat;
84 private final AnimatedFloat mProgress;
93 InputMonitorCompat inputMonitorCompat, AnimatedFloat progress) { in ProgressDelegateInputConsumer()
DDeviceLockedInputConsumer.java44 import com.android.launcher3.anim.AnimatedFloat;
102 private final AnimatedFloat mProgress = new AnimatedFloat(this::applyTransform);
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DFallbackRecentsStateController.java45 import com.android.launcher3.anim.AnimatedFloat;
100 AnimatedFloat.VALUE, overviewButtonAlpha, LINEAR); in setProperties()

12