Home
last modified time | relevance | path

Searched refs:Half (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/util/
DHalf.java95 public final class Half extends Number implements Comparable<Half> { class
179 public Half(@HalfFloat short value) { in Half() method in Half
191 public Half(float value) { in Half() method in Half
203 public Half(double value) { in Half() method in Half
224 public Half(@NonNull String value) throws NumberFormatException { in Half() method in Half
334 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 …]
/frameworks/base/graphics/java/android/graphics/
DColor.java28 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()
/frameworks/compile/mclinker/include/mcld/ADT/
DSizeTraits.h47 typedef llvm::ELF::Elf32_Half Half; typedef
65 typedef llvm::ELF::Elf64_Half Half; typedef
/frameworks/compile/slang/
Dslang_rs_export_type.cpp145 {clang::BuiltinType::Half, DataTypeFloat16,
/frameworks/base/api/
Dcurrent.txt43297 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);
Dtest-current.txt43574 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);
Dsystem-current.txt46884 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);