Home
last modified time | relevance | path

Searched refs:animationsEnabled (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModelTest.kt122 val animationsEnabled by collectLastValue(underTest.animationsEnabled) in animationsEnabled_isFalse_whenDeviceAsleepAndNotPulsing() constant
124 assertThat(animationsEnabled).isFalse() in animationsEnabled_isFalse_whenDeviceAsleepAndNotPulsing()
145 val animationsEnabled by collectLastValue(underTest.animationsEnabled) in animationsEnabled_isTrue_whenDeviceAsleepAndPulsing() constant
147 assertThat(animationsEnabled).isTrue() in animationsEnabled_isTrue_whenDeviceAsleepAndPulsing()
166 val animationsEnabled by collectLastValue(underTest.animationsEnabled) in animationsEnabled_isFalse_whenStartingToSleepAndNotControlScreenOff() constant
168 assertThat(animationsEnabled).isFalse() in animationsEnabled_isFalse_whenStartingToSleepAndNotControlScreenOff()
174 val animationsEnabled by collectLastValue(underTest.animationsEnabled) in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff() constant
175 assertThat(animationsEnabled).isTrue() in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff()
192 assertThat(animationsEnabled).isTrue() in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff()
208 val animationsEnabled by collectLastValue(underTest.animationsEnabled) in animationsEnabled_isTrue_whenNotAsleep() constant
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerAlwaysOnDisplayViewModelTest.kt139 val animationsEnabled by collectLastValue(underTest.areContainerChangesAnimated) in animationsEnabled_isFalse_whenDeviceAsleepAndNotPulsing() constant
141 assertThat(animationsEnabled).isFalse() in animationsEnabled_isFalse_whenDeviceAsleepAndNotPulsing()
162 val animationsEnabled by collectLastValue(underTest.areContainerChangesAnimated) in animationsEnabled_isTrue_whenDeviceAsleepAndPulsing() constant
164 assertThat(animationsEnabled).isTrue() in animationsEnabled_isTrue_whenDeviceAsleepAndPulsing()
183 val animationsEnabled by collectLastValue(underTest.areContainerChangesAnimated) in animationsEnabled_isFalse_whenStartingToSleepAndNotControlScreenOff() constant
185 assertThat(animationsEnabled).isFalse() in animationsEnabled_isFalse_whenStartingToSleepAndNotControlScreenOff()
191 val animationsEnabled by collectLastValue(underTest.areContainerChangesAnimated) in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff() constant
192 assertThat(animationsEnabled).isTrue() in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff()
207 assertThat(animationsEnabled).isTrue() in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff()
223 val animationsEnabled by collectLastValue(underTest.areContainerChangesAnimated) in animationsEnabled_isTrue_whenNotAsleep() constant
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/animation/data/repository/
DFakeAnimationStatusRepository.kt27 private val animationsEnabled: MutableSharedFlow<Boolean> = MutableSharedFlow(replay = 1) constant in com.android.systemui.util.animation.data.repository.FakeAnimationStatusRepository
29 override fun areAnimationsEnabled(): Flow<Boolean> = animationsEnabled in areAnimationsEnabled()
32 animationsEnabled.tryEmit(enabled) in areAnimationsEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ui/viewbinder/
DHeadsUpNotificationViewBinder.kt40 .collect { (newKeys, animationsEnabled) -> in <lambda>() method
45 if (animationsEnabled) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/viewmodel/
DFooterViewModel.kt86 ) { clearAllButtonVisible, (isShadeFullyExpanded, animationsEnabled) -> in <lambda>() method
87 val shouldAnimate = isShadeFullyExpanded && animationsEnabled in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DCustomizeTileView.kt54 override fun animationsEnabled(): Boolean { in animationsEnabled() method
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationListViewModelTest.kt607 val animationsEnabled by collectLastValue(underTest.headsUpAnimationsEnabled) in headsUpAnimationsEnabled_true() constant
613 assertThat(animationsEnabled).isTrue() in headsUpAnimationsEnabled_true()
620 val animationsEnabled by collectLastValue(underTest.headsUpAnimationsEnabled) in headsUpAnimationsEnabled_keyguardShowing_false() constant
626 assertThat(animationsEnabled).isFalse() in headsUpAnimationsEnabled_keyguardShowing_false()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationListViewModel.kt196 ) { visibilityChange, (isShadeFullyExpanded, animationsEnabled) -> in <lambda>() method
201 isShadeFullyExpanded && animationsEnabled && visibilityChange.canAnimate in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModel.kt60 val animationsEnabled: Flow<Boolean> = in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewbinder/
DNotificationIconContainerViewBinder.kt90 launch { viewModel.animationsEnabled.bindAnimationsEnabled(view) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileViewImpl.kt644 val allowAnimations = animationsEnabled() in <lambda>()
840 protected open fun animationsEnabled(): Boolean { in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3048 public void setAnimationsEnabled(boolean animationsEnabled) { in setAnimationsEnabled() argument
3050 mAnimationsEnabled = animationsEnabled; in setAnimationsEnabled()
3052 if (!animationsEnabled) { in setAnimationsEnabled()