Home
last modified time | relevance | path

Searched refs:currentState (Results 1 – 5 of 5) sorted by relevance

/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/
DFoldableDeviceController.kt51 private var currentState: Int? = null in <lambda>() variable in android.platform.helpers.foldable.FoldableDeviceController
112 get() = currentState == foldedState in <lambda>()
115 get() = currentState == unfoldedState in <lambda>()
118 get() = currentState == halfFoldedState in <lambda>()
121 get() = currentState == rearDisplayState in <lambda>()
137 if (currentState == state) { in <lambda>()
159 ensureThat("Device folded") { currentState == foldedState && !isLargeScreen() } in <lambda>()
161 ensureThat("Device unfolded") { currentState == unfoldedState && isLargeScreen() } in <lambda>()
164 currentState == halfFoldedState && isLargeScreen() in <lambda>()
168 currentState == rearDisplayState && !isLargeScreen() in <lambda>()
[all …]
DFoldableRule.kt72 val initialState = currentState in fold()
103 val initialState = currentState in halfFold()
127 val initialState = currentState in unfold()
149 val initialState = currentState in rearDisplay()
179 if (currentState == startState) { in starting()
192 private val currentState: FoldableState constant in android.platform.helpers.foldable.FoldableRule
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFullLegacyTestRun.kt54 .currentState
68 setup { flicker.scenario.setIsTablet(wmHelper.currentState.wmState.isTablet) } in buildFlicker()
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/
DChangeDisplayOrientationRule.kt98 if (wmHelper.currentState.wmState.canRotate) { in setRotation()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/
DWindowManagerStateHelper.kt69 val currentState: DeviceStateDump constant in android.tools.traces.parsers.WindowManagerStateHelper
89 return this.currentState.wmState.windowStates.firstOrNull { in getWindow()