/external/skia/src/animator/ |
SkDrawColor.cpp | 117 SK_MEMBER_PROPERTY(alpha, Float), 118 SK_MEMBER_PROPERTY(blue, Float), 120 SK_MEMBER_PROPERTY(green, Float), 121 SK_MEMBER_PROPERTY(hue, Float), 122 SK_MEMBER_PROPERTY(red, Float), 123 SK_MEMBER_PROPERTY(saturation, Float), 124 SK_MEMBER_PROPERTY(value, Float),
|
/dalvik/dx/src/junit/framework/ |
Assert.java | 115 static public void assertEquals(String message, float expected, float actual, float delta) { 118 if (Float.isInfinite(expected)) { 120 failNotEquals(message, new Float(expected), new Float(actual)); 122 failNotEquals(message, new Float(expected), new Float(actual)); 128 static public void assertEquals(float expected, float actual, float delta) [all...] |
/dalvik/tests/021-string2/src/junit/framework/ |
Assert.java | 115 static public void assertEquals(String message, float expected, float actual, float delta) { 118 if (Float.isInfinite(expected)) { 120 failNotEquals(message, new Float(expected), new Float(actual)); 122 failNotEquals(message, new Float(expected), new Float(actual)); 128 static public void assertEquals(float expected, float actual, float delta) [all...] |
/dalvik/tests/082-inline-execute/src/junit/framework/ |
Assert.java | 115 static public void assertEquals(String message, float expected, float actual, float delta) { 118 if (Float.isInfinite(expected)) { 120 failNotEquals(message, new Float(expected), new Float(actual)); 122 failNotEquals(message, new Float(expected), new Float(actual)); 128 static public void assertEquals(float expected, float actual, float delta) [all...] |
/development/samples/GlobalTime/src/com/android/globaltime/ |
City.java | 42 private float latitude, longitude; 43 private float x, y, z; 62 // float latitude = dis.readFloat(); 63 // float longitude = dis.readFloat(); 64 // float cx = dis.readFloat(); 65 // float cy = dis.readFloat(); 66 // float cz = dis.readFloat(); 81 float latitude = Float.intBitsToFloat(ilat); 82 float longitude = Float.intBitsToFloat(ilon) [all...] |
/external/junit/src/junit/framework/ |
Assert.java | 112 static public void assertEquals(String message, float expected, float actual, float delta) { 115 if (Float.isInfinite(expected)) { 117 failNotEquals(message, new Float(expected), new Float(actual)); 119 failNotEquals(message, new Float(expected), new Float(actual)); 125 static public void assertEquals(float expected, float actual, float delta) [all...] |
/frameworks/base/core/java/android/util/ |
TypedValue.java | 183 /** Return the data for this value as a float. Only use for values 185 public final float getFloat() { 186 return Float.intBitsToFloat(data); 189 private static final float MANTISSA_MULT = 191 private static final float[] RADIX_MULTS = new float[] { 206 public static float complexToFloat(int complex) 227 public static float complexToDimension(int data, DisplayMetrics metrics) 281 final float value = complexToFloat(data); 282 final float f = applyDimension [all...] |
XmlPullAttributes.java | 87 public float getAttributeFloatValue(String namespace, String attribute, 88 float defaultValue) { 91 return Float.parseFloat(s); 122 public float getAttributeFloatValue(int index, float defaultValue) { 125 return Float.parseFloat(s);
|
/libcore/junit/src/main/java/junit/framework/ |
Assert.java | 115 static public void assertEquals(String message, float expected, float actual, float delta) { 118 if (Float.isInfinite(expected)) { 120 failNotEquals(message, new Float(expected), new Float(actual)); 122 failNotEquals(message, new Float(expected), new Float(actual)); 128 static public void assertEquals(float expected, float actual, float delta) [all...] |
/development/tools/glesv2debugger/ |
generate_MessageFormatter_java.py | 67 ret += Float.intBitsToFloat(data.getInt()); 107 ret += Float.intBitsToFloat(data.getInt()); 222 , Float.intBitsToFloat(msg.getArg%d())" % (paramIndex)
|
/external/apache-harmony/support/src/test/java/tests/util/ |
CallVerificationStack.java | 155 * Pushes a float onto the top of this stack. 160 public void push(float val) { 239 * Pop a float. 243 public float popFloat() { 245 Float value = (Float) wrapper.getValue(); 319 * Constructs a wrapper object for the base type <code> float </code> . 321 public BaseTypeWrapper(float val) { 322 this.value = new Float(val);
|
/external/clang/lib/AST/ |
APValue.cpp | 67 else if (Kind == Float) 103 case Float: 104 OS << "Float: " << GetApproxValue(getFloat()); 133 case APValue::Float:
|
/libcore/support/src/test/java/tests/util/ |
CallVerificationStack.java | 155 * Pushes a float onto the top of this stack. 160 public void push(float val) { 239 * Pop a float. 243 public float popFloat() { 245 Float value = (Float) wrapper.getValue(); 319 * Constructs a wrapper object for the base type <code> float </code> . 321 public BaseTypeWrapper(float val) { 322 this.value = new Float(val);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSuggestionProviderCursor.java | 61 public float getFloat(int column) { 118 public float getFloat(int column) { 121 if (o instanceof Float) return (Float) o; 122 return Float.valueOf(o.toString());
|
SuggestionCursorWithExtrasTest.java | 39 checkSuggestionCursorExtraColumnValue("extra_float", new Float(Math.E)); 87 checkCursorExtraRowFloat((float) Math.E); 88 checkCursorExtraRowFloat((float) -Math.E); 90 checkCursorExtraRowFloat(Float.MAX_VALUE); 91 checkCursorExtraRowFloat(Float.MIN_VALUE); 94 public void checkCursorExtraRowFloat(float value) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/ |
generate_MessageFormatter_java.py | 67 ret += Float.intBitsToFloat(data.getInt()); 107 ret += Float.intBitsToFloat(data.getInt()); 222 , Float.intBitsToFloat(msg.getArg%d())" % (paramIndex)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
LayoutDevice.java | 89 private float mXDpi = Float.NaN; 90 private float mYDpi = Float.NaN; 110 if (Float.isNaN(mXDpi) == false) { 112 xdpiNode.setTextContent(Float.toString(mXDpi)); 114 if (Float.isNaN(mYDpi) == false) { 116 xdpiNode.setTextContent(Float.toString(mYDpi)); 323 void setXDpi(float xdpi) { 327 void setYDpi(float ydpi) [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/if_eqz/ |
Test_if_eqz.java | 35 * @title Types of arguments - float. Dalvik doens't distinguish 32-bits types internally, 36 * so this operation of float makes no sense but shall not crash the VM. 60 * @title Arguments = Float.MAX_VALUE 64 assertEquals(1234, t.run(Float.MAX_VALUE)); 68 * @title Arguments = Float.MIN_VALUE 72 assertEquals(1234, t.run(Float.MIN_VALUE));
|
/frameworks/base/core/java/android/animation/ |
Keyframe.java | 29 * performance when dealing with the most common cases (e.g., <code>float</code> and 33 * of {@link TypeEvaluator}), you should stick to using float and int as animations using those 40 float mFraction; 73 public static Keyframe ofInt(float fraction, int value) { 89 public static Keyframe ofInt(float fraction) { 105 public static Keyframe ofFloat(float fraction, float value) { 121 public static Keyframe ofFloat(float fraction) { 137 public static Keyframe ofObject(float fraction, Object value) { 153 public static Keyframe ofObject(float fraction) [all...] |
/libcore/include/ |
ScopedPrimitiveArray.h | 57 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jfloat, Float); 101 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jfloat, Float);
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
TimeImpl.java | 101 * Converts a String representation of a clock value into the float 123 * @return A float value in milliseconds that matches the string 130 public static float parseClockValue(String clockValue) { 132 float result = 0; 177 float seconds = parseFloat(timeValues[indexOfMinutes + 1], 0, true); 204 * @return The float value without Text, rounded to 3 digits after '.' 207 private static float parseFloat(String value, int ignoreLast, boolean parseDecimal) { 211 float result; 220 result = Float.parseFloat(value.substring(0, indexOfComma)); 221 result += Float.parseFloat [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigEditDialog.java | 85 private float mXDpi = Float.NaN; 86 private float mYDpi = Float.NaN; 104 public void setXDpi(float xdpi) { 108 public float getXDpi() { 112 public void setYDpi(float ydpi) { 116 public float getYDpi() { 178 if (Float.isNaN(mXDpi) == false) { 186 mXDpi = Float.NaN [all...] |
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldAbstractPreferencesTest.java | 391 pref.putFloat("FloatValue", new Float(1.602e-19)); 394 assertEquals(new Float(1.602e-19), pref.getFloat("FloatValue", new Float(0.2))); 397 pref.putFloat(null, new Float(0.1)); 411 pref.putFloat(new String(sb), new Float(0.1)); 420 pref.putFloat("FloatValue", new Float(0.1)); 430 pref.putFloat("FloatValue", new Float(-0.123)); 434 assertEquals(new Float(0.1), pref.getFloat("Value", new Float(0.1))); 435 assertEquals(new Float(-0.123), pref.getFloat("FloatValue", new Float(0.2))) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
RadioGroup_LayoutParamsTest.java | 73 args = {int.class, int.class, float.class} 107 Float.MAX_VALUE); 110 assertEquals(Float.MAX_VALUE, mLayoutParams.weight); 113 Float.MIN_VALUE); 116 assertEquals(Float.MIN_VALUE, mLayoutParams.weight);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
ParametersHeader.java | 244 protected void setParameter(String name, float value) { 245 Float val = Float.valueOf(value); 367 /** Get the parameter as a float value. 371 *@return -1 if the parameter is not defined or the parameter as a float. 373 protected float getParameterAsFloat(String parameterName) { 378 return Float.parseFloat(this.getParameter(parameterName)); 380 return ((Float) getParameterValue(parameterName))
|