Home
last modified time | relevance | path

Searched refs:hScale (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatterySpaceSharingPercentTextDrawable.kt38 private var hScale = 1f in <lambda>() variable
74 textPaint.textSize = 6f * hScale in <lambda>()
79 textPaint.textSize = 9f * hScale in <lambda>()
91 hScale = bounds.right / Metrics.ViewportWidth in <lambda>()
106 val totalAvailableWidth = CanvasWidth * hScale in <lambda>()
112 ((if (rtl) ViewportInsetLeftRtl else ViewportInsetLeft) * hScale) + offsetX, in <lambda>()
DBatteryPercentTextOnlyDrawable.kt42 private var hScale = 1f in <lambda>() variable
65 hScale = bounds.right / Metrics.ViewportWidth in <lambda>()
83 val totalAvailableWidth = CanvasWidth * hScale in <lambda>()
91 (startOffset * hScale) + offsetX, in <lambda>()
DBatteryFillDrawable.kt40 private var hScale = 1f in <lambda>() variable in com.android.systemui.battery.unified.BatteryFillDrawable
99 hScale = bounds.right / Metrics.ViewportWidth in <lambda>()
133 scaledLeftOffset = leftInsetNotScaled * hScale in <lambda>()
134 scaledRightInset = rightInsetNotScaled * hScale in <lambda>()
138 clearPaint.strokeWidth = (1.5f + 2 * fillInsetAmount) * hScale in <lambda>()
DBatteryAttributionDrawable.kt51 val hScale = bounds.width().toFloat() / dr.intrinsicWidth.toFloat() in updateBoundsInner() constant
53 val scale = min(hScale, vScale) in updateBoundsInner()
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DBitmapUtils.java66 final float hScale = (float) srcH / dstH; in calculateCroppedSrcRect() local
67 if (hScale < wScale) { in calculateCroppedSrcRect()
68 regularScale = hScale / verticalMultiplier; in calculateCroppedSrcRect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DBigPictureIconManager.kt280 val hScale = in Size() constant
288 val scale = min(wScale, hScale) in Size()
/frameworks/base/packages/SystemUI/src/com/android/systemui/graphics/
DImageLoader.kt483 val hScale = in <lambda>() constant
492 val scale = min(wScale, hScale) in <lambda>()
/frameworks/base/core/java/android/widget/
DAnalogClock.java649 float hScale = 1.0f; in onMeasure() local
653 hScale = (float) widthSize / (float) mDialWidth; in onMeasure()
660 float scale = Math.min(hScale, vScale); in onMeasure()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp263 Rational hScale; member
528 measPtr->sc.hScale = scHScale(format->format, in main()
534 (measPtr->sc.hScale in main()
537 (double) measPtr->sc.hScale); in main()