Searched defs:values (Results 26 - 50 of 199) sorted by relevance

12345678

/frameworks/support/v4/java/android/support/v4/util/
H A DArrayMap.java195 * Return a {@link java.util.Collection} for iterating over and interacting with all values
202 public Collection<V> values() { method in class:ArrayMap
/frameworks/base/core/java/android/animation/
H A DKeyframeSet.java30 * values between those keyframes for a given animation. The class internal to the animation
65 public static KeyframeSet ofInt(int... values) { argument
66 int numKeyframes = values.length;
70 keyframes[1] = (IntKeyframe) Keyframe.ofInt(1f, values[0]);
72 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f, values[0]);
75 (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]);
81 public static KeyframeSet ofFloat(float... values) { argument
83 int numKeyframes = values.length;
87 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]);
88 if (Float.isNaN(values[
139 ofObject(Object... values) argument
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java77 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/provider/
H A DSearchIndexablesProvider.java171 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
/frameworks/base/core/java/android/text/
H A DPackedObjectVector.java66 insertAt(int row, E[] values) argument
76 if (values == null)
81 setValue(row, i, values[i]);
H A DPackedIntVector.java26 * offsetting the values in segments of a given column.
138 * Increments all values in the specified column whose row >= the
164 * Inserts a new row of values at the specified row offset.
169 * @param values the new values to be added. If this is null,
174 * values array is too small (values.length < width()).
176 public void insertAt(int row, int[] values) { argument
181 if ((values != null) && (values
[all...]
/frameworks/base/core/java/android/util/
H A DIntArray.java100 * Adds the values in the specified array to this array.
102 public void addAll(IntArray values) { argument
103 final int count = values.mSize;
106 System.arraycopy(values.mValues, 0, mValues, mSize, count);
111 * Ensures capacity to append at least <code>count</code> values.
127 * Removes all values from this array.
176 * Returns the number of values in this array.
/frameworks/base/core/java/com/android/internal/content/
H A DSelectionBuilder.java115 public int update(SQLiteDatabase db, String table, ContentValues values) { argument
116 return db.update(table, values, getSelection(), getSelectionArgs());
/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp56 float* values = valueArray ? env->GetFloatArrayElements(valueArray, NULL) : NULL; local
57 result = interp->timeToValues(msec, (SkScalar*)values);
62 values[i] = SkScalarToFloat(*(SkScalar*)&values[i]);
64 env->ReleaseFloatArrayElements(valueArray, values, 0);
/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/libs/hwui/
H A DInterpolator.cpp91 LUTInterpolator::LUTInterpolator(float* values, size_t size) argument
92 : mValues(values)
112 " i1=%d, i2=%d, input=%f, lutpos=%f, size=%zu, values=%p, ipart=%f, weight=%f",
/frameworks/base/media/java/android/media/
H A DAudioGain.java22 * Gain values are expressed in millibels.
150 * @param values: gain values for each channels.
155 int[] values, int rampDurationMs) {
157 return new AudioGainConfig(mIndex, this, mode, channelMask, values, rampDurationMs);
154 buildConfig(int mode, int channelMask, int[] values, int rampDurationMs) argument
/frameworks/base/services/core/java/com/android/server/am/
H A DDumpHeapProvider.java62 public Uri insert(Uri uri, ContentValues values) { argument
72 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java46 public Uri insert(Uri uri, ContentValues values) { argument
56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Theme_Delegate.java104 int[] values, int[] attrs) {
103 resolveAttributes(Resources thisResources, Theme thisTheme, int[] values, int[] attrs) argument
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/
H A Djni_multiclass_pa.cpp26 void CreateIndexValuePairs(const int* indices, const float* values, argument
31 pair<int, float> new_pair(indices[i], values[i]);
66 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local
71 if (values && indices && value_len == index_len) {
74 CreateIndexValuePairs(indices, values, value_len, &inputs);
77 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT);
82 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT);
99 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local
104 if (values && indices && value_len == index_len) {
106 CreateIndexValuePairs(indices, values, value_le
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DRequestDetail.java25 public RequestDetail(Map<RequestFields, String> values, Collection<MOTree> mos) { argument
26 mSppversion = values.get(RequestFields.SPPVersion);
27 mRedirectURI = values.get(RequestFields.RedirectURI);
28 mRequestReason = values.get(RequestFields.RequestReason);
29 mSessionID = values.get(RequestFields.SessionID);
30 mSupportedVersions = split(values.get(RequestFields.SupportedVersions));
31 mSupportedMOs = split(values.get(RequestFields.SupportedMOs));
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java49 public Uri insert(Uri uri, ContentValues values) { argument
145 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java89 ContentValues values, String where, String[] selectionArgs) {
91 return resolver.update(uri, values, where, selectionArgs);
111 Uri uri, ContentValues values) {
113 return resolver.insert(uri, values);
88 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument
110 insert(Context context, ContentResolver resolver, Uri uri, ContentValues values) argument
/frameworks/av/media/mtp/
H A DMtpProperty.cpp288 void MtpProperty::setFormEnum(const int* values, int count) { argument
295 int value = *values++;
553 void MtpProperty::writeArrayValues(MtpDataPacket& packet, MtpPropertyValue* values, uint32_t length) { argument
556 writeValue(packet, values[i]);
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java57 public ContentValues values; field in class:AsyncQueryHandler.WorkerArgs
96 args.result = resolver.insert(args.uri, args.values);
100 args.result = resolver.update(args.uri, args.values, args.selection,
110 // on top of the event values in arg1.
158 * replaced by the values from selectionArgs, in the order that they
159 * appear in the selection. The values will be bound as Strings.
217 args.values = initialValues;
231 * @param values the ContentValues parameter passed to the update operation.
234 ContentValues values, String selection, String[] selectionArgs) {
243 args.values
233 startUpdate(int token, Object cookie, 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 DSharedPreferences.java29 * 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/database/
H A DCursorJoiner.java24 * 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...]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableEnum.java33 * <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...]

Completed in 1207 milliseconds

12345678