/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
FloatSerializer.java | 40 * Float serializer. 47 public Float readObject(ByteBuffer data, Class c) throws IOException { 52 buffer.putFloat((Float)object);
|
/external/junit/src/org/junit/internal/ |
InexactComparisonCriteria.java | 17 Assert.assertEquals((Float)expected, (Float)actual, fDelta);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
MathTest.java | 44 * @tests java.lang.Math#abs(float) 47 // Test for method float java.lang.Math.abs(float) 48 assertTrue("Incorrect float abs value", 50 assertTrue("Incorrect float abs value", 240 static final float[] COPYSIGN_FF_CASES = new float[] { 241 Float.POSITIVE_INFINITY, Float.MAX_VALUE, 3.4E12f, 2.3f, 242 Float.MIN_NORMAL, Float.MIN_NORMAL / 2, Float.MIN_VALUE, +0.0f [all...] |
StrictMathTest.java | 54 * @tests java.lang.StrictMath#abs(float) 57 // Test for method float java.lang.StrictMath.abs(float) 58 assertTrue("Incorrect float abs value", 60 assertTrue("Incorrect float abs value", 244 * @tests {@link java.lang.StrictMath#copySign(float, float)} 250 final float magnitude = COPYSIGN_FF_CASES[i]; 251 final int absMagnitudeBits = Float.floatToIntBits(StrictMath 253 final int negMagnitudeBits = Float.floatToIntBits(-StrictMat [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
SkPathParts.cpp | 39 SK_MEMBER(x, Float), 40 SK_MEMBER(y, Float) 77 SK_MEMBER(x, Float), 78 SK_MEMBER(y, Float) 115 SK_MEMBER(x1, Float), 116 SK_MEMBER(x2, Float), 117 SK_MEMBER(y1, Float), 118 SK_MEMBER(y2, Float) 155 SK_MEMBER(x1, Float), 156 SK_MEMBER(x2, Float), [all...] |
SkDrawRectangle.cpp | 26 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float), 27 SK_MEMBER_PROPERTY(height, Float), 28 SK_MEMBER_ALIAS(left, fRect.fLeft, Float), 30 SK_MEMBER_ALIAS(right, fRect.fRight, Float), 31 SK_MEMBER_ALIAS(top, fRect.fTop, Float), 32 SK_MEMBER_PROPERTY(width, Float) 118 SK_MEMBER(rx, Float), 119 SK_MEMBER(ry, Float),
|
SkDisplayRandom.cpp | 21 SK_MEMBER(blend, Float), 22 SK_MEMBER(max, Float), 23 SK_MEMBER(min, Float), 24 SK_MEMBER_DYNAMIC_PROPERTY(random, Float),
|
SkDrawBlur.cpp | 16 SK_MEMBER(fSigma, Float)
|
/external/skia/src/animator/ |
SkPathParts.cpp | 39 SK_MEMBER(x, Float), 40 SK_MEMBER(y, Float) 77 SK_MEMBER(x, Float), 78 SK_MEMBER(y, Float) 115 SK_MEMBER(x1, Float), 116 SK_MEMBER(x2, Float), 117 SK_MEMBER(y1, Float), 118 SK_MEMBER(y2, Float) 155 SK_MEMBER(x1, Float), 156 SK_MEMBER(x2, Float), [all...] |
SkDrawRectangle.cpp | 26 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float), 27 SK_MEMBER_PROPERTY(height, Float), 28 SK_MEMBER_ALIAS(left, fRect.fLeft, Float), 30 SK_MEMBER_ALIAS(right, fRect.fRight, Float), 31 SK_MEMBER_ALIAS(top, fRect.fTop, Float), 32 SK_MEMBER_PROPERTY(width, Float) 118 SK_MEMBER(rx, Float), 119 SK_MEMBER(ry, Float),
|
SkDisplayRandom.cpp | 21 SK_MEMBER(blend, Float), 22 SK_MEMBER(max, Float), 23 SK_MEMBER(min, Float), 24 SK_MEMBER_DYNAMIC_PROPERTY(random, Float),
|
SkDrawBlur.cpp | 16 SK_MEMBER(fSigma, Float)
|
/libcore/luni/src/main/java/java/lang/ |
Float.java | 21 * The wrapper for the primitive type {@code float}. 26 public final class Float extends Number implements Comparable<Float> { 42 private final float value; 45 * Constant for the maximum {@code float} value, (2 - 2<sup>-23</sup>) * 2<sup>127</sup>. 47 public static final float MAX_VALUE = 3.40282346638528860e+38f; 50 * Constant for the minimum {@code float} value, 2<sup>-149</sup>. 52 public static final float MIN_VALUE = 1.40129846432481707e-45f; 55 * Constant for the Not-a-Number (NaN) value of the {@code float} type. 57 public static final float NaN = 0.0f / 0.0f [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/ |
FloatEncodedValue.java | 36 public final float value; 47 value = Float.intBitsToFloat((int)((longValue >> 32) & 0xFFFFFFFFL)); 54 public FloatEncodedValue(float value) { 60 byte[] bytes = EncodedValueUtils.encodeRightZeroExtendedValue(((long)Float.floatToRawIntBits(value)) << 32); 74 ((long)Float.floatToRawIntBits(value)) << 32); 81 return Float.compare(value, other.value); 91 return Float.floatToRawIntBits(value);
|
/dalvik/dx/tests/054-dex-high16/ |
Blort.java | 27 public static void sink(float f) { 60 sink(Float.NEGATIVE_INFINITY); 63 sink(Float.POSITIVE_INFINITY); 64 sink(Float.NaN);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
DimenResourceLoader.java | 8 private ResourceReferenceResolver<Float> dimenResolver = new ResourceReferenceResolver<Float>("dimen"); 14 public float getValue(int resourceId) { 18 public float getValue(String resourceName, boolean isSystem) { 37 return Float.parseFloat(rawValue.substring(0, end));
|
/libcore/luni/src/test/java/libcore/java/awt/font/ |
TextAttributeTest.java | 36 assertEquals(new Float(0.04f), TextAttribute.TRACKING_LOOSE); 37 assertEquals(new Float(-0.04f), TextAttribute.TRACKING_TIGHT);
|
/external/clang/test/Sema/ |
cast.c | 22 typedef float Float; 26 typedef _Complex float CFloat; 35 (void) (Float) v; 49 (void) (Float) v; 71 (void) (Float) v; 81 void testFloat(Float v) { 85 (void) (Float) v; 97 (void) (Float) v; 109 (void) (Float) v [all...] |
/development/tools/emulator/test-apps/GpsLocationTest/src/com/android/emulator/gps/test/ |
GpsLocationTest.java | 70 assertEquals(new Float(LONGITUDE), new Float(mLocation.getLongitude())); 71 assertEquals(new Float(LATITUDE), new Float(mLocation.getLatitude()));
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Renderers/ |
FloatRenderer.java | 36 public static void writeTo(IndentingWriter writer, float val) throws IOException { 37 writer.write(Float.toString(val));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAnimatorUpdateListener.java | 24 final float b = (Float) animation.getAnimatedValue(); 25 final float a = 1f - b; 29 abstract void onAnimationUpdate(float a, float b);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAnimatorUpdateListener.java | 24 final float b = (Float) animation.getAnimatedValue(); 25 final float a = 1f - b; 29 abstract void onAnimationUpdate(float a, float b);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_int/ |
Test_float_to_int.java | 59 * @title Argument = Float.MAX_VALUE 63 assertEquals(Integer.MAX_VALUE, t.run(Float.MAX_VALUE)); 67 * @title Argument = Float.MIN_VALUE 71 assertEquals(0, t.run(Float.MIN_VALUE)); 79 assertEquals(0, t.run(Float.NaN)); 87 assertEquals(Integer.MAX_VALUE, t.run(Float.POSITIVE_INFINITY)); 95 assertEquals(Integer.MIN_VALUE, t.run(Float.NEGATIVE_INFINITY));
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
FloatsTest.java | 19 import static java.lang.Float.NaN; 44 private static final float[] EMPTY = {}; 45 private static final float[] ARRAY1 = {(float) 1}; 46 private static final float[] ARRAY234 47 = {(float) 2, (float) 3, (float) 4}; 49 private static final float LEAST = Float.NEGATIVE_INFINITY [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
Floats.java | 23 import static java.lang.Float.NEGATIVE_INFINITY; 24 import static java.lang.Float.POSITIVE_INFINITY; 38 * Static utility methods pertaining to {@code float} primitives, that are not 39 * already found in either {@link Float} or {@link Arrays}. 49 * The number of bytes required to represent a primitive {@code float} 54 public static final int BYTES = Float.SIZE / Byte.SIZE; 58 * {@code ((Float) value).hashCode()}. 60 * @param value a primitive {@code float} value 63 public static int hashCode(float value) { 65 return ((Float) value).hashCode() [all...] |