/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
H A D | VoicemailProviderHelper.java | 91 * be used to perform the update. The remaining fields will be left unmodified. To mark a 92 * voicemail as read, create a new {@link Voicemail} that is marked as read, and call update. 99 public int update(Uri uri, Voicemail voicemail); method in interface:VoicemailProviderHelper
|
H A D | VoicemailProviderHelpers.java | 110 public int update(Uri uri, Voicemail voicemail) { method in class:VoicemailProviderHelpers 111 check(!voicemail.hasUri(), "Can't update the Uri of a voicemail", voicemail); 114 return mContentResolver.update(uri, values, null, null); 148 // Update mime_type & has_content after we are done with file update. 152 int updatedCount = mContentResolver.update(voicemailUri, values, null, null);
|
/development/samples/NotePad/src/com/example/android/notepad/ |
H A D | TitleEditor.java | 150 * update completes. In a sample app, going against a simple provider based on a 154 getContentResolver().update( 155 mUri, // The URI for the note to update. 156 values, // The values map containing the columns to update and the values to use.
|
H A D | NotePadProvider.java | 650 * {@link android.content.ContentResolver#update(Uri,ContentValues,String,String[])} 658 * @param uri The URI pattern to match and update. 669 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { method in class:NotePadProvider 676 // Does the update based on the incoming URI pattern 679 // If the incoming URI matches the general notes pattern, does the update based on 683 // Does the update and returns the number of rows updated. 684 count = db.update( 692 // If the incoming URI matches a single note ID, does the update based on the incoming 716 // Does the update and returns the number of rows updated. 717 count = db.update( [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 70 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { method in class:SharingSupportProvider
|
/development/samples/Snake/src/com/example/android/snake/ |
H A D | SnakeView.java | 108 * target and we can use the sleep() function to cause an update/invalidate to occur at a later 118 SnakeView.this.update(); 269 update(); 278 update(); 336 update(); 407 * Handles the basic update loop, checking to see if we are in the running state, determining if 410 public void update() { method in class:SnakeView
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
H A D | RssContentProvider.java | 170 public int update(Uri uri, ContentValues values, String whereClause) { method in class:RssContentProvider 172 int updateCount = mDb.update(DATABASE_TABLE_NAME, values, whereClause);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
H A D | PurgeableBitmap.java | 46 int index = mView.update(this);
|
H A D | PurgeableBitmapView.java | 34 * PurgeableBitmapView decodes an encoded bitstream to a Bitmap each time update() 81 public int update(PurgeableBitmap.RefreshHandler handler) { method in class:PurgeableBitmapView
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
H A D | GLVertex.java | 73 public void update(IntBuffer vertexBuffer, M4 transform) { method in class:GLVertex
|
H A D | GLWorld.java | 68 vertex.update(mVertexBuffer, transform);
|
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/ |
H A D | NotesDbAdapter.java | 176 * @param rowId id of note to update 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
|
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/ |
H A D | NotesDbAdapter.java | 176 * @param rowId id of note to update 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
H A D | NotesDbAdapter.java | 176 * @param rowId id of note to update 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
H A D | NotesDbAdapter.java | 176 * @param rowId id of note to update 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
H A D | NotesDbAdapter.java | 176 * @param rowId id of note to update 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
|
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/ |
H A D | NotesDbAdapter.java | 176 * @param rowId id of note to update 186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0;
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
H A D | DataProvider.java | 434 * @see android.content.ContentProvider#update(Uri, ContentValues, String, String[]) 436 * @param values The values to use to update the row or rows. You only need to specify column 440 * update. Use "?" to mark places that should be substituted by values in selectionArgs. 447 public int update(Uri uri, ContentValues values, String selection, method in class:DataProvider 460 int rows = localSQLiteDatabase.update( 466 // If the update succeeded, notify a change and return the number of updated rows.
|
H A D | RSSPullService.java | 228 // Previous metadata existed, so update it. 229 getContentResolver().update(
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
H A D | LoaderThrottle.java | 341 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { method in class:LoaderThrottle.SimpleProvider 348 // If URI is main table, update uses incoming where clause and args. 349 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs); 353 // If URI is for a particular row ID, update is based on incoming 357 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs); 492 cl.setUpdateThrottle(2000); // update at most every 2 seconds.
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | LoaderThrottleSupport.java | 342 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { method in class:LoaderThrottleSupport.SimpleProvider 349 // If URI is main table, update uses incoming where clause and args. 350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs); 354 // If URI is for a particular row ID, update is based on incoming 358 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs); 492 cl.setUpdateThrottle(2000); // update at most every 2 seconds.
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
H A D | FileProvider.java | 102 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { method in class:FileProvider
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
H A D | DictionaryProvider.java | 199 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { method in class:DictionaryProvider
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
H A D | WeatherDataProvider.java | 121 public synchronized int update(Uri uri, ContentValues values, String selection, method in class:WeatherDataProvider 125 // In this sample, we only update the content provider individually for each row with new
|
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
H A D | AccelerometerPlayActivity.java | 264 public void update(float sx, float sy, long now) { method in class:AccelerometerPlayActivity.SimulationView.ParticleSystem 265 // update the system's positions 432 particleSystem.update(sx, sy, now);
|