/frameworks/base/core/java/android/content/ |
H A D | SharedPreferences.java | 29 * to ensure the preference values remain in a consistent state and control 65 * Interface used for modifying values in a {@link SharedPreferences} 84 * Set a set of String values in the preferences editor, to be written 88 * @param values The set of new values for the preference. Passing {@code null} 94 Editor putStringSet(String key, @Nullable Set<String> values); argument 161 * Mark in the editor to remove <em>all</em> values from the 187 * @return Returns true if the new values were successfully written 232 * Retrieve all values from the preferences. 261 * Retrieve a set of String values fro [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 244 * selecting/computing resource values. 246 * selecting/computing resource values (optional). 257 * selecting/computing resource values. 259 * selecting/computing resource values (optional). 570 * Return an array of heterogeneous values. 578 * @return Returns a TypedArray holding an array of the array values. 1408 * This class holds the current attribute values for a particular theme. 1409 * In other words, a Theme is a set of values for resource attributes; 1424 * Place new attribute values into the theme. The style resource 1426 * resources, its values place 1656 resolveAttributes(@onNull int[] values, @NonNull int[] attrs) argument [all...] |
/frameworks/base/core/java/android/database/ |
H A D | CursorJoiner.java | 24 * supports the case where the tuple of key column values is unique. 149 * next() are guaranteed to point to the row that was indicated. Reading values 196 * array and saves them in values beginning at startingIndex, skipping a slot 198 * values will be stored in slots 1, 3, and 5. 199 * @param values the String[] to populate 201 * @param columnIndicies the indicies of the values to read from the cursor 202 * @param startingIndex the slot in which to start storing values, and must be either 0 or 1. 204 private static void populateValues(String[] values, Cursor cursor, int[] columnIndicies, argument 208 values[startingIndex + i*2] = cursor.getString(columnIndicies[i]); 235 * Compare the values 242 compareStrings(String... values) argument [all...] |
H A D | DatabaseUtils.java | 52 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 54 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 56 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 58 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 60 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 62 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 64 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 66 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 68 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 70 /** One of the values returne 603 cursorStringToContentValues(Cursor cursor, String field, ContentValues values) argument 629 cursorStringToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 641 cursorIntToContentValues(Cursor cursor, String field, ContentValues values) argument 653 cursorIntToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 670 cursorLongToContentValues(Cursor cursor, String field, ContentValues values) argument 683 cursorLongToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 701 cursorDoubleToCursorValues(Cursor cursor, String field, ContentValues values) argument 714 cursorDoubleToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 730 cursorRowToContentValues(Cursor cursor, ContentValues values) argument 906 cursorStringToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 922 cursorLongToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 938 cursorShortToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 954 cursorIntToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 970 cursorFloatToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 986 cursorDoubleToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 1113 insertInternal(ContentValues values, boolean allowReplace) argument 1258 insert(ContentValues values) argument 1332 replace(ContentValues values) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDatabase.java | 980 * statement and fill in those values with {@link SQLiteProgram#bindString} 986 * @param sql The raw SQL statement, may contain ? for unknown values to be 1012 * replaced by the values from selectionArgs, in order that they 1013 * appear in the selection. The values will be bound as Strings. 1050 * replaced by the values from selectionArgs, in order that they 1051 * appear in the selection. The values will be bound as Strings. 1092 * replaced by the values from selectionArgs, in order that they 1093 * appear in the selection. The values will be bound as Strings. 1132 * replaced by the values from selectionArgs, in order that they 1133 * appear in the selection. The values wil 1339 insert(String table, String nullColumnHack, ContentValues values) argument 1365 insertOrThrow(String table, String nullColumnHack, ContentValues values) argument 1521 update(String table, ContentValues values, String whereClause, String[] whereArgs) argument 1539 updateWithOnConflict(String table, ContentValues values, String whereClause, String[] whereArgs, int conflictAlgorithm) argument [all...] |
H A D | SqliteWrapper.java | 77 ContentValues values, String where, String[] selectionArgs) { 79 return resolver.update(uri, values, where, selectionArgs); 99 Uri uri, ContentValues values) { 101 return resolver.insert(uri, values); 76 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument 98 insert(Context context, ContentResolver resolver, Uri uri, ContentValues values) argument
|
/frameworks/base/core/java/android/hardware/ |
H A D | LegacySensorManager.java | 53 // which won't get the rotated values 259 v[0] = event.values[0]; 260 v[1] = event.values[1]; 261 v[2] = event.values[2]; 282 * output: 3,4,5: values in the old API format 283 * 0,1,2: transformed values in the old API format 287 float[] values, int orientation) { 288 float x = values[0]; 289 float y = values[1]; 290 float z = values[ 286 mapSensorDataToWindow(int sensor, float[] values, int orientation) argument [all...] |
H A D | SensorEvent.java | 22 * course the sensor's {@link SensorEvent#values data}. 37 * screen. In this system, coordinates behind the screen have negative Z values. 59 * The length and contents of the {@link #values values} array depends on 65 * Sensor.TYPE_ACCELEROMETER}:</h4> All values are in SI units (m/s^2) 68 * <li> values[0]: Acceleration minus Gx on the x-axis </li> 69 * <li> values[1]: Acceleration minus Gy on the y-axis </li> 70 * <li> values[2]: Acceleration minus Gz on the z-axis </li> 117 * gravity[0] = alpha * gravity[0] + (1 - alpha) * event.values[0]; 118 * gravity[1] = alpha * gravity[1] + (1 - alpha) * event.values[ 487 public final float[] values; field in class:SensorEvent [all...] |
H A D | SensorListener.java | 21 * sensor values have changed. 30 * <p>Called when sensor values have changed. 31 * The length and contents of the values array vary 45 * device's screen orientation changes. To access the unswapped values, 46 * use indices 3, 4 and 5 in values[]. 50 * All values are angles in degrees. 52 * <p>values[0]: Azimuth, rotation around the Z axis (0<=azimuth<360). 55 * <p>values[1]: Pitch, rotation around X axis (-180<=pitch<=180), with positive 56 * values when the z-axis moves toward the y-axis. 58 * <p>values[ 90 onSensorChanged(int sensor, float[] values) argument [all...] |
H A D | SensorManager.java | 221 * Offset to the untransformed values in the array returned by 326 * The values returned by this sensor cannot be trusted because the sensor 333 * The values returned by this sensor cannot be trusted, calibration is 952 * {@link android.hardware.SensorEvent#values values} returned by a 962 * {@link android.hardware.SensorEvent#values values} returned by a 1003 // magnetic north pole. Typical values are > 100. 1230 * When it returns, the array values is filled with the result: 1232 * <li>values[ 1256 getOrientation(float[] R, float values[]) argument 1623 injectSensorData(Sensor sensor, float[] values, int accuracy, long timestamp) argument 1652 injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, long timestamp) argument [all...] |
H A D | SystemSensorManager.java | 259 protected boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, argument 266 int ret = mInjectEventQueue.injectSensorData(sensor.getHandle(), values, accuracy, 295 float[] values,int accuracy, long timestamp); 409 protected int injectSensorDataBase(int handle, float[] values, int accuracy, argument 411 return nativeInjectSensorData(nSensorEventQueue, handle, values, accuracy, timestamp); 419 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, argument 456 protected void dispatchSensorEvent(int handle, float[] values, int inAccuracy, argument 469 // Copy from the values array. 470 System.arraycopy(values, 0, t.values, 294 nativeInjectSensorData(long eventQ, int handle, float[] values,int accuracy, long timestamp) argument 523 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument 557 injectSensorData(int handle, float[] values,int accuracy, long timestamp) argument 562 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument [all...] |
H A D | TriggerEvent.java | 38 * The length and contents of the {@link #values values} array depends on 46 public final float[] values; field in class:TriggerEvent 60 values = new float[size];
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableEnum.java | 33 * <p>Default values of the enum are mapped to its ordinal; this can be overridden 141 * Register a non-sequential set of values to be used with the marshal/unmarshal functions. 146 * @param values A list of values mapping to the ordinals of the enum 148 public static <T extends Enum<T>> void registerEnumValues(Class<T> enumType, int[] values) { argument 149 if (enumType.getEnumConstants().length != values.length) { 151 "Expected values array to be the same size as the enumTypes values " 152 + values.length + " for type " + enumType); 155 Log.v(TAG, "Registered enum values fo [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 465 // TODO: subtract removed values from totalBytes 471 * across buckets, so values may be rounded slightly. 479 * across buckets, so values may be rounded slightly. 675 final long[] values = new long[size]; 676 for (int i = 0; i < values.length; i++) { 677 values[i] = in.readLong(); 679 return values; 717 final long[] values = new long[size]; 718 for (int i = 0; i < values.length; i++) { 719 values[ 724 writeVarLongArray(DataOutputStream out, long[] values, int size) argument 755 writeLongArray(Parcel out, long[] values, int size) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | AsyncTask.java | 125 * of progress. These values are published on the UI thread, in the 390 * The specified values are the values passed to {@link #publishProgress}. 392 * @param values The values indicating progress. 399 protected void onProgressUpdate(Progress... values) { argument 634 * @param values The progress values to update the UI with. 640 protected final void publishProgress(Progress... values) { argument 643 new AsyncTaskResult<Progress>(this, values)) [all...] |
H A D | BatteryStats.java | 833 // And the mode values during this period match those we are measuring... 1497 public final String[] values; field in class:BatteryStats.BitDescription 1505 this.values = null; 1510 String[] values, String[] shortValues) { 1515 this.values = values; 2457 * Dump a comma-separated line of values for terse checkin mode. 4228 if (bd.values != null && val >= 0 && val < bd.values.length) { 4229 pw.print(longNames? bd.values[va 1509 BitDescription(int mask, int shift, String name, String shortName, String[] values, String[] shortValues) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | MultiCheckPreference.java | 118 * @param entryValues The array to be used as values to save for the preference. 128 * @param entryValuesResId The entry values array as a resource. 134 private void setEntryValuesCS(CharSequence[] values) { argument 136 if (values != null) { 137 mEntryValues = new String[values.length]; 138 for (int i=0; i<values.length; i++) { 139 mEntryValues[i] = values[i].toString(); 145 * Returns the array of values to be saved for the preference. 147 * @return The array of values. 168 * Sets the current values 170 setValues(boolean[] values) argument 308 boolean[] values; field in class:MultiCheckPreference.SavedState [all...] |
H A D | MultiSelectListPreference.java | 36 * This set will contain one or more values from the 109 * @param entryValues The array to be used as values to save for the preference. 117 * @param entryValuesResId The entry values array as a resource. 124 * Returns the array of values to be saved for the preference. 126 * @return The array of values. 136 * @param values The values to set for the key. 138 public void setValues(Set<String> values) { argument 140 mValues.addAll(values); 142 persistStringSet(values); 252 Set<String> values; field in class:MultiSelectListPreference.SavedState [all...] |
H A D | Preference.java | 209 * reference to a style resource that supplies default values for 212 * supplies default values for the view, used only if 308 * reference to a style resource that supplies default values for 320 * default style of 0, so the only attribute values applied are those in the 337 * @param context The Context in which to store Preference values. 864 * values into SharedPreferences. 1031 * {@link PreferenceActivity}). This Context will be used to save the Preference values. 1044 * {@link #getPersistedString(String)}. To save values, see 1069 * {@link #persistString(String)}. To read values, see 1482 * @param values Th 1490 persistStringSet(Set<String> values) argument [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | CallLog.java | 188 * Allowed values: 348 // Note: PHONE_ACCOUNT_* constant values are "subscription_*" due to a historic naming 409 * @param callType enumerated values for "incoming", "outgoing", or "missed" 438 * @param callType enumerated values for "incoming", "outgoing", or "missed" 469 * @param callType enumerated values for "incoming", "outgoing", or "missed" 535 ContentValues values = new ContentValues(6); 537 values.put(NUMBER, number); 538 values.put(NUMBER_PRESENTATION, Integer.valueOf(numberPresentation)); 539 values.put(TYPE, Integer.valueOf(callType)); 540 values 656 addEntryAndRemoveExpiredEntries(Context context, Uri uri, ContentValues values) argument [all...] |
H A D | Contacts.java | 221 ContentValues values = new ContentValues(); 226 //values.put(_SYNC_ACCOUNT, account.mName); 227 //values.put(_SYNC_ACCOUNT_TYPE, account.mType); 228 values.put(KEY, key); 229 values.put(VALUE, value); 230 cr.update(Settings.CONTENT_URI, values, null, null); 450 ContentValues values = new ContentValues(); 453 values.put(LAST_TIME_CONTACTED, System.currentTimeMillis()); 454 resolver.update(uri, values, null, null); 539 ContentValues values 558 createPersonInMyContactsGroup(ContentResolver resolver, ContentValues values) argument [all...] |
H A D | DocumentsProvider.java | 590 public final Uri insert(Uri uri, ContentValues values) { argument 611 Uri uri, ContentValues values, String selection, String[] selectionArgs) { 610 update( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
H A D | SearchIndexablesProvider.java | 171 public final Uri insert(Uri uri, ContentValues values) { argument 188 Uri uri, ContentValues values, String selection, String[] selectionArgs) { 187 update( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
H A D | Settings.java | 1259 ContentValues values = new ContentValues(); 1260 values.put(NAME, name); 1261 values.put(VALUE, value); 1262 resolver.insert(uri, values); 1696 * as an integer. Note that internally setting values are always 1724 * as an integer. Note that internally setting values are always 1760 * with that name. Note that internally setting values are always 1781 * as a {@code long}. Note that internally setting values are always 1812 * as a {@code long}. Note that internally setting values are always 1847 * with that name. Note that internally setting values ar 2042 DiscreteValueValidator(String[] values) argument [all...] |
/frameworks/base/core/java/android/security/keymaster/ |
H A D | KeymasterArguments.java | 78 * Adds a repeated enum tag with the provided values. 82 public void addEnums(int tag, int... values) { argument 86 for (int value : values) { 109 * Returns all values of the specified repeating enum tag. 117 List<Integer> values = new ArrayList<Integer>(); 120 values.add(getEnumTagValue(arg)); 123 return values; 185 * Returns all values of the specified repeating unsigned 64-bit long tag. 193 List<BigInteger> values = new ArrayList<BigInteger>(); 196 values [all...] |