Home
last modified time | relevance | path

Searched refs:previousAnimator (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java336 ObjectAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_ALPHA); in startAlphaAnimation() local
340 if (previousAnimator != null) { in startAlphaAnimation()
343 PropertyValuesHolder[] values = previousAnimator.getValues(); in startAlphaAnimation()
349 previousAnimator.setCurrentPlayTime(previousAnimator.getCurrentPlayTime()); in startAlphaAnimation()
390 long newDuration = cancelAnimatorAndGetNewDuration(properties.duration, previousAnimator); in startAlphaAnimation()
392 if (properties.delay > 0 && (previousAnimator == null in startAlphaAnimation()
393 || previousAnimator.getAnimatedFraction() == 0)) { in startAlphaAnimation()
423 ObjectAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_TRANSLATION_Z); in startZTranslationAnimation() local
427 if (previousAnimator != null) { in startZTranslationAnimation()
430 PropertyValuesHolder[] values = previousAnimator.getValues(); in startZTranslationAnimation()
[all …]
DNotificationSection.java88 ObjectAnimator previousAnimator = mTopAnimator; in startTopAnimation() local
89 if (previousAnimator != null && previousEndValue == newEndValue) { in startTopAnimation()
94 if (previousAnimator != null) { in startTopAnimation()
98 PropertyValuesHolder[] values = previousAnimator.getValues(); in startTopAnimation()
102 previousAnimator.setCurrentPlayTime(previousAnimator.getCurrentPlayTime()); in startTopAnimation()
110 if (previousAnimator != null) { in startTopAnimation()
111 previousAnimator.cancel(); in startTopAnimation()
138 ObjectAnimator previousAnimator = mBottomAnimator; in startBottomAnimation() local
139 if (previousAnimator != null && previousEndValue == newEndValue) { in startBottomAnimation()
144 if (previousAnimator != null) { in startBottomAnimation()
[all …]
DExpandableViewState.java237 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_HEIGHT); in startHeightAnimation() local
241 if (previousAnimator != null) { in startHeightAnimation()
244 PropertyValuesHolder[] values = previousAnimator.getValues(); in startHeightAnimation()
250 previousAnimator.setCurrentPlayTime(previousAnimator.getCurrentPlayTime()); in startHeightAnimation()
268 long newDuration = cancelAnimatorAndGetNewDuration(properties.duration, previousAnimator); in startHeightAnimation()
270 if (properties.delay > 0 && (previousAnimator == null in startHeightAnimation()
271 || previousAnimator.getAnimatedFraction() == 0)) { in startHeightAnimation()
318 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_TOP_INSET); in startInsetAnimation() local
322 if (previousAnimator != null) { in startInsetAnimation()
325 PropertyValuesHolder[] values = previousAnimator.getValues(); in startInsetAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DPropertyAnimator.java41 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in setProperty() local
42 if (previousAnimator != null || animated) { in setProperty()
62 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in startAnimation() local
66 if (previousAnimator != null) { in startAnimation()
69 PropertyValuesHolder[] values = previousAnimator.getValues(); in startAnimation()
75 previousAnimator.setCurrentPlayTime(previousAnimator.getCurrentPlayTime()); in startAnimation()
93 previousAnimator); in startAnimation()
95 if (properties.delay > 0 && (previousAnimator == null in startAnimation()
96 || previousAnimator.getAnimatedFraction() == 0)) { in startAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java419 ValueAnimator previousAnimator = (ValueAnimator) scrim.getTag(TAG_KEY_ANIM); in setOrAdaptCurrentAnimation() local
427 previousAnimator.setCurrentPlayTime(previousAnimator.getCurrentPlayTime()); in setOrAdaptCurrentAnimation()
740 ValueAnimator previousAnimator = ViewState.getChildTag(scrim, TAG_KEY_ANIM); in updateScrim() local
741 if (previousAnimator != null) { in updateScrim()
750 cancelAnimator(previousAnimator); in updateScrim()
791 protected void cancelAnimator(ValueAnimator previousAnimator) { in cancelAnimator() argument
792 if (previousAnimator != null) { in cancelAnimator()
793 previousAnimator.cancel(); in cancelAnimator()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java723 protected void cancelAnimator(ValueAnimator previousAnimator) { in cancelAnimator() argument
724 super.cancelAnimator(previousAnimator); in cancelAnimator()