Home
last modified time | relevance | path

Searched refs:currentViewState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DMediaContainerView.kt110 val currentViewState = viewState as? MediaContainerViewState ?: return true in isVisibilityValid() constant
111 val shouldBeGone = !currentViewState.shouldBeVisible in isVisibilityValid()
121 val currentViewState = viewState in assertMediaContainerVisibility() constant
123 if (currentViewState is MediaContainerViewState) { in assertMediaContainerVisibility()
124 if (!currentViewState.shouldBeVisible && visibility == VISIBLE) { in assertMediaContainerVisibility()
132 val currentViewState = viewState in setKeyguardVisibility() constant
133 if (currentViewState is MediaContainerViewState) { in setKeyguardVisibility()
134 currentViewState.shouldBeVisible = isVisible in setKeyguardVisibility()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/events/
DPrivacyDotViewControllerTest.kt221 assertThat(controller.currentViewState.cornerIndex).isEqualTo(TOP_RIGHT) in <lambda>()
222 assertThat(controller.currentViewState.designatedCorner).isEqualTo(topRightView) in <lambda>()
231 assertThat(controller.currentViewState.cornerIndex).isEqualTo(BOTTOM_RIGHT) in <lambda>()
232 assertThat(controller.currentViewState.designatedCorner).isEqualTo(bottomRightView) in <lambda>()
241 assertThat(controller.currentViewState.cornerIndex).isEqualTo(TOP_LEFT) in <lambda>()
242 assertThat(controller.currentViewState.designatedCorner).isEqualTo(topLeftView) in <lambda>()
251 assertThat(controller.currentViewState.cornerIndex).isEqualTo(BOTTOM_LEFT) in <lambda>()
252 assertThat(controller.currentViewState.designatedCorner).isEqualTo(bottomLeftView) in <lambda>()
262 assertThat(controller.currentViewState.cornerIndex).isEqualTo(TOP_LEFT) in <lambda>()
263 assertThat(controller.currentViewState.designatedCorner).isEqualTo(topLeftView) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt84 var currentViewState: ViewState = ViewState() in <lambda>() variable
88 private var nextViewState: ViewState = currentViewState.copy() in <lambda>()
504 if (state == currentViewState) { in <lambda>()
509 val designatedCornerChanged = state.designatedCorner != currentViewState.designatedCorner in <lambda>()
510 val rotationChanged = state.rotation != currentViewState.rotation in <lambda>()
516 if (state.needsLayout(currentViewState)) { in <lambda>()
522 currentViewState.designatedCorner?.contentDescription = null in <lambda>()
526 } else if (state.contentDescription != currentViewState.contentDescription) { in <lambda>()
532 currentViewState = state in <lambda>()
538 if (shouldShow != currentViewState.shouldShowDot()) { in <lambda>()