Home
last modified time | relevance | path

Searched refs:intToComplex (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DTypedValueTest.kt124 assertEquals(value.toFloat(), TypedValue.complexToFloat(TypedValue.intToComplex(value))) in testIntToComplex()
131 TypedValue.intToComplex(0x800000) in testIntToComplex_failsIfValueTooLarge()
137 TypedValue.intToComplex(-0x800001) in testIntToComplex_failsIfValueTooSmall()
/frameworks/base/core/java/android/util/
DTypedValue.java470 public static int intToComplex(int value) { in intToComplex() method in TypedValue
537 return intToComplex(value) | units; in createComplexDimension()