Searched refs:colCount (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ResourceCursorTreeAdapterTest.java | 162 private Cursor createTestCursor(int colCount, int rowCount) { in createTestCursor() argument 163 String[] columns = new String[colCount + 1]; in createTestCursor() 164 for (int i = 0; i < colCount; i++) { in createTestCursor() 167 columns[colCount] = "_id"; in createTestCursor() 170 Object[] row = new Object[colCount + 1]; in createTestCursor() 172 for (int j = 0; j < colCount; j++) { in createTestCursor() 173 row[j] = "" + rowCount + "" + colCount; in createTestCursor() 175 row[colCount] = i; in createTestCursor()
|
D | ResourceCursorAdapterTest.java | 170 private Cursor createTestCursor(int colCount, int rowCount) { in createTestCursor() argument 171 String[] columns = new String[colCount + 1]; in createTestCursor() 172 for (int i = 0; i < colCount; i++) { in createTestCursor() 175 columns[colCount] = "_id"; in createTestCursor() 178 Object[] row = new Object[colCount + 1]; in createTestCursor() 180 for (int j = 0; j < colCount; j++) { in createTestCursor() 183 row[colCount] = i; in createTestCursor()
|
D | SimpleCursorTreeAdapterTest.java | 200 private Cursor createTestCursor(int colCount, int rowCount, String prefix) { in createTestCursor() argument 201 String[] columns = new String[colCount + 1]; in createTestCursor() 202 for (int i = 0; i < colCount; i++) { in createTestCursor() 205 columns[colCount] = "_id"; in createTestCursor() 208 Object[] row = new Object[colCount + 1]; in createTestCursor() 210 for (int j = 0; j < colCount; j++) { in createTestCursor() 213 row[colCount] = i; in createTestCursor()
|
D | SimpleCursorAdapterTest.java | 423 private Cursor createTestCursor(int colCount, int rowCount) { in createTestCursor() argument 424 String[] columns = new String[colCount + 1]; in createTestCursor() 425 for (int i = 0; i < colCount; i++) { in createTestCursor() 428 columns[colCount] = "_id"; in createTestCursor() 431 Object[] row = new Object[colCount + 1]; in createTestCursor() 433 for (int j = 0; j < colCount; j++) { in createTestCursor() 436 row[colCount] = i; in createTestCursor()
|
D | SimpleExpandableListAdapterTest.java | 440 private ArrayList<HashMap<String, String>> createTestList(int colCount, int rowCount, in createTestList() argument 443 String[] columns = new String[colCount]; in createTestList() 444 for (int i = 0; i < colCount; i++) { in createTestList() 450 for (int j = 0; j < colCount; j++) { in createTestList()
|
D | SimpleAdapterTest.java | 406 private ArrayList<HashMap<String, String>> createTestList(int colCount, int rowCount) { in createTestList() argument 408 String[] columns = new String[colCount]; in createTestList() 409 for (int i = 0; i < colCount; i++) { in createTestList() 415 for (int j = 0; j < colCount; j++) { in createTestList()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | AbstractCursorTest.java | 574 int colCount = columnNames.length; in TestAbstractCursor() local 578 for (int i = 0; i < colCount; ++i) { in TestAbstractCursor() 587 mColumnNames = new String[colCount + 1]; in TestAbstractCursor() 589 mColumnNames[colCount] = "_id"; in TestAbstractCursor()
|