Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DHalf.java93 public final class Half extends Number implements Comparable<Half> { class
178 public Half(@HalfFloat short value) { in Half() method in Half
190 public Half(float value) { in Half() method in Half
202 public Half(double value) { in Half() method in Half
223 public Half(@NonNull String value) throws NumberFormatException { in Half() method in Half
333 return (o instanceof Half) && in equals()
334 (halfToIntBits(((Half) o).mValue) == halfToIntBits(mValue)); in equals()
382 public int compareTo(@NonNull Half h) { in compareTo()
990 public static @NonNull Half valueOf(@HalfFloat short h) { in valueOf()
991 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()
DBitmap.java34 import android.util.Half;
1897 float r = Half.toFloat((short) ((rgba >> 0) & 0xffff)); in getColor()
1898 float g = Half.toFloat((short) ((rgba >> 16) & 0xffff)); in getColor()
1899 float b = Half.toFloat((short) ((rgba >> 32) & 0xffff)); in getColor()
1900 float a = Half.toFloat((short) ((rgba >> 48) & 0xffff)); in getColor()
/frameworks/compile/mclinker/include/mcld/ADT/
DSizeTraits.h47 typedef llvm::ELF::Elf32_Half Half; typedef
65 typedef llvm::ELF::Elf64_Half Half; typedef
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBMessageTests+Merge.m113 // Half the values that will replace.
/frameworks/compile/slang/
Dslang_rs_export_type.cpp145 {clang::BuiltinType::Half, DataTypeFloat16,
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...