/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | StackScrollAlgorithm.java | 121 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/ |
D | StackScrollAlgorithmTest.kt | 68 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 …]
|
D | NotificationShelfTest.kt | 45 @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/ |
D | LockscreenShadeTransitionControllerKosmos.kt | 33 import com.android.systemui.statusbar.notification.stack.ambientState 46 ambientState = ambientState, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShelf.java | 127 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 …]
|
D | LockscreenShadeTransitionController.kt | 67 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/ |
D | AmbientStateKosmos.kt | 28 val Kosmos.ambientState by Fixture { in <lambda>() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewTest.kt | 112 @Mock private lateinit var ambientState: AmbientState variable in com.android.systemui.shade.NotificationShadeWindowViewTest 189 ambientState, in setUp()
|
D | NotificationShadeWindowViewControllerTest.kt | 123 @Mock private lateinit var ambientState: AmbientState variable 219 ambientState, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewController.java | 182 AmbientState ambientState, in NotificationShadeWindowViewController() argument 216 mAmbientState = ambientState; in NotificationShadeWindowViewController()
|
D | QuickSettingsControllerImpl.java | 323 AmbientState ambientState, in QuickSettingsControllerImpl() argument 371 mAmbientState = ambientState; in QuickSettingsControllerImpl()
|
D | NotificationPanelViewController.java | 738 AmbientState ambientState, in NotificationPanelViewController() 797 mAmbientState = ambientState; in NotificationPanelViewController()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/ |
D | TestMocksModule.kt | 90 @get:Provides val ambientState: AmbientState = mock(), constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | LockscreenShadeTransitionControllerTest.kt | 164 ambientState = mock(), in setup()
|