/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/ |
D | NotificationIconContainerStatusBarViewModelTest.kt | 122 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/ |
D | NotificationIconContainerAlwaysOnDisplayViewModelTest.kt | 139 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/ |
D | FakeAnimationStatusRepository.kt | 27 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/ |
D | HeadsUpNotificationViewBinder.kt | 40 .collect { (newKeys, animationsEnabled) -> in <lambda>() method 45 if (animationsEnabled) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/viewmodel/ |
D | FooterViewModel.kt | 86 ) { clearAllButtonVisible, (isShadeFullyExpanded, animationsEnabled) -> in <lambda>() method 87 val shouldAnimate = isShadeFullyExpanded && animationsEnabled in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | CustomizeTileView.kt | 54 override fun animationsEnabled(): Boolean { in animationsEnabled() method
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/ |
D | NotificationListViewModelTest.kt | 607 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/ |
D | NotificationListViewModel.kt | 196 ) { 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/ |
D | NotificationIconContainerStatusBarViewModel.kt | 60 val animationsEnabled: Flow<Boolean> = in <lambda>() constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewbinder/ |
D | NotificationIconContainerViewBinder.kt | 90 launch { viewModel.animationsEnabled.bindAnimationsEnabled(view) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileViewImpl.kt | 644 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/ |
D | NotificationStackScrollLayout.java | 3048 public void setAnimationsEnabled(boolean animationsEnabled) { in setAnimationsEnabled() argument 3050 mAnimationsEnabled = animationsEnabled; in setAnimationsEnabled() 3052 if (!animationsEnabled) { in setAnimationsEnabled()
|