Home
last modified time | relevance | path

Searched refs:rowId (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseCursorPagerAdapter.java94 final Integer rowId; in instantiateItem() local
96 rowId = mCursor.getString(mRowIDColumn).hashCode(); in instantiateItem()
98 rowId = null; in instantiateItem()
104 mObjectRowMap.put(obj, rowId); in instantiateItem()
118 final Integer rowId = mObjectRowMap.get(object); in getItemPosition() local
119 if (rowId == null || mItemPosition == null) { in getItemPosition()
123 final int position = mItemPosition.get(rowId, POSITION_NONE); in getItemPosition()
252 final int rowId = mCursor.getString(mRowIDColumn).hashCode(); in setItemPosition() local
255 itemPosition.append(rowId, position); in setItemPosition()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java132 long rowId = 0; in update() local
138 rowId = Long.parseLong(segment); in update()
139 count = db.update("data", values, "_id=" + rowId, null); in update()
147 if (false) Log.d(TAG, "*** notifyChange() rowId: " + rowId); in update()
/frameworks/base/media/java/android/media/
DMediaScanner.java361 FileEntry(long rowId, String path, long lastModified, int format) { in FileEntry() argument
362 mRowId = rowId; in FileEntry()
848 long rowId = entry.mRowId;
849 if (MediaFile.isAudioFileType(mFileType) && (rowId == 0 || mMtpObjectHandle != 0)) {
924 if (rowId == 0) {
974 rowId = ContentUris.parseId(result);
975 entry.mRowId = rowId;
979 result = ContentUris.withAppendedId(tableUri, rowId);
1003 setSettingIfNotSet(Settings.System.NOTIFICATION_SOUND, tableUri, rowId);
1006 setSettingIfNotSet(Settings.System.RINGTONE, tableUri, rowId);
[all …]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java101 long rowId = db.insert(TABLE_NAME, null, values); in insert() local
102 if (rowId > 0) { in insert()
103 Uri addedUri = ContentUris.withAppendedId(CONTENT_URI, rowId); in insert()
/frameworks/ex/common/java/com/android/common/content/
DSyncStateContentProviderHelper.java100 public int update(SQLiteDatabase db, long rowId, Object data) { in update() argument
102 new String[]{Long.toString(rowId)}) < 1) { in update()
107 + " WHERE " + SyncStateContract.Columns._ID + "=" + rowId, in update()
/frameworks/base/core/java/android/provider/
DSyncStateContract.java139 long rowId = c.getLong(1); in getWithUri() local
141 return Pair.create(ContentUris.withAppendedId(uri, rowId), blob); in getWithUri()
DMediaStore.java457 long rowId) { in getContentUri() argument
459 + "/file/" + rowId); in getContentUri()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsTracker.java149 long rowId = cursor.getLong(InboundSmsHandler.ID_COLUMN); in InboundSmsTracker() local
155 mDeleteWhereArgs = new String[]{Long.toString(rowId)}; in InboundSmsTracker()
DInboundSmsHandler.java921 long rowId = ContentUris.parseId(newUri); in addTrackerToRawTable() local
924 tracker.setDeleteWhere(SELECT_BY_ID, new String[]{Long.toString(rowId)}); in addTrackerToRawTable()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAdapterViewCompat.java1021 long rowId; in findSyncPosition() local
1046 rowId = adapter.getItemId(seed); in findSyncPosition()
1047 if (rowId == idToMatch) { in findSyncPosition()
/frameworks/base/core/java/android/widget/
DAdapterView.java1082 long rowId; in findSyncPosition() local
1107 rowId = adapter.getItemId(seed); in findSyncPosition()
1108 if (rowId == idToMatch) { in findSyncPosition()
DExpandableListConnector.java796 long rowId; in findGroupPosition() local
821 rowId = adapter.getGroupId(seedGroupPosition); in findGroupPosition()
822 if (rowId == groupIdToMatch) { in findGroupPosition()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java238 private Uri getUriFor(Uri tableUri, ContentValues values, long rowId) { in getUriFor() argument
249 return ContentUris.withAppendedId(tableUri, rowId); in getUriFor()
1137 final long rowId = db.insert(args.table, null, initialValues); in insertForUser() local
1141 if (rowId <= 0) return null; in insertForUser()
1148 url = getUriFor(url, initialValues, rowId); in insertForUser()
/frameworks/base/docs/html/training/secure-file-sharing/
Dshare-file.jd173 long rowId) {
230 long rowId) {
268 long rowId) {
/frameworks/base/docs/html/training/notepad/
Dnotepad-ex1.jd110 …<p><code>deleteNote()</code> takes a <var>rowId</var> for a particular note, and deletes that note…
128 with the <var>rowId</var> we specify. It uses a slightly different version of the
132 only for the row "where _id =" the <var>rowId</var> we passed in. So we are returned a Cursor on
134 …<p>And finally, <code>updateNote()</code> takes a <var>rowId</var>, <var>title</var> and <var>body…
136 <var>rowId</var>.</p>
/frameworks/base/docs/html/training/basics/data-storage/
Ddatabases.jd285 String[] selectionArgs = { String.valueOf(rowId) };
310 String[] selectionArgs = { String.valueOf(rowId) };
/frameworks/base/core/java/android/app/
DNotification.java3945 for (int rowId : rowIds) { in makeBigContentView()
3946 contentView.setViewVisibility(rowId, View.GONE); in makeBigContentView()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3156 public void stopSyncEvent(long rowId, SyncOperation syncOperation, String resultMessage, in stopSyncEvent() argument
3160 mSyncStorageEngine.stopSyncEvent(rowId, elapsedTime, in stopSyncEvent()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java270 long rowId) { in RecipientEditTextView()