Searched refs:values (Results 101 - 125 of 211) sorted by relevance

123456789

/frameworks/base/core/java/android/content/
H A DContentProvider.java225 public int update(Uri uri, ContentValues values, String selection, argument
228 return ContentProvider.this.update(uri, values, selection, selectionArgs);
529 * the values from selectionArgs, in order that they appear in the selection.
530 * The values will be bound as Strings.
566 * @param values A set of column_name/value pairs to add to the database.
569 public abstract Uri insert(Uri uri, ContentValues values); argument
573 * default implementation will iterate over the values and call
582 * @param values An array of sets of column_name/value pairs to add to the database.
583 * @return The number of values that were inserted.
585 public int bulkInsert(Uri uri, ContentValues[] values) { argument
632 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentValues.java29 * This class is used to store a set of values that the {@link ContentResolver}
35 /** Holds the actual values */
39 * Creates an empty set of values using the default initial size
48 * Creates an empty set of values using the given initial size
50 * @param size the initial size of the set of values
57 * Creates a set of values copied from the given set
59 * @param from the values to copy
66 * Creates a set of values copied from the given HashMap. This is used
69 * @param values the values t
72 ContentValues(HashMap<String, Object> values) argument
[all...]
H A DSearchRecentSuggestionsProvider.java71 // client-provided configuration values
84 // NOTE: These version values are shifted left 8 bits (x 256) in order to create space for
156 * constructor. In your application or activities, you must provide the same values when
175 // saved values
179 // derived values
260 public Uri insert(Uri uri, ContentValues values) { argument
273 rowID = db.insert(sSuggestions, NULL_COLUMN, values);
381 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DIContentProvider.java54 public int update(Uri url, ContentValues values, String selection, argument
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java1134 * statement and fill in those values with {@link SQLiteProgram#bindString}
1138 * @param sql The raw SQL statement, may contain ? for unknown values to be
1167 * replaced by the values from selectionArgs, in order that they
1168 * appear in the selection. The values will be bound as Strings.
1206 * replaced by the values from selectionArgs, in order that they
1207 * appear in the selection. The values will be bound as Strings.
1250 * replaced by the values from selectionArgs, in order that they
1251 * appear in the selection. The values will be bound as Strings.
1286 * replaced by the values from selectionArgs, in order that they
1287 * appear in the selection. The values wil
1424 insert(String table, String nullColumnHack, ContentValues values) argument
1450 insertOrThrow(String table, String nullColumnHack, ContentValues values) argument
1655 update(String table, ContentValues values, String whereClause, String[] whereArgs) argument
1670 updateWithOnConflict(String table, ContentValues values, String whereClause, String[] whereArgs, int conflictAlgorithm) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaSMSDispatcher.java182 * hence bad) for cases where the values are not primitives,
280 ContentValues values = new ContentValues();
281 values.put("date", (long) 0);
282 values.put("pdu", HexDump.toHexString(pdu, index, pdu.length - index));
283 values.put("address", address);
284 values.put("reference_number", referenceNumber);
285 values.put("count", totalSegments);
286 values.put("sequence", segment);
287 values.put("destination_port", destinationPort);
289 mResolver.insert(mRawUri, values);
[all...]
/frameworks/base/core/java/android/provider/
H A DMediaStore.java580 ContentValues values = new ContentValues(4);
581 values.put(Images.Thumbnails.KIND, kind);
582 values.put(Images.Thumbnails.IMAGE_ID, (int)id);
583 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight());
584 values.put(Images.Thumbnails.WIDTH, thumb.getWidth());
586 Uri url = cr.insert(Images.Thumbnails.EXTERNAL_CONTENT_URI, values);
615 ContentValues values = new ContentValues();
616 values.put(Images.Media.TITLE, title);
617 values.put(Images.Media.DESCRIPTION, description);
618 values
[all...]
H A DCalendar.java92 * <P>Type: INTEGER (one of the values below)</P>
985 * Valid values are {@link #TIMEZONE_TYPE_AUTO} or
1118 * SMS are possible values; the device will only process DEFAULT and
1237 ContentValues values = new ContentValues();
1238 values.put(CalendarAlerts.EVENT_ID, eventId);
1239 values.put(CalendarAlerts.BEGIN, begin);
1240 values.put(CalendarAlerts.END, end);
1241 values.put(CalendarAlerts.ALARM_TIME, alarmTime);
1243 values.put(CalendarAlerts.CREATION_TIME, currentTime);
1244 values
[all...]
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java193 results.values = list;
199 ArrayList<ListItem> values = mOriginalValues;
200 int count = values.size();
205 ListItem item = values.get(i);
220 results.values = newValues;
230 mActivitiesList = (List<ListItem>) results.values;
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java302 * extract the required keys and values and write them to a byte array.
308 byte[][] values = new byte[sortedKeys.length * 2][]; // keys and values
325 values[keyIndex * 2] = nameBytes;
335 values[keyIndex * 2 + 1] = valueBytes;
346 if (values[i] != null) {
347 pos = writeInt(result, pos, values[i].length);
348 pos = writeBytes(result, pos, values[i]);
H A DSettingsProvider.java141 * @param values found in the row
145 private Uri getUriFor(Uri tableUri, ContentValues values, long rowId) { argument
151 String name = values.getAsString(Settings.NameValueTable.NAME);
289 // Slurp all values (if sane in number & size) into cache.
333 final ContentValues values = new ContentValues();
334 values.put(Settings.NameValueTable.NAME, Settings.Secure.ANDROID_ID);
335 values.put(Settings.NameValueTable.VALUE, newAndroidIdValue);
336 final Uri uri = insert(Settings.Secure.CONTENT_URI, values);
446 public int bulkInsert(Uri uri, ContentValues[] values) { argument
458 int numValues = values
[all...]
/frameworks/base/core/java/android/database/
H A DCursorToBulkCursorAdaptor.java200 public boolean updateRows(Map<? extends Long, ? extends Map<String, Object>> values) { argument
208 return mCursor.commitUpdates(values);
H A DCursorWrapper.java65 Map<? extends Long, ? extends Map<String, Object>> values) {
66 return mCursor.commitUpdates(values);
64 commitUpdates( Map<? extends Long, ? extends Map<String, Object>> values) argument
H A DCursor.java70 * range of values is -1 &lt;= position &lt;= count.
461 * updates included in values. After completion,
465 * @param values A map from row IDs to Maps associating column names with
466 * updated values. A null value indicates the field should be
475 ? extends Map<String,Object>> values);
571 * Returns a bundle of extra values. This is an optional way for cursors to provide out-of-band
575 * <p>These values may only change when requery is called.
576 * @return cursor-defined values, or Bundle.EMTPY if there are no values. Never null.
586 * @param extras extra values, o
474 commitUpdates(Map<? extends Long, ? extends Map<String,Object>> values) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java131 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
140 count = db.update("data", values, "_id=" + rowId, null);
/frameworks/base/tools/preload/
H A DPrintHtmlDiff.java43 for (Proc proc : root.processes.values()) {
55 for (LoadedClass loadedClass : root.loadedClasses.values()) {
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp23 float* values = autoHSV.ptr(); local
25 values[i] = SkScalarToFloat(hsv[i]);
32 float* values = autoHSV.ptr();; local
36 hsv[i] = SkFloatToScalar(values[i]);
/frameworks/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
/frameworks/base/include/android_runtime/
H A Dandroid_app_NativeActivity.h36 ANativeActivity* activity, int32_t values, int32_t mask);
/frameworks/base/core/java/android/pim/
H A DEventRecurrence.java227 int count, int[] values)
233 s.append(values[i]);
236 s.append(values[count]);
226 appendNumbers(StringBuilder s, String label, int count, int[] values) argument
/frameworks/base/core/java/android/util/
H A DCalendarUtils.java45 * values.
92 // Check the values in the db
217 ContentValues values = new ContentValues();
230 values.put(CalendarCache.VALUE, mUseHomeTZ ? CalendarCache.TIMEZONE_TYPE_HOME
232 mHandler.startUpdate(mToken, null, CalendarCache.URI, values, CalendarCache.WHERE,
256 * @param callback The runnable that should execute if a query returns new values
294 * new values
/frameworks/base/core/java/android/view/
H A DWindowOrientationListener.java155 // Indices into SensorEvent.values
167 // Mapping our internal aliases into actual Surface rotation values
172 // Mapping Surface rotation values to internal aliases.
351 float x = event.values[_DATA_X];
352 float y = event.values[_DATA_Y];
353 float z = event.values[_DATA_Z];
/frameworks/base/core/java/android/widget/
H A DSimpleAdapter.java76 * TextViews. The first N views in this list are given the values of the first N columns
289 * values to views.
291 * You should use this class to bind values to views that are not
335 results.values = list;
369 results.values = newValues;
379 mData = (List<Map<String, ?>>) results.values;
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmAnalyzerTest.java98 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray());
206 for (ClassReader cr2 : in_deps.values()) {
221 for (ClassReader cr2 : in_deps.values()) {
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccProvider.java437 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
451 pin2 = values.getAsString("pin2");
459 String tag = values.getAsString("tag");
460 String number = values.getAsString("number");
462 String newTag = values.getAsString("newTag");
463 String newNumber = values.getAsString("newNumber");

Completed in 594 milliseconds

123456789