Home
last modified time | relevance | path

Searched refs:columnIndex (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/database/
DAbstractWindowedCursor.java45 public byte[] getBlob(int columnIndex) { in getBlob() argument
47 return mWindow.getBlob(mPos, columnIndex); in getBlob()
51 public String getString(int columnIndex) { in getString() argument
53 return mWindow.getString(mPos, columnIndex); in getString()
57 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument
59 mWindow.copyStringToBuffer(mPos, columnIndex, buffer); in copyStringToBuffer()
63 public short getShort(int columnIndex) { in getShort() argument
65 return mWindow.getShort(mPos, columnIndex); in getShort()
69 public int getInt(int columnIndex) { in getInt() argument
71 return mWindow.getInt(mPos, columnIndex); in getInt()
[all …]
DRedactingCursor.java82 public double getDouble(int columnIndex) { in getDouble() argument
83 final int i = mRedactions.indexOfKey(columnIndex); in getDouble()
87 return super.getDouble(columnIndex); in getDouble()
92 public float getFloat(int columnIndex) { in getFloat() argument
93 final int i = mRedactions.indexOfKey(columnIndex); in getFloat()
97 return super.getFloat(columnIndex); in getFloat()
102 public int getInt(int columnIndex) { in getInt() argument
103 final int i = mRedactions.indexOfKey(columnIndex); in getInt()
107 return super.getInt(columnIndex); in getInt()
112 public long getLong(int columnIndex) { in getLong() argument
[all …]
DTranslatingCursor.java147 public double getDouble(int columnIndex) { in getDouble() argument
148 if (ArrayUtils.contains(mTranslateColumnIndices, columnIndex)) { in getDouble()
151 return super.getDouble(columnIndex); in getDouble()
156 public float getFloat(int columnIndex) { in getFloat() argument
157 if (ArrayUtils.contains(mTranslateColumnIndices, columnIndex)) { in getFloat()
160 return super.getFloat(columnIndex); in getFloat()
165 public int getInt(int columnIndex) { in getInt() argument
166 if (ArrayUtils.contains(mTranslateColumnIndices, columnIndex)) { in getInt()
169 return super.getInt(columnIndex); in getInt()
174 public long getLong(int columnIndex) { in getLong() argument
[all …]
DCursorWrapper.java95 public String getColumnName(int columnIndex) { in getColumnName() argument
96 return mCursor.getColumnName(columnIndex); in getColumnName()
105 public double getDouble(int columnIndex) { in getDouble() argument
106 return mCursor.getDouble(columnIndex); in getDouble()
120 public float getFloat(int columnIndex) { in getFloat() argument
121 return mCursor.getFloat(columnIndex); in getFloat()
125 public int getInt(int columnIndex) { in getInt() argument
126 return mCursor.getInt(columnIndex); in getInt()
130 public long getLong(int columnIndex) { in getLong() argument
131 return mCursor.getLong(columnIndex); in getLong()
[all …]
DCursor.java205 String getColumnName(int columnIndex); in getColumnName() argument
231 byte[] getBlob(int columnIndex); in getBlob() argument
243 String getString(int columnIndex); in getString() argument
253 void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer); in copyStringToBuffer() argument
266 short getShort(int columnIndex); in getShort() argument
279 int getInt(int columnIndex); in getInt() argument
292 long getLong(int columnIndex); in getLong() argument
305 float getFloat(int columnIndex); in getFloat() argument
318 double getDouble(int columnIndex); in getDouble() argument
339 int getType(int columnIndex); in getType() argument
[all …]
DAbstractCursor.java202 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument
204 String result = getString(columnIndex); in copyStringToBuffer()
359 public String getColumnName(int columnIndex) { in getColumnName() argument
360 return getColumnNames()[columnIndex]; in getColumnName()
493 protected boolean isFieldUpdated(int columnIndex) { in isFieldUpdated() argument
501 protected Object getUpdatedField(int columnIndex) { in getUpdatedField() argument
DMatrixCursor.java246 public final RowBuilder add(int columnIndex, Object value) { in add() argument
247 data[(row * columnCount) + columnIndex] = value; in add()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java203 int columnIndex; in getCallerInfo() local
206 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo()
207 if (columnIndex != -1) { in getCallerInfo()
208 info.name = cursor.getString(columnIndex); in getCallerInfo()
212 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo()
213 if (columnIndex != -1) { in getCallerInfo()
214 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo()
218 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo()
219 if (columnIndex != -1) { in getCallerInfo()
220 info.normalizedNumber = cursor.getString(columnIndex); in getCallerInfo()
[all …]
/frameworks/base/test-mock/src/android/test/mock/
DMockCursor.java59 public String getColumnName(int columnIndex) { in getColumnName() argument
74 public boolean isNull(int columnIndex) { in isNull() argument
79 public int getInt(int columnIndex) { in getInt() argument
84 public long getLong(int columnIndex) { in getLong() argument
89 public short getShort(int columnIndex) { in getShort() argument
94 public float getFloat(int columnIndex) { in getFloat() argument
99 public double getDouble(int columnIndex) { in getDouble() argument
104 public byte[] getBlob(int columnIndex) { in getBlob() argument
109 public String getString(int columnIndex) { in getString() argument
179 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument
[all …]
/frameworks/base/core/java/android/widget/
DTableLayout.java155 int columnIndex = Integer.parseInt(columnIdentifier); in parseColumns() local
157 if (columnIndex >= 0) { in parseColumns()
160 columns.put(columnIndex, true); in parseColumns()
288 public void setColumnCollapsed(int columnIndex, boolean isCollapsed) { in setColumnCollapsed() argument
290 mCollapsedColumns.put(columnIndex, isCollapsed); in setColumnCollapsed()
296 ((TableRow) view).setColumnCollapsed(columnIndex, isCollapsed); in setColumnCollapsed()
309 public boolean isColumnCollapsed(int columnIndex) { in isColumnCollapsed() argument
310 return mCollapsedColumns.get(columnIndex); in isColumnCollapsed()
325 public void setColumnStretchable(int columnIndex, boolean isStretchable) { in setColumnStretchable() argument
326 mStretchableColumns.put(columnIndex, isStretchable); in setColumnStretchable()
[all …]
DTableRow.java101 void setColumnCollapsed(int columnIndex, boolean collapsed) { in setColumnCollapsed() argument
102 final View child = getVirtualChildAt(columnIndex); in setColumnCollapsed()
DSimpleCursorTreeAdapter.java324 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue() argument
DSimpleCursorAdapter.java401 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue() argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java163 public int getInt(int columnIndex) {
164 TestCase.assertEquals(0, columnIndex);
171 public long getLong(int columnIndex) {
172 return getInt(columnIndex);
176 public String getString(int columnIndex) {
177 return String.valueOf(getInt(columnIndex));
/frameworks/base/tools/preload2/src/com/android/preload/
DDumpTableModel.java77 public Object getValueAt(int rowIndex, int columnIndex) { in getValueAt() argument
79 switch (columnIndex) { in getValueAt()
90 throw new IndexOutOfBoundsException(String.valueOf(columnIndex)); in getValueAt()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduPersister.java304 Cursor c, int columnIndex, in setEncodedStringValueToHeaders() argument
306 String s = c.getString(columnIndex); in setEncodedStringValueToHeaders()
317 Cursor c, int columnIndex, in setTextStringToHeaders() argument
319 String s = c.getString(columnIndex); in setTextStringToHeaders()
326 Cursor c, int columnIndex, in setOctetToHeaders() argument
328 if (!c.isNull(columnIndex)) { in setOctetToHeaders()
329 int b = c.getInt(columnIndex); in setOctetToHeaders()
335 Cursor c, int columnIndex, in setLongToHeaders() argument
337 if (!c.isNull(columnIndex)) { in setLongToHeaders()
338 long l = c.getLong(columnIndex); in setLongToHeaders()
[all …]
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java442 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() local
443 int value = cursor.getInt(columnIndex); in waitForDownloadToStart()
454 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart()
455 value = cursor.getInt(columnIndex); in waitForDownloadToStart()
DDownloadManagerTestApp.java192 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in verifyFileDownloadSucceeded() local
193 int status = cursor.getInt(columnIndex); in verifyFileDownloadSucceeded()
/frameworks/base/core/java/android/app/
DDownloadManager.java1612 public int getInt(int columnIndex) {
1613 return (int) getLong(columnIndex);
1617 public long getLong(int columnIndex) {
1618 if (getColumnName(columnIndex).equals(COLUMN_REASON)) {
1620 } else if (getColumnName(columnIndex).equals(COLUMN_STATUS)) {
1623 return super.getLong(columnIndex);
1628 public String getString(int columnIndex) {
1629 final String columnName = getColumnName(columnIndex);
1640 return super.getString(columnIndex);
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java640 final int columnIndex = cursor.getColumnIndex(columnName); in onExecute() local
641 final int type = cursor.getType(columnIndex); in onExecute()
644 columnValue = String.valueOf(cursor.getFloat(columnIndex)); in onExecute()
647 columnValue = String.valueOf(cursor.getLong(columnIndex)); in onExecute()
650 columnValue = cursor.getString(columnIndex); in onExecute()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java803 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() local
804 int value = cursor.getInt(columnIndex); in waitForDownloadToStart()
815 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart()
816 value = cursor.getInt(columnIndex); in waitForDownloadToStart()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java4878 int columnIndex, int columnSpan, boolean heading) { in obtain() argument
4879 return obtain(rowIndex, rowSpan, columnIndex, columnSpan, heading, false); in obtain()
4894 int columnIndex, int columnSpan, boolean heading, boolean selected) { in obtain() argument
4898 rowIndex, rowSpan, columnIndex, columnSpan, heading, selected); in obtain()
4903 info.mColumnIndex = columnIndex; in obtain()
4926 private CollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, int columnSpan, in CollectionItemInfo() argument
4930 mColumnIndex = columnIndex; in CollectionItemInfo()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java418 int columnIndex = c.getColumnIndex(DownloadManager.COLUMN_STATUS); in downloadSuccessful() local
419 if (DownloadManager.STATUS_SUCCESSFUL == c.getInt(columnIndex)) { in downloadSuccessful()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java345 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in onDownloadComplete() local
346 if (DownloadManager.STATUS_SUCCESSFUL == cursor.getInt(columnIndex)) { in onDownloadComplete()
/frameworks/base/core/java/android/provider/
DContactsContract.java3134 final int columnIndex = cursor.getColumnIndexOrThrow(key); in getEntityAndIncrementCursor() local
3135 switch (cursor.getType(columnIndex)) { in getEntityAndIncrementCursor()
3142 cv.put(key, cursor.getString(columnIndex)); in getEntityAndIncrementCursor()
3145 cv.put(key, cursor.getBlob(columnIndex)); in getEntityAndIncrementCursor()

12