Searched refs:KEY_ROWID (Results 1 - 12 of 12) sorted by relevance

/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
H A DNotesDbAdapter.java41 public static final String KEY_ROWID = "_id"; field in class:NotesDbAdapter
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null,
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
H A DNotesDbAdapter.java41 public static final String KEY_ROWID = "_id"; field in class:NotesDbAdapter
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null,
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
H A DNotesDbAdapter.java41 public static final String KEY_ROWID = "_id"; field in class:NotesDbAdapter
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null,
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
H A DNotesDbAdapter.java41 public static final String KEY_ROWID = "_id"; field in class:NotesDbAdapter
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null,
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
H A DNoteEdit.java48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId);
H A DNotepadv2.java118 i.putExtra(NotesDbAdapter.KEY_ROWID, id);
138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
H A DNotesDbAdapter.java41 public static final String KEY_ROWID = "_id"; field in class:NotesDbAdapter
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null,
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
H A DNoteEdit.java48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId);
H A DNotepadv3.java118 i.putExtra(NotesDbAdapter.KEY_ROWID, id);
138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
H A DNotesDbAdapter.java41 public static final String KEY_ROWID = "_id"; field in class:NotesDbAdapter
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null,
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
H A DNoteEdit.java48 (Long) savedInstanceState.getSerializable(NotesDbAdapter.KEY_ROWID);
51 mRowId = extras != null ? extras.getLong(NotesDbAdapter.KEY_ROWID)
82 outState.putSerializable(NotesDbAdapter.KEY_ROWID, mRowId);
H A DNotepadv3.java114 i.putExtra(NotesDbAdapter.KEY_ROWID, id);

Completed in 615 milliseconds