/frameworks/base/media/mca/filterfw/jni/ |
D | jni_vertex_frame.cpp | 55 jfloatArray floats) { in Java_android_filterfw_core_VertexFrame_setNativeFloats() argument 57 if (frame && floats) { in Java_android_filterfw_core_VertexFrame_setNativeFloats() 58 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); in Java_android_filterfw_core_VertexFrame_setNativeFloats() 59 const int length = env->GetArrayLength(floats); in Java_android_filterfw_core_VertexFrame_setNativeFloats() 63 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); in Java_android_filterfw_core_VertexFrame_setNativeFloats()
|
D | jni_gl_frame.cpp | 31 void ConvertFloatsToRGBA(const float* floats, int length, uint8_t* result) { in ConvertFloatsToRGBA() argument 33 result[i] = static_cast<uint8_t>(floats[i] * 255.0); in ConvertFloatsToRGBA() 164 jfloatArray floats) { in Java_android_filterfw_core_GLFrame_setNativeFloats() argument 166 if (frame && floats) { in Java_android_filterfw_core_GLFrame_setNativeFloats() 167 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); in Java_android_filterfw_core_GLFrame_setNativeFloats() 168 const int length = env->GetArrayLength(floats); in Java_android_filterfw_core_GLFrame_setNativeFloats() 173 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); in Java_android_filterfw_core_GLFrame_setNativeFloats()
|
D | jni_native_frame.cpp | 135 jfloatArray floats) { in Java_android_filterfw_core_NativeFrame_setNativeFloats() argument 137 if (frame && floats) { in Java_android_filterfw_core_NativeFrame_setNativeFloats() 138 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); in Java_android_filterfw_core_NativeFrame_setNativeFloats() 139 const int length = env->GetArrayLength(floats); in Java_android_filterfw_core_NativeFrame_setNativeFloats() 144 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); in Java_android_filterfw_core_NativeFrame_setNativeFloats()
|
D | jni_vertex_frame.h | 38 jfloatArray floats);
|
/frameworks/rs/script_api/include/ |
D | rs_value_types.rsh | 83 * RenderScript supports fixed size square matrices of floats of size 2x2, 3x3, and 4x4. 104 * half2: Two 16 bit floats 114 * half3: Three 16 bit floats 124 * half4: Four 16 bit floats 256 * float2: Two 32 bit floats 258 * A vector of two floats. These two floats are packed into a single 64 bit field 261 * A vector of two floats. These two floats are packed into a single 64 bit field 267 * float3: Three 32 bit floats 269 * A vector of three floats. These three floats are packed into a single 128 bit field 275 * float4: Four 32 bit floats [all …]
|
D | rs_object_types.rsh | 154 RS_TYPE_MATRIX_4X4 = 16, // A 4x4 matrix of 32 bit floats, aligned on a 32 bit boundary. 155 RS_TYPE_MATRIX_3X3 = 17, // A 3x3 matrix of 32 bit floats, aligned on a 32 bit boundary. 156 RS_TYPE_MATRIX_2X2 = 18, // A 2x2 matrix of 32 bit floats, aligned on a 32 bit boundary.
|
/frameworks/native/libs/sensor/ |
D | ISensorServer.cpp | 126 const Vector<float> &floats, in setOperationParameter() argument 132 data.writeUint32(static_cast<uint32_t>(floats.size())); in setOperationParameter() 133 for (auto i : floats) { in setOperationParameter() 213 Vector<float> floats; in onTransact() local 218 floats.resize(data.readUint32()); in onTransact() 219 for (auto &i : floats) { in onTransact() 227 int32_t ret = setOperationParameter(handle, type, floats, ints); in onTransact()
|
D | SensorManager.cpp | 310 const Vector<float> &floats, const Vector<int32_t> &ints) { in setOperationParameter() argument 315 return mSensorServer->setOperationParameter(handle, type, floats, ints); in setOperationParameter()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | NativeFrame.java | 126 public void setFloats(float[] floats) { in setFloats() argument 128 if (floats.length * nativeFloatSize() > getFormat().getSize()) { in setFloats() 130 "NativeFrame cannot hold " + floats.length + " floats. (Can only hold " + in setFloats() 132 } else if (!setNativeFloats(floats)) { in setFloats() 250 private native boolean setNativeFloats(float[] floats); in setNativeFloats() argument
|
D | VertexFrame.java | 75 public void setFloats(float[] floats) { in setFloats() argument 77 if (!setNativeFloats(floats)) { in setFloats() 140 private native boolean setNativeFloats(float[] floats); in setNativeFloats() argument
|
D | SimpleFrame.java | 99 public void setFloats(float[] floats) { in setFloats() argument 101 setGenericObjectValue(floats); in setFloats()
|
D | GLFrame.java | 192 public void setFloats(float[] floats) { in setFloats() argument 195 if (!setNativeFloats(floats)) { in setFloats() 391 private native boolean setNativeFloats(float[] floats); in setNativeFloats() argument
|
D | SerializedFrame.java | 214 public void setFloats(float[] floats) { in setFloats() argument 216 setGenericObjectValue(floats); in setFloats()
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 273 jint handle, jint type, jfloatArray floats, jintArray ints) { in nativeSetOperationParameter() argument 278 if (floats != nullptr) { in nativeSetOperationParameter() 279 floatVector.resize(_env->GetArrayLength(floats)); in nativeSetOperationParameter() 280 _env->GetFloatArrayRegion(floats, 0, _env->GetArrayLength(floats), floatVector.editArray()); in nativeSetOperationParameter()
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | shared.rsh | 77 /* Absolute epsilon used for floats. Value is similar to float.h. */ 91 /* Check if two floats are essentially equal. Will fail with some values
|
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
D | shared.rsh | 80 /* Absolute epsilon used for floats. Value is similar to float.h. */ 94 /* Check if two floats are essentially equal. Will fail with some values
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowAnimationSpec.java | 99 t.setMatrix(leash, tmp.transformation.getMatrix(), tmp.floats); in apply() 204 final float[] floats = new float[9]; field in WindowAnimationSpec.TmpValues
|
/frameworks/native/libs/sensor/include/sensor/ |
D | ISensorServer.h | 55 … int32_t handle, int32_t type, const Vector<float> &floats, const Vector<int32_t> &ints) = 0;
|
D | SensorManager.h | 67 …int setOperationParameter(int handle, int type, const Vector<float> &floats, const Vector<int32_t>…
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | shared.rsh | 96 /* Absolute epsilon used for floats. Value is similar to float.h. */ 110 /* Check if two floats are essentially equal. Will fail with some values
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/ |
D | unittest_repeated_packables_nano.proto | 62 repeated float floats = 11; field 87 repeated float floats = 11 [ packed = true ]; field
|
/frameworks/rs/script_api/ |
D | rs_convert.spec | 102 summary: Create a uchar4 RGBA from floats 150 Unpacks a uchar4 color to float4. The resulting floats will be between 0.0 and 1.0 inclusive.
|
D | rs_vector_math.spec | 23 The precision of the mathematical operations on 32 bit floats is affected by the pragmas 32 <li>fast_: May perform internal computations using 16 bit floats. Additionally, subnormal
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | shared.rsh | 98 /* Absolute epsilon used for floats. Value is similar to float.h. */ 112 /* Check if two floats are essentially equal. Will fail with some values
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | BackingStore.java | 753 float[] floats = new float[getSize() / 4]; in syncToAllocationBacking() local 754 allocation.copyTo(floats); in syncToAllocationBacking() 755 mBuffer.asFloatBuffer().put(floats); in syncToAllocationBacking()
|