Searched refs:floats (Results 1 - 11 of 11) sorted by relevance
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_vertex_frame.cpp | 54 jfloatArray floats) { 56 if (frame && floats) { 57 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); 58 const int length = env->GetArrayLength(floats); 62 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); 52 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); 172 jfloatArray floats) { 174 if (frame && floats) { 175 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); 176 const int length = env->GetArrayLength(floats); 178 // Convert floats to RGBA buffer 181 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); 205 // Convert them to floats 170 Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument
|
H A D | jni_native_frame.cpp | 134 jfloatArray floats) { 136 if (frame && floats) { 137 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); 138 const int length = env->GetArrayLength(floats); 143 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); 132 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 | 128 public void setFloats(float[] floats) { argument 130 if (floats.length * nativeFloatSize() > getFormat().getSize()) { 132 "NativeFrame cannot hold " + floats.length + " floats. (Can only hold " + 133 (getFormat().getSize() / nativeFloatSize()) + " floats)."); 134 } else if (!setNativeFloats(floats)) { 252 private native boolean setNativeFloats(float[] floats); argument
|
H A D | SimpleFrame.java | 101 public void setFloats(float[] floats) { argument 103 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 | 218 public void setFloats(float[] floats) { argument 220 setGenericObjectValue(floats);
|
H A D | Frame.java | 102 public abstract void setFloats(float[] floats); argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Canvas.cpp | 337 float* floats = autoPts.ptr(); local 345 // now convert the floats into SkPoints 349 const float* src = floats + offset; 595 // convert floats to fixed
|
Completed in 46 milliseconds