/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/ |
D | WindowManagerStateHelper.kt | 192 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/ |
D | WindowManagerState.kt | 181 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 …]
|
D | TaskFragment.kt | 27 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>()
|
D | DisplayContent.kt | 33 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>()
|
D | KeyguardControllerState.kt | 33 fun isKeyguardOccluded(displayId: Int): Boolean = keyguardOccludedStates[displayId] ?: false in isKeyguardOccluded()
|
D | WindowState.kt | 32 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>()
|
D | Task.kt | 34 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/ |
D | ConditionsFactory.kt | 181 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/ |
D | ImeClientEntry.kt | 29 val displayId: Int, constant in android.tools.traces.inputmethod.ImeClientEntry 54 result = 31 * result + displayId in hashCode()
|
D | InputMethodManager.kt | 27 val displayId: Int, constant in android.tools.traces.inputmethod.InputMethodManager
|
D | ViewRootImpl.kt | 30 val displayId: Int, constant in android.tools.traces.inputmethod.ViewRootImpl
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | MockLayerTraceEntryBuilder.kt | 46 val displayId = 1L in <lambda>() constant 50 id = displayId, in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/ |
D | WindowManagerStateBuilder.kt | 150 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/ |
D | BetterSwipe.kt | 306 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/ |
D | WindowManagerTraceSubject.kt | 460 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>()
|
D | IWindowManagerSubject.kt | 114 displayId: Int = PlatformConsts.DEFAULT_DISPLAY
|
D | WindowManagerStateSubject.kt | 326 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/ |
D | WindowManagerStateHelperTest.kt | 368 .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>()
|