/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | GridActivity.java | 91 EditText getCell(int row, int column) { in getCell() argument 92 return mCells[row - 1][column - 1]; in getCell() 99 public void onCell(int row, int column, Visitor<EditText> v) { in onCell() argument 100 final EditText cell = getCell(row, column); in onCell() 104 public void focusCell(int row, int column) { in focusCell() argument 105 onCell(row, column, EditText::requestFocus); in focusCell() 108 public void clearCell(int row, int column) { in clearCell() argument 109 onCell(row, column, (c) -> c.setText("")); in clearCell() 112 public void setText(int row, int column, String text) { in setText() argument 113 onCell(row, column, (c) -> c.setText(text)); in setText() [all …]
|
D | AbstractGridActivityTestCase.java | 51 protected void focusCell(int row, int column) throws TimeoutException { 52 mUiBot.waitForWindowChange(() -> mActivity.focusCell(row, column)); 58 protected void focusCellNoWindowChange(int row, int column) { 61 event = mUiBot.waitForWindowChange(() -> mActivity.focusCell(row, column), 68 + " column %d row %d, but event happened: %s", row, column, event));
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
D | DragSourceCursor.java | 41 public String getString(int column) { in getString() argument 45 if (column != 0) { in getString() 46 throw new IllegalArgumentException("Incorrect column: " + column); in getString() 52 public short getShort(int column) { in getShort() argument 57 public int getInt(int column) { in getInt() argument 62 public long getLong(int column) { in getLong() argument 67 public float getFloat(int column) { in getFloat() argument 72 public double getDouble(int column) { in getDouble() argument 77 public boolean isNull(int column) { in isNull() argument
|
/cts/tests/tests/database/src/android/database/cts/ |
D | AbstractCursor_SelfContentObserverTest.java | 69 public double getDouble(int column) { in getDouble() argument 74 public float getFloat(int column) { in getFloat() argument 79 public int getInt(int column) { in getInt() argument 84 public long getLong(int column) { in getLong() argument 89 public short getShort(int column) { in getShort() argument 94 public String getString(int column) { in getString() argument 99 public boolean isNull(int column) { in isNull() argument
|
D | AbstractCursorTest.java | 607 public boolean isNull(int column) { in isNull() argument
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | DrawingUtils.java | 76 for (int column = 0; column < viewWidth; column++) { in assertAllPixelsOfColor() 77 int expectedPixelColor = rowGoldenPixels[column]; in assertAllPixelsOfColor() 78 int actualPixelColor = rowPixels[column]; in assertAllPixelsOfColor() 79 if (rowPixels[column] != expectedPixelColor) { in assertAllPixelsOfColor() 86 + "] but at position (" + row + "," + column + ") found [" in assertAllPixelsOfColor()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | DummyGalProvider.java | 136 String column = projection[i]; in handleDirectories() local 137 if (column.equals(Directory.ACCOUNT_NAME)) { in handleDirectories() 139 } else if (column.equals(Directory.ACCOUNT_TYPE)) { in handleDirectories() 141 } else if (column.equals(Directory.TYPE_RESOURCE_ID)) { in handleDirectories() 143 } else if (column.equals(Directory.DISPLAY_NAME)) { in handleDirectories() 145 } else if (column.equals(Directory.EXPORT_SUPPORT)) { in handleDirectories() 147 } else if (column.equals(Directory.SHORTCUT_SUPPORT)) { in handleDirectories() 149 } else if (column.equals(Directory.PHOTO_SUPPORT)) { in handleDirectories() 203 String column = projection[i]; in handleFilter() local 204 if (Contacts.DISPLAY_NAME.equals(column)) { in handleFilter()
|
D | DatabaseAsserts.java | 241 for (String column : expectedValues.keySet()) { in equalsWithExpectedValues() 242 int index = cursor.getColumnIndex(column); in equalsWithExpectedValues() 244 msgBuffer.append(" No such column: ").append(column); in equalsWithExpectedValues() 247 Object expectedValue = expectedValues.get(column); in equalsWithExpectedValues() 249 expectedValue = expectedValues.getAsString(column); in equalsWithExpectedValues() 250 value = cursor.getString(cursor.getColumnIndex(column)); in equalsWithExpectedValues() 255 .append(column) in equalsWithExpectedValues() 327 final String column = expectedColumns[i]; in checkProjectionInner() local 329 Assert.assertEquals(column, c.getColumnName(i)); in checkProjectionInner() 331 Assert.assertTrue(column, c.getColumnIndex(column) >= 0); in checkProjectionInner()
|
D | ContactsContract_AllUriTest.java | 368 for (String column : getColumns(uri)) { in testNoHiddenColumns() 369 if (column.toLowerCase().startsWith(ContactsContract.HIDDEN_COLUMN_PREFIX)) { in testNoHiddenColumns() 370 addFailure("Uri " + uri + " returned hidden column " + column, null); in testNoHiddenColumns() 528 private void checkColumnAccessible(Uri uri, String column) { in checkColumnAccessible() argument 531 uri, new String[]{column}, column + "=0", null, column in checkColumnAccessible() argument 566 private void checkColumnNotAccessible(Uri uri, String column) { in checkColumnNotAccessible() argument 567 checkColumnNotAccessibleInner(uri, new String[] {column}, null, null, null); in checkColumnNotAccessible() 568 checkColumnNotAccessibleInner(uri, null, column + "=1", null, null); in checkColumnNotAccessible() 569 checkColumnNotAccessibleInner(uri, null, null, null, /* order by */ column); in checkColumnNotAccessible()
|
D | ContactsContract_DirectoryTest.java | 65 private static String getString(Cursor c, String column) { in getString() argument 66 return c.getString(c.getColumnIndex(column)); in getString()
|
D | ContactsContract_TestDataBuilder.java | 173 String column = entry.getKey(); in loadUsingValues() local 180 selection.append(column); in loadUsingValues()
|
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/ |
D | DirectoryProvider.java | 123 final String column = projection[i]; in query() local 124 if (column.equals(Directory.ACCOUNT_NAME)) { in query() 126 } else if (column.equals(Directory.ACCOUNT_TYPE)) { in query() 128 } else if (column.equals(Directory.TYPE_RESOURCE_ID)) { in query() 130 } else if (column.equals(Directory.DISPLAY_NAME)) { in query() 132 } else if (column.equals(Directory.EXPORT_SUPPORT)) { in query() 134 } else if (column.equals(Directory.SHORTCUT_SUPPORT)) { in query() 163 String column = projection[i]; in query() local 164 if (column.equals(Contacts._ID)) { in query() 166 } else if (column.equals(Contacts.DISPLAY_NAME)) { in query() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TableRow_LayoutParamsTest.java | 70 assertEquals(-1, layoutParams.column); in testConstructor() 78 assertEquals(-1, layoutParams.column); in testConstructor() 83 assertEquals(-1, layoutParams.column); in testConstructor() 87 assertEquals(5, layoutParams.column); in testConstructor() 93 assertEquals(0, layoutParams.column); in testConstructor() 99 assertEquals(0, layoutParams.column); in testConstructor() 107 assertEquals(1, layoutParams.column); in testConstructor()
|
/cts/apps/CtsVerifier/include/colorchecker/ |
D | testingimage.h | 40 int getPixelValue(int row, int column, int channel) const; 41 Vec3i getPixelValue(int row, int column) const;
|
D | imagetesthandler.h | 42 void drawPoint(int row, int column, const Vec3i &color);
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfRendererTest.java | 228 for (int column = 0; column < 4; column++) { in getColorProbes() 229 probes[row * 4 + column] = bm.getPixel((int) (bm.getWidth() * (column + 0.5) / 4), in getColorProbes()
|
/cts/hostsidetests/userspacereboot/testapps/BootCompletedTestApp/src/com/android/cts/userspacereboot/bootcompleted/ |
D | BootCompletedUserspaceRebootTest.java | 119 String column = intent.equals(Intent.ACTION_LOCKED_BOOT_COMPLETED) in queryBroadcast() local 122 int index = cursor.getColumnIndex(column); in queryBroadcast()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 225 for (int column = startColumn; column < endColumn; column++) { in assertAllPixelsOfColor() 226 @ColorInt int colorAtCurrPixel = rowPixels[column]; in assertAllPixelsOfColor() 233 + " but at position (" + row + "," + column + ") out of (" in assertAllPixelsOfColor()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTestCase.java | 104 protected String getColumn(Uri uri, String column) { in getColumn() argument 106 final Cursor cursor = resolver.query(uri, new String[] { column }, null, null, null); in getColumn()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTestBase.java | 108 protected void updateUri(Uri uri, String column, String value) throws Exception { in updateUri() argument 110 uri, column, value); in updateUri()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | MatrixTest.rscript | 72 // Matrix are loaded by rsMatrixLoad in a column-major format. 111 * This makes the tests below easier to read than if they were column major,
|