Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/email/activity/
DMessageListUnitTests.java188 private Object getObject(int columnIndex) { in getObject() argument
196 if (columnIndex < 0 || columnIndex >= getColumnCount()) { in getObject()
199 return mUpdatedRows.get(mSortedIdList.get(mPos)).get(mColumnNames[columnIndex]); in getObject()
203 public float getFloat(int columnIndex) { in getFloat() argument
204 return Float.valueOf(getObject(columnIndex).toString()); in getFloat()
208 public double getDouble(int columnIndex) { in getDouble() argument
209 return Double.valueOf(getObject(columnIndex).toString()); in getDouble()
213 public int getInt(int columnIndex) { in getInt() argument
214 return Integer.valueOf(getObject(columnIndex).toString()); in getInt()
218 public long getLong(int columnIndex) { in getLong() argument
[all …]
/packages/apps/Mms/src/com/android/mms/
DSuggestionsProvider.java335 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument
336 mDatabaseCursor.copyStringToBuffer(columnIndex, buffer); in copyStringToBuffer()
347 public byte[] getBlob(int columnIndex) { in getBlob() argument
356 public String getColumnName(int columnIndex) { in getColumnName() argument
360 public double getDouble(int columnIndex) { in getDouble() argument
368 public float getFloat(int columnIndex) { in getFloat() argument
372 public int getInt(int columnIndex) { in getInt() argument
376 public long getLong(int columnIndex) { in getLong() argument
384 public short getShort(int columnIndex) { in getShort() argument
416 public boolean isNull(int columnIndex) { in isNull() argument
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java147 final int columnIndex = cursor.getColumnIndex(columnName); in getInt() local
148 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt()
152 final int columnIndex = cursor.getColumnIndex(columnName); in getLong() local
153 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex); in getLong()
/packages/apps/Gallery3D/src/com/cooliris/picasa/
DEntrySchema.java92 int columnIndex = column.projectionIndex; in cursorToObject() local
96 field.set(object, cursor.getString(columnIndex)); in cursorToObject()
99 field.setBoolean(object, cursor.getShort(columnIndex) == 1); in cursorToObject()
102 field.setShort(object, cursor.getShort(columnIndex)); in cursorToObject()
105 field.setInt(object, cursor.getInt(columnIndex)); in cursorToObject()
108 field.setLong(object, cursor.getLong(columnIndex)); in cursorToObject()
111 field.setFloat(object, cursor.getFloat(columnIndex)); in cursorToObject()
114 field.setDouble(object, cursor.getDouble(columnIndex)); in cursorToObject()
117 field.set(object, cursor.getBlob(columnIndex)); in cursorToObject()
/packages/apps/Mms/src/com/android/mms/transaction/
DRetryScheduler.java195 int columnIndex = cursor.getColumnIndexOrThrow( in scheduleRetry() local
197 long id = cursor.getLong(columnIndex); in scheduleRetry()
/packages/apps/Email/src/com/android/email/activity/
DAccountShortcutPicker.java113 public boolean setViewValue(View view, Cursor cursor, int columnIndex) { in setViewValue() argument
/packages/apps/Music/src/com/android/music/
DArtistAlbumBrowserActivity.java789 public String getString(int columnIndex) { in getChildrenCursor() argument
790 if (columnIndex != mMagicColumnIdx) { in getChildrenCursor()
791 return super.getString(columnIndex); in getChildrenCursor()
/packages/apps/Browser/src/com/android/browser/
DBrowserProvider.java484 public String getString(int columnIndex) { in getString() argument
502 switch(columnIndex) { in getString()
/packages/apps/Contacts/src/com/android/contacts/ui/
DQuickContactWindow.java857 final int columnIndex = cursor.getColumnIndex(Im.PROTOCOL); in isProtocolValid() local
858 if (cursor.isNull(columnIndex)) { in isProtocolValid()
862 Integer.valueOf(cursor.getString(columnIndex)); in isProtocolValid()