/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | UpdateHelper.java | 24 public int update(int original, int update) { in update() method in UpdateHelper 25 if (original != update) { in update() 27 original = update; in update() 32 public long update(long original, long update) { in update() argument 33 if (original != update) { in update() 35 original = update; in update() 40 public double update(double original, double update) { in update() method in UpdateHelper 41 if (original != update) { in update() 43 original = update; in update() 48 public <T> T update(T original, T update) { in update() method in UpdateHelper [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForStructuredPostal.java | 62 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() method in DataRowHandlerForStructuredPostal 71 super.update(db, txContext, values, c, callerIsSyncAdapter); in update() 81 private void fixStructuredPostalComponents(ContentValues augmented, ContentValues update) { in fixStructuredPostalComponents() argument 82 final String unstruct = update.getAsString(StructuredPostal.FORMATTED_ADDRESS); in fixStructuredPostalComponents() 85 final boolean touchedStruct = !areAllEmpty(update, STRUCTURED_FIELDS); in fixStructuredPostalComponents() 91 postal.toValues(update); in fixStructuredPostalComponents() 93 && (touchedStruct || areAnySpecified(update, STRUCTURED_FIELDS))) { in fixStructuredPostalComponents() 96 update.put(StructuredPostal.FORMATTED_ADDRESS, joined); in fixStructuredPostalComponents()
|
D | DataRowHandlerForStructuredName.java | 65 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() method in DataRowHandlerForStructuredName 77 super.update(db, txContext, values, c, callerIsSyncAdapter); in update() 124 public void fixStructuredNameComponents(ContentValues augmented, ContentValues update) { in fixStructuredNameComponents() argument 125 final String unstruct = update.getAsString(StructuredName.DISPLAY_NAME); in fixStructuredNameComponents() 128 final boolean touchedStruct = !areAllEmpty(update, STRUCTURED_FIELDS); in fixStructuredNameComponents() 133 name.toValues(update); in fixStructuredNameComponents() 135 && (touchedStruct || areAnySpecified(update, STRUCTURED_FIELDS))) { in fixStructuredNameComponents() 148 update.put(StructuredName.DISPLAY_NAME, joined); in fixStructuredNameComponents() 150 update.put(StructuredName.FULL_NAME_STYLE, unadjustedFullNameStyle); in fixStructuredNameComponents() 151 update.put(StructuredName.PHONETIC_NAME_STYLE, name.phoneticNameStyle); in fixStructuredNameComponents() [all …]
|
D | DataRowHandler.java | 149 public boolean update(SQLiteDatabase db, TransactionContext txContext, in update() method in DataRowHandler 158 db.update(Tables.DATA, values, Data._ID + " =?", mSelectionArgs1); in update() 322 ContentValues update) { in getAugmentedValues() argument 333 if (!changing && update.containsKey(key)) { in getAugmentedValues() 334 Object newValue = update.get(key); in getAugmentedValues() 348 values.putAll(update); in getAugmentedValues()
|
D | DataRowHandlerForIdentity.java | 49 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() method in DataRowHandlerForIdentity 52 super.update(db, txContext, values, c, callerIsSyncAdapter); in update()
|
D | DataRowHandlerForCommonDataKind.java | 51 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() method in DataRowHandlerForCommonDataKind 59 return super.update(db, txContext, values, c, callerIsSyncAdapter); in update()
|
D | DataRowHandlerForNickname.java | 55 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() method in DataRowHandlerForNickname 60 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { in update()
|
D | DataRowHandlerForEmail.java | 53 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, in update() method in DataRowHandlerForEmail 55 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { in update()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalVideo.java | 132 id = uh.update(id, cursor.getInt(INDEX_ID)); in updateFromCursor() 133 caption = uh.update(caption, cursor.getString(INDEX_CAPTION)); in updateFromCursor() 134 mimeType = uh.update(mimeType, cursor.getString(INDEX_MIME_TYPE)); in updateFromCursor() 135 latitude = uh.update(latitude, cursor.getDouble(INDEX_LATITUDE)); in updateFromCursor() 136 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE)); in updateFromCursor() 137 dateTakenInMs = uh.update( in updateFromCursor() 139 dateAddedInSec = uh.update( in updateFromCursor() 141 dateModifiedInSec = uh.update( in updateFromCursor() 143 filePath = uh.update(filePath, cursor.getString(INDEX_DATA)); in updateFromCursor() 144 durationInSec = uh.update( in updateFromCursor() [all …]
|
D | LocalImage.java | 129 id = uh.update(id, cursor.getInt(INDEX_ID)); in updateFromCursor() 130 caption = uh.update(caption, cursor.getString(INDEX_CAPTION)); in updateFromCursor() 131 mimeType = uh.update(mimeType, cursor.getString(INDEX_MIME_TYPE)); in updateFromCursor() 132 latitude = uh.update(latitude, cursor.getDouble(INDEX_LATITUDE)); in updateFromCursor() 133 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE)); in updateFromCursor() 134 dateTakenInMs = uh.update( in updateFromCursor() 136 dateAddedInSec = uh.update( in updateFromCursor() 138 dateModifiedInSec = uh.update( in updateFromCursor() 140 filePath = uh.update(filePath, cursor.getString(INDEX_DATA)); in updateFromCursor() 141 rotation = uh.update(rotation, cursor.getInt(INDEX_ORIENTATION)); in updateFromCursor() [all …]
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
D | MailboxUtilitiesTests.java | 85 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testSetupParentKeyAndFlag() 140 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyAddFolder1() 191 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyAddFolder2() 235 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyAddFolder3() 282 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyRemoveFolder1() 335 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyRemoveFolder2() 388 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyRemoveFolder3() 441 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testChangeFromNoParentToParent() 462 mResolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, box3.mId), values, in testChangeFromNoParentToParent() 496 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testChangeFromParentToNoParent() [all …]
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
D | MailboxUtilitiesTests.java | 85 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testSetupParentKeyAndFlag() 140 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyAddFolder1() 191 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyAddFolder2() 235 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyAddFolder3() 282 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyRemoveFolder1() 335 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyRemoveFolder2() 388 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testParentKeyRemoveFolder3() 441 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testChangeFromNoParentToParent() 462 mResolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, box3.mId), values, in testChangeFromNoParentToParent() 496 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null); in testChangeFromParentToNoParent() [all …]
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/ |
D | MailboxUtilities.java | 78 resolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, childId), in setFlagsAndChildrensParentKey() 93 resolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, parentId), in setFlagsAndChildrensParentKey() 155 resolver.update(Mailbox.CONTENT_URI, values, noParentKeySelection, null); in fixupUninitializedParentKeys() 165 context.getContentResolver().update( in setAccountSyncAdapterFlag() 206 resolver.update(Mailbox.CONTENT_URI, values, accountSelector, null); in checkMailboxConsistency()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | GroupsTest.java | 163 mResolver.update(updateUri, values, null, null); in testMarkAsDirtyParameter() 175 assertEquals(1, mResolver.update(uri, values, null, null)); in testGroupDirtyClearedWhenSetExplicitly() 210 mResolver.update(uri, values, null, null); in testGroupVersionUpdates() 305 mResolver.update(AggregationExceptions.CONTENT_URI, values, null, null); in testLocalMixedVisible() 324 mResolver.update(Settings.CONTENT_URI, values, Settings.ACCOUNT_NAME + "=? AND " in testUngroupedVisible() 346 mResolver.update(Groups.CONTENT_URI, values, Groups._ID + "=" + groupId, null); in testMultipleSourcesVisible() 356 mResolver.update(AggregationExceptions.CONTENT_URI, values, null, null); in testMultipleSourcesVisible() 364 mResolver.update(Groups.CONTENT_URI, values, Groups._ID + "=" + groupId, null); in testMultipleSourcesVisible()
|
D | VoicemailProviderTest.java | 117 int count = mResolver.update(uri, values, null, null); in testUpdate() 160 mResolver.update(Voicemails.CONTENT_URI, getTestVoicemailValues(), null, null); in testMustUsePackageUriWithoutFullPermission() 210 mResolver.update(withSourcePackageParam(ownVoicemail), in testPermissions_UpdateAndDelete() 218 mResolver.update(anotherVoicemail, null, null, null); in testPermissions_UpdateAndDelete() 305 mResolver.update(uri, getTestVoicemailValues(), null, null); in checkHasNoWriteAccessToUri() 348 mResolver.update(voicemailUri(), getTestVoicemailValues(), null, null); in testNoPermissions() 406 mResolver.update(insertedUri, values, null, null); in testCannotAccessCallLogSpecificFields_Update() 445 int count = mResolver.update(uri, values, null, null); in testStatusUpdate() 496 mResolver.update(uri, values, null, null); in testStatusPermissions()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 196 preference.update(profile); in onClick() 306 preference.update(-1); in handleMessage() 313 preference.update(info.state); in handleMessage() 483 update(); in VpnPreference() 490 void update(VpnProfile profile) { in update() method in VpnSettings.VpnPreference 492 update(); in update() 495 void update(int state) { in update() method in VpnSettings.VpnPreference 497 update(); in update() 500 void update() { in update() method in VpnSettings.VpnPreference
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | Paper.java | 60 return mAnimationLeft.update() | mAnimationRight.update(); in advanceAnimation() 150 public boolean update() { in update() method in EdgeAnimation
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarReceiver.java | 59 cr.update(CalendarAlarmManager.SCHEDULE_ALARM_URI, null /* values */, in onReceive() 85 resolver.update(CalendarAlarmManager.SCHEDULE_ALARM_REMOVE_URI, null /* values */, in removeScheduledAlarms()
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | SendTransaction.java | 104 SqliteWrapper.update(mContext, mContext.getContentResolver(), in run() 147 SqliteWrapper.update(mContext, mContext.getContentResolver(), in run() 155 SqliteWrapper.update(mContext, mContext.getContentResolver(), in run()
|
D | Observer.java | 30 void update(Observable observable); in update() method
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | Logic.java | 198 mHistory.update(text); in onUp() 208 mHistory.update(text); in onDown() 221 mHistory.update(MARKER_EVALUATE_ON_RESUME); in updateHistory() 223 mHistory.update(getText()); in updateHistory()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | EasAccountService.java | 205 ha.update(mContext, haValues); in canHandleAccountMailboxRedirect() 234 mAccount.update(mContext, cv); in sync() 245 if (mContentResolver.update(Mailbox.CONTENT_URI, cv, in sync() 283 mAccount.update(mContext, cv); in sync() 287 mMailbox.update(mContext, cv); in sync() 304 if (mContentResolver.update(Mailbox.CONTENT_URI, cv, in sync() 349 if (mContentResolver.update(Mailbox.CONTENT_URI, cv, in sync() 483 mContentResolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailboxId), in pushFallback()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppIncomingFileConfirmActivity.java | 148 this.getContentResolver().update(mUri, mUpdateValues, null, null); in onClick() 159 this.getContentResolver().update(mUri, mUpdateValues, null, null); in onClick() 170 this.getContentResolver().update(mUri, mUpdateValues, null, null); in onKeyDown()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TimeBar.java | 110 private void update() { in update() method in TimeBar 146 update(); in setTime() 203 update(); in onLayout()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchableCorpora.java | 110 public void update() { in update() method in SearchableCorpora 111 mSources.update(); in update()
|