Searched refs:intToComplex (Results 1 – 2 of 2) sorted by relevance
124 assertEquals(value.toFloat(), TypedValue.complexToFloat(TypedValue.intToComplex(value))) in testIntToComplex()131 TypedValue.intToComplex(0x800000) in testIntToComplex_failsIfValueTooLarge()137 TypedValue.intToComplex(-0x800001) in testIntToComplex_failsIfValueTooSmall()
470 public static int intToComplex(int value) { in intToComplex() method in TypedValue537 return intToComplex(value) | units; in createComplexDimension()