/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/ |
D | NotesDbAdapter.java | 41 public static final String KEY_ROWID = "_id"; field in NotesDbAdapter 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes() 161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote() 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
D | NotesDbAdapter.java | 41 public static final String KEY_ROWID = "_id"; field in NotesDbAdapter 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes() 161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote() 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
|
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/ |
D | NotesDbAdapter.java | 41 public static final String KEY_ROWID = "_id"; field in NotesDbAdapter 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes() 161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote() 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
|
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/ |
D | NotesDbAdapter.java | 41 public static final String KEY_ROWID = "_id"; field in NotesDbAdapter 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes() 161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote() 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
|
D | NoteEdit.java | 48 (Long) savedInstanceState.getSerializable(NotesDbAdapter.KEY_ROWID); in onCreate() 51 mRowId = extras != null ? extras.getLong(NotesDbAdapter.KEY_ROWID) in onCreate() 82 outState.putSerializable(NotesDbAdapter.KEY_ROWID, mRowId); in onSaveInstanceState()
|
D | Notepadv3.java | 114 i.putExtra(NotesDbAdapter.KEY_ROWID, id); in onListItemClick()
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
D | NotesDbAdapter.java | 41 public static final String KEY_ROWID = "_id"; field in NotesDbAdapter 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes() 161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote() 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
|
D | NoteEdit.java | 48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onCreate() 66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId); in onCreate()
|
D | Notepadv2.java | 118 i.putExtra(NotesDbAdapter.KEY_ROWID, id); in onListItemClick() 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onActivityResult()
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
D | NotesDbAdapter.java | 41 public static final String KEY_ROWID = "_id"; field in NotesDbAdapter 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes() 161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote() 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
|
D | NoteEdit.java | 48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onCreate() 66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId); in onCreate()
|
D | Notepadv3.java | 118 i.putExtra(NotesDbAdapter.KEY_ROWID, id); in onListItemClick() 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onActivityResult()
|