Searched refs:createComplex (Results 1 – 1 of 1) sorted by relevance
447 private static int createComplex(@IntRange(from = -0x800000, to = 0x7FFFFF) int mantissa, in createComplex() method in TypedValue474 return createComplex(value, TypedValue.COMPLEX_RADIX_23p0); in intToComplex()496 return createComplex((int) value, TypedValue.COMPLEX_RADIX_23p0); in floatToComplex()501 return createComplex(Math.round(value * (1 << 23)), TypedValue.COMPLEX_RADIX_0p23); in floatToComplex()505 return createComplex(Math.round(value * (1 << 15)), TypedValue.COMPLEX_RADIX_8p15); in floatToComplex()509 return createComplex(Math.round(value * (1 << 7)), TypedValue.COMPLEX_RADIX_16p7); in floatToComplex()512 return createComplex(Math.round(value), TypedValue.COMPLEX_RADIX_23p0); in floatToComplex()