Searched defs:values (Results 1 - 25 of 163) sorted by path

1234567

/frameworks/av/media/libmedia/
H A DCharacterEncodingDetector.cpp451 bool CharacterEncodingDetector::isFrequent(const uint16_t *values, uint32_t c) { argument
458 if(c == values[mid]) {
460 } else if (c > values[mid]) {
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dbit_cnt.c42 static void count1_2_3_4_5_6_7_8_9_10_11(const Word16 *values, argument
60 t0= values[i+0];
61 t1= values[i+1];
62 t2= values[i+2];
63 t3= values[i+3];
118 static void count3_4_5_6_7_8_9_10_11(const Word16 *values, argument
135 t0= values[i+0];
136 t1= values[i+1];
137 t2= values[i+2];
138 t3= values[
192 count5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
249 count7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
297 count9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
345 count11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
386 countEsc(const Word16 *values, const Word16 width, Word16 *bitCount) argument
469 bitCount(const Word16 *values, const Word16 width, Word16 maxVal, Word16 *bitCount) argument
495 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream) argument
[all...]
/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/av/services/audioflinger/
H A Dtest-resample.cpp65 // Convert a list of integers in CSV format to a Vector of those values.
67 int parseCSV(const char *string, Vector<int>& values) argument
69 // pass 1: count the number of values and do syntax check
80 // pass 2: allocate and initialize vector of values
81 values.resize(++numValues);
82 values.editItemAt(0) = atoi(p = optarg);
85 values.editItemAt(i++) = atoi(p);
/frameworks/av/services/audioflinger/tests/
H A Dtest_utils.h49 // Convert a list of integers in CSV format to a Vector of those values.
51 static inline int parseCSV(const char *string, std::vector<int>& values) argument
53 // pass 1: count the number of values and do syntax check
64 // pass 2: allocate and initialize vector of values
65 values.resize(++numValues);
66 values[0] = atoi(p = string);
69 values[i++] = atoi(p);
/frameworks/base/cmds/bootanimation/
H A DAudioPlayer.cpp71 static bool setMixerValue(struct mixer* mixer, const char* name, const char* values) argument
88 for (int i = 0; i < numValues && values; i++) {
90 while (*values == ' ') values++;
91 if (*values == 0) break;
96 if (sscanf(values, "%d", &intValue) == 1) {
105 if (sscanf(values, "%s", stringValue) == 1) {
118 values = strchr(values, ' ');
137 * The values i
175 const char* values = strchr(l, '='); local
[all...]
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java187 ContentValues values = new ContentValues();
194 parseBindValue(values);
203 if (values.size() == 0) {
207 return new InsertCommand(uri, userId, values);
236 ContentValues values = new ContentValues();
245 parseBindValue(values);
254 if (values.size() == 0) {
258 return new UpdateCommand(uri, userId, values, where);
266 ContentValues values = new ContentValues();
277 parseBindValue(values);
340 parseBindValue(ContentValues values) argument
464 CallCommand(Uri uri, int userId, String method, String arg, ContentValues values) argument
[all...]
/frameworks/base/core/java/android/animation/
H A DKeyframeSet.java31 * values between those keyframes for a given animation. The class internal to the animation
66 public static KeyframeSet ofInt(int... values) { argument
67 int numKeyframes = values.length;
71 keyframes[1] = (IntKeyframe) Keyframe.ofInt(1f, values[0]);
73 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f, values[0]);
76 (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]);
82 public static KeyframeSet ofFloat(float... values) { argument
84 int numKeyframes = values.length;
88 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]);
89 if (Float.isNaN(values[
140 ofObject(Object... values) argument
[all...]
H A DObjectAnimator.java65 * a setter function that will be called to set animated values.
72 * name of the property being animated, use <code>float</code> or <code>int</code> typed values,
100 // New property/values/target should cause re-initialization prior to starting
125 // New property/values/target should cause re-initialization prior to starting
131 * a setter function that will be called to set animated values.
204 * Constructs and returns an ObjectAnimator that animates between int values. A single
205 * value implies that that value is the one being animated to. Two values imply starting
206 * and ending values. More than two values imply a starting value, values t
217 ofInt(Object target, String propertyName, int... values) argument
262 ofInt(T target, Property<T, Integer> property, int... values) argument
307 ofMultiInt(Object target, String propertyName, int[][] values) argument
351 ofMultiInt(Object target, String propertyName, TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, T... values) argument
372 ofArgb(Object target, String propertyName, int... values) argument
390 ofArgb(T target, Property<T, Integer> property, int... values) argument
411 ofFloat(Object target, String propertyName, float... values) argument
456 ofFloat(T target, Property<T, Float> property, float... values) argument
502 ofMultiFloat(Object target, String propertyName, float[][] values) argument
547 ofMultiFloat(Object target, String propertyName, TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, T... values) argument
571 ofObject(Object target, String propertyName, TypeEvaluator evaluator, Object... values) argument
620 ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values) argument
648 ofObject(T target, Property<T, P> property, TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values) argument
699 ofPropertyValuesHolder(Object target, PropertyValuesHolder... values) argument
708 setIntValues(int... values) argument
723 setFloatValues(float... values) argument
738 setObjectValues(Object... values) argument
[all...]
H A DPropertyValuesHolder.java34 * This class holds information about a property and the values that that property
42 * The name of the property associated with the values. This need not be a real property,
44 * aniamted values are looked up with getAnimatedValue(String) in ValueAnimator.
66 * The getter is only derived and used if one of the values is null.
71 * The type of values supplied. This information is used both in deriving the setter/getter
87 // The caller may have supplied values in a type that does not match the setter/getter
88 // functions (such as the integers 0 and 1 to represent floating point values for alpha).
112 * The type evaluator used to calculate the animated values. This evaluator is determined
152 * set of int values.
154 * @param values Th
157 ofInt(String propertyName, int... values) argument
168 ofInt(Property<?, Integer> property, int... values) argument
186 ofMultiInt(String propertyName, int[][] values) argument
240 ofMultiInt(String propertyName, TypeConverter<V, int[]> converter, TypeEvaluator<V> evaluator, V... values) argument
262 ofMultiInt(String propertyName, TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, Keyframe... values) argument
275 ofFloat(String propertyName, float... values) argument
286 ofFloat(Property<?, Float> property, float... values) argument
304 ofMultiFloat(String propertyName, float[][] values) argument
357 ofMultiFloat(String propertyName, TypeConverter<V, float[]> converter, TypeEvaluator<V> evaluator, V... values) argument
379 ofMultiFloat(String propertyName, TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, Keyframe... values) argument
397 ofObject(String propertyName, TypeEvaluator evaluator, Object... values) argument
442 ofObject(Property property, TypeEvaluator<V> evaluator, V... values) argument
469 ofObject(Property<?, V> property, TypeConverter<T, V> converter, TypeEvaluator<T> evaluator, T... values) argument
522 ofKeyframe(String propertyName, Keyframe... values) argument
543 ofKeyframe(Property property, Keyframe... values) argument
588 setIntValues(int... values) argument
606 setFloatValues(float... values) argument
616 setKeyframes(Keyframe... values) argument
639 setObjectValues(Object... values) argument
1106 IntPropertyValuesHolder(String propertyName, int... values) argument
1111 IntPropertyValuesHolder(Property property, int... values) argument
1120 setIntValues(int... values) argument
1244 FloatPropertyValuesHolder(String propertyName, float... values) argument
1249 FloatPropertyValuesHolder(Property property, float... values) argument
1258 setFloatValues(float... values) argument
1360 MultiFloatValuesHolder(String propertyName, TypeConverter converter, TypeEvaluator evaluator, Object... values) argument
1467 MultiIntValuesHolder(String propertyName, TypeConverter converter, TypeEvaluator evaluator, Object... values) argument
[all...]
H A DValueAnimator.java33 * which calculate animated values and set them on target objects.
112 * elapsed fraction to be inverted to calculate the appropriate values.
152 * has been cancel()'d or end()'d since the last animation frame. Possible values are
212 * calculate the animated values.
227 * A hashmap of the PropertyValuesHolder objects. This map is used to lookup animated values
276 * Constructs and returns a ValueAnimator that animates between int values. A single
281 * be two or more values.
283 * @param values A set of values that the animation will animate between over time.
284 * @return A ValueAnimator object that is set up to animate between the given values
286 ofInt(int... values) argument
303 ofArgb(int... values) argument
321 ofFloat(float... values) argument
335 ofPropertyValuesHolder(PropertyValuesHolder... values) argument
358 ofObject(TypeEvaluator evaluator, Object... values) argument
379 setIntValues(int... values) argument
407 setFloatValues(float... values) argument
439 setObjectValues(Object... values) argument
461 setValues(PropertyValuesHolder... values) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java2276 ActivityManager.TaskDescription values =
2278 setTaskDescription(token, values);
3688 public void updateConfiguration(Configuration values) throws RemoteException argument
3693 values.writeToParcel(data, 0);
4935 public void updatePersistentConfiguration(Configuration values) throws RemoteException argument
4940 values.writeToParcel(data, 0);
5333 public void setTaskDescription(IBinder token, ActivityManager.TaskDescription values) argument
5339 values.writeToParcel(data, 0);
H A DDownloadManager.java414 /** can take any of the following values: {@link #VISIBILITY_HIDDEN}
642 * It can take the following values: {@link #VISIBILITY_HIDDEN},
708 ContentValues values = new ContentValues();
710 values.put(Downloads.Impl.COLUMN_URI, mUri.toString());
711 values.put(Downloads.Impl.COLUMN_IS_PUBLIC_API, true);
712 values.put(Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE, packageName);
715 values.put(Downloads.Impl.COLUMN_DESTINATION, Downloads.Impl.DESTINATION_FILE_URI);
716 values.put(Downloads.Impl.COLUMN_FILE_NAME_HINT, mDestinationUri.toString());
718 values.put(Downloads.Impl.COLUMN_DESTINATION,
724 values
744 encodeHttpHeaders(ContentValues values) argument
[all...]
H A DIActivityManager.java194 public void updateConfiguration(Configuration values) throws RemoteException; argument
392 public void updatePersistentConfiguration(Configuration values) throws RemoteException; argument
457 public void setTaskDescription(IBinder token, ActivityManager.TaskDescription values) argument
H A DSharedPreferencesImpl.java312 public Editor putStringSet(String key, Set<String> values) { argument
315 (values == null) ? null : new HashSet<String>(values));
/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 DContentProvider.java319 public int update(String callingPkg, Uri uri, ContentValues values, String selection, argument
328 return ContentProvider.this.update(uri, values, selection, selectionArgs);
891 * the values from selectionArgs, in order that they appear in the selection.
892 * The values will be bound as Strings.
954 * the values from selectionArgs, in order that they appear in the selection.
955 * The values will be bound as Strings.
1049 public Uri rejectInsert(Uri uri, ContentValues values) { argument
1066 * @param values A set of column_name/value pairs to add to the database.
1070 public abstract Uri insert(Uri uri, ContentValues values); argument
1074 * default implementation will iterate over the values an
1087 bulkInsert(Uri uri, ContentValues[] values) argument
1134 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentProviderClient.java247 public int update(Uri url, ContentValues values, String selection, argument
251 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs);
H A DContentProviderNative.java161 ContentValues values = ContentValues.CREATOR.createFromParcel(data);
163 Uri out = insert(callingPkg, url, values);
174 ContentValues[] values = data.createTypedArray(ContentValues.CREATOR);
176 int count = bulkInsert(callingPkg, url, values);
218 ContentValues values = ContentValues.CREATOR.createFromParcel(data);
222 int count = update(callingPkg, url, values, selection, selectionArgs);
463 public Uri insert(String callingPkg, Uri url, ContentValues values) throws RemoteException argument
472 values.writeToParcel(data, 0);
485 public int bulkInsert(String callingPkg, Uri url, ContentValues[] values) throws RemoteException { argument
493 data.writeTypedArray(values,
553 update(String callingPkg, Uri url, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentProviderOperation.java191 * {@link ContentProviderOperation} to assert a set of values as provided
235 ContentValues values = resolveValueBackReferences(backRefs, numBackRefs);
240 Uri newUri = provider.insert(mUri, values);
251 numRows = provider.update(mUri, values, mSelection, selectionArgs);
253 // Assert that all rows match expected values
255 if (values != null) {
256 // Build projection map from expected values
258 for (Map.Entry<String, Object> entry : values.valueSet()) {
270 final String expectedValue = values.getAsString(projection[i]);
272 // Throw exception when expected values do
526 withValues(ContentValues values) argument
[all...]
H A DContentResolver.java398 * explicit values in the {@code selection} parameter, so that queries
399 * that differ only by those values will be recognized as the same
412 * replaced by the values from selectionArgs, in the order that they
413 * appear in the selection. The values will be bound as Strings.
434 * explicit values in the {@code selection} parameter, so that queries
435 * that differ only by those values will be recognized as the same
448 * replaced by the values from selectionArgs, in the order that they
449 * appear in the selection. The values will be bound as Strings.
1195 * @param values The initial values fo
1199 insert(Uri url, ContentValues values) argument
1260 bulkInsert(Uri url, ContentValues[] values) argument
1325 update(Uri uri, ContentValues values, String where, 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 DEntity.java34 public Entity(ContentValues values) { argument
35 mValues = values;
47 public void addSubValue(Uri uri, ContentValues values) { argument
48 mSubValues.add(new Entity.NamedContentValues(uri, values));
53 public final ContentValues values; field in class:Entity.NamedContentValues
55 public NamedContentValues(Uri uri, ContentValues values) { argument
57 this.values = values;
66 sb.append("\n -> ").append(namedValue.values);
H A DIContentProvider.java47 public int update(String callingPkg, Uri url, ContentValues values, String selection, argument
H A DRestrictionEntry.java50 * and the corresponding values, respectively.
58 * and the corresponding values, respectively.
59 * The presentation could imply that values in lower array indices are included when a
70 * and the corresponding values, respectively.
77 * A type of restriction. Use this for storing an integer value. The range of values
104 /** The values corresponding to the user-visible choices. The value(s) of this entry will
152 * @param selectedStrings the list of values that are currently selected
190 * single string values.
197 * Returns the list of currently selected values.
248 * Sets the current list of selected values fo
428 writeArray(Parcel dest, String[] values) argument
[all...]

Completed in 5729 milliseconds

1234567