Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DTypedValueTest.kt36 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()
/frameworks/base/core/java/android/util/
DTypedValue.java488 public static int floatToComplex(@FloatRange(from = -0x800000, to = 0x7FFFFF) float value) { in floatToComplex() method in TypedValue
558 return floatToComplex(value) | units; in createComplexDimension()