/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_vertex_frame.cpp | 55 jfloatArray floats) { 57 if (frame && floats) { 58 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); 59 const int length = env->GetArrayLength(floats); 63 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); 53 Java_android_filterfw_core_VertexFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument
|
H A D | jni_vertex_frame.h | 38 jfloatArray floats);
|
H A D | jni_gl_frame.cpp | 31 void ConvertFloatsToRGBA(const float* floats, int length, uint8_t* result) { argument 33 result[i] = static_cast<uint8_t>(floats[i] * 255.0); 164 jfloatArray floats) { 166 if (frame && floats) { 167 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); 168 const int length = env->GetArrayLength(floats); 170 // Convert floats to RGBA buffer 173 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); 197 // Convert them to floats 162 Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument
|
H A D | jni_native_frame.cpp | 135 jfloatArray floats) { 137 if (frame && floats) { 138 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); 139 const int length = env->GetArrayLength(floats); 144 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); 133 Java_android_filterfw_core_NativeFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | VertexFrame.java | 75 public void setFloats(float[] floats) { argument 77 if (!setNativeFloats(floats)) { 140 private native boolean setNativeFloats(float[] floats); argument
|
H A D | NativeFrame.java | 126 public void setFloats(float[] floats) { argument 128 if (floats.length * nativeFloatSize() > getFormat().getSize()) { 130 "NativeFrame cannot hold " + floats.length + " floats. (Can only hold " + 131 (getFormat().getSize() / nativeFloatSize()) + " floats)."); 132 } else if (!setNativeFloats(floats)) { 250 private native boolean setNativeFloats(float[] floats); argument
|
H A D | SimpleFrame.java | 99 public void setFloats(float[] floats) { argument 101 setGenericObjectValue(floats);
|
H A D | GLFrame.java | 191 public void setFloats(float[] floats) { argument 194 if (!setNativeFloats(floats)) { 386 private native boolean setNativeFloats(float[] floats); argument
|
H A D | SerializedFrame.java | 214 public void setFloats(float[] floats) { argument 216 setGenericObjectValue(floats);
|
H A D | Frame.java | 101 public abstract void setFloats(float[] floats); argument
|
/frameworks/native/libs/sensor/ |
H A D | ISensorServer.cpp | 126 const Vector<float> &floats, 132 data.writeUint32(static_cast<uint32_t>(floats.size())); 133 for (auto i : floats) { 213 Vector<float> floats; local 218 floats.resize(data.readUint32()); 219 for (auto &i : floats) { 227 int32_t ret = setOperationParameter(handle, type, floats, ints); 125 setOperationParameter(int32_t handle, int32_t type, const Vector<float> &floats, const Vector<int32_t> &ints) argument
|
H A D | SensorManager.cpp | 310 const Vector<float> &floats, const Vector<int32_t> &ints) { 315 return mSensorServer->setOperationParameter(handle, type, floats, ints);
|
/frameworks/native/libs/sensor/include/sensor/ |
H A D | ISensorServer.h | 55 int32_t handle, int32_t type, const Vector<float> &floats, const Vector<int32_t> &ints) = 0;
|
H A D | SensorManager.h | 67 int setOperationParameter(int handle, int type, const Vector<float> &floats, const Vector<int32_t> &ints);
|
/frameworks/rs/script_api/ |
H A D | rs_convert.spec | 102 summary: Create a uchar4 RGBA from floats 130 arg: float3 color, "Vector of 3 or 4 floats containing the R, G, B, and A values." 150 Unpacks a uchar4 color to float4. The resulting floats will be between 0.0 and 1.0 inclusive.
|
H A 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
|
H A D | rs_matrix.spec | 216 arg: const float* array, "Array of values to set the matrix to. These arrays should be 4, 9, or 16 floats long, depending on the matrix size." 219 Set the elements of a matrix from an array of floats or from another matrix. 221 If loading from an array, the floats should be in row-major order, i.e. the element a
|
H A D | rs_math.spec | 35 The precision of the mathematical operations on 32 bit floats is affected by the pragmas 46 <li>half_: May perform internal computations using 16 bit floats. Additionally, subnormal 177 For floats, use @fabs(). 945 summary: Maximum of two floats 990 summary: Minimum of two floats
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowAnimationSpec.java | 100 t.setMatrix(leash, tmp.transformation.getMatrix(), tmp.floats); 197 final float[] floats = new float[9]; field in class:WindowAnimationSpec.TmpValues
|
/frameworks/base/core/jni/ |
H A D | android_hardware_SensorManager.cpp | 273 jint handle, jint type, jfloatArray floats, jintArray ints) { 278 if (floats != nullptr) { 279 floatVector.resize(_env->GetArrayLength(floats)); 280 _env->GetFloatArrayRegion(floats, 0, _env->GetArrayLength(floats), floatVector.editArray()); 342 // step-counter returns a uint64, but the java API only deals with floats 272 nativeSetOperationParameter(JNIEnv *_env, jclass _this, jlong sensorManager, jint handle, jint type, jfloatArray floats, jintArray ints) argument
|
H A D | android_graphics_Canvas.cpp | 234 float* floats = autoPts.ptr(); local 243 get_canvas(canvasHandle)->drawPoints(floats + offset, count, *paint); 256 float* floats = autoPts.ptr(); local 265 get_canvas(canvasHandle)->drawLines(floats + offset, count, *paint); 338 int vertexCount = floatCount >> 1; // 2 floats per SkPoint
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | BackingStore.java | 753 float[] floats = new float[getSize() / 4]; 754 allocation.copyTo(floats); 755 mBuffer.asFloatBuffer().put(floats);
|
/frameworks/native/services/sensorservice/ |
H A D | SensorService.h | 200 int32_t handle, int32_t type, const Vector<float> &floats, const Vector<int32_t> &ints);
|
H A D | SensorService.cpp | 1149 const Vector<float> &floats, const Vector<int32_t> &ints) { 1178 sizeof(additional_info_event_t::data_float)/sizeof(float) < floats.size() || 1184 expectSize = floats.size(); 1213 if (floats.size() != expectSize) { 1217 event[1].additional_info.data_float[i] = floats[i]; 1147 setOperationParameter( int32_t handle, int32_t type, const Vector<float> &floats, const Vector<int32_t> &ints) argument
|