/frameworks/base/core/jni/ |
D | android_graphics_ColorSpace.cpp | 29 xyzMatrix.vals[0][0] = array[0]; in getNativeXYZMatrix() 30 xyzMatrix.vals[1][0] = array[1]; in getNativeXYZMatrix() 31 xyzMatrix.vals[2][0] = array[2]; in getNativeXYZMatrix() 32 xyzMatrix.vals[0][1] = array[3]; in getNativeXYZMatrix() 33 xyzMatrix.vals[1][1] = array[4]; in getNativeXYZMatrix() 34 xyzMatrix.vals[2][1] = array[5]; in getNativeXYZMatrix() 35 xyzMatrix.vals[0][2] = array[6]; in getNativeXYZMatrix() 36 xyzMatrix.vals[1][2] = array[7]; in getNativeXYZMatrix() 37 xyzMatrix.vals[2][2] = array[8]; in getNativeXYZMatrix()
|
/frameworks/av/media/libeffects/loudness/common/core/ |
D | byte_swapper.h | 123 const T *SwapBytes(const T *vals, unsigned int num_items, bool force_swap) { 126 T *writeable_vals = const_cast<T *>(vals); 128 writeable_vals[i] = ByteSwapper<T, sizeof(T)>::Swap(vals[i]); 132 return vals; 136 return vals; 138 T *writeable_vals = const_cast<T *>(vals); 140 writeable_vals[i] = ByteSwapper<T, sizeof(T)>::Swap(vals[i]);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 370 private static float[] toFloatArray(int[] vals) { in toFloatArray() argument 371 float[] newVals = new float[vals.length]; in toFloatArray() 372 for (int i = 0; i < vals.length; i++) { in toFloatArray() 373 newVals[i] = (float) vals[i]; in toFloatArray() 429 private TypedArray createFloatTypedArray(float[] vals) { in createFloatTypedArray() argument 432 return vals.length; in createFloatTypedArray() 436 if (vals == null) { in createFloatTypedArray() 440 if (idx >= 0 && idx < vals.length) { in createFloatTypedArray() 441 return vals[idx]; in createFloatTypedArray()
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessConfiguration.java | 511 private static void checkMonotonic(float[] vals, boolean strictlyIncreasing, String name) { in checkMonotonic() argument 512 if (vals.length <= 1) { in checkMonotonic() 515 float prev = vals[0]; in checkMonotonic() 516 for (int i = 1; i < vals.length; i++) { in checkMonotonic() 517 if (prev > vals[i] || prev == vals[i] && strictlyIncreasing) { in checkMonotonic() 521 prev = vals[i]; in checkMonotonic()
|
/frameworks/base/core/jni/android/graphics/ |
D | Graphics.cpp | 465 xyzMatrix.vals[0][0], in getColorSpace() 466 xyzMatrix.vals[1][0], in getColorSpace() 467 xyzMatrix.vals[2][0], in getColorSpace() 468 xyzMatrix.vals[0][1], in getColorSpace() 469 xyzMatrix.vals[1][1], in getColorSpace() 470 xyzMatrix.vals[2][1], in getColorSpace() 471 xyzMatrix.vals[0][2], in getColorSpace() 472 xyzMatrix.vals[1][2], in getColorSpace() 473 xyzMatrix.vals[2][2] in getColorSpace()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SlicePermissionManager.java | 417 String[] vals = pkgUserStr.split(SEPARATOR, 2); in PkgUser() local 418 mPkg = vals[0]; in PkgUser() 419 mUserId = Integer.parseInt(vals[1]); in PkgUser()
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceUtils.cpp | 201 std::vector<T> vals(c2_max(_mValues.size(), 1u) - 1); in flags() local 203 std::transform(_mValues.cbegin() + 1, _mValues.cend(), vals.begin(), in flags() 208 return vals; in flags() 290 std::vector<T> vals(_mValues.size()); in values() local 291 …std::transform(_mValues.cbegin(), _mValues.cend(), vals.begin(), [](const C2Value::Primitive &p) -… in values() 294 return vals; in values()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessMappingStrategy.java | 106 float[] vals = new float[N]; in getFloatArray() local 108 vals[i] = array.getFloat(i, -1.0f); in getFloatArray() 111 return vals; in getFloatArray()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 674 private static boolean hasNonZeroEntry(long[] vals) { in hasNonZeroEntry() argument 675 for (long val : vals) { in hasNonZeroEntry()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 2768 int vals[NUM_FIELDS]; in parseAreas() local 2771 vals[i] = strtol(area, &numEnd, 10); in parseAreas() 2776 vals[0], vals[1], vals[2], vals[3], vals[4]) ); in parseAreas()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 1869 JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray vals) { in android_media_MediaCodec_setParameters() argument 1880 status_t err = ConvertKeyValueArraysToMessage(env, keys, vals, ¶ms); in android_media_MediaCodec_setParameters()
|