Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DTypedValueTest.kt61 assertRoundTripEquals(1.5f, TypedValue.COMPLEX_RADIX_8p15) in <lambda>()
62 assertRoundTripEquals(10.5f, TypedValue.COMPLEX_RADIX_8p15) in <lambda>()
63 assertRoundTripEquals(100.5f, TypedValue.COMPLEX_RADIX_8p15) in <lambda>()
64 assertRoundTripEquals(255.5f, TypedValue.COMPLEX_RADIX_8p15) // 2^8 - .5 in <lambda>()
82 assertRoundTripEquals(-1.5f, TypedValue.COMPLEX_RADIX_8p15) in <lambda>()
83 assertRoundTripEquals(-10.5f, TypedValue.COMPLEX_RADIX_8p15) in <lambda>()
84 assertRoundTripEquals(-100.5f, TypedValue.COMPLEX_RADIX_8p15) in <lambda>()
85 assertRoundTripEquals(-255.5f, TypedValue.COMPLEX_RADIX_8p15) // -2^8 + .5 in <lambda>()
/frameworks/base/core/java/android/util/
DTypedValue.java153 public static final int COMPLEX_RADIX_8p15 = 2; field in TypedValue
634 return createComplex(Math.round(value * (1 << 15)), TypedValue.COMPLEX_RADIX_8p15); in floatToComplex()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java858 radix = TypedValue.COMPLEX_RADIX_8p15; in computeTypedValue()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h388 COMPLEX_RADIX_8p15 = 2, enumerator
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5492 radix = Res_value::COMPLEX_RADIX_8p15; in stringToFloat()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31918 field public static final int COMPLEX_RADIX_8p15 = 2; // 0x2
/frameworks/base/core/api/
Dcurrent.txt49935 field public static final int COMPLEX_RADIX_8p15 = 2; // 0x2