Home
last modified time | relevance | path

Searched refs:floats (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/media/mca/filterfw/jni/
Djni_vertex_frame.cpp54 jfloatArray floats) { in Java_android_filterfw_core_VertexFrame_setNativeFloats() argument
56 if (frame && floats) { in Java_android_filterfw_core_VertexFrame_setNativeFloats()
57 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); in Java_android_filterfw_core_VertexFrame_setNativeFloats()
58 const int length = env->GetArrayLength(floats); in Java_android_filterfw_core_VertexFrame_setNativeFloats()
62 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); in Java_android_filterfw_core_VertexFrame_setNativeFloats()
Djni_gl_frame.cpp31 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()
172 jfloatArray floats) { in Java_android_filterfw_core_GLFrame_setNativeFloats() argument
174 if (frame && floats) { in Java_android_filterfw_core_GLFrame_setNativeFloats()
175 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); in Java_android_filterfw_core_GLFrame_setNativeFloats()
176 const int length = env->GetArrayLength(floats); in Java_android_filterfw_core_GLFrame_setNativeFloats()
181 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); in Java_android_filterfw_core_GLFrame_setNativeFloats()
Djni_native_frame.cpp134 jfloatArray floats) { in Java_android_filterfw_core_NativeFrame_setNativeFloats() argument
136 if (frame && floats) { in Java_android_filterfw_core_NativeFrame_setNativeFloats()
137 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); in Java_android_filterfw_core_NativeFrame_setNativeFloats()
138 const int length = env->GetArrayLength(floats); in Java_android_filterfw_core_NativeFrame_setNativeFloats()
143 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); in Java_android_filterfw_core_NativeFrame_setNativeFloats()
Djni_vertex_frame.h38 jfloatArray floats);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DNativeFrame.java126 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
DVertexFrame.java75 public void setFloats(float[] floats) { in setFloats() argument
77 if (!setNativeFloats(floats)) { in setFloats()
140 private native boolean setNativeFloats(float[] floats); in setNativeFloats() argument
DSimpleFrame.java99 public void setFloats(float[] floats) { in setFloats() argument
101 setGenericObjectValue(floats); in setFloats()
DGLFrame.java191 public void setFloats(float[] floats) { in setFloats() argument
194 if (!setNativeFloats(floats)) { in setFloats()
386 private native boolean setNativeFloats(float[] floats); in setNativeFloats() argument
DSerializedFrame.java214 public void setFloats(float[] floats) { in setFloats() argument
216 setGenericObjectValue(floats); in setFloats()
DFrame.java101 public abstract void setFloats(float[] floats); in setFloats() argument
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dshared.rsh77 /* 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/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dshared.rsh77 /* 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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DBackingStore.java753 float[] floats = new float[getSize() / 4]; in syncToAllocationBacking() local
754 allocation.copyTo(floats); in syncToAllocationBacking()
755 mBuffer.asFloatBuffer().put(floats); in syncToAllocationBacking()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp208 float* floats = autoPts.ptr(); in drawPoints() local
217 get_canvas(canvasHandle)->drawPoints(floats + offset, count, *paint); in drawPoints()
230 float* floats = autoPts.ptr(); in drawLines() local
239 get_canvas(canvasHandle)->drawLines(floats + offset, count, *paint); in drawLines()
/frameworks/rs/scriptc/
Drs_element.rsh32 * floats, float2, float4. This function returns zero for simple
Drs_matrix.rsh120 * Set the elements of a matrix from an array of floats.
122 * The array of floats should be in row-major order, i.e. the element a
128 * 4, 9, or 16 floats long, depending on the matrix size.
/frameworks/base/docs/html/guide/topics/resources/
Danimation-resource.jd212 …d><code>floatType</code> (default)</td><td>Specifies that the animated values are floats</td></tr>
285 …d><code>floatType</code> (default)</td><td>Specifies that the animated values are floats</td></tr>
/frameworks/base/docs/html/guide/appendix/
Dglossary.jd277 clicks and perform simple functions related to its parent. A panel floats
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd71 android.content.SharedPreferences} to save any primitive data: booleans, floats, ints, longs, and
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd547 structures. For example, if there is an allocation that is an array of n floats, the data
/frameworks/base/docs/html/guide/topics/search/
Dsearch-dialog.jd511 <p>The search dialog is a {@link android.app.Dialog} that floats at the top of the
/frameworks/base/docs/html/tools/help/
Dadb.jd761 <dd>Add an array of floats.
/frameworks/base/docs/html/tools/sdk/ndk/
Dindex.jd2172 <li>Fixed GCC 4.4.3 crashes on ARM NEON-specific type definitions for floats.