Searched refs:Half (Results 1 – 7 of 7) 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,
43297 public final class Half extends java.lang.Number implements java.lang.Comparable {43298 ctor public Half(short);43299 ctor public Half(float);43300 ctor public Half(double);43301 ctor public Half(java.lang.String) throws java.lang.NumberFormatException;43305 method public int compareTo(android.util.Half);43339 method public static android.util.Half valueOf(short);43340 method public static android.util.Half valueOf(float);43341 method public static android.util.Half valueOf(java.lang.String);
43574 public final class Half extends java.lang.Number implements java.lang.Comparable {43575 ctor public Half(short);43576 ctor public Half(float);43577 ctor public Half(double);43578 ctor public Half(java.lang.String) throws java.lang.NumberFormatException;43582 method public int compareTo(android.util.Half);43616 method public static android.util.Half valueOf(short);43617 method public static android.util.Half valueOf(float);43618 method public static android.util.Half valueOf(java.lang.String);
46884 public final class Half extends java.lang.Number implements java.lang.Comparable {46885 ctor public Half(short);46886 ctor public Half(float);46887 ctor public Half(double);46888 ctor public Half(java.lang.String) throws java.lang.NumberFormatException;46892 method public int compareTo(android.util.Half);46926 method public static android.util.Half valueOf(short);46927 method public static android.util.Half valueOf(float);46928 method public static android.util.Half valueOf(java.lang.String);