/platform_testing/libraries/uinput-device-test-helper/src/android/platform/helpers/uinput/ |
D | UInputDevice.kt | 25 abstract val inputDeviceId: Int 26 abstract val vendorId: Int 27 abstract val productId: Int 30 abstract val supportedKeys: List<Int> 58 fun sendKeyEvent(deviceId: Int, keycode: Int) in isInputDevice() 59 fun sendEventsFromInputFile(deviceId: Int, inputFile: String) in isInputDevice() 60 fun sendEventWithValues(deviceId: Int, eventType: Int, keycode: Int, value: Int) in isInputDevice() 61 fun updateTimeBase(deviceId: Int) in isInputDevice()
|
D | UInputStylus.kt | 30 override val inputDeviceId: Int, 31 val displayWidth: Int, 32 val displayHeight: Int, 33 override val vendorId: Int = VENDOR_ID, 34 override val productId: Int = PRODUCT_ID, 36 override val supportedKeys: List<Int> = SUPPORTED_KEYBITS, 134 var xCoordinate: Int = uiObject.visibleBounds.centerX() * SCALING_FACTOR in tapOnObject() 135 var yCoordinate: Int = uiObject.visibleBounds.centerY() * SCALING_FACTOR in tapOnObject()
|
D | UInputKeyboard.kt | 31 override val productId: Int = ARBITRARY_PRODUCT_ID, 32 override val vendorId: Int = ARBITRARY_VENDOR_ID, 34 override val supportedKeys: List<Int> = SUPPORTED_KEYS_QWEABC, 40 fun sendKeyClickEvent(eventInjector: EventInjector, keycode: Int) { in sendKeyClickEvent()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/ |
D | WindowLayoutParams.kt | 29 val type: Int = 0, 30 val x: Int = 0, 31 val y: Int = 0, 32 val width: Int = 0, 33 val height: Int = 0, 36 val gravity: Int = 0, 37 val softInputMode: Int = 0, 38 val format: Int = 0, 39 val windowAnimations: Int = 0, 43 val rotationAnimation: Int = 0, [all …]
|
D | Configuration.kt | 30 val densityDpi: Int = 0, 31 val orientation: Int = 0, 32 val screenHeightDp: Int = 0, 33 val screenWidthDp: Int = 0, 34 val smallestScreenWidthDp: Int = 0, 35 val screenLayout: Int = 0, 36 val uiMode: Int = 0 65 override fun hashCode(): Int { in hashCode() 83 densityDpi: Int, in from() 84 orientation: Int, in from() [all …]
|
D | WindowContainer.kt | 24 val id: Int 28 val orientation: Int 30 val layerId: Int 34 val computedZ: Int
|
D | ConfigurationContainer.kt | 32 val windowingMode: Int 34 val activityType: Int 38 fun isWindowingModeCompatible(requestedWindowingMode: Int): Boolean
|
D | WindowManagerState.kt | 40 val focusedDisplayId: Int, in <lambda>() 132 val focusedStackId: Int in <lambda>() 149 val resumedActivitiesCount: Int in <lambda>() 151 val stackCount: Int in <lambda>() 183 fun getDisplay(displayId: Int): DisplayContent? = in <lambda>() 186 fun countStacks(windowingMode: Int, activityType: Int): Int { in <lambda>() 206 fun getRootTask(taskId: Int): Task? = rootTasks.firstOrNull { it.rootTaskId == taskId } in <lambda>() 208 fun getRotation(displayId: Int): Rotation = in <lambda>() 211 fun getOrientation(displayId: Int): Int = in <lambda>() 214 fun getStackByActivityType(activityType: Int): Task? = in <lambda>() [all …]
|
D | WindowConfiguration.kt | 32 val windowingMode: Int = 0, 33 val activityType: Int = 0 56 override fun hashCode(): Int { in hashCode() 73 windowingMode: Int, in from() 74 activityType: Int in from()
|
D | KeyguardControllerState.kt | 31 val keyguardOccludedStates: Map<Int, Boolean> 33 fun isKeyguardOccluded(displayId: Int): Boolean = keyguardOccludedStates[displayId] ?: false in isKeyguardOccluded() 50 override fun hashCode(): Int { in hashCode() 61 keyguardOccludedStates: Map<Int, Boolean> in from()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/ |
D | MSSIMMatcher.kt | 47 width: Int, in compareBitmaps() 48 height: Int, in compareBitmaps() 78 width: Int, in calculateSSIM() 79 height: Int, in calculateSSIM() 88 offset: Int, in calculateSSIM() 89 stride: Int, in calculateSSIM() 90 width: Int, in calculateSSIM() 91 height: Int, in calculateSSIM() 104 val start: Int = indexFromXAndY(currentWindowX, currentWindowY, stride, offset) in calculateSSIM() 154 private fun computeWindowSize(coordinateStart: Int, dimension: Int): Int { in computeWindowSize() [all …]
|
D | HumanEyeMatcher.kt | 29 width: Int, in <lambda>() 30 height: Int, in <lambda>() 55 fun isIndexSameForLargeArea(index: Int) = isSameForLargeArea(colorDiffSqArray[index]) in <lambda>() 76 fun getEasiestThresholdFailed(x: Int, y: Int): Int? { in <lambda>() 128 private fun colorDiffSqWithTransparency(referenceColor: Int, testColor: Int): Int { in <lambda>() 146 private fun colorDiffSq(referenceColor: Int, testColor: Int): Int { in <lambda>() 163 private fun getThresholdSq(neighbouringDiffs: Int): Int = in <lambda>() 176 private fun isSameForLargeArea(colorDiff: Int) = colorDiff <= THRESHOLD_BLOCK_OF_PIXELS_SQ in <lambda>() 178 private fun isSame(colorDiff: Int, neighbouringDiffs: Int) = in <lambda>() 182 private fun blendWithBackground(color: Int, backgroundColor: Int): Int { in <lambda>() [all …]
|
D | BitmapMatcher.kt | 43 width: Int, in <lambda>() 44 height: Int, in <lambda>() 64 expectedWidth: Int, in <lambda>() 65 expectedHeight: Int, in <lambda>() 66 actualWidth: Int, in <lambda>() 67 actualHeight: Int in <lambda>() 105 protected fun getFilter(width: Int, height: Int, regions: List<Rect>): BooleanArray { in <lambda>()
|
D | AlmostPerfectMatcher.kt | 30 private val acceptableThresholdCount: Int = -1 in <lambda>() 36 constructor(acceptableThresholdCount: Int) : this(0.0, acceptableThresholdCount) in <lambda>() 41 width: Int, in <lambda>() 42 height: Int, in <lambda>() 88 expectedWidth: Int, in <lambda>() 89 expectedHeight: Int, in <lambda>() 90 actualWidth: Int, in <lambda>() 91 actualHeight: Int in <lambda>() 140 private fun areSame(referenceColor: Int, testColor: Int): Boolean { in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/ |
D | ActiveBuffer.kt | 26 class ActiveBuffer private constructor(width: Int, height: Int, val stride: Int, val format: Int) : 33 fun from(width: Int, height: Int, stride: Int, format: Int): ActiveBuffer = withCache { in doPrintValue()
|
D | Size.kt | 26 open class Size protected constructor(val width: Int, val height: Int) : DataType() { 34 fun from(width: Int, height: Int): Size = withCache { Size(width, height) } in doPrintValue()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/inputmethod/ |
D | ViewRootImpl.kt | 30 val displayId: Int, 32 val width: Int, 33 val height: Int, 42 val scrollY: Int, 43 val curScrollY: Int,
|
D | Insets.kt | 26 val contentTopInsets: Int, 27 val visibleTopInsets: Int, 28 val touchableInsets: Int, 29 val touchableRegion: Int, 49 override fun hashCode(): Int { in hashCode()
|
D | EditorInfo.kt | 26 val inputType: Int, 27 val imeOptions: Int, 30 val fieldId: Int, 31 val targetInputMethodUserId: Int, 52 override fun hashCode(): Int { in hashCode()
|
D | InputMethodManagerServiceEntry.kt | 31 val curSeq: Int, // what's this 44 val curTokenDisplayId: Int, 46 val lastSwitchUserId: Int, 50 val backDisposition: Int, 51 val imeWindowVisibility: Int, 68 override fun hashCode(): Int { in hashCode()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | DeviceEmulationRule.kt | 50 var prevDensity: Int? = -1 in <lambda>() 51 var prevWidth: Int? = -1 in <lambda>() 52 var prevHeight: Int? = -1 in <lambda>() 53 var prevNightMode: Int? = UiModeManager.MODE_NIGHT_AUTO in <lambda>() 124 private fun getEmulatedDisplaySize(): Pair<Int, Int> { in <lambda>() 134 private fun setDisplayDensity(density: Int) { in <lambda>() 142 private fun setDisplaySize(width: Int, height: Int) { in <lambda>() 151 private fun setNightMode(nightMode: Int) { in <lambda>() 164 val width: Int, 165 val height: Int, [all …]
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | InputDeviceRule.kt | 63 override fun onInputDeviceAdded(deviceId: Int) = updateInputDevice(DeviceId(deviceId)) in <lambda>() 65 override fun onInputDeviceChanged(deviceId: Int) = updateInputDevice(DeviceId(deviceId)) in <lambda>() 67 override fun onInputDeviceRemoved(deviceId: Int) { in <lambda>() 124 override fun sendKeyEvent(deviceId: Int, keycode: Int) { in <lambda>() 130 override fun sendEventWithValues(deviceId: Int, eventType: Int, keycode: Int, value: Int) { in <lambda>() 138 override fun sendEventsFromInputFile(deviceId: Int, inputFile: String) { in <lambda>() 159 override fun updateTimeBase(deviceId: Int) { in <lambda>() 171 private fun injectEvdevEvents(deviceId: Int, evdevEvents: List<Int>) { in <lambda>() 232 @JvmInline value class DeviceId(val deviceId: Int) in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/ |
D | RuleContainer.kt | 34 private val orderValues = IdentityHashMap<Any, Int>() 39 fun setOrder(rule: Any, order: Int) { in setOrder() 100 internal class RuleEntry(val rule: Any, val type: Int, order: Int?) { 101 val order: Int 116 override fun compare(o1: RuleEntry, o2: RuleEntry): Int { in compare() 121 private fun compareInt(a: Int, b: Int): Int { in compareInt()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/ |
D | WaitForValidActivityState.kt | 26 @JvmField val stackId: Int, 27 @JvmField val windowingMode: Int, 28 @JvmField val activityType: Int 81 fun setStackId(stackId: Int): Builder { in setStackId() 86 fun setWindowingMode(windowingMode: Int): Builder { in setWindowingMode() 91 fun setActivityType(activityType: Int): Builder { in setActivityType() 107 private fun windowingModeName(windowingMode: Int): String { in windowingModeName() 117 private fun activityTypeName(activityType: Int): String { in activityTypeName()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | LayerProperties.kt | 31 override val flags: Int = 0, 39 override val effectiveScalingMode: Int = 0, 42 override val backgroundBlurRadius: Int = 0, 45 override val zOrderRelativeOfId: Int = 0, 46 override val stackId: Int = 0, 51 override fun hashCode(): Int { in hashCode() 125 flags: Int, in from() 133 effectiveScalingMode: Int, in from() 136 backgroundBlurRadius: Int, in from() 139 zOrderRelativeOfId: Int, in from() [all …]
|