HomeSort by relevance Sort by last modified time
    Searched refs:rowId (Results 1 - 25 of 43) sorted by null

1 2

  /development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
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) {
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 {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
  /development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
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) {
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 {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
  /development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
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) {
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 {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
  /development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
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) {
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 {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
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/
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) {
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 {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
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/
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) {
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 {
162 KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmProvider.java 143 long rowId = 0;
149 rowId = Long.parseLong(segment);
150 count = db.update("alarms", values, "_id=" + rowId, null);
158 if (Log.LOGV) Log.v("*** notifyChange() rowId: " + rowId + " url " + url);
172 long rowId = db.insert("alarms", Alarm.Columns.MESSAGE, values);
173 if (rowId < 0) {
176 if (Log.LOGV) Log.v("Added alarm rowId = " + rowId);
178 Uri newUrl = ContentUris.withAppendedId(Alarm.Columns.CONTENT_URI, rowId);
    [all...]
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
TrackerProvider.java 101 long rowId = db.insert(TABLE_NAME, null, values);
102 if (rowId > 0) {
103 Uri addedUri = ContentUris.withAppendedId(CONTENT_URI, rowId);
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DictionaryProvider.java 139 String rowId = uri.getLastPathSegment();
144 return mDictionary.getWord(rowId, columns);
155 String rowId = uri.getLastPathSegment();
163 return mDictionary.getWord(rowId, columns);
DictionaryDatabase.java 73 map.put(BaseColumns._ID, "rowid AS " +
75 map.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID, "rowid AS " +
77 map.put(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, "rowid AS " +
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) {
90 String selection = "rowid = ?";
91 String[] selectionArgs = new String[] {rowId};
96 * SELECT <columns> FROM <table> WHERE rowid = <rowId>
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/activity/
LocalProvider.java 133 long rowId = 0;
139 rowId = Long.parseLong(segment);
140 count = db.update("data", values, "_id=" + rowId, null);
148 if (Config.LOGD) Log.d(TAG, "*** notifyChange() rowId: " + rowId);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
SynchronousContactsProvider2.java 134 long rowId =
137 db.execSQL("DELETE FROM raw_contacts WHERE _id > " + rowId + ";");
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaProvider.java     [all...]
  /packages/providers/DrmProvider/src/com/android/providers/drm/
DrmProvider.java 232 long rowId;
245 rowId = db.insert("audio", "title", values);
246 if (rowId > 0) {
247 newUri = ContentUris.withAppendedId(DrmStore.Audio.CONTENT_URI, rowId);
255 rowId = db.insert("images", "title", values);
256 if (rowId > 0) {
257 newUri = ContentUris.withAppendedId(DrmStore.Images.CONTENT_URI, rowId);
  /frameworks/base/media/java/android/media/
MediaScanner.java 345 FileCacheEntry(Uri tableUri, long rowId, String path, long lastModified) {
347 mRowId = rowId;
717 long rowId = entry.mRowId;
718 if (isAudio && rowId == 0) {
772 if (rowId == 0) {
776 rowId = ContentUris.parseId(result);
777 entry.mRowId = rowId;
781 result = ContentUris.withAppendedId(tableUri, rowId);
820 values.put(MediaStore.Audio.Genres.Members.AUDIO_ID, Long.valueOf(rowId));
    [all...]
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
RssContentProvider.java 184 long rowId = -1;
185 rowId = mDb.insert(DATABASE_TABLE_NAME, "rawcontent", initialValues);
186 Uri newUri = CONTENT_URI.addId(rowId);
  /frameworks/base/core/java/com/android/internal/content/
SyncStateContentProviderHelper.java 104 public int update(SQLiteDatabase db, long rowId, Object data) {
106 new String[]{Long.toString(rowId)}) < 1) {
111 + " WHERE " + SyncStateContract.Columns._ID + "=" + rowId,
  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
SoftKeyboard.java 176 public void beginNewRow(int rowId, float yStartingPos) {
179 keyRow.mRowId = rowId;
458 * @param rowId The row id to enable.
461 private boolean enableRow(int rowId) {
462 if (KeyRow.ALWAYS_SHOW_ROW_ID == rowId) return false;
467 if (mKeyRows.get(row).mRowId == rowId) {
473 mEnabledRowId = rowId;
  /frameworks/base/core/java/android/provider/
SyncStateContract.java 128 long rowId = c.getLong(1);
130 return Pair.create(ContentUris.withAppendedId(uri, rowId), blob);
  /development/samples/NotePad/src/com/example/android/notepad/
NotePadProvider.java 188 long rowId = db.insert(NOTES_TABLE_NAME, NoteColumns.NOTE, values);
189 if (rowId > 0) {
190 Uri noteUri = ContentUris.withAppendedId(NoteColumns.CONTENT_URI, rowId);
  /packages/apps/Gallery3D/src/com/cooliris/picasa/
TableContentProvider.java 113 long rowId = mDatabase.getWritableDatabase().insert(tableName, NULL_COLUMN_HACK, values);
114 if (rowId > 0) {
116 return Uri.withAppendedPath(uri, Long.toString(rowId));
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
CallLogProvider.java 153 long rowId = mCallsInserter.insert(values);
154 if (rowId > 0) {
156 return ContentUris.withAppendedId(uri, rowId);
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 184 long rowId = db.insert(USERDICT_TABLE_NAME, Words.WORD, values);
185 if (rowId > 0) {
186 Uri wordUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI, rowId);

Completed in 815 milliseconds

1 2