Home
last modified time | relevance | path

Searched refs:ambientState (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java121 public void resetViewStates(AmbientState ambientState, int speedBumpIndex) { in resetViewStates() argument
128 initAlgorithmState(algorithmState, ambientState); in resetViewStates()
129 updatePositionsForState(algorithmState, ambientState); in resetViewStates()
130 updateZValuesForState(algorithmState, ambientState); in resetViewStates()
131 updateHeadsUpStates(algorithmState, ambientState); in resetViewStates()
132 updatePulsingStates(algorithmState, ambientState); in resetViewStates()
134 updateDimmedAndHideSensitive(ambientState, algorithmState); in resetViewStates()
135 updateClipping(algorithmState, ambientState); in resetViewStates()
137 updateShelfState(algorithmState, ambientState); in resetViewStates()
138 updateAlphaState(algorithmState, ambientState); in resetViewStates()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithmTest.kt68 private val ambientState = in <lambda>() constant
102 ambientState.isSmallScreen = true in <lambda>()
131 ambientState.stackY = stackScrollAlgorithm.mHeadsUpInset + bigGap in <lambda>()
134 resetViewStates_hunYTranslationIs(ambientState.stackY + scrimPadding) in <lambda>()
172 ambientState.maxHeadsUpTranslation = maxHunTranslation in <lambda>()
173 ambientState.setLayoutMinHeight(2500) // Mock the height of shade in <lambda>()
174 ambientState.stackY = 2500f // Scroll over the max translation in <lambda>()
189 ambientState.maxHeadsUpTranslation = maxHunTranslation in <lambda>()
190 ambientState.setLayoutMinHeight(2500) // Mock the height of shade in <lambda>()
191 ambientState.stackY = 2500f // Scroll over the max translation in <lambda>()
[all …]
DNotificationShelfTest.kt45 @Mock private lateinit var ambientState: AmbientState variable in com.android.systemui.statusbar.notification.stack.NotificationShelfTest
65 whenever(ambientState.largeScreenShadeInterpolator).thenReturn(largeScreenShadeInterpolator) in setUp()
66 whenever(ambientState.isSmallScreen).thenReturn(true) in setUp()
68 shelf.bind(ambientState, hostLayout, roundnessManager) in setUp()
170 whenever(ambientState.isOnKeyguard).thenReturn(true) in getAmountInShelf_lastViewBelowShelf_completelyInShelf()
171 whenever(ambientState.isExpansionChanging).thenReturn(false) in getAmountInShelf_lastViewBelowShelf_completelyInShelf()
172 whenever(ambientState.isShadeExpanded).thenReturn(true) in getAmountInShelf_lastViewBelowShelf_completelyInShelf()
200 whenever(ambientState.isOnKeyguard).thenReturn(true) in getAmountInShelf_lastViewAlmostBelowShelf_completelyInShelf()
201 whenever(ambientState.isExpansionChanging).thenReturn(false) in getAmountInShelf_lastViewAlmostBelowShelf_completelyInShelf()
202 whenever(ambientState.isShadeExpanded).thenReturn(true) in getAmountInShelf_lastViewAlmostBelowShelf_completelyInShelf()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
DLockscreenShadeTransitionControllerKosmos.kt33 import com.android.systemui.statusbar.notification.stack.ambientState
46 ambientState = ambientState, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java127 public void bind(AmbientState ambientState, NotificationStackScrollLayout hostLayout, in bind() argument
129 mAmbientState = ambientState; in bind()
203 AmbientState ambientState) { in updateState() argument
204 ExpandableView lastView = ambientState.getLastVisibleBackgroundChild(); in updateState()
211 viewState.setZTranslation(ambientState.getBaseZHeight()); in updateState()
214 if (ambientState.isExpansionChanging() && !ambientState.isOnKeyguard()) { in updateState()
215 float expansion = ambientState.getExpansionFraction(); in updateState()
216 if (ambientState.isBouncerInTransit()) { in updateState()
219 if (ambientState.isSmallScreen()) { in updateState()
223 ambientState.getLargeScreenShadeInterpolator(); in updateState()
[all …]
DLockscreenShadeTransitionController.kt67 private val ambientState: AmbientState, in <lambda>() constant in com.android.systemui.statusbar.LockscreenShadeTransitionController
317 if (!ambientState.isDozing() || startingChild != null) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/stack/
DAmbientStateKosmos.kt28 val Kosmos.ambientState by Fixture { in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationShadeWindowViewTest.kt112 @Mock private lateinit var ambientState: AmbientState variable in com.android.systemui.shade.NotificationShadeWindowViewTest
189 ambientState, in setUp()
DNotificationShadeWindowViewControllerTest.kt123 @Mock private lateinit var ambientState: AmbientState variable
219 ambientState, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowViewController.java182 AmbientState ambientState, in NotificationShadeWindowViewController() argument
216 mAmbientState = ambientState; in NotificationShadeWindowViewController()
DQuickSettingsControllerImpl.java323 AmbientState ambientState, in QuickSettingsControllerImpl() argument
371 mAmbientState = ambientState; in QuickSettingsControllerImpl()
DNotificationPanelViewController.java738 AmbientState ambientState, in NotificationPanelViewController()
797 mAmbientState = ambientState; in NotificationPanelViewController()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DTestMocksModule.kt90 @get:Provides val ambientState: AmbientState = mock(), constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DLockscreenShadeTransitionControllerTest.kt164 ambientState = mock(), in setup()