Home
last modified time | relevance | path

Searched refs:toHalf (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/util/
DHalf.java174 mValue = toHalf(value); in Half()
186 mValue = toHalf((float) value); in Half()
207 mValue = toHalf(Float.parseFloat(value)); in Half()
805 public static @HalfFloat short toHalf(float f) { in toHalf() method in Half
806 return FP16.toHalf(f); in toHalf()
857 return toHalf(Float.parseFloat(s)); in parseHalf()
/frameworks/base/graphics/java/android/graphics/
DColor.java1061 @HalfFloat short r = Half.toHalf(red); in pack()
1062 @HalfFloat short g = Half.toHalf(green); in pack()
1063 @HalfFloat short b = Half.toHalf(blue); in pack()
/frameworks/base/non-updatable-api/
Dcurrent.txt49245 method @HalfFloat public static short toHalf(float);
/frameworks/base/api/
Dcurrent.txt49389 method @HalfFloat public static short toHalf(float);