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.java43 public byte[] getBlob(int columnIndex) { in getBlob() argument
45 return mWindow.getBlob(mPos, columnIndex); in getBlob()
49 public String getString(int columnIndex) { in getString() argument
51 return mWindow.getString(mPos, columnIndex); in getString()
55 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument
57 mWindow.copyStringToBuffer(mPos, columnIndex, buffer); in copyStringToBuffer()
61 public short getShort(int columnIndex) { in getShort() argument
63 return mWindow.getShort(mPos, columnIndex); in getShort()
67 public int getInt(int columnIndex) { in getInt() argument
69 return mWindow.getInt(mPos, columnIndex); in getInt()
[all …]
DCursorWrapper.java81 public String getColumnName(int columnIndex) { in getColumnName() argument
82 return mCursor.getColumnName(columnIndex); in getColumnName()
89 public double getDouble(int columnIndex) { in getDouble() argument
90 return mCursor.getDouble(columnIndex); in getDouble()
97 public float getFloat(int columnIndex) { in getFloat() argument
98 return mCursor.getFloat(columnIndex); in getFloat()
101 public int getInt(int columnIndex) { in getInt() argument
102 return mCursor.getInt(columnIndex); in getInt()
105 public long getLong(int columnIndex) { in getLong() argument
106 return mCursor.getLong(columnIndex); in getLong()
[all …]
DCursor.java201 String getColumnName(int columnIndex); in getColumnName() argument
227 byte[] getBlob(int columnIndex); in getBlob() argument
239 String getString(int columnIndex); in getString() argument
249 void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer); in copyStringToBuffer() argument
262 short getShort(int columnIndex); in getShort() argument
275 int getInt(int columnIndex); in getInt() argument
288 long getLong(int columnIndex); in getLong() argument
301 float getFloat(int columnIndex); in getFloat() argument
314 double getDouble(int columnIndex); in getDouble() argument
335 int getType(int columnIndex); in getType() argument
[all …]
DAbstractCursor.java166 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument
168 String result = getString(columnIndex); in copyStringToBuffer()
308 public String getColumnName(int columnIndex) { in getColumnName() argument
309 return getColumnNames()[columnIndex]; in getColumnName()
404 protected boolean isFieldUpdated(int columnIndex) { in isFieldUpdated() argument
412 protected Object getUpdatedField(int columnIndex) { in getUpdatedField() argument
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java184 int columnIndex; in getCallerInfo() local
187 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo()
188 if (columnIndex != -1) { in getCallerInfo()
189 info.name = cursor.getString(columnIndex); in getCallerInfo()
193 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo()
194 if (columnIndex != -1) { in getCallerInfo()
195 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo()
199 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo()
200 if (columnIndex != -1) { in getCallerInfo()
201 info.normalizedNumber = cursor.getString(columnIndex); in getCallerInfo()
[all …]
/frameworks/base/test-runner/src/android/test/mock/
DMockCursor.java50 public String getColumnName(int columnIndex) { in getColumnName() argument
62 public boolean isNull(int columnIndex) { in isNull() argument
66 public int getInt(int columnIndex) { in getInt() argument
70 public long getLong(int columnIndex) { in getLong() argument
74 public short getShort(int columnIndex) { in getShort() argument
78 public float getFloat(int columnIndex) { in getFloat() argument
82 public double getDouble(int columnIndex) { in getDouble() argument
86 public byte[] getBlob(int columnIndex) { in getBlob() argument
90 public String getString(int columnIndex) { in getString() argument
142 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument
[all …]
/frameworks/base/core/java/android/widget/
DTableLayout.java157 int columnIndex = Integer.parseInt(columnIdentifier); in parseColumns() local
159 if (columnIndex >= 0) { in parseColumns()
162 columns.put(columnIndex, true); in parseColumns()
290 public void setColumnCollapsed(int columnIndex, boolean isCollapsed) { in setColumnCollapsed() argument
292 mCollapsedColumns.put(columnIndex, isCollapsed); in setColumnCollapsed()
298 ((TableRow) view).setColumnCollapsed(columnIndex, isCollapsed); in setColumnCollapsed()
311 public boolean isColumnCollapsed(int columnIndex) { in isColumnCollapsed() argument
312 return mCollapsedColumns.get(columnIndex); in isColumnCollapsed()
327 public void setColumnStretchable(int columnIndex, boolean isStretchable) { in setColumnStretchable() argument
328 mStretchableColumns.put(columnIndex, isStretchable); in setColumnStretchable()
[all …]
DTableRow.java101 void setColumnCollapsed(int columnIndex, boolean collapsed) { in setColumnCollapsed() argument
102 View child = getVirtualChildAt(columnIndex); in setColumnCollapsed()
DSimpleCursorAdapter.java397 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue() argument
DSimpleCursorTreeAdapter.java324 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 String getString(int columnIndex) {
172 return String.valueOf(getInt(columnIndex));
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DAggregatorRecordStorage.java103 int columnIndex = cursor.getColumnIndex(column); in getAllData() local
104 if (!cursor.isNull(columnIndex)) { in getAllData()
105 String value = cursor.getString(columnIndex); in getAllData()
/frameworks/support/v4/api21/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatApi21.java43 public static Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
45 return AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex, in obtainCollectionItemInfo()
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatKitKat.java60 public static Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
62 return AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex, in obtainCollectionItemInfo()
/frameworks/base/core/java/android/app/
DDownloadManager.java1297 public int getInt(int columnIndex) { in getInt() argument
1298 return (int) getLong(columnIndex); in getInt()
1302 public long getLong(int columnIndex) { in getLong() argument
1303 if (getColumnName(columnIndex).equals(COLUMN_REASON)) { in getLong()
1305 } else if (getColumnName(columnIndex).equals(COLUMN_STATUS)) { in getLong()
1308 return super.getLong(columnIndex); in getLong()
1313 public String getString(int columnIndex) { in getString() argument
1314 return (getColumnName(columnIndex).equals(COLUMN_LOCAL_URI)) ? getLocalUri() : in getString()
1315 super.getString(columnIndex); in getString()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduPersister.java306 Cursor c, int columnIndex, in setEncodedStringValueToHeaders() argument
308 String s = c.getString(columnIndex); in setEncodedStringValueToHeaders()
319 Cursor c, int columnIndex, in setTextStringToHeaders() argument
321 String s = c.getString(columnIndex); in setTextStringToHeaders()
328 Cursor c, int columnIndex, in setOctetToHeaders() argument
330 if (!c.isNull(columnIndex)) { in setOctetToHeaders()
331 int b = c.getInt(columnIndex); in setOctetToHeaders()
337 Cursor c, int columnIndex, in setLongToHeaders() argument
339 if (!c.isNull(columnIndex)) { in setLongToHeaders()
340 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/cmds/content/src/com/android/commands/content/
DContent.java555 final int columnIndex = cursor.getColumnIndex(columnName); in onExecute() local
556 final int type = cursor.getType(columnIndex); in onExecute()
559 columnValue = String.valueOf(cursor.getFloat(columnIndex)); in onExecute()
562 columnValue = String.valueOf(cursor.getLong(columnIndex)); in onExecute()
565 columnValue = cursor.getString(columnIndex); in onExecute()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java801 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() local
802 int value = cursor.getInt(columnIndex); in waitForDownloadToStart()
813 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart()
814 value = cursor.getInt(columnIndex); in waitForDownloadToStart()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java123 int columnIndex, int columnSpan, boolean heading, boolean selected) { in obtain() argument
125 columnIndex, columnSpan, heading, selected)); in obtain()
268 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
675 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
1083 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
1086 .obtainCollectionItemInfo(rowIndex, rowSpan, columnIndex, columnSpan, heading); in obtainCollectionItemInfo()
1179 public Object obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, in obtainCollectionItemInfo() argument
1182 columnIndex, columnSpan, heading, selected); in obtainCollectionItemInfo()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java3818 int columnIndex, int columnSpan, boolean heading) { in obtain() argument
3819 return obtain(rowIndex, rowSpan, columnIndex, columnSpan, heading, false); in obtain()
3833 int columnIndex, int columnSpan, boolean heading, boolean selected) { in obtain() argument
3837 rowIndex, rowSpan, columnIndex, columnSpan, heading, selected); in obtain()
3842 info.mColumnIndex = columnIndex; in obtain()
3865 private CollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, int columnSpan, in CollectionItemInfo() argument
3869 mColumnIndex = columnIndex; in CollectionItemInfo()
/frameworks/support/v4/java/android/support/v4/widget/
DSimpleCursorAdapter.java377 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue() argument
/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/base/core/java/android/provider/
DContactsContract.java3006 final int columnIndex = cursor.getColumnIndexOrThrow(key); in getEntityAndIncrementCursor() local
3007 switch (cursor.getType(columnIndex)) { in getEntityAndIncrementCursor()
3014 cv.put(key, cursor.getString(columnIndex)); in getEntityAndIncrementCursor()
3017 cv.put(key, cursor.getBlob(columnIndex)); in getEntityAndIncrementCursor()

12