Home
last modified time | relevance | path

Searched refs:row (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DMaterialYouColorsSimulationUtils.kt47 private fun pixelWithinFilterRange(row: Int, col: Int, width: Int, height: Int): Boolean { in pixelWithinFilterRange()
48 return (row >= FILTER_SIZE && in pixelWithinFilterRange()
49 row < height - FILTER_SIZE && in pixelWithinFilterRange()
57 row: Int, in fillAverageColorForUnmappedPixel()
65 for (i in (row - FILTER_SIZE)..(row + FILTER_SIZE)) { in fillAverageColorForUnmappedPixel()
83 bitmapArray[col + row * bitmapWidth] = in fillAverageColorForUnmappedPixel()
128 val row = (it - col) / originalBitmap.width in bitmapWithMaterialYouColorsSimulation() constant
131 row, in bitmapWithMaterialYouColorsSimulation()
140 row, in bitmapWithMaterialYouColorsSimulation()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DLeanbackLauncherStrategy.java525 UiObject2 row = mDevice.findObject(getSearchRowSelector()); in isSearchRowSelected() local
526 if (row == null) { in isSearchRowSelected()
529 return row.hasObject(By.focused(true)); in isSearchRowSelected()
533 UiObject2 row = mDevice.findObject(getAppsRowSelector()); in isAppsRowSelected() local
534 if (row == null) { in isAppsRowSelected()
537 return row.hasObject(By.focused(true)); in isAppsRowSelected()
541 UiObject2 row = mDevice.findObject(getGamesRowSelector()); in isGamesRowSelected() local
542 if (row == null) { in isGamesRowSelected()
545 return row.hasObject(By.focused(true)); in isGamesRowSelected()
549 UiObject2 row = mDevice.findObject(getNotificationRowSelector()); in isNotificationRowSelected() local
[all …]
DTvLauncherStrategy.java402 for (UiObject2 row : rowList.getChildren()) { in isChannelRowSelected()
403 if (findFocus(row, NO_WAIT) != null) { in isChannelRowSelected()
404 return row.hasObject(channelSelector); in isChannelRowSelected()
756 UiObject2 row = mDevice.findObject(getSearchRowSelector());
757 if (row == null) {
760 return row.hasObject(By.focused(true));
764 UiObject2 row = mDevice.findObject(getAppsRowSelector());
765 if (row == null) {
768 return row.hasObject(By.focused(true));
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DLeanbackLauncherStrategy.java491 UiObject2 row = mDevice.findObject(getSearchRowSelector()); in isSearchRowSelected() local
492 if (row == null) { in isSearchRowSelected()
495 return row.hasObject(By.focused(true)); in isSearchRowSelected()
499 UiObject2 row = mDevice.findObject(getAppsRowSelector()); in isAppsRowSelected() local
500 if (row == null) { in isAppsRowSelected()
503 return row.hasObject(By.focused(true)); in isAppsRowSelected()
507 UiObject2 row = mDevice.findObject(getGamesRowSelector()); in isGamesRowSelected() local
508 if (row == null) { in isGamesRowSelected()
511 return row.hasObject(By.focused(true)); in isGamesRowSelected()
515 UiObject2 row = mDevice.findObject(getNotificationRowSelector()); in isNotificationRowSelected() local
[all …]
DTvLauncherStrategy.java380 for (UiObject2 row : rowList.getChildren()) { in isChannelRowSelected()
381 if (findFocus(row, NO_WAIT) != null) { in isChannelRowSelected()
382 return row.hasObject(channelSelector); in isChannelRowSelected()
730 UiObject2 row = mDevice.findObject(getSearchRowSelector());
731 if (row == null) {
734 return row.hasObject(By.focused(true));
738 UiObject2 row = mDevice.findObject(getAppsRowSelector());
739 if (row == null) {
742 return row.hasObject(By.focused(true));
/platform_testing/libraries/collectors-helper/generic/src/com/android/helpers/
DGenericExecutableCollectorHelper.java142 for (int row = 1; row < lines.length; row++) { in execAndGetResults()
143 String[] l = lines[row].split(CSV_SEPARATOR); in execAndGetResults()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
Dprofile.proto55 // For example, scenarios A->B->C with repetitions = 2 will be executed twice in a row: