Home
last modified time | relevance | path

Searched refs:displayId (Results 1 – 18 of 18) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/
DWindowManagerStateHelper.kt192 displayId: Int = Display.DEFAULT_DISPLAY in getWindowRegion()
195 .withAppTransitionIdle(displayId) in getWindowRegion()
208 displayId: Int = Display.DEFAULT_DISPLAY in getWindowRegion()
211 .withAppTransitionIdle(displayId) in getWindowRegion()
220 fun withHomeActivityVisible(displayId: Int = Display.DEFAULT_DISPLAY) = in getWindowRegion()
221 withAppTransitionIdle(displayId) in getWindowRegion()
233 fun withSplitDividerVisible(displayId: Int = Display.DEFAULT_DISPLAY) = in getWindowRegion()
234 withAppTransitionIdle(displayId).add(ConditionsFactory.isLayerVisible(SPLIT_DIVIDER)) in getWindowRegion()
242 fun withRecentsActivityVisible(displayId: Int = Display.DEFAULT_DISPLAY) = in getWindowRegion()
243 withAppTransitionIdle(displayId) in getWindowRegion()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowManagerState.kt181 displays.firstOrNull { it.displayId == PlatformConsts.DEFAULT_DISPLAY } in <lambda>()
183 fun getDisplay(displayId: Int): DisplayContent? = in <lambda>()
184 displays.firstOrNull { it.displayId == displayId } in <lambda>()
208 fun getRotation(displayId: Int): Rotation = in <lambda>()
209 getDisplay(displayId)?.rotation ?: error("Default display not found") in <lambda>()
211 fun getOrientation(displayId: Int): Int = in <lambda>()
212 getDisplay(displayId)?.lastOrientation ?: error("Default display not found") in <lambda>()
225 displayId: Int = PlatformConsts.DEFAULT_DISPLAY in <lambda>()
228 .firstOrNull { it.displayId == displayId } in <lambda>()
245 displayId: Int = PlatformConsts.DEFAULT_DISPLAY in <lambda>()
[all …]
DTaskFragment.kt27 val displayId: Int, constant in android.tools.traces.wm.TaskFragment
70 if (displayId != other.displayId) return false in <lambda>()
80 result = 31 * result + displayId in <lambda>()
DDisplayContent.kt33 val displayId: Int, in <lambda>() constant in android.tools.traces.wm.DisplayContent
53 override val name: String = displayId.toString() in <lambda>()
111 return "${this::class.simpleName} #$displayId: name=$title mDisplayRect=$displayRect " + in <lambda>()
120 if (displayId != other.displayId) return false in <lambda>()
146 result = 31 * result + displayId in <lambda>()
DKeyguardControllerState.kt33 fun isKeyguardOccluded(displayId: Int): Boolean = keyguardOccludedStates[displayId] ?: false in isKeyguardOccluded()
DWindowState.kt32 val displayId: Int, constant in android.tools.traces.wm.WindowState
80 if (displayId != other.displayId) return false in <lambda>()
103 result = 31 * result + displayId in <lambda>()
DTask.kt34 val displayId: Int, in <lambda>() constant in android.tools.traces.wm.Task
134 if (displayId != other.displayId) return false in <lambda>()
155 result = 31 * result + displayId in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DConditionsFactory.kt181 fun isAppTransitionIdle(displayId: Int): Condition<DeviceStateDump> = in <lambda>()
182 Condition("isAppTransitionIdle[$displayId]") { in <lambda>()
185 it.wmState.getDisplay(displayId)?.appTransitionState == in <lambda>()
212 fun hasRotation(expectedRotation: Rotation, displayId: Int): Condition<DeviceStateDump> { in <lambda>()
214 Condition<DeviceStateDump>("hasRotation[$expectedRotation, display=$displayId]") { in <lambda>()
215 val currRotation = it.wmState.getRotation(displayId) in <lambda>()
230 displayId: Int = 0 in <lambda>()
237 isAppTransitionIdle(displayId) in <lambda>()
335 fun isImeShown(displayId: Int): Condition<DeviceStateDump> = in <lambda>()
338 isImeOnDisplay(displayId), in <lambda>()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/traces/inputmethod/
DImeClientEntry.kt29 val displayId: Int, constant in android.tools.traces.inputmethod.ImeClientEntry
54 result = 31 * result + displayId in hashCode()
DInputMethodManager.kt27 val displayId: Int, constant in android.tools.traces.inputmethod.InputMethodManager
DViewRootImpl.kt30 val displayId: Int, constant in android.tools.traces.inputmethod.ViewRootImpl
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockLayerTraceEntryBuilder.kt46 val displayId = 1L in <lambda>() constant
50 id = displayId, in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DWindowManagerStateBuilder.kt150 proto?.keyguardOccludedStates?.associate { it.displayId to it.keyguardOccluded } in <lambda>()
177 displayId = proto.id, in <lambda>()
250 displayId = proto.taskFragment?.displayId ?: proto.displayId, in <lambda>()
289 displayId = proto.displayId, in <lambda>()
355 displayId = proto.displayId, in <lambda>()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DBetterSwipe.kt306 private fun calculateStepTime(displayId: Int = DEFAULT_DISPLAY): Duration { in lerp()
307 return getTimeBetweenFrames(displayId).dividedBy(2) in lerp()
310 private fun getTimeBetweenFrames(displayId: Int): Duration { in getTimeBetweenFrames()
315 val display = displayManager.getDisplay(displayId) in getTimeBetweenFrames()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowManagerTraceSubject.kt460 override fun hasRotation(rotation: Rotation, displayId: Int): WindowManagerTraceSubject = in <lambda>()
461 hasRotation(rotation, displayId, isOptional = false) in <lambda>()
466 displayId: Int, in <lambda>()
469 addAssertion("hasRotation($rotation, display=$displayId)", isOptional) { in <lambda>()
470 it.hasRotation(rotation, displayId) in <lambda>()
DIWindowManagerSubject.kt114 displayId: Int = PlatformConsts.DEFAULT_DISPLAY
DWindowManagerStateSubject.kt326 override fun hasRotation(rotation: Rotation, displayId: Int): WindowManagerStateSubject = in <lambda>()
328 check { "rotation" }.that(wmState.getRotation(displayId)).isEqual(rotation) in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/
DWindowManagerStateHelperTest.kt368 .that(helper.wmState.getRotation(displayId = 0)) in <lambda>()
372 .that(helper.wmState.getRotation(displayId = 0)) in <lambda>()
376 .that(helper.wmState.getRotation(displayId = 0)) in <lambda>()