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.java97 static public Uri getTableDataUriForRow(int rowId) { in getTableDataUriForRow() argument
98 return Uri.parse("content://" + AUTHORITY + "/" + TABLE_DATA_NAME + "/" + rowId); in getTableDataUriForRow()
156 long rowId = 0; in update() local
162 rowId = Long.parseLong(segment); in update()
163 count = db.update("data", values, "_id=" + rowId, null); in update()
171 if (false) Log.d(TAG, "*** notifyChange() rowId: " + rowId); in update()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMapper.java263 final long rowId; in putDocuments() local
265 rowId = database.insert(TABLE_DOCUMENTS, null, values); in putDocuments()
269 rowId = candidateCursor.getLong(0); in putDocuments()
271 mDatabase.writeRowSnapshot(String.valueOf(rowId), oldRowSnapshot); in putDocuments()
277 strings(rowId)); in putDocuments()
281 values.put(Document.COLUMN_DOCUMENT_ID, rowId); in putDocuments()
283 rootExtraValues.put(Root.COLUMN_ROOT_ID, rowId); in putDocuments()
288 mDatabase.writeRowSnapshot(String.valueOf(rowId), newRowSnapshot); in putDocuments()
/frameworks/base/media/java/android/media/
DMediaScanner.java396 FileEntry(long rowId, String path, long lastModified, int format) { in FileEntry() argument
397 this(rowId, path, lastModified, format, FileColumns.MEDIA_TYPE_NONE); in FileEntry()
400 FileEntry(long rowId, String path, long lastModified, int format, int mediaType) { in FileEntry() argument
401 mRowId = rowId; in FileEntry()
1006 long rowId = entry.mRowId;
1007 if (MediaFile.isAudioMimeType(mMimeType) && (rowId == 0 || mMtpObjectHandle != 0)) {
1104 if (rowId == 0) {
1132 rowId = ContentUris.parseId(result);
1133 entry.mRowId = rowId;
1137 result = ContentUris.withAppendedId(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/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java186 protected void bind(final Condition condition, final View row, final int rowId) { in bind() argument
195 tag.rb = (RadioButton) mZenRadioGroup.getChildAt(rowId); in bind()
215 updateUi(tag, row, condition, enabled, rowId, conditionId); in bind()
328 boolean enabled, int rowId, Uri conditionId) { in updateUi() argument
366 onClickTimeButton(row, tag, false /*down*/, rowId); in updateUi()
375 onClickTimeButton(row, tag, true /*up*/, rowId); in updateUi()
380 if (rowId == COUNTDOWN_CONDITION_INDEX && time > 0) { in updateUi()
419 private void onClickTimeButton(View row, ConditionTag tag, boolean up, int rowId) { in onClickTimeButton() argument
451 bind(newCondition, row, rowId); in onClickTimeButton()
DZenDurationDialog.java293 protected void onClickTimeButton(View row, ConditionTag tag, boolean up, int rowId) { in onClickTimeButton() argument
318 bindTag(newDndTimeDuration, row, rowId); in onClickTimeButton()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeSmsContentProvider.java86 long rowId = db.insert(RAW_TABLE_NAME, null, values); in insert() local
87 return Uri.parse("content://raw/" + rowId); in insert()
/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.java1248 long rowId) { in getContentUri() argument
1249 return ContentUris.withAppendedId(getContentUri(volumeName), rowId); in getContentUri()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java643 private void bind(final Condition condition, final View row, final int rowId) { in bind() argument
651 tag.rb = (RadioButton) mZenRadioGroup.getChildAt(rowId); in bind()
699 onClickTimeButton(row, tag, false /*down*/, rowId); in bind()
707 onClickTimeButton(row, tag, true /*up*/, rowId); in bind()
718 if (rowId != COUNTDOWN_ALARM_CONDITION_INDEX && time > 0) { in bind()
768 private void onClickTimeButton(View row, ConditionTag tag, boolean up, int rowId) { in onClickTimeButton() argument
800 bind(newCondition, row, rowId); in onClickTimeButton()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsTracker.java202 long rowId = cursor.getLong(InboundSmsHandler.ID_COLUMN); in InboundSmsTracker() local
207 mDeleteWhereArgs = new String[]{Long.toString(rowId)}; in InboundSmsTracker()
DInboundSmsHandler.java1414 long rowId = ContentUris.parseId(newUri); in addTrackerToRawTable() local
1417 tracker.setDeleteWhere(SELECT_BY_ID, new String[]{Long.toString(rowId)}); in addTrackerToRawTable()
/frameworks/base/core/java/android/widget/
DExpandableListConnector.java796 long rowId; in findGroupPosition() local
821 rowId = adapter.getGroupId(seedGroupPosition); in findGroupPosition()
822 if (rowId == groupIdToMatch) { in findGroupPosition()
DAdapterView.java1159 long rowId; in findSyncPosition() local
1184 rowId = adapter.getItemId(seed); in findSyncPosition()
1185 if (rowId == idToMatch) { in findSyncPosition()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3873 public void stopSyncEvent(long rowId, SyncOperation syncOperation, String resultMessage, in stopSyncEvent() argument
3877 mSyncStorageEngine.stopSyncEvent(rowId, elapsedTime, in stopSyncEvent()
/frameworks/base/core/java/android/app/
DNotification.java7888 for (int rowId : rowIds) { in makeBigContentView()
7889 contentView.setViewVisibility(rowId, View.GONE); in makeBigContentView()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java349 long rowId) { in RecipientEditTextView()