Searched refs:columnCount (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/database/
H A DMatrixCursor.java31 private final int columnCount; field in class:MatrixCursor
42 this.columnCount = columnNames.length;
48 this.data = new Object[columnCount * initialCapacity];
65 if (column < 0 || column >= columnCount) {
67 + column + ", # of columns: " + columnCount);
75 return data[mPos * columnCount + column];
87 int endIndex = rowCount * columnCount;
89 int start = endIndex - columnCount;
103 if (columnValues.length != columnCount) {
105 + columnCount
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursor.java225 int columnCount = mQuery.columnCountLocked();
226 mColumns = new String[columnCount];
229 for (int i = 0; i < columnCount; i++) {
301 int columnCount = columns.length;
302 HashMap<String, Integer> map = new HashMap<String, Integer>(columnCount, 1);
303 for (int i = 0; i < columnCount; i++) {

Completed in 37 milliseconds