Home
last modified time | relevance | path

Searched refs:isAnimating (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ui/
DAnimatedValueTest.kt46 assertThat(value?.isAnimating).isFalse() in <lambda>()
59 assertThat(value?.isAnimating).isTrue() in <lambda>()
73 assertThat(value?.isAnimating).isTrue() in <lambda>()
84 assertThat(value?.isAnimating).isTrue() in <lambda>()
88 assertThat(value?.isAnimating).isFalse() in <lambda>()
100 assertThat(prevValue?.isAnimating).isTrue() in <lambda>()
103 assertThat(value?.isAnimating).isTrue() in <lambda>()
107 assertThat(value?.isAnimating).isTrue() in <lambda>()
124 assertThat(sum.isAnimating).isTrue() in <lambda>()
136 assertThat(sum.isAnimating).isTrue() in <lambda>()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DRampAnimator.java153 boolean isAnimating() { in isAnimating() method in RampAnimator
257 boolean shouldBeAnimating = isAnimating(); in animateTo()
282 public boolean isAnimating() { in isAnimating() method in RampAnimator.DualRampAnimator
283 return mFirst.isAnimating() || mSecond.isAnimating(); in isAnimating()
296 if (isAnimating()) {
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTests.java414 assertFalse(root.isAnimating(TRANSITION)); in testIsAnimating_TransitionFlag()
415 assertTrue(child1.isAnimating(TRANSITION)); in testIsAnimating_TransitionFlag()
426 assertFalse(root.isAnimating()); in testIsAnimating_ParentsFlag()
427 assertFalse(child1.isAnimating()); in testIsAnimating_ParentsFlag()
428 assertFalse(child1.isAnimating(PARENTS)); in testIsAnimating_ParentsFlag()
429 assertTrue(child2.isAnimating()); in testIsAnimating_ParentsFlag()
430 assertTrue(child2.isAnimating(PARENTS)); in testIsAnimating_ParentsFlag()
431 assertFalse(child21.isAnimating()); in testIsAnimating_ParentsFlag()
432 assertTrue(child21.isAnimating(PARENTS)); in testIsAnimating_ParentsFlag()
443 assertFalse(root.isAnimating()); in testIsAnimating_ChildrenFlag()
[all …]
DAnimatingActivityRegistryTest.java75 assertTrue(activity1.isAnimating(TRANSITION)); in testDeferring()
76 assertTrue(activity2.isAnimating(TRANSITION)); in testDeferring()
98 assertTrue(window1.isAnimating(TRANSITION)); in testContainerRemoved()
99 assertTrue(window2.isAnimating(TRANSITION)); in testContainerRemoved()
DSurfaceAnimatorTest.java134 assertTrue(mAnimatable.mSurfaceAnimator.isAnimating()); in testOverrideAnimation()
163 assertTrue(animator.isAnimating()); in testCancelWithNullFinishCallbackAnimation()
166 assertFalse(animator.isAnimating()); in testCancelWithNullFinishCallbackAnimation()
306 assertTrue(animatable.mSurfaceAnimator.isAnimating()); in assertAnimating()
311 assertFalse(animatable.mSurfaceAnimator.isAnimating()); in assertNotAnimating()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java256 boolean animatingX = isAnimating(view, TAG_ANIMATOR_TRANSLATION_X); in applyToView()
264 boolean animatingY = isAnimating(view, TAG_ANIMATOR_TRANSLATION_Y); in applyToView()
272 boolean animatingZ = isAnimating(view, TAG_ANIMATOR_TRANSLATION_Z); in applyToView()
280 boolean animatingScaleX = isAnimating(view, SCALE_X_PROPERTY); in applyToView()
288 boolean animatingScaleY = isAnimating(view, SCALE_Y_PROPERTY); in applyToView()
297 || (this.hidden && (!isAnimating(view) || oldVisibility != View.VISIBLE)); in applyToView()
298 boolean animatingAlpha = isAnimating(view, TAG_ANIMATOR_ALPHA); in applyToView()
340 public boolean isAnimating(View view) { in isAnimating() method in ViewState
341 if (isAnimating(view, TAG_ANIMATOR_TRANSLATION_X)) { in isAnimating()
344 if (isAnimating(view, TAG_ANIMATOR_TRANSLATION_Y)) { in isAnimating()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DPropertyAnimatorTest.java122 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationStarted()
129 assertFalse(ViewState.isAnimating(mView, mProperty)); in testNoAnimationStarted()
165 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationToRightValueUpdated()
178 assertTrue(ViewState.isAnimating(mView, mProperty)); in testAnimationToRightValueUpdateAnimated()
269 assertFalse(PropertyAnimator.isAnimating(mView, mProperty)); in testIsAnimating()
271 assertTrue(PropertyAnimator.isAnimating(mView, mProperty)); in testIsAnimating()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardRootViewModelTest.kt53 import com.android.systemui.util.ui.isAnimating
153 assertThat(isVisible?.isAnimating).isFalse() in iconContainer_isNotVisible_notOnKeyguard_dontShowAodIconsWhenShade()
170 assertThat(isVisible?.isAnimating).isFalse() in iconContainer_isNotVisible_onKeyguard_dontShowWhenGoneToAodTransitionRunning()
207 assertThat(isVisible?.isAnimating).isTrue() in iconContainer_isVisible_notifsFullyHidden_bypassEnabled()
222 assertThat(isVisible?.isAnimating).isFalse() in iconContainer_isVisible_notifsFullyHidden_bypassDisabled_aodDisabled()
238 assertThat(isVisible?.isAnimating).isFalse() in iconContainer_isVisible_notifsFullyHidden_bypassDisabled_displayNeedsBlanking()
254 assertThat(isVisible?.isAnimating).isTrue() in iconContainer_isVisible_notifsFullyHidden_bypassDisabled()
269 assertThat(isVisible?.isAnimating).isEqualTo(true) in isIconContainerVisible_stopAnimation()
273 assertThat(isVisible?.isAnimating).isEqualTo(false) in isIconContainerVisible_stopAnimation()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java577 public boolean isAnimating() { in isAnimating() method in ScreenRotationAnimation
579 && mSurfaceRotationAnimationController.isAnimating(); in isAnimating()
791 if (isAnimating()) { in onAnimationEnd()
800 ? mDisplayAnimator.isAnimating() : null, in onAnimationEnd()
802 ? mEnterBlackFrameAnimator.isAnimating() : null, in onAnimationEnd()
804 ? mRotateScreenAnimator.isAnimating() : null, in onAnimationEnd()
806 ? mScreenshotRotationAnimator.isAnimating() : null in onAnimationEnd()
850 public boolean isAnimating() { in isAnimating() method in ScreenRotationAnimation.SurfaceRotationAnimationController
851 return mDisplayAnimator != null && mDisplayAnimator.isAnimating() in isAnimating()
852 || mEnterBlackFrameAnimator != null && mEnterBlackFrameAnimator.isAnimating() in isAnimating()
[all …]
DWindowAnimator.java158 if (dc.isAnimating(animationFlags, ANIMATION_TYPE_ALL)) { in animate()
220 mService.mRoot.isAnimating(TRANSITION | CHILDREN /* flags */, in updateRunningExpensiveAnimationsLegacy()
DWindowState.java1210 if (isAnimating(PARENTS | TRANSITION, ANIMATION_TYPE_ALL) || inTransition()) { in getTouchOcclusionMode()
1764 || (isAnimating(TRANSITION | PARENTS) in hasContentToDisplay()
1921 return !isParentWindowHidden() || isAnimating(TRANSITION | PARENTS); in isOnScreen()
1980 && (parentAndClientVisible || isAnimating(TRANSITION | PARENTS)); in isReadyForDisplay()
2024 return isAnimating(TRANSITION | PARENTS); in isAnimatingLw()
2075 && isDrawn() && !isAnimating(TRANSITION | PARENTS); in isOpaqueDrawn()
2136 if (!visible && isVisibleNow && mActivityRecord.isAnimating(PARENTS | TRANSITION)) { in onAppVisibilityChanged()
2435 isAnimating(TRANSITION | PARENTS), in removeIfPossible()
2436 mActivityRecord != null && mActivityRecord.isAnimating(PARENTS | TRANSITION), in removeIfPossible()
2481 final boolean isAnimating = allowExitAnimation in removeIfPossible()
[all …]
DDimmerAnimationHelper.java185 private boolean isAnimating() { in isAnimating() method in DimmerAnimationHelper
190 if (mLocalAnimationAdapter != null && isAnimating()) { in stopCurrentAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/viewmodel/
DScreenshotViewModel.kt42 val isAnimating: StateFlow<Boolean> = _isAnimating constant in com.android.systemui.screenshot.ui.viewmodel.ScreenshotViewModel
128 fun setIsAnimating(isAnimating: Boolean) { in setIsAnimating()
129 _isAnimating.value = isAnimating in setIsAnimating()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DLightRevealScrimInteractor.kt86 val isAnimating: Boolean in screenIsShowingContent() constant in com.android.systemui.keyguard.domain.interactor.LightRevealScrimInteractor
87 get() = lightRevealScrimRepository.isAnimating in screenIsShowingContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/
DScreenshotShelfViewBinder.kt137 viewModel.isAnimating.collect { isAnimating -> in <lambda>() method
138 previewView.isClickable = !isAnimating in <lambda>()
140 child.isClickable = !isAnimating in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/viewbinder/
DFooterViewBinder.kt24 import com.android.systemui.util.ui.isAnimating in <lambda>()
99 if (isVisible.isAnimating) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/footer/ui/viewmodel/
DFooterViewModelTest.kt43 import com.android.systemui.util.ui.isAnimating
194 assertThat(visible?.isAnimating).isTrue() in clearAllButtonAnimating_whenShadeExpandedAndTouchable()
228 assertThat(visible?.isAnimating).isFalse() in clearAllButtonAnimating_whenShadeNotExpanded()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DFakeLightRevealScrimRepository.kt38 override val isAnimating: Boolean constant in com.android.systemui.keyguard.data.repository.FakeLightRevealScrimRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DLightRevealScrimRepository.kt66 val isAnimating: Boolean in <lambda>() constant
143 override val isAnimating: Boolean constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModelTest.kt49 import com.android.systemui.util.ui.isAnimating
310 assertThat(isolatedIcon?.isAnimating).isTrue() in isolatedIcon_animateOnAppear_shadeCollapsed()
337 assertThat(isolatedIcon?.isAnimating).isFalse() in isolatedIcon_dontAnimateOnAppear_shadeExpanded()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DImeOpenCloseStressTest.java135 () -> !activity.isAnimating() && isImeShown(editText)); in testShowHideWithInputMethodManager_waitingAnimationEnd()
140 () -> !activity.isAnimating() && !isImeShown(editText)); in testShowHideWithInputMethodManager_waitingAnimationEnd()
295 () -> !activity.isAnimating() && isImeShown(editText)); in testShowHideWithWindowInsetsController_waitingAnimationEnd()
300 () -> !activity.isAnimating() && !isImeShown(editText)); in testShowHideWithWindowInsetsController_waitingAnimationEnd()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherListView.java71 boolean isAnimating() { in isAnimating() method in KeyguardUserSwitcherListView
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DRoundable.kt384 internal fun isTopAnimating() = PropertyAnimator.isAnimating(targetView, topAnimatable) in isTopAnimating()
387 internal fun isBottomAnimating() = PropertyAnimator.isAnimating(targetView, bottomAnimatable) in isTopAnimating()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/
DNotificationListViewBinder.kt52 import com.android.systemui.util.ui.isAnimating in <lambda>()
198 /* animate = */ animatedVisibility.isAnimating, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ui/
DAnimatedValue.kt55 inline val <T> AnimatedValue<T>.isAnimating: Boolean constant

1234