Searched refs:update (Results 1 - 25 of 233) sorted by relevance

12345678910

/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DUpdateHelper.java24 public int update(int original, int update) { argument
25 if (original != update) {
27 original = update;
32 public long update(long original, long update) { argument
33 if (original != update) {
35 original = update;
40 public double update(double original, double update) { argument
48 update(float original, float update) argument
56 update(T original, T update) argument
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DObserver.java30 void update(Observable observable); method in interface:Observer
H A DObservable.java72 mIterator.next().update(this);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForStructuredPostal.java61 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, method in class:DataRowHandlerForStructuredPostal
70 super.update(db, txContext, values, c, callerIsSyncAdapter);
80 private void fixStructuredPostalComponents(ContentValues augmented, ContentValues update) { argument
81 final String unstruct = update.getAsString(StructuredPostal.FORMATTED_ADDRESS);
84 final boolean touchedStruct = !areAllEmpty(update, STRUCTURED_FIELDS);
90 postal.toValues(update);
92 && (touchedStruct || areAnySpecified(update, STRUCTURED_FIELDS))) {
95 update.put(StructuredPostal.FORMATTED_ADDRESS, joined);
H A DDatabaseModifier.java25 * An interface which wraps key database modify operations (insert, update, delete) to perform
41 * Use this method to update a table which you would otherwise do using the
42 * {@link SQLiteDatabase#update(String, ContentValues, String, String[])} method.
44 public abstract int update(String table, ContentValues values, method in interface:DatabaseModifier
H A DDataRowHandlerForStructuredName.java64 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, method in class:DataRowHandlerForStructuredName
76 super.update(db, txContext, values, c, callerIsSyncAdapter);
123 public void fixStructuredNameComponents(ContentValues augmented, ContentValues update) { argument
124 final String unstruct = update.getAsString(StructuredName.DISPLAY_NAME);
127 final boolean touchedStruct = !areAllEmpty(update, STRUCTURED_FIELDS);
132 name.toValues(update);
134 && (touchedStruct || areAnySpecified(update, STRUCTURED_FIELDS))) {
135 // We need to update the display name when any structured components
147 update.put(StructuredName.DISPLAY_NAME, joined);
149 update
[all...]
H A DDataRowHandlerForCommonDataKind.java49 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, method in class:DataRowHandlerForCommonDataKind
57 return super.update(db, txContext, values, c, callerIsSyncAdapter);
H A DDataRowHandlerForEmail.java52 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, method in class:DataRowHandlerForEmail
54 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) {
H A DDataRowHandlerForNickname.java54 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, method in class:DataRowHandlerForNickname
59 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) {
/packages/apps/Email/src/com/android/email/provider/
H A DAccountBackupRestore.java49 resolver.update(EmailProvider.ACCOUNT_BACKUP_URI, null, null, null);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSources.java40 void update(); method in interface:Sources
H A DCorpora.java80 void update(); method in interface:Corpora
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalVideo.java122 id = uh.update(id, cursor.getInt(INDEX_ID));
123 caption = uh.update(caption, cursor.getString(INDEX_CAPTION));
124 mimeType = uh.update(mimeType, cursor.getString(INDEX_MIME_TYPE));
125 latitude = uh.update(latitude, cursor.getDouble(INDEX_LATITUDE));
126 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE));
127 dateTakenInMs = uh.update(
129 dateAddedInSec = uh.update(
131 dateModifiedInSec = uh.update(
133 filePath = uh.update(filePath, cursor.getString(INDEX_DATA));
134 durationInSec = uh.update(
[all...]
H A DLocalImage.java132 id = uh.update(id, cursor.getInt(INDEX_ID));
133 caption = uh.update(caption, cursor.getString(INDEX_CAPTION));
134 mimeType = uh.update(mimeType, cursor.getString(INDEX_MIME_TYPE));
135 latitude = uh.update(latitude, cursor.getDouble(INDEX_LATITUDE));
136 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE));
137 dateTakenInMs = uh.update(
139 dateAddedInSec = uh.update(
141 dateModifiedInSec = uh.update(
143 filePath = uh.update(filePath, cursor.getString(INDEX_DATA));
144 rotation = uh.update(rotatio
[all...]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockSources.java47 public void update() { method in class:MockSources
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarReceiver.java44 cr.update(CalendarAlarmManager.SCHEDULE_ALARM_URI, null /* values */, null /* where */,
89 mResolver.update(CalendarAlarmManager.SCHEDULE_ALARM_REMOVE_URI, null /* values */,
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DDismissAllAlarmsService.java54 resolver.update(uri, values, selection, null);
/packages/apps/Phone/src/com/android/phone/
H A DClearMissedCallsService.java55 getContentResolver().update(Calls.CONTENT_URI, values, where.toString(),
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/
H A DNaughtySuggestionProvider.java48 public int update(Uri uri, ContentValues values, String selection, method in class:NaughtySuggestionProvider
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProvider.java43 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { method in class:Provider
/packages/apps/Exchange/src/com/android/exchange/provider/
H A DMailboxUtilities.java78 resolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, childId),
93 resolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, parentId),
148 resolver.update(Mailbox.CONTENT_URI, values, noParentKeySelection, null);
154 // Set temporary flag indicating state of update of mailbox list
158 context.getContentResolver().update(
187 // If our temporary flag is set, we were interrupted during an update
199 resolver.update(Mailbox.CONTENT_URI, values, accountSelector, null);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPaper.java65 return mAnimationLeft.update() | mAnimationRight.update();
158 public boolean update() { method in class:EdgeAnimation
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastDatabaseService.java26 * Service to update the SQLite database to add a new broadcast message,
133 rowCount = mBroadcastDb.update(CellBroadcastDatabase.TABLE_NAME, cv,
137 rowCount = mBroadcastDb.update(CellBroadcastDatabase.TABLE_NAME, cv,
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMailboxUtilitiesTests.java84 // This simulates an older database needing update
85 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
140 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
191 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
235 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
282 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
335 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
388 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
441 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
462 mResolver.update(ContentUri
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DGroupsTest.java165 mResolver.update(updateUri, values, null, null);
178 assertEquals(1, mResolver.update(uri, values, null, null));
216 mResolver.update(uri, values, null, null);
312 mResolver.update(AggregationExceptions.CONTENT_URI, values, null, null);
331 mResolver.update(Settings.CONTENT_URI, values, Settings.ACCOUNT_NAME + "=? AND "
353 mResolver.update(Groups.CONTENT_URI, values, Groups._ID + "=" + groupId, null);
363 mResolver.update(AggregationExceptions.CONTENT_URI, values, null, null);
371 mResolver.update(Groups.CONTENT_URI, values, Groups._ID + "=" + groupId, null);

Completed in 2354 milliseconds

12345678910