Home
last modified time | relevance | path

Searched refs:column (Results 1 – 21 of 21) sorted by relevance

/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/
DDragSourceCursor.java41 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/autofillservice/src/android/autofillservice/cts/
DGridActivity.java89 EditText getCell(int row, int column) { in getCell() argument
90 return mCells[row - 1][column - 1]; in getCell()
97 public void onCell(int row, int column, Visitor<EditText> v) { in onCell() argument
98 final EditText cell = getCell(row, column); in onCell()
102 public void focusCell(int row, int column) { in focusCell() argument
103 onCell(row, column, EditText::requestFocus); in focusCell()
106 public void clearCell(int row, int column) { in clearCell() argument
107 onCell(row, column, (c) -> c.setText("")); in clearCell()
110 public void setText(int row, int column, String text) { in setText() argument
111 onCell(row, column, (c) -> c.setText(text)); in setText()
[all …]
DMutableAutofillIdTest.java310 void focusCell(int row, int column) throws TimeoutException { in focusCell() argument
311 mUiBot.waitForWindowChange(() -> mActivity.focusCell(row, column), in focusCell()
DPartitionedActivityTest.java79 void focusCell(int row, int column) throws TimeoutException { in focusCell() argument
80 mUiBot.waitForWindowChange(() -> mActivity.focusCell(row, column), in focusCell()
87 void focusCellNoWindowChange(int row, int column) { in focusCellNoWindowChange() argument
90 mUiBot.waitForWindowChange(() -> mActivity.focusCell(row, column), in focusCellNoWindowChange()
97 + " column %d row %d, but event happened", row, column)); in focusCellNoWindowChange()
/cts/tests/tests/database/src/android/database/cts/
DAbstractCursor_SelfContentObserverTest.java69 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
DAbstractCursorTest.java559 public boolean isNull(int column) { in isNull() argument
/cts/tests/tests/view/src/android/view/cts/util/
DDrawingUtils.java76 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/
DDummyGalProvider.java136 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()
DDatabaseAsserts.java241 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()
DContactsContract_AllUriTest.java368 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()
DContactsContract_DirectoryTest.java65 private static String getString(Cursor c, String column) { in getString() argument
66 return c.getString(c.getColumnIndex(column)); in getString()
DContactsContract_TestDataBuilder.java176 String column = entry.getKey(); in loadUsingValues() local
183 selection.append(column); in loadUsingValues()
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DDirectoryProvider.java123 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/apps/CtsVerifier/include/colorchecker/
Dtestingimage.h40 int getPixelValue(int row, int column, int channel) const;
41 Vec3i getPixelValue(int row, int column) const;
Dimagetesthandler.h42 void drawPoint(int row, int column, const Vec3i &color);
/cts/tests/tests/widget/src/android/widget/cts/
DTableRow_LayoutParamsTest.java69 assertEquals(-1, layoutParams.column); in testConstructor()
77 assertEquals(-1, layoutParams.column); in testConstructor()
82 assertEquals(-1, layoutParams.column); in testConstructor()
86 assertEquals(5, layoutParams.column); in testConstructor()
92 assertEquals(0, layoutParams.column); in testConstructor()
98 assertEquals(0, layoutParams.column); in testConstructor()
106 assertEquals(1, layoutParams.column); in testConstructor()
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTest.java229 for (int column = 0; column < 4; column++) { in getColorProbes()
230 probes[row * 4 + column] = bm.getPixel((int) (bm.getWidth() * (column + 0.5) / 4), in getColorProbes()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java225 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/
DDocumentsClientTestCase.java88 protected String getColumn(Uri uri, String column) { in getColumn() argument
90 final Cursor cursor = resolver.query(uri, new String[] { column }, null, null, null); in getColumn()
/cts/tests/libcore/javautilcollections/libs/
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...