/frameworks/base/core/java/android/os/ |
H A D | AsyncTask.java | 122 * of progress. These values are published on the UI thread, in the 382 * The specified values are the values passed to {@link #publishProgress}. 384 * @param values The values indicating progress. 390 protected void onProgressUpdate(Progress... values) { argument 620 * @param values The progress values to update the UI with. 625 protected final void publishProgress(Progress... values) { argument 628 new AsyncTaskResult<Progress>(this, values)) [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | CallLog.java | 183 * Allowed values: 335 // Note: PHONE_ACCOUNT_* constant values are "subscription_*" due to a historic naming 376 * @param callType enumerated values for "incoming", "outgoing", or "missed" 405 * @param callType enumerated values for "incoming", "outgoing", or "missed" 453 ContentValues values = new ContentValues(6); 455 values.put(NUMBER, number); 456 values.put(NUMBER_PRESENTATION, Integer.valueOf(numberPresentation)); 457 values.put(TYPE, Integer.valueOf(callType)); 458 values.put(FEATURES, features); 459 values 578 addEntryAndRemoveExpiredEntries(Context context, Uri uri, ContentValues values) argument [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | ChangeTransform.java | 189 transitionValues.values.put(PROPNAME_PARENT, view.getParent()); 191 transitionValues.values.put(PROPNAME_TRANSFORMS, transforms); 198 transitionValues.values.put(PROPNAME_MATRIX, matrix); 204 transitionValues.values.put(PROPNAME_PARENT_MATRIX, parentMatrix); 205 transitionValues.values.put(PROPNAME_INTERMEDIATE_MATRIX, 207 transitionValues.values.put(PROPNAME_INTERMEDIATE_PARENT_MATRIX, 227 !startValues.values.containsKey(PROPNAME_PARENT) || 228 !endValues.values.containsKey(PROPNAME_PARENT)) { 232 ViewGroup startParent = (ViewGroup) startValues.values.get(PROPNAME_PARENT); 233 ViewGroup endParent = (ViewGroup) endValues.values 510 PathAnimatorMatrix(View view, float[] values) argument 518 setValues(float[] values) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 33 float* values = autoHSV.ptr(); local 35 values[i] = SkScalarToFloat(hsv[i]);
|
H A D | Matrix.cpp | 274 static void getValues(JNIEnv* env, jobject clazz, jlong matrixHandle, jfloatArray values) { argument 276 AutoJavaFloatArray autoValues(env, values, 9, kRW_JNIAccess); 287 static void setValues(JNIEnv* env, jobject clazz, jlong matrixHandle, jfloatArray values) { argument 289 AutoJavaFloatArray autoValues(env, values, 9, kRO_JNIAccess);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 87 jobjectArray keys, jobjectArray values) { 125 env, keys, values, &headersVector)) { 85 android_media_MediaMetadataRetriever_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, jobjectArray keys, jobjectArray values) argument
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_shader_program.cpp | 269 jfloatArray values, 274 jfloat* float_ptr = env->GetFloatArrayElements(values, NULL); 275 const int length = env->GetArrayLength(values); 287 env->ReleaseFloatArrayElements(values, float_ptr, JNI_ABORT); 265 Java_android_filterfw_core_ShaderProgram_setShaderAttributeValues( JNIEnv* env, jobject thiz, jstring attr_name, jfloatArray values, jint component_count) argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsProvider.java | 202 public Uri insert(Uri uri, ContentValues values) { argument 207 values.put(RecentColumns.TIMESTAMP, System.currentTimeMillis()); 208 db.insert(TABLE_RECENT, null, values); 221 // Ensure that row exists, then update with changed values 223 db.update(TABLE_STATE, values, StateColumns.AUTHORITY + "=? AND " 229 values.put(ResumeColumns.TIMESTAMP, System.currentTimeMillis()); 234 // Ensure that row exists, then update with changed values 236 db.update(TABLE_RESUME, values, ResumeColumns.PACKAGE_NAME + "=?", 245 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/ |
H A D | jni_stochastic_linear_ranker.cpp | 30 void CreateSparseWeightVector(JNIEnv* env, const jobjectArray keys, const float* values, argument 37 sample->SetElement(key, static_cast<double>(values[i])); 42 void ConvertParameter2Object(JNIEnv* env, jobjectArray *keys, jobjectArray *values, argument 48 env->SetObjectArrayElement(*values, index, jstrV); 51 void DecomposeSparseWeightVector(JNIEnv* env, jobjectArray *keys, jfloatArray *values, argument 64 env->SetFloatArrayRegion(*values, i, 1, s); 450 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local 454 if (values && key_array && values_len == keys_len) { 456 CreateSparseWeightVector(env, key_array, values, values_len, &sample); 457 env->ReleaseFloatArrayElements(value_array, values, JNI_ABOR [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardUtils.java | 372 * Escaped characters in those values are automatically unescaped into original form. 413 public static boolean containsOnlyPrintableAscii(final String...values) { 414 if (values == null) { 417 return containsOnlyPrintableAscii(Arrays.asList(values)); 420 public static boolean containsOnlyPrintableAscii(final Collection<String> values) { argument 421 if (values == null) { 424 for (final String value : values) { 444 public static boolean containsOnlyNonCrLfPrintableAscii(final String...values) { 445 if (values == null) { 448 return containsOnlyNonCrLfPrintableAscii(Arrays.asList(values)); 451 containsOnlyNonCrLfPrintableAscii(final Collection<String> values) argument 494 containsOnlyAlphaDigitHyphen(final Collection<String> values) argument 530 containsOnlyWhiteSpaces(final Collection<String> values) argument [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | PropertyValuesHolder.java | 34 * 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 D | ValueAnimator.java | 33 * 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/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/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 90 * of values. 92 public void set(float[] values) { argument 93 System.arraycopy(values, 0, mValues, 0, MATRIX_SIZE); 119 float[] values = new float[MATRIX_SIZE]; 120 values[0] = (float) matrix.getScaleX(); 121 values[1] = (float) matrix.getShearX(); 122 values[2] = (float) matrix.getTranslateX(); 123 values[3] = (float) matrix.getShearY(); 124 values[4] = (float) matrix.getScaleY(); 125 values[ 671 native_getValues(long native_object, float[] values) argument 681 native_setValues(long native_object, float[] values) argument 817 Matrix_Delegate(float[] values) argument [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SRGB_test.cpp | 414 // Save the values of the middle pixel for later comparison against SRGB 415 uint8_t values[PIXEL_SIZE] = {}; local 420 values[c] = mLockedBuffer.data[middleOffset + c]; 466 float rgbAsSRGB = (c == 3) ? values[c] / 255.0f : 467 linearToSRGB(values[c] / 255.0f);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 345 int32_t values[NUM_DISPLAY_ATTRIBUTES - 1]; local 346 memset(values, 0, sizeof(values)); 361 DISPLAY_ATTRIBUTES, values); 372 config.refresh = nsecs_t(values[i]); 375 config.width = values[i]; 378 config.height = values[i]; 381 config.xdpi = values[i] / 1000.0f; 384 config.ydpi = values[i] / 1000.0f;
|
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
H A D | Palette.java | 120 * Good values for {@code numColors} depend on the source image type. 121 * For landscapes, a good values are in the range 12-16. For images which are largely made up 125 * number will increase the time needed to compute the values. 484 * Copy a {@link Swatch}'s HSL values into a new float[]. 504 private static float weightedMean(float... values) { argument 508 for (int i = 0; i < values.length; i += 2) { 509 float value = values[i]; 510 float weight = values[i + 1]; 579 * Return this swatch's HSL values. 586 // Lazily generate HSL values fro [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 319 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...] |
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 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 returned by {@link #getSqlStatementType(String)}. */ 72 /** One of the values returne 583 cursorStringToContentValues(Cursor cursor, String field, ContentValues values) argument 609 cursorStringToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 621 cursorIntToContentValues(Cursor cursor, String field, ContentValues values) argument 633 cursorIntToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 650 cursorLongToContentValues(Cursor cursor, String field, ContentValues values) argument 663 cursorLongToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 681 cursorDoubleToCursorValues(Cursor cursor, String field, ContentValues values) argument 694 cursorDoubleToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 710 cursorRowToContentValues(Cursor cursor, ContentValues values) argument 886 cursorStringToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 902 cursorLongToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 918 cursorShortToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 934 cursorIntToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 950 cursorFloatToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 966 cursorDoubleToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 1093 insertInternal(ContentValues values, boolean allowReplace) argument 1238 insert(ContentValues values) argument 1312 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...] |
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 219 * Offset to the untransformed values in the array returned by 324 * The values returned by this sensor cannot be trusted because the sensor 331 * The values returned by this sensor cannot be trusted, calibration is 949 * {@link android.hardware.SensorEvent#values values} returned by a 959 * {@link android.hardware.SensorEvent#values values} returned by a 989 // magnetic north pole. Typical values are > 100. 1216 * When it returns, the array values is filled with the result: 1218 * <li>values[ 1251 getOrientation(float[] R, float values[]) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ThreadedRenderer.java | 241 private static int search(String[] values, String value) { argument 242 for (int i = 0; i < values.length; i++) { 243 if (values[i].equals(value)) return i;
|
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 176 ANativeActivity* activity, int32_t values, int32_t mask) { 178 write_work(code->mainWorkWrite, CMD_SET_WINDOW_FLAGS, values, mask); 175 android_NativeActivity_setWindowFlags( ANativeActivity* activity, int32_t values, int32_t mask) argument
|
H A D | android_view_MotionEvent.cpp | 220 jfloat* values = static_cast<jfloat*>( local 226 outRawPointerCoords->setAxisValue(axis, values[index++]); 229 env->ReleasePrimitiveArrayCritical(valuesArray, values, JNI_ABORT); 299 const float* values = rawPointerCoords->values; local
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Matrix.java | 214 public void setValues(float[] values) { 278 /** Returns true iff obj is a Matrix and its values equal our values. 337 * Set the matrix to rotate by the specified sine and cosine values, with a 345 /** Set the matrix to rotate by the specified sine and cosine values. */ 554 // the native values must match those in SkMatrix.h 562 * Set the matrix to the scale and translate values that map the source 594 * order [x0, y0, x1, y1, ...], where each "point" is 2 float values. 597 * @param srcIndex Index of the first pair of src values 599 * @param dstIndex Index of the first pair of dst values 758 getValues(float[] values) argument 771 setValues(float[] values) argument 912 native_getValues(long native_object, float[] values) argument 914 native_setValues(long native_object, float[] values) argument [all...] |