/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
PrimitiveArrayTest.java | 36 private final float[] floats = new float[] { 0.1f, 3.1415f }; field in class:PrimitiveArrayTest 46 + Arrays.toString(floats) + " ]\n" + "- " + pkg + ".DoubleArr [ " 58 Assert.assertArrayEquals(floats, ((FloatArr) wrappers.get(4)).getFloats(), 0.001f); 169 FloatArr floatArr = new FloatArr(floats);
|
/frameworks/native/libs/sensor/include/sensor/ |
ISensorServer.h | 55 int32_t handle, int32_t type, const Vector<float> &floats, const Vector<int32_t> &ints) = 0;
|
SensorManager.h | 67 int setOperationParameter(int handle, int type, const Vector<float> &floats, const Vector<int32_t> &ints);
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_gl_frame.cpp | 31 void ConvertFloatsToRGBA(const float* floats, int length, uint8_t* result) { 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
|
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);
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue4813.go | 7 // Issue 4813: use of constant floats as indices.
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue4813.go | 7 // Issue 4813: use of constant floats as indices.
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
GLFrame.java | 191 public void setFloats(float[] floats) { 194 if (!setNativeFloats(floats)) { 386 private native boolean setNativeFloats(float[] floats);
|
SerializedFrame.java | 214 public void setFloats(float[] floats) { 216 setGenericObjectValue(floats);
|
Frame.java | 101 public abstract void setFloats(float[] floats);
|
/external/libmojo/base/android/ |
jni_array.cc | 89 JNIEnv* env, const float* floats, size_t len) { 95 float_array, 0, len, reinterpret_cast<const jfloat*>(floats)); 103 const std::vector<float>& floats) { 104 return ToJavaFloatArray(env, floats.data(), floats.size());
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ParcelTest.java | 128 final float[] floats = {1.1f, 2.0f}; local 129 parcel.writeFloatArray(floats); 131 final float[] floats2 = new float[floats.length]; 133 assertTrue(Arrays.equals(floats, floats2)); 445 final float[] floats = {1.5f, 2.25f}; local 446 parcel.writeFloatArray(floats); 449 assertTrue(Arrays.equals(floats, floats2));
|
/frameworks/rs/script_api/ |
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.
|
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/native/libs/sensor/ |
SensorManager.cpp | 309 const Vector<float> &floats, const Vector<int32_t> &ints) { 314 return mSensorServer->setOperationParameter(handle, type, floats, ints);
|
/art/test/956-methodhandles/src/ |
Main.java | [all...] |
/libcore/luni/src/test/java/libcore/java/nio/ |
BufferTest.java | 153 float[] floats = new float[4]; local 154 b.order(ByteOrder.BIG_ENDIAN).asFloatBuffer().get(floats, 1, 2); 155 assertEquals(0, Float.floatToRawIntBits(floats[0])); 156 assertEquals(0x01020304, Float.floatToRawIntBits(floats[1])); 157 assertEquals(0x05060708, Float.floatToRawIntBits(floats[2])); 158 assertEquals(0, Float.floatToRawIntBits(floats[3])); 159 b.order(ByteOrder.LITTLE_ENDIAN).asFloatBuffer().get(floats, 1, 2); 160 assertEquals(0, Float.floatToRawIntBits(floats[0])); 161 assertEquals(0x04030201, Float.floatToRawIntBits(floats[1])); 162 assertEquals(0x08070605, Float.floatToRawIntBits(floats[2])) 239 float[] floats = new float[] { 0, Float.intBitsToFloat(0x01020304), local [all...] |
/frameworks/base/core/jni/ |
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
|
/external/javassist/src/test/test/javassist/convert/ |
ArrayAccessReplaceTest.java | 286 private float[] floats; field in class:ArrayAccessReplaceTest.Simple 314 return floats[pos]; 358 floats[pos] = value;
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
BytesTest.java | 207 List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2); local 214 assertTrue(Arrays.equals(array, Bytes.toArray(floats)));
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
BytesTest.java | 209 List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2); local 216 assertTrue(Arrays.equals(array, Bytes.toArray(floats)));
|
/external/icu/icu4c/source/test/letest/ |
gendata.cpp | 123 void dumpFloats(FILE *file, const char *tag, float *floats, le_int32 count) { 135 bufp += sprintf(&lineBuffer[bufp], "%f, ", floats[i]);
|
/external/skia/src/gpu/gl/ |
GrGLPath.cpp | 83 inline void verify_floats(const float* floats, int count) { 85 SkASSERT(!SkScalarIsNaN(SkFloatToScalar(floats[i])));
|
GrGLPathRendering.cpp | 61 static void verify_floats(const float* floats, int count) { 63 SkASSERT(!SkScalarIsNaN(SkFloatToScalar(floats[i])));
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
MethodHandlesTest.java | [all...] |