/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/ |
H A D | NotesDbAdapter.java | 113 * 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 D | NotesDbAdapter.java | 113 * 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 D | NotesDbAdapter.java | 113 * 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 D | NotesDbAdapter.java | 113 * 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 D | Notepadv2.java | 138 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 D | NotesDbAdapter.java | 113 * 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 D | Notepadv3.java | 138 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 D | NotesDbAdapter.java | 113 * 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 D | DictionaryProvider.java | 139 String rowId = uri.getLastPathSegment(); 144 return mDictionary.getWord(rowId, columns); 155 String rowId = uri.getLastPathSegment(); 163 return mDictionary.getWord(rowId, columns);
|
H A D | DictionaryDatabase.java | 83 * 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 D | RssContentProvider.java | 184 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 D | LoaderThrottle.java | 289 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 D | NotePadProvider.java | 547 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 D | LoaderThrottleSupport.java | 290 long rowId = db.insert(MainTable.TABLE_NAME, null, values); 293 if (rowId > 0) { 294 Uri noteUri = ContentUris.withAppendedId(MainTable.CONTENT_ID_URI_BASE, rowId);
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
H A D | PhotoThumbnailFragment.java | 278 public void onItemClick(AdapterView<?> adapterView, View view, int viewId, long rowId) { argument
|