Searched refs:Half (Results 1 – 12 of 12) sorted by relevance
95 public final class Half extends Number implements Comparable<Half> { class161 public Half(@HalfFloat short value) { in Half() method in Half173 public Half(float value) { in Half() method in Half185 public Half(double value) { in Half() method in Half206 public Half(@NonNull String value) throws NumberFormatException { in Half() method in Half316 return (o instanceof Half) && in equals()317 (halfToIntBits(((Half) o).mValue) == halfToIntBits(mValue)); in equals()365 public int compareTo(@NonNull Half h) { in compareTo()816 public static @NonNull Half valueOf(@HalfFloat short h) { in valueOf()817 return new Half(h); in valueOf()[all …]
28 import android.util.Half;723 return Half.toFloat((short) ((color >> 48) & 0xffff)); in red()743 return Half.toFloat((short) ((color >> 32) & 0xffff)); in green()763 return Half.toFloat((short) ((color >> 16) & 0xffff)); in blue()1060 @HalfFloat short r = Half.toHalf(red); in pack()1061 @HalfFloat short g = Half.toHalf(green); in pack()1062 @HalfFloat short b = Half.toHalf(blue); in pack()
35 import android.util.Half;2063 float r = Half.toFloat((short) ((rgba >> 0) & 0xffff)); in getColor()2064 float g = Half.toFloat((short) ((rgba >> 16) & 0xffff)); in getColor()2065 float b = Half.toFloat((short) ((rgba >> 32) & 0xffff)); in getColor()2066 float a = Half.toFloat((short) ((rgba >> 48) & 0xffff)); in getColor()
38 typedef ElfW(Half) ElfHalf;
47 typedef llvm::ELF::Elf32_Half Half; typedef65 typedef llvm::ELF::Elf64_Half Half; typedef
145 {clang::BuiltinType::Half, DataTypeFloat16,
57716 Landroid/util/Half;->FP16_COMBINED:I57717 Landroid/util/Half;->FP16_EXPONENT_BIAS:I57718 Landroid/util/Half;->FP16_EXPONENT_MASK:I57719 Landroid/util/Half;->FP16_EXPONENT_MAX:I57720 Landroid/util/Half;->FP16_EXPONENT_SHIFT:I57721 Landroid/util/Half;->FP16_SIGNIFICAND_MASK:I57722 Landroid/util/Half;->FP16_SIGN_MASK:I57723 Landroid/util/Half;->FP16_SIGN_SHIFT:I57724 Landroid/util/Half;->FP32_DENORMAL_FLOAT:F57725 Landroid/util/Half;->FP32_DENORMAL_MAGIC:I[all …]
49434 …public final class Half extends java.lang.Number implements java.lang.Comparable<android.util.Half…49435 ctor public Half(@HalfFloat short);49436 ctor public Half(float);49437 ctor public Half(double);49438 ctor public Half(@NonNull String) throws java.lang.NumberFormatException;49442 method public int compareTo(@NonNull android.util.Half);49476 method @NonNull public static android.util.Half valueOf(@HalfFloat short);49477 method @NonNull public static android.util.Half valueOf(float);49478 method @NonNull public static android.util.Half valueOf(@NonNull String);
8199 android.util.Half
30997 Landroid/util/Half;
8230 android.util.Half
41131 Landroid/util/Half;