/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" 404 * @param callType enumerated values for "incoming", "outgoing", or "missed" 452 ContentValues values = new ContentValues(6); 454 values.put(NUMBER, number); 455 values.put(NUMBER_PRESENTATION, Integer.valueOf(numberPresentation)); 456 values.put(TYPE, Integer.valueOf(callType)); 457 values.put(FEATURES, features); 458 values 576 addEntryAndRemoveExpiredEntries(Context context, Uri uri, ContentValues 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
|
H A D | android_media_MediaPlayer.cpp | 189 jobjectArray keys, jobjectArray values) { 215 env, keys, values, &headersVector)) { 187 android_media_MediaPlayer_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 | 33 * This class holds information about a property and the values that that property 41 * The name of the property associated with the values. This need not be a real property, 43 * aniamted values are looked up with getAnimatedValue(String) in ValueAnimator. 65 * The getter is only derived and used if one of the values is null. 70 * The type of values supplied. This information is used both in deriving the setter/getter 86 // The caller may have supplied values in a type that does not match the setter/getter 87 // functions (such as the integers 0 and 1 to represent floating point values for alpha). 115 * The type evaluator used to calculate the animated values. This evaluator is determined 155 * set of int values. 157 * @param values Th 160 ofInt(String propertyName, int... values) argument 171 ofInt(Property<?, Integer> property, int... values) argument 189 ofMultiInt(String propertyName, int[][] values) argument 243 ofMultiInt(String propertyName, TypeConverter<V, int[]> converter, TypeEvaluator<V> evaluator, V... values) argument 265 ofMultiInt(String propertyName, TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, Keyframe... values) argument 278 ofFloat(String propertyName, float... values) argument 289 ofFloat(Property<?, Float> property, float... values) argument 307 ofMultiFloat(String propertyName, float[][] values) argument 360 ofMultiFloat(String propertyName, TypeConverter<V, float[]> converter, TypeEvaluator<V> evaluator, V... values) argument 382 ofMultiFloat(String propertyName, TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, Keyframe... values) argument 400 ofObject(String propertyName, TypeEvaluator evaluator, Object... values) argument 445 ofObject(Property property, TypeEvaluator<V> evaluator, V... values) argument 472 ofObject(Property<?, V> property, TypeConverter<T, V> converter, TypeEvaluator<T> evaluator, T... values) argument 525 ofKeyframe(String propertyName, Keyframe... values) argument 546 ofKeyframe(Property property, Keyframe... values) argument 591 setIntValues(int... values) argument 609 setFloatValues(float... values) argument 619 setKeyframes(Keyframe... values) argument 642 setObjectValues(Object... values) argument 1105 IntPropertyValuesHolder(String propertyName, int... values) argument 1110 IntPropertyValuesHolder(Property property, int... values) argument 1119 setIntValues(int... values) argument 1242 FloatPropertyValuesHolder(String propertyName, float... values) argument 1247 FloatPropertyValuesHolder(Property property, float... values) argument 1256 setFloatValues(float... values) argument 1357 MultiFloatValuesHolder(String propertyName, TypeConverter converter, TypeEvaluator evaluator, Object... values) argument 1460 MultiIntValuesHolder(String propertyName, TypeConverter converter, TypeEvaluator evaluator, Object... values) argument [all...] |
H A D | ValueAnimator.java | 32 * which calculate animated values and set them on target objects. 111 * elapsed fraction to be inverted to calculate the appropriate values. 142 * has been cancel()'d or end()'d since the last animation frame. Possible values are 202 * calculate the animated values. 217 * A hashmap of the PropertyValuesHolder objects. This map is used to lookup animated values 266 * Constructs and returns a ValueAnimator that animates between int values. A single 271 * be two or more values. 273 * @param values A set of values that the animation will animate between over time. 274 * @return A ValueAnimator object that is set up to animate between the given values 276 ofInt(int... values) argument 293 ofArgb(int... values) argument 311 ofFloat(float... values) argument 325 ofPropertyValuesHolder(PropertyValuesHolder... values) argument 348 ofObject(TypeEvaluator evaluator, Object... values) argument 369 setIntValues(int... values) argument 397 setFloatValues(float... values) argument 429 setObjectValues(Object... values) argument 451 setValues(PropertyValuesHolder... values) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 463 // TODO: subtract removed values from totalBytes 469 * across buckets, so values may be rounded slightly. 477 * across buckets, so values may be rounded slightly. 643 final long[] values = new long[size]; 644 for (int i = 0; i < values.length; i++) { 645 values[i] = in.readLong(); 647 return values; 685 final long[] values = new long[size]; 686 for (int i = 0; i < values.length; i++) { 687 values[ 692 writeVarLongArray(DataOutputStream out, long[] values, int size) argument 723 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. 472 * Copy a {@link Swatch}'s HSL values into a new float[]. 492 private static float weightedMean(float... values) { argument 496 for (int i = 0; i < values.length; i += 2) { 497 float value = values[i]; 498 float weight = values[i + 1]; 567 * Return this swatch's HSL values. 574 // Lazily generate HSL values fro [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 316 public int update(String callingPkg, Uri uri, ContentValues values, String selection, argument 325 return ContentProvider.this.update(uri, values, selection, selectionArgs); 875 * the values from selectionArgs, in order that they appear in the selection. 876 * The values will be bound as Strings. 938 * the values from selectionArgs, in order that they appear in the selection. 939 * The values will be bound as Strings. 1033 public Uri rejectInsert(Uri uri, ContentValues values) { argument 1050 * @param values A set of column_name/value pairs to add to the database. 1054 public abstract Uri insert(Uri uri, ContentValues values); argument 1058 * default implementation will iterate over the values an 1071 bulkInsert(Uri uri, ContentValues[] values) argument 1118 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 946 * {@link android.hardware.SensorEvent#values values} returned by a 956 * {@link android.hardware.SensorEvent#values values} returned by a 986 // magnetic north pole. Typical values are > 100. 1213 * When it returns, the array values is filled with the result: 1215 * <li>values[ 1248 getOrientation(float[] R, float values[]) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ThreadedRenderer.java | 237 private static int search(String[] values, String value) { argument 238 for (int i = 0; i < values.length; i++) { 239 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...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | Filter.java | 196 for (InputPort inputPort : mInputPorts.values()) { 206 for (OutputPort outputPort : mOutputPorts.values()) { 285 for (InputPort inputPort : mInputPorts.values()) { 428 return mInputPorts.values(); 432 return mOutputPorts.values(); 509 for (OutputPort outputPort : mOutputPorts.values()) { 517 for (InputPort inputPort : mInputPorts.values()) { 523 for (OutputPort outputPort : mOutputPorts.values()) { 547 private final void initFinalPorts(KeyValueMap values) { argument 550 addAndSetFinalPorts(values); 553 initRemainingPorts(KeyValueMap values) argument 559 addAndSetFinalPorts(KeyValueMap values) argument 613 setInitialInputValues(KeyValueMap values) argument [all...] |