Searched refs:Half (Results 1 – 6 of 6) sorted by relevance
95 public final class Half extends Number implements Comparable<Half> { class179 public Half(@HalfFloat short value) { in Half() method in Half191 public Half(float value) { in Half() method in Half203 public Half(double value) { in Half() method in Half224 public Half(@NonNull String value) throws NumberFormatException { in Half() method in Half334 return (o instanceof Half) && in equals()335 (halfToIntBits(((Half) o).mValue) == halfToIntBits(mValue)); in equals()383 public int compareTo(@NonNull Half h) { in compareTo()988 public static @NonNull Half valueOf(@HalfFloat short h) { in valueOf()989 return new Half(h); in valueOf()[all …]
28 import android.util.Half;724 return Half.toFloat((short) ((color >> 48) & 0xffff)); in red()744 return Half.toFloat((short) ((color >> 32) & 0xffff)); in green()764 return Half.toFloat((short) ((color >> 16) & 0xffff)); in blue()1061 @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()
47 typedef llvm::ELF::Elf32_Half Half; typedef65 typedef llvm::ELF::Elf64_Half Half; typedef
145 {clang::BuiltinType::Half, DataTypeFloat16,
43034 public final class Half extends java.lang.Number implements java.lang.Comparable {43035 ctor public Half(short);43036 ctor public Half(float);43037 ctor public Half(double);43038 ctor public Half(java.lang.String) throws java.lang.NumberFormatException;43042 method public int compareTo(android.util.Half);43076 method public static android.util.Half valueOf(short);43077 method public static android.util.Half valueOf(float);43078 method public static android.util.Half valueOf(java.lang.String);
46573 public final class Half extends java.lang.Number implements java.lang.Comparable {46574 ctor public Half(short);46575 ctor public Half(float);46576 ctor public Half(double);46577 ctor public Half(java.lang.String) throws java.lang.NumberFormatException;46581 method public int compareTo(android.util.Half);46615 method public static android.util.Half valueOf(short);46616 method public static android.util.Half valueOf(float);46617 method public static android.util.Half valueOf(java.lang.String);