Searched refs:rowId (Results 1 - 14 of 14) sorted by relevance

/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
H A DNotesDbAdapter.java113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) { argument
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException { argument
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, nul
181 updateNote(long rowId, String title, String body) argument
[all...]
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
H A DNotesDbAdapter.java113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) { argument
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException { argument
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, nul
181 updateNote(long rowId, String title, String body) argument
[all...]
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
H A DNotesDbAdapter.java113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) { argument
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException { argument
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, nul
181 updateNote(long rowId, String title, String body) argument
[all...]
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
H A DNotesDbAdapter.java113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) { argument
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException { argument
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, nul
181 updateNote(long rowId, String title, String body) argument
[all...]
H A DNotepadv2.java138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
139 if (rowId != null) {
142 mDbHelper.updateNote(rowId, editTitle, editBody);
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
H A DNotesDbAdapter.java113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) { argument
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException { argument
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, nul
181 updateNote(long rowId, String title, String body) argument
[all...]
H A DNotepadv3.java138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
139 if (rowId != null) {
142 mDbHelper.updateNote(rowId, editTitle, editBody);
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
H A DNotesDbAdapter.java113 * successfully created return the new rowId for that note, otherwise return
118 * @return rowId or -1 if failed
129 * Delete the note with the given rowId
131 * @param rowId id of note to delete
134 public boolean deleteNote(long rowId) { argument
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
151 * Return a Cursor positioned at the note that matches the given rowId
153 * @param rowId id of note to retrieve
157 public Cursor fetchNote(long rowId) throws SQLException { argument
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, nul
181 updateNote(long rowId, String title, String body) argument
[all...]
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
H A DDictionaryProvider.java139 String rowId = uri.getLastPathSegment();
144 return mDictionary.getWord(rowId, columns);
155 String rowId = uri.getLastPathSegment();
163 return mDictionary.getWord(rowId, columns);
H A DDictionaryDatabase.java83 * Returns a Cursor positioned at the word specified by rowId
85 * @param rowId id of word to retrieve
89 public Cursor getWord(String rowId, String[] columns) { argument
91 String[] selectionArgs = new String[] {rowId};
96 * SELECT <columns> FROM <table> WHERE rowid = <rowId>
226 * @return rowId or -1 if failed
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
H A DRssContentProvider.java184 long rowId = -1;
185 rowId = mDb.insert(DATABASE_TABLE_NAME, "rawcontent", initialValues);
186 Uri newUri = CONTENT_URI.addId(rowId);
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DLoaderThrottle.java289 long rowId = db.insert(MainTable.TABLE_NAME, null, values);
292 if (rowId > 0) {
293 Uri noteUri = ContentUris.withAppendedId(MainTable.CONTENT_ID_URI_BASE, rowId);
/development/samples/NotePad/src/com/example/android/notepad/
H A DNotePadProvider.java547 long rowId = db.insert(
556 if (rowId > 0) {
558 Uri noteUri = ContentUris.withAppendedId(NotePad.Notes.CONTENT_ID_URI_BASE, rowId);
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DLoaderThrottleSupport.java290 long rowId = db.insert(MainTable.TABLE_NAME, null, values);
293 if (rowId > 0) {
294 Uri noteUri = ContentUris.withAppendedId(MainTable.CONTENT_ID_URI_BASE, rowId);

Completed in 2053 milliseconds