Home
last modified time | relevance | path

Searched refs:getColumnIndexOrThrow (Results 1 – 8 of 8) sorted by relevance

/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailProviderHelpers.java272 long id = cursor.getLong(cursor.getColumnIndexOrThrow(Voicemails._ID)); in getVoicemailFromCursor()
274 cursor.getColumnIndexOrThrow(Voicemails.SOURCE_PACKAGE)); in getVoicemailFromCursor()
277 .setTimestamp(cursor.getLong(cursor.getColumnIndexOrThrow(Voicemails.DATE))) in getVoicemailFromCursor()
278 .setNumber(cursor.getString(cursor.getColumnIndexOrThrow(Voicemails.NUMBER))) in getVoicemailFromCursor()
280 .setDuration(cursor.getLong(cursor.getColumnIndexOrThrow(Voicemails.DURATION))) in getVoicemailFromCursor()
283 cursor.getColumnIndexOrThrow(Voicemails.SOURCE_DATA))) in getVoicemailFromCursor()
286 cursor.getColumnIndexOrThrow(Voicemails.HAS_CONTENT)) == 1) in getVoicemailFromCursor()
287 .setIsRead(cursor.getInt(cursor.getColumnIndexOrThrow(Voicemails.IS_READ)) == 1) in getVoicemailFromCursor()
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/sms/
DSmsTest.java54 String number = c.getString(c.getColumnIndexOrThrow("address")); in testReceivedSms()
55 String body = c.getString(c.getColumnIndexOrThrow("body")); in testReceivedSms()
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
DNoteEdit.java72 note.getColumnIndexOrThrow(NotesDbAdapter.KEY_TITLE))); in populateFields()
74 note.getColumnIndexOrThrow(NotesDbAdapter.KEY_BODY))); in populateFields()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DWordActivity.java59 int wIndex = cursor.getColumnIndexOrThrow(DictionaryDatabase.KEY_WORD); in onCreate()
60 int dIndex = cursor.getColumnIndexOrThrow(DictionaryDatabase.KEY_DEFINITION); in onCreate()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNotepadv2.java120 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_TITLE))); in onListItemClick()
122 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_BODY))); in onListItemClick()
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNotepadv3.java120 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_TITLE))); in onListItemClick()
122 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_BODY))); in onListItemClick()
/development/samples/Support7Demos/src/com/example/android/supportv7/graphics/
DPaletteActivity.java201 cursor.getColumnIndexOrThrow(MediaStore.Images.ImageColumns._ID)); in bindView()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DChangedContacts.java266 public int getColumnIndexOrThrow(String columnName) { in getColumnIndexOrThrow() method in ChangedContacts.DeleteCursorWrapper