/frameworks/av/media/libmedia/ |
H A D | CharacterEncodingDetector.cpp | 449 bool CharacterEncodingDetector::isFrequent(const uint16_t *values, uint32_t c) { argument 456 if(c == values[mid]) { 458 } else if (c > values[mid]) {
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | bit_cnt.c | 42 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 D | MtpProperty.cpp | 288 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 D | test-resample.cpp | 65 // 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 D | test_utils.h | 49 // 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 D | AudioPlayer.cpp | 71 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) { 101 ALOGE("Could not parse %s as int for %s", values, name); 105 if (sscanf(values, "%s", stringValue) == 1) { 110 ALOGE("Could not parse %s as enum for %s", values, name); 118 values 175 const char* values = strchr(l, '='); local [all...] |
/frameworks/base/cmds/content/src/com/android/commands/content/ |
H A D | Content.java | 188 ContentValues values = new ContentValues(); 195 parseBindValue(values); 204 if (values.size() == 0) { 208 return new InsertCommand(uri, userId, values); 237 ContentValues values = new ContentValues(); 246 parseBindValue(values); 255 if (values.size() == 0) { 259 return new UpdateCommand(uri, userId, values, where); 267 ContentValues values = new ContentValues(); 278 parseBindValue(values); 341 parseBindValue(ContentValues values) argument 481 CallCommand(Uri uri, int userId, String method, String arg, ContentValues values) argument [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | KeyframeSet.java | 30 * 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...] |
H A D | ObjectAnimator.java | 48 * to the end values. Note that you can specify explicit fractional values (from 0 to 1) for 88 * a setter function that will be called to set animated values. 95 * name of the property being animated, use <code>float</code> or <code>int</code> typed values, 123 // New property/values/target should cause re-initialization prior to starting 148 // New property/values/target should cause re-initialization prior to starting 154 * a setter function that will be called to set animated values. 227 * Constructs and returns an ObjectAnimator that animates between int values. A single 228 * value implies that that value is the one being animated to. Two values imply starting 229 * and ending values 240 ofInt(Object target, String propertyName, int... values) argument 285 ofInt(T target, Property<T, Integer> property, int... values) argument 330 ofMultiInt(Object target, String propertyName, int[][] values) argument 374 ofMultiInt(Object target, String propertyName, TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, T... values) argument 395 ofArgb(Object target, String propertyName, int... values) argument 413 ofArgb(T target, Property<T, Integer> property, int... values) argument 434 ofFloat(Object target, String propertyName, float... values) argument 479 ofFloat(T target, Property<T, Float> property, float... values) argument 525 ofMultiFloat(Object target, String propertyName, float[][] values) argument 570 ofMultiFloat(Object target, String propertyName, TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, T... values) argument 594 ofObject(Object target, String propertyName, TypeEvaluator evaluator, Object... values) argument 643 ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values) argument 671 ofObject(T target, Property<T, P> property, TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values) argument 722 ofPropertyValuesHolder(Object target, PropertyValuesHolder... values) argument 731 setIntValues(int... values) argument 746 setFloatValues(float... values) argument 761 setObjectValues(Object... values) argument [all...] |
H A D | PropertyValuesHolder.java | 32 * This class holds information about a property and the values that that property 40 * The name of the property associated with the values. This need not be a real property, 42 * aniamted values are looked up with getAnimatedValue(String) in ValueAnimator. 64 * The getter is only derived and used if one of the values is null. 69 * The type of values supplied. This information is used both in deriving the setter/getter 85 // The caller may have supplied values in a type that does not match the setter/getter 86 // functions (such as the integers 0 and 1 to represent floating point values for alpha). 110 * The type evaluator used to calculate the animated values. This evaluator is determined 150 * set of int values. 152 * @param values Th 155 ofInt(String propertyName, int... values) argument 166 ofInt(Property<?, Integer> property, int... values) argument 184 ofMultiInt(String propertyName, int[][] values) argument 238 ofMultiInt(String propertyName, TypeConverter<V, int[]> converter, TypeEvaluator<V> evaluator, V... values) argument 260 ofMultiInt(String propertyName, TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, Keyframe... values) argument 273 ofFloat(String propertyName, float... values) argument 284 ofFloat(Property<?, Float> property, float... values) argument 302 ofMultiFloat(String propertyName, float[][] values) argument 355 ofMultiFloat(String propertyName, TypeConverter<V, float[]> converter, TypeEvaluator<V> evaluator, V... values) argument 377 ofMultiFloat(String propertyName, TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, Keyframe... values) argument 395 ofObject(String propertyName, TypeEvaluator evaluator, Object... values) argument 440 ofObject(Property property, TypeEvaluator<V> evaluator, V... values) argument 467 ofObject(Property<?, V> property, TypeConverter<T, V> converter, TypeEvaluator<T> evaluator, T... values) argument 520 ofKeyframe(String propertyName, Keyframe... values) argument 541 ofKeyframe(Property property, Keyframe... values) argument 586 setIntValues(int... values) argument 604 setFloatValues(float... values) argument 614 setKeyframes(Keyframe... values) argument 637 setObjectValues(Object... values) argument 1104 IntPropertyValuesHolder(String propertyName, int... values) argument 1109 IntPropertyValuesHolder(Property property, int... values) argument 1118 setIntValues(int... values) argument 1242 FloatPropertyValuesHolder(String propertyName, float... values) argument 1247 FloatPropertyValuesHolder(Property property, float... values) argument 1256 setFloatValues(float... values) argument 1358 MultiFloatValuesHolder(String propertyName, TypeConverter converter, TypeEvaluator evaluator, Object... values) argument 1465 MultiIntValuesHolder(String propertyName, TypeConverter converter, TypeEvaluator evaluator, Object... values) argument [all...] |
H A D | ValueAnimator.java | 34 * which calculate animated values and set them on target objects. 51 * Note that you can specify explicit fractional values (from 0 to 1) for 148 * elapsed fraction to be inverted to calculate the appropriate values. 188 * has been cancel()'d or end()'d since the last animation frame. Possible values are 248 * calculate the animated values. 263 * A hashmap of the PropertyValuesHolder objects. This map is used to lookup animated values 312 * Constructs and returns a ValueAnimator that animates between int values. A single 317 * be two or more values. 319 * @param values A set of values tha 322 ofInt(int... values) argument 339 ofArgb(int... values) argument 357 ofFloat(float... values) argument 371 ofPropertyValuesHolder(PropertyValuesHolder... values) argument 394 ofObject(TypeEvaluator evaluator, Object... values) argument 415 setIntValues(int... values) argument 443 setFloatValues(float... values) argument 475 setObjectValues(Object... values) argument 497 setValues(PropertyValuesHolder... values) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 2408 ActivityManager.TaskDescription values = 2410 setTaskDescription(token, values); 3928 public void updateConfiguration(Configuration values) throws RemoteException argument 3933 values.writeToParcel(data, 0); 5218 public void updatePersistentConfiguration(Configuration values) throws RemoteException argument 5223 values.writeToParcel(data, 0); 5715 public void setTaskDescription(IBinder token, ActivityManager.TaskDescription values) argument 5721 values.writeToParcel(data, 0);
|
H A D | DownloadManager.java | 414 /** 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 D | IActivityManager.java | 200 public void updateConfiguration(Configuration values) throws RemoteException; argument 405 public void updatePersistentConfiguration(Configuration values) throws RemoteException; argument 485 public void setTaskDescription(IBinder token, ActivityManager.TaskDescription values) argument
|
H A D | SharedPreferencesImpl.java | 315 public Editor putStringSet(String key, @Nullable Set<String> values) { argument 318 (values == null) ? null : new HashSet<String>(values));
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 57 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 D | ContentProvider.java | 346 public int update(String callingPkg, Uri uri, ContentValues values, String selection, argument 355 return ContentProvider.this.update(uri, values, selection, selectionArgs); 941 * the values from selectionArgs, in order that they appear in the selection. 942 * The values will be bound as Strings. 1005 * the values from selectionArgs, in order that they appear in the selection. 1006 * The values will be bound as Strings. 1100 public Uri rejectInsert(Uri uri, ContentValues values) { argument 1117 * @param values A set of column_name/value pairs to add to the database. 1121 public abstract @Nullable Uri insert(@NonNull Uri uri, @Nullable ContentValues values); argument 1125 * default implementation will iterate over the values an 1138 bulkInsert(@onNull Uri uri, @NonNull ContentValues[] values) argument 1186 update(@onNull Uri uri, @Nullable ContentValues values, @Nullable String selection, @Nullable String[] selectionArgs) argument [all...] |
H A D | ContentProviderClient.java | 274 public int update(@NonNull Uri url, @Nullable ContentValues values, @Nullable String selection, argument 280 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs);
|
H A D | ContentProviderNative.java | 161 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 D | ContentProviderOperation.java | 196 * {@link ContentProviderOperation} to assert a set of values as provided 297 ContentValues values = resolveValueBackReferences(backRefs, numBackRefs); 302 Uri newUri = provider.insert(mUri, values); 313 numRows = provider.update(mUri, values, mSelection, selectionArgs); 315 // Assert that all rows match expected values 317 if (values != null) { 318 // Build projection map from expected values 320 for (Map.Entry<String, Object> entry : values.valueSet()) { 332 final String expectedValue = values.getAsString(projection[i]); 334 // Throw exception when expected values do 588 withValues(ContentValues values) argument [all...] |
H A D | ContentResolver.java | 409 * explicit values in the {@code selection} parameter, so that queries 410 * that differ only by those values will be recognized as the same 423 * replaced by the values from selectionArgs, in the order that they 424 * appear in the selection. The values will be bound as Strings. 446 * explicit values in the {@code selection} parameter, so that queries 447 * that differ only by those values will be recognized as the same 460 * replaced by the values from selectionArgs, in the order that they 461 * appear in the selection. The values will be bound as Strings. 1219 * @param values The initial values fo 1223 insert(@onNull Uri url, @Nullable ContentValues values) argument 1286 bulkInsert(@onNull Uri url, @NonNull ContentValues[] values) argument 1353 update(@onNull Uri uri, @Nullable ContentValues values, @Nullable String where, @Nullable String[] selectionArgs) argument [all...] |
H A D | ContentValues.java | 29 * 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 D | Entity.java | 34 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 D | IContentProvider.java | 48 public int update(String callingPkg, Uri url, ContentValues values, String selection, argument
|
H A D | SearchRecentSuggestionsProvider.java | 77 // client-provided configuration values 90 // NOTE: These version values are shifted left 8 bits (x 256) in order to create space for 162 * constructor. In your application or activities, you must provide the same values when 181 // saved values 185 // derived values 272 public Uri insert(Uri uri, ContentValues values) { argument 285 rowID = db.insert(sSuggestions, NULL_COLUMN, values); 393 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|