Home
last modified time | relevance | path

Searched refs:COMPLEX_RADIX_23p0 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DTypedValueTest.kt53 assertRoundTripEquals(0f, TypedValue.COMPLEX_RADIX_23p0) in <lambda>()
71 assertRoundTripEquals(65536.5f, TypedValue.COMPLEX_RADIX_23p0) // 2^16 + .5 in <lambda>()
72 assertRoundTripEquals(100000.5f, TypedValue.COMPLEX_RADIX_23p0) in <lambda>()
73 assertRoundTripEquals(1000000.5f, TypedValue.COMPLEX_RADIX_23p0) in <lambda>()
74 assertRoundTripEquals(8388607.2f, TypedValue.COMPLEX_RADIX_23p0) // 2^23 -.8 in <lambda>()
96 assertRoundTripEquals(-65537.5f, TypedValue.COMPLEX_RADIX_23p0) // -2^16 - 1.5 in <lambda>()
97 assertRoundTripEquals(-100000.5f, TypedValue.COMPLEX_RADIX_23p0) in <lambda>()
98 assertRoundTripEquals(-1000000.5f, TypedValue.COMPLEX_RADIX_23p0) in <lambda>()
99 assertRoundTripEquals(-8388607.5f, TypedValue.COMPLEX_RADIX_23p0) // 2^23 -.5 in <lambda>()
104 assertRoundTripEquals(i.toFloat(), TypedValue.COMPLEX_RADIX_23p0) in <lambda>()
/frameworks/base/core/java/android/util/
DTypedValue.java149 public static final int COMPLEX_RADIX_23p0 = 0; field in TypedValue
581 if (radix < TypedValue.COMPLEX_RADIX_23p0 || radix > TypedValue.COMPLEX_RADIX_0p23) { in createComplex()
603 return createComplex(value, TypedValue.COMPLEX_RADIX_23p0); in intToComplex()
625 return createComplex((int) value, TypedValue.COMPLEX_RADIX_23p0); in floatToComplex()
641 return createComplex(Math.round(value), TypedValue.COMPLEX_RADIX_23p0); in floatToComplex()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java850 radix = TypedValue.COMPLEX_RADIX_23p0; in computeTypedValue()
866 radix = TypedValue.COMPLEX_RADIX_23p0; in computeTypedValue()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h385 COMPLEX_RADIX_23p0 = 0, enumerator
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5601 radix = Res_value::COMPLEX_RADIX_23p0; in stringToFloat()
5617 radix = Res_value::COMPLEX_RADIX_23p0; in stringToFloat()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31917 field public static final int COMPLEX_RADIX_23p0 = 0; // 0x0
/frameworks/base/core/api/
Dcurrent.txt50407 field public static final int COMPLEX_RADIX_23p0 = 0; // 0x0