/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
D | NotesDbAdapter.java | 134 public boolean deleteNote(long rowId) { in deleteNote() argument 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 157 public Cursor fetchNote(long rowId) throws SQLException { in fetchNote() argument 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 181 public boolean updateNote(long rowId, String title, String body) { in updateNote() argument 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
|
D | Notepadv3.java | 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onActivityResult() local 139 if (rowId != null) { in onActivityResult() 142 mDbHelper.updateNote(rowId, editTitle, editBody); in onActivityResult()
|
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/ |
D | NotesDbAdapter.java | 134 public boolean deleteNote(long rowId) { in deleteNote() argument 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 157 public Cursor fetchNote(long rowId) throws SQLException { in fetchNote() argument 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 181 public boolean updateNote(long rowId, String title, String body) { in updateNote() argument 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 | 134 public boolean deleteNote(long rowId) { in deleteNote() argument 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 157 public Cursor fetchNote(long rowId) throws SQLException { in fetchNote() argument 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 181 public boolean updateNote(long rowId, String title, String body) { in updateNote() argument 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 | 134 public boolean deleteNote(long rowId) { in deleteNote() argument 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 157 public Cursor fetchNote(long rowId) throws SQLException { in fetchNote() argument 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 181 public boolean updateNote(long rowId, String title, String body) { in updateNote() argument 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 | 134 public boolean deleteNote(long rowId) { in deleteNote() argument 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 157 public Cursor fetchNote(long rowId) throws SQLException { in fetchNote() argument 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 181 public boolean updateNote(long rowId, String title, String body) { in updateNote() argument 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
D | NotesDbAdapter.java | 134 public boolean deleteNote(long rowId) { in deleteNote() argument 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote() 157 public Cursor fetchNote(long rowId) throws SQLException { in fetchNote() argument 162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null, in fetchNote() 181 public boolean updateNote(long rowId, String title, String body) { in updateNote() argument 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
|
D | Notepadv2.java | 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onActivityResult() local 139 if (rowId != null) { in onActivityResult() 142 mDbHelper.updateNote(rowId, editTitle, editBody); in onActivityResult()
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | DictionaryProvider.java | 139 String rowId = uri.getLastPathSegment(); in getWord() local 144 return mDictionary.getWord(rowId, columns); in getWord() 155 String rowId = uri.getLastPathSegment(); in refreshShortcut() local 163 return mDictionary.getWord(rowId, columns); in refreshShortcut()
|
D | DictionaryDatabase.java | 89 public Cursor getWord(String rowId, String[] columns) { in getWord() argument 91 String[] selectionArgs = new String[] {rowId}; in getWord()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | RssContentProvider.java | 184 long rowId = -1; in insert() local 185 rowId = mDb.insert(DATABASE_TABLE_NAME, "rawcontent", initialValues); in insert() 186 Uri newUri = CONTENT_URI.addId(rowId); in insert()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LoaderThrottle.java | 289 long rowId = db.insert(MainTable.TABLE_NAME, null, values); in insert() local 292 if (rowId > 0) { in insert() 293 Uri noteUri = ContentUris.withAppendedId(MainTable.CONTENT_ID_URI_BASE, rowId); in insert()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | LoaderThrottleSupport.java | 290 long rowId = db.insert(MainTable.TABLE_NAME, null, values); in insert() local 293 if (rowId > 0) { in insert() 294 Uri noteUri = ContentUris.withAppendedId(MainTable.CONTENT_ID_URI_BASE, rowId); in insert()
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NotePadProvider.java | 547 long rowId = db.insert( in insert() local 556 if (rowId > 0) { in insert() 558 Uri noteUri = ContentUris.withAppendedId(NotePad.Notes.CONTENT_ID_URI_BASE, rowId); in insert()
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | PhotoThumbnailFragment.java | 278 public void onItemClick(AdapterView<?> adapterView, View view, int viewId, long rowId) { in onItemClick() argument
|