/packages/apps/Camera2/src/com/android/camera/filmstrip/ |
FilmstripController.java | 172 * @param dataID The ID of the promoted data. 174 public void onFocusedDataPromoted(int dataID); 180 * @param dataID The ID of the demoted data. 182 public void onFocusedDataDemoted(int dataID); 187 * @param dataID The ID of the long-pressed data. 189 public void onFocusedDataLongPressed(int dataID); 199 * @param dataId The ID of the updated data. 201 public void onDataUpdated(int dataId); 206 * @param dataId The ID of the current focused image data. 208 public void onEnterFullScreenUiShown(int dataId); [all...] |
/packages/apps/Dialer/src/com/android/dialer/contact/ |
ContactUpdateService.java | 38 public static Intent createSetSuperPrimaryIntent(Context context, long dataId) { 40 serviceIntent.putExtra(EXTRA_PHONE_NUMBER_DATA_ID, dataId); 47 long dataId = intent.getLongExtra(EXTRA_PHONE_NUMBER_DATA_ID, -1); 49 ContactUpdateUtils.setSuperPrimary(this, dataId);
|
/packages/apps/Camera2/src/com/android/camera/data/ |
FixedLastDataAdapter.java | 61 public LocalData getLocalData(int dataID) { 64 if (dataID < totalNumber) { 65 return mAdapter.getLocalData(dataID); 66 } else if (dataID == totalNumber) { 74 public void removeData(int dataID) { 75 if (dataID < mAdapter.getTotalNumber()) { 76 mAdapter.removeData(dataID); 96 public boolean isDataRemoved(int dataID) { 101 public boolean isDataUpdated(int dataID) { 102 return (dataID == pos) [all...] |
FixedFirstDataAdapter.java | 62 public LocalData getLocalData(int dataID) { 63 if (dataID == 0) { 66 return mAdapter.getLocalData(dataID - 1); 70 public void removeData(int dataID) { 71 if (dataID > 0) { 72 mAdapter.removeData(dataID - 1); 92 public boolean isDataRemoved(int dataID) { 97 public boolean isDataUpdated(int dataID) { 98 return (dataID == 0); 113 public View getView(Context context, View recycled, int dataID) { [all...] |
LocalDataAdapter.java | 60 * @param dataID The ID of the {@link LocalData} to get. 63 public LocalData getLocalData(int dataID); 68 * @param dataID ID of data to be deleted. 70 public void removeData(int dataID); 133 * @param dataId The ID of the data to update the metadata for. 137 public AsyncTask updateMetadata(int dataId); 142 public boolean isMetadataUpdated(int dataId);
|
AbstractLocalDataAdapterWrapper.java | 110 public AsyncTask updateMetadata(int dataId) { 111 return mAdapter.updateMetadata(dataId); 115 public boolean isMetadataUpdated(int dataId) { 116 return mAdapter.isMetadataUpdated(dataId);
|
CameraDataAdapter.java | 80 public AsyncTask updateMetadata(int dataId) { 82 result.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, dataId); 87 public boolean isMetadataUpdated(int dataId) { 88 if (dataId < 0 || dataId >= mImages.size()) { 91 return mImages.get(dataId).isMetadataUpdated(); 95 public int getItemViewType(int dataId) { 96 if (dataId < 0 || dataId >= mImages.size()) { 100 return mImages.get(dataId).getItemViewType().ordinal() [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
ContactUpdateUtils.java | 32 public static void setSuperPrimary(Context context, long dataId) { 33 if (dataId == -1) { 44 ContentUris.withAppendedId(ContactsContract.Data.CONTENT_URI, dataId),
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForEmail.java | 42 long dataId = super.insert(db, txContext, rawContactId, values); 45 String address = mDbHelper.insertNameLookupForEmail(rawContactId, dataId, email); 49 return dataId; 60 long dataId = c.getLong(DataUpdateQuery._ID); 64 mDbHelper.deleteNameLookup(dataId); 65 mDbHelper.insertNameLookupForEmail(rawContactId, dataId, address); 75 long dataId = c.getLong(DataDeleteQuery._ID); 80 mDbHelper.deleteNameLookup(dataId);
|
DataRowHandlerForNickname.java | 44 long dataId = super.insert(db, txContext, rawContactId, values); 48 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname); 51 return dataId; 57 long dataId = c.getLong(DataUpdateQuery._ID); 66 mDbHelper.deleteNameLookup(dataId); 67 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname); 77 long dataId = c.getLong(DataDeleteQuery._ID); 82 mDbHelper.deleteNameLookup(dataId);
|
NameLookupBuilder.java | 82 protected abstract void insertNameLookup(long rawContactId, long dataId, int lookupType, 99 public void insertNameLookup(long rawContactId, long dataId, String name, int fullNameStyle) { 111 insertNameVariant(rawContactId, dataId, tokenCount, NameLookupType.NAME_EXACT, true); 126 insertCollationKey(rawContactId, dataId, MAX_NAME_TOKENS); 138 insertNameVariants(rawContactId, dataId, 0, tokenCount, !tooManyTokens, true); 139 insertNicknamePermutations(rawContactId, dataId, 0, tokenCount); 239 private void insertNameVariants(long rawContactId, long dataId, int fromIndex, int toIndex, 242 insertNameVariant(rawContactId, dataId, toIndex, 255 insertNameVariants(rawContactId, dataId, fromIndex + 1, toIndex, 266 private void insertNameVariant(long rawContactId, long dataId, int tokenCount [all...] |
DataRowHandlerForOrganization.java | 47 long dataId = super.insert(db, txContext, rawContactId, values); 50 return dataId; 63 long dataId = c.getLong(DataUpdateQuery._ID); 71 mSelectionArgs1[0] = String.valueOf(dataId); 82 mSelectionArgs1[0] = String.valueOf(dataId); 89 mDbHelper.deleteNameLookup(dataId); 97 long dataId = c.getLong(DataUpdateQuery._ID); 102 mDbHelper.deleteNameLookup(dataId);
|
DataRowHandler.java | 111 final long dataId = db.insert(Tables.DATA, null, values); 117 mDbHelper.setIsPrimary(rawContactId, dataId, mimeTypeId); 123 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId); 131 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId); 140 return dataId; 151 long dataId = c.getLong(DataUpdateQuery._ID); 154 handlePrimaryAndSuperPrimary(values, dataId, rawContactId); 157 mSelectionArgs1[0] = String.valueOf(dataId); 185 private void handlePrimaryAndSuperPrimary(ContentValues values, long dataId, 203 mSelectionArgs1[0] = String.valueOf(dataId); [all...] |
DataRowHandlerForPhoneNumber.java | 46 final long dataId = super.insert(db, txContext, rawContactId, values); 50 updatePhoneLookup(db, rawContactId, dataId, number, normalizedNumber); 56 return dataId; 69 long dataId = c.getLong(DataUpdateQuery._ID); 71 updatePhoneLookup(db, rawContactId, dataId, 102 long dataId = c.getLong(DataDeleteQuery._ID); 107 updatePhoneLookup(db, rawContactId, dataId, null, null); 114 private void updatePhoneLookup(SQLiteDatabase db, long rawContactId, long dataId, 116 mSelectionArgs1[0] = String.valueOf(dataId); 123 phoneValues.put(PhoneLookupColumns.DATA_ID, dataId); [all...] |
DataRowHandlerForCommonDataKind.java | 53 final long dataId = c.getLong(DataUpdateQuery._ID); 54 final ContentValues augmented = getAugmentedValues(db, dataId, values);
|
DataRowHandlerForIdentity.java | 38 final long dataId = super.insert(db, txContext, rawContactId, values); 45 return dataId;
|
DataRowHandlerForStructuredName.java | 51 long dataId = super.insert(db, txContext, rawContactId, values); 55 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name, 61 return dataId; 67 final long dataId = c.getLong(DataUpdateQuery._ID); 70 final ContentValues augmented = getAugmentedValues(db, dataId, values); 81 mDbHelper.deleteNameLookup(dataId); 83 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name, 95 long dataId = c.getLong(DataDeleteQuery._ID); 100 mDbHelper.deleteNameLookup(dataId);
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DataUtil.java | 35 public static String[] queryById(ContentResolver resolver, long dataId, String[] projection) { 36 Uri uri = ContentUris.withAppendedId(URI, dataId); 78 public static void delete(ContentResolver resolver, long dataId) { 79 Uri uri = ContentUris.withAppendedId(URI, dataId); 83 public static void update(ContentResolver resolver, long dataId, ContentValues values) { 84 Uri uri = ContentUris.withAppendedId(URI, dataId);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
DataUtil.java | 34 public static void delete(ContentResolver resolver, long dataId) { 35 Uri uri = ContentUris.withAppendedId(URI, dataId); 39 public static void update(ContentResolver resolver, long dataId, ContentValues values) { 40 Uri uri = ContentUris.withAppendedId(URI, dataId);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_StatusUpdatesTest.java | 40 private long dataId; 65 dataId = ContentUris.parseId(results[1].uri); 69 Uri uri = insertStatusUpdate(dataId, StatusUpdates.DO_NOT_DISTURB, null, null); 75 Uri uri2 = insertStatusUpdate(dataId, StatusUpdates.AVAILABLE, null, null); 83 Uri uri3 = insertStatusUpdate(dataId, StatusUpdates.AWAY, "Grabbing a byte", null); 92 Uri uri4 = insertStatusUpdate(dataId, StatusUpdates.IDLE, "Taking a bit of a break", null); 101 private Uri insertStatusUpdate(long dataId, int presence, String status, Long timestamp) 105 .withValue(StatusUpdates.DATA_ID, dataId)
|
ContactsContract_DataUsageTest.java | 113 private void updateDataUsageAndAssert(long dataId, int assertValue) { 114 Uri uri = DataUsageFeedback.FEEDBACK_URI.buildUpon().appendPath(String.valueOf(dataId)) 120 assertDataUsageEquals(dataId, assertValue); 139 private void assertDataUsageEquals(long dataId, int expectedValue) { 142 String[] record = DataUtil.queryById(mResolver, dataId, projection);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientEntry.java | 84 long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid, 94 mDataId = dataId; 163 Long directoryId, long dataId, Uri photoThumbnailUri, boolean isValid, 167 contactId, directoryId, dataId, photoThumbnailUri, true, isValid, lookupKey); 172 Long directoryId, long dataId, String thumbnailUriAsString, boolean isValid, 176 contactId, directoryId, dataId, (thumbnailUriAsString != null 182 String destinationLabel, long contactId, Long directoryId, long dataId, 186 contactId, directoryId, dataId, (thumbnailUriAsString != null
|
/external/chromium_org/third_party/skia/include/ports/ |
SkRemotableFontMgr.h | 146 virtual SkStreamAsset* getData(int dataId) const = 0;
|
/external/skia/include/ports/ |
SkRemotableFontMgr.h | 146 virtual SkStreamAsset* getData(int dataId) const = 0;
|
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
RecipientAlternatesAdapterTest.java | 83 long dataId, 88 contactId, dataId, photoUri, displayNameSource}); 98 long dataId, 108 assertEquals(dataId, c.getLong(5));
|