Home
last modified time | relevance | path

Searched refs:mCursor (Results 1 – 10 of 10) sorted by relevance

/development/apps/Development/src/com/android/development/
DDataList.java40 mCursor = getContentResolver().query(intent.getData(), null, null, null, null); in onCreate()
46 if (mCursor != null) { in onCreate()
50 mCursor, in onCreate()
60 if (mCursor != null) { in onStop()
61 mCursor.deactivate(); in onStop()
69 if (mCursor != null) { in onResume()
70 mCursor.requery(); in onResume()
85 mCursor.moveToPosition(position); in onListItemClick()
89 String[] columnNames = mCursor.getColumnNames(); in onListItemClick()
91 String str = mCursor.getString(i); in onListItemClick()
[all …]
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetService.java47 private Cursor mCursor; field in StackRemoteViewsFactory
62 if (mCursor != null) { in onDestroy()
63 mCursor.close(); in onDestroy()
68 return mCursor.getCount(); in getCount()
75 if (mCursor.moveToPosition(position)) { in getViewAt()
76 final int dayColIndex = mCursor.getColumnIndex(WeatherDataProvider.Columns.DAY); in getViewAt()
77 final int tempColIndex = mCursor.getColumnIndex( in getViewAt()
79 day = mCursor.getString(dayColIndex); in getViewAt()
80 temp = mCursor.getInt(tempColIndex); in getViewAt()
118 if (mCursor != null) { in onDataSetChanged()
[all …]
/development/samples/NotePad/src/com/example/android/notepad/
DTitleEditor.java53 private Cursor mCursor; field in TitleEditor
85 mCursor = managedQuery( in onCreate()
109 if (mCursor != null) { in onResume()
113 mCursor.moveToFirst(); in onResume()
116 mText.setText(mCursor.getString(COLUMN_INDEX_TITLE)); in onResume()
138 if (mCursor != null) { in onPause()
DNoteEditor.java77 private Cursor mCursor; field in NoteEditor
208 mCursor = managedQuery( in onCreate()
256 if (mCursor != null) { in onResume()
258 mCursor.requery(); in onResume()
265 mCursor.moveToFirst(); in onResume()
270 int colTitleIndex = mCursor.getColumnIndex(NotePad.Notes.COLUMN_NAME_TITLE); in onResume()
271 String title = mCursor.getString(colTitleIndex); in onResume()
289 int colNoteIndex = mCursor.getColumnIndex(NotePad.Notes.COLUMN_NAME_NOTE); in onResume()
290 String note = mCursor.getString(colNoteIndex); in onResume()
345 if (mCursor != null) { in onPause()
[all …]
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNotesDbAdapter.java159 Cursor mCursor = in fetchNote() local
164 if (mCursor != null) { in fetchNote()
165 mCursor.moveToFirst(); in fetchNote()
167 return mCursor; in fetchNote()
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
DNotesDbAdapter.java159 Cursor mCursor = in fetchNote() local
164 if (mCursor != null) { in fetchNote()
165 mCursor.moveToFirst(); in fetchNote()
167 return mCursor; in fetchNote()
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
DNotesDbAdapter.java159 Cursor mCursor = in fetchNote() local
164 if (mCursor != null) { in fetchNote()
165 mCursor.moveToFirst(); in fetchNote()
167 return mCursor; in fetchNote()
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
DNotesDbAdapter.java159 Cursor mCursor = in fetchNote() local
164 if (mCursor != null) { in fetchNote()
165 mCursor.moveToFirst(); in fetchNote()
167 return mCursor; in fetchNote()
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
DNotesDbAdapter.java159 Cursor mCursor = in fetchNote() local
164 if (mCursor != null) { in fetchNote()
165 mCursor.moveToFirst(); in fetchNote()
167 return mCursor; in fetchNote()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNotesDbAdapter.java159 Cursor mCursor = in fetchNote() local
164 if (mCursor != null) { in fetchNote()
165 mCursor.moveToFirst(); in fetchNote()
167 return mCursor; in fetchNote()