Searched refs:toFloat (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/core/java/android/util/ |
D | Half.java | 229 return (byte) toFloat(mValue); in byteValue() 241 return (short) toFloat(mValue); in shortValue() 253 return (int) toFloat(mValue); in intValue() 265 return (long) toFloat(mValue); in longValue() 277 return toFloat(mValue); in floatValue() 289 return toFloat(mValue); in doubleValue() 778 public static float toFloat(@HalfFloat short h) { in toFloat() method in Half 779 return FP16.toFloat(h); in toFloat() 871 return Float.toString(toFloat(h)); in toString()
|
D | Rational.java | 283 public float toFloat() { in toFloat() method in Rational
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | Painting.kt | 33 return Math.hypot(x.toDouble(), y.toDouble()).toFloat() in hypot() 178 return Math.pow(a.toDouble(), b.toDouble()).toFloat() in powf() 188 val newR = Math.max(1f, powf(adjustPressure(s.pressure), 2f).toFloat() * _brushWidth) in plot() 219 if (touchData.has("min")) devicePressureMin = touchData.getDouble("min").toFloat() in loadDevicePressureData() 220 if (touchData.has("max")) devicePressureMax = touchData.getDouble("max").toFloat() in loadDevicePressureData() 329 matrix.postTranslate(0f, bits.height.toFloat()) in setupBitmaps() 333 matrix.postTranslate(bits.width.toFloat(), 0f) in setupBitmaps() 337 bits.width.toFloat() / oldBits.height, in setupBitmaps() 338 bits.height.toFloat() / oldBits.width) in setupBitmaps()
|
D | BrushPropertyDrawable.kt | 67 val w = bounds.width().toFloat() in draw() 68 val h = bounds.height().toFloat() in draw()
|
D | Palette.kt | 39 val hsv = floatArrayOf((Math.random() * 360f).toFloat(), S, V) in randomize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | PulseExpansionHandler.kt | 120 mTouchSlop = ViewConfiguration.get(context).scaledTouchSlop.toFloat() in <lambda>() 241 expansionHeight = max(newHeight.toFloat(), expansionHeight) in <lambda>() 316 totalX += mTemp2[0].toFloat() in <lambda>() 317 totalY += mTemp2[1].toFloat() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/util/ |
D | BurnInHelper.kt | 34 amplitude.toFloat(), in getBurnInOffset()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | ThemedBatteryDrawable.kt | 191 levelRect.top = Math.floor(fillTop.toDouble()).toFloat() in <lambda>() 218 bounds.right.toFloat(), in <lambda>() 219 bounds.bottom.toFloat()) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImpl.kt | 30 private var fontScale: Float = 0.toFloat()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 724 return Half.toFloat((short) ((color >> 48) & 0xffff)); in red() 744 return Half.toFloat((short) ((color >> 32) & 0xffff)); in green() 764 return Half.toFloat((short) ((color >> 16) & 0xffff)); in blue()
|
D | Bitmap.java | 1897 float r = Half.toFloat((short) ((rgba >> 0) & 0xffff)); in getColor() 1898 float g = Half.toFloat((short) ((rgba >> 16) & 0xffff)); in getColor() 1899 float b = Half.toFloat((short) ((rgba >> 32) & 0xffff)); in getColor() 1900 float a = Half.toFloat((short) ((rgba >> 48) & 0xffff)); in getColor()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/ |
D | Quare.kt | 39 var f = (data[i] ushr 24).toFloat() / s in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationWakeUpCoordinator.kt | 305 duration = (duration.toFloat() / 1.5F).toLong(); in startVisibilityAnimation()
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 49244 method public static float toFloat(@HalfFloat short);
|
/frameworks/base/api/ |
D | current.txt | 49388 method public static float toFloat(@HalfFloat short);
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 72270 Landroid/util/Rational;->toFloat()F
|