Searched refs:floatToComplex (Results 1 – 2 of 2) sorted by relevance
36 val complex = TypedValue.floatToComplex(value) in testFloatToComplex()110 TypedValue.floatToComplex(8388607.5f) // 2^23 - .5 in testFloatToComplex_failsIfValueTooLarge()116 TypedValue.floatToComplex(8388608.5f) // -2^23 - .5 in testFloatToComplex_failsIfValueTooSmall()
488 public static int floatToComplex(@FloatRange(from = -0x800000, to = 0x7FFFFF) float value) { in floatToComplex() method in TypedValue558 return floatToComplex(value) | units; in createComplexDimension()