Searched refs:currentViewState (Results 1 – 3 of 3) sorted by relevance
110 val currentViewState = viewState as? MediaContainerViewState ?: return true in isVisibilityValid() constant111 val shouldBeGone = !currentViewState.shouldBeVisible in isVisibilityValid()121 val currentViewState = viewState in assertMediaContainerVisibility() constant123 if (currentViewState is MediaContainerViewState) { in assertMediaContainerVisibility()124 if (!currentViewState.shouldBeVisible && visibility == VISIBLE) { in assertMediaContainerVisibility()132 val currentViewState = viewState in setKeyguardVisibility() constant133 if (currentViewState is MediaContainerViewState) { in setKeyguardVisibility()134 currentViewState.shouldBeVisible = isVisible in setKeyguardVisibility()
221 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 …]
84 var currentViewState: ViewState = ViewState() in <lambda>() variable88 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>()