/frameworks/base/core/java/android/animation/ |
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/hardware/ |
H A D | SystemSensorManager.java | 259 protected boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, argument 266 int ret = mInjectEventQueue.injectSensorData(sensor.getHandle(), values, accuracy, 295 float[] values,int accuracy, long timestamp); 409 protected int injectSensorDataBase(int handle, float[] values, int accuracy, argument 411 return nativeInjectSensorData(nSensorEventQueue, handle, values, accuracy, timestamp); 419 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, argument 456 protected void dispatchSensorEvent(int handle, float[] values, int inAccuracy, argument 469 // Copy from the values array. 470 System.arraycopy(values, 0, t.values, 294 nativeInjectSensorData(long eventQ, int handle, float[] values,int accuracy, long timestamp) argument 523 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument 557 injectSensorData(int handle, float[] values,int accuracy, long timestamp) argument 562 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument [all...] |
H A D | SensorManager.java | 221 * Offset to the untransformed values in the array returned by 326 * The values returned by this sensor cannot be trusted because the sensor 333 * The values returned by this sensor cannot be trusted, calibration is 952 * {@link android.hardware.SensorEvent#values values} returned by a 962 * {@link android.hardware.SensorEvent#values values} returned by a 1003 // magnetic north pole. Typical values are > 100. 1230 * When it returns, the array values is filled with the result: 1232 * <li>values[ 1256 getOrientation(float[] R, float values[]) argument 1623 injectSensorData(Sensor sensor, float[] values, int accuracy, long timestamp) argument 1652 injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, long timestamp) 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/core/jni/android/graphics/ |
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/core/jni/ |
H A D | android_hardware_SensorManager.cpp | 334 jfloatArray values, jint accuracy, jlong timestamp) { 341 env->GetFloatArrayRegion(values, 0, env->GetArrayLength(values), sensor_event.data); 333 nativeInjectSensorData(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jfloatArray values, jint accuracy, jlong timestamp) argument
|
H A D | android_app_NativeActivity.cpp | 183 ANativeActivity* activity, int32_t values, int32_t mask) { 185 write_work(code->mainWorkWrite, CMD_SET_WINDOW_FLAGS, values, mask); 182 android_NativeActivity_setWindowFlags( ANativeActivity* activity, int32_t values, int32_t mask) argument
|
H A D | android_view_MotionEvent.cpp | 222 jfloat* values = static_cast<jfloat*>( local 228 outRawPointerCoords->setAxisValue(axis, values[index++]); 231 env->ReleasePrimitiveArrayCritical(valuesArray, values, JNI_ABORT);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptGroup.java | 93 * combined with arguments and values for global variables. A closure is 127 long[] values = new long[numValues]; 136 values, sizes, depClosures, depFieldIDs); 143 values, sizes, depClosures, depFieldIDs); 148 fieldIDs, values, sizes, depClosures, depFieldIDs); 165 long[] values = new long[numValues]; 175 retrieveValueAndDependenceInfo(rs, i, fieldID, obj, values, 181 values, sizes); 188 long[] values, int[] sizes, 210 values[inde 186 retrieveValueAndDependenceInfo(RenderScript rs, int index, Script.FieldID fid, Object obj, long[] values, int[] sizes, long[] depClosures, long[] depFieldIDs) 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[ 670 native_getValues(long native_object, float[] values) argument 680 native_setValues(long native_object, float[] values) argument 816 Matrix_Delegate(float[] values) argument [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SRGB_test.cpp | 425 // Save the values of the middle pixel for later comparison against SRGB 426 uint8_t values[PIXEL_SIZE] = {}; local 431 values[c] = mLockedBuffer.data[middleOffset + c]; 478 float rgbAsSRGB = (c == 3) ? values[c] / 255.0f : 479 linearToSRGB(values[c] / 255.0f);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 348 int32_t values[NUM_DISPLAY_ATTRIBUTES - 1]; local 349 memset(values, 0, sizeof(values)); 364 DISPLAY_ATTRIBUTES, values); 375 config.refresh = nsecs_t(values[i]); 378 config.width = values[i]; 381 config.height = values[i]; 384 config.xdpi = values[i] / 1000.0f; 387 config.ydpi = values[i] / 1000.0f;
|
/frameworks/rs/api/ |
H A D | GenerateDocumentation.cpp | 356 *file << "<p>An enum with the following values: \n"; 361 const vector<string>& values = spec->getValues(); local 363 for (size_t i = 0; i < values.size(); i++) { 364 *file << " <tr><th>" << values[i] << "</th><td>"; local
|
/frameworks/base/core/java/android/content/ |
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...] |
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 52 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 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 returne 603 cursorStringToContentValues(Cursor cursor, String field, ContentValues values) argument 629 cursorStringToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 641 cursorIntToContentValues(Cursor cursor, String field, ContentValues values) argument 653 cursorIntToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 670 cursorLongToContentValues(Cursor cursor, String field, ContentValues values) argument 683 cursorLongToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 701 cursorDoubleToCursorValues(Cursor cursor, String field, ContentValues values) argument 714 cursorDoubleToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 730 cursorRowToContentValues(Cursor cursor, ContentValues values) argument 906 cursorStringToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 922 cursorLongToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 938 cursorShortToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 954 cursorIntToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 970 cursorFloatToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 986 cursorDoubleToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 1113 insertInternal(ContentValues values, boolean allowReplace) argument 1258 insert(ContentValues values) argument 1332 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/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/jni/ |
H A D | android_media_MediaPlayer.cpp | 198 jobjectArray keys, jobjectArray values) { 224 env, keys, values, &headersVector)) { 196 android_media_MediaPlayer_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, jobjectArray keys, jobjectArray values) argument
|
/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...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 65 values(NULL), 696 const int* values, 701 // Make sure we have values at all 713 // Make sure passed values are compatible 723 glUniform1iv(var, n, values); 727 glUniform2iv(var, n, values); 731 glUniform3iv(var, n, values); 735 glUniform4iv(var, n, values); 747 const float* values, 752 // Make sure we have values a 695 SetUniformValue(ProgramVar var, const int* values, int count) argument 746 SetUniformValue(ProgramVar var, const float* values, int count) argument 809 SetUniformValue(ProgramVar var, const std::vector<int>& values) argument 813 SetUniformValue(ProgramVar var, const std::vector<float>& values) argument 1053 const float* values = reinterpret_cast<const float*>(attrib.values); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarHeaderView.java | 108 * transition. These values determine that factor. 614 private void applyLayoutValues(LayoutValues values) { argument 615 mTime.setScaleX(values.timeScale); 616 mTime.setScaleY(values.timeScale); 617 mClock.setY(values.clockY - mClock.getHeight()); 618 mDateGroup.setY(values.dateY); 619 mAlarmStatus.setY(values.dateY - mAlarmStatus.getPaddingTop()); 620 mMultiUserAvatar.setScaleX(values.avatarScale); 621 mMultiUserAvatar.setScaleY(values.avatarScale); 622 mMultiUserAvatar.setX(values [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ImageShader.java | 96 public void set(boolean normalize, int stride, int components, int type, float[] values) { argument 103 if (mLength != values.length){ 104 initBuffer(values); 105 mLength = values.length; 107 copyValues(values); 164 GLToolbox.checkGlError("Set vertex-attribute values"); 173 private void initBuffer(float[] values) { argument 174 mValues = ByteBuffer.allocateDirect(values.length * FLOAT_SIZE) 178 private void copyValues(float[] values) { argument 179 mValues.put(values) 331 setUniformValue(String uniformName, int[] values) argument 360 setUniformValue(String uniformName, float[] values) argument 773 checkUniformAssignment(ProgramUniform uniform, int values, int components) argument [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | EventRecurrence.java | 98 /* values for bit vector that keeps track of what we have already seen */ 296 int count, int[] values) 302 s.append(values[i]); 305 s.append(values[count]); 573 * properties. We don't have any case-sensitive values in RRULE, except possibly 578 * - allows lower-case property and enumeration values [optional] 582 * - improved validation on various values (e.g. UNTIL timestamps) 702 * @return A new array with values, sized to hold the exact number of elements. 706 int[] values; 710 values 295 appendNumbers(StringBuilder s, String label, int count, int[] values) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptGroup.java | 102 * combined with arguments and values for global variables. A closure is 140 long[] values = new long[numValues]; 149 values, sizes, depClosures, depFieldIDs); 156 values, sizes, depClosures, depFieldIDs); 161 fieldIDs, values, sizes, depClosures, depFieldIDs); 183 long[] values = new long[numValues]; 193 retrieveValueAndDependenceInfo(rs, i, fieldID, obj, values, 199 values, sizes); 206 long[] values, int[] sizes, 228 values[inde 204 retrieveValueAndDependenceInfo(RenderScript rs, int index, Script.FieldID fid, Object obj, long[] values, int[] sizes, long[] depClosures, long[] depFieldIDs) argument [all...] |