Searched refs:MAX_LEVEL (Results 1 – 12 of 12) sorted by relevance
60 private static final int MAX_LEVEL = 10000; field in ClipDrawable169 if (level >= MAX_LEVEL) { in getOpacity()191 w -= (w - iw) * (MAX_LEVEL - level) / MAX_LEVEL; in draw()197 h -= (h - ih) * (MAX_LEVEL - level) / MAX_LEVEL; in draw()
67 private static final int MAX_LEVEL = 10000; field in ScaleDrawable208 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity()233 w -= (int) ((w - iw) * (MAX_LEVEL - level) * mState.mScaleWidth / MAX_LEVEL); in onBoundsChange()239 h -= (int) ((h - ih) * (MAX_LEVEL - level) * mState.mScaleHeight / MAX_LEVEL); in onBoundsChange()
56 private static final int MAX_LEVEL = 10000; field in RotateDrawable315 final float value = level / (float) MAX_LEVEL; in onLevelChange()
42 import com.android.systemui.controls.ui.ControlViewHolder.Companion.MAX_LEVEL in <lambda>()157 val max = levelToRangeValue(MAX_LEVEL) in <lambda>()225 val newLevel = Math.max(MIN_LEVEL, Math.min(MAX_LEVEL, level)) in <lambda>()236 val isEdge = newLevel == MIN_LEVEL || newLevel == MAX_LEVEL in <lambda>()286 MIN_LEVEL.toFloat(), MAX_LEVEL.toFloat(), i.toFloat()) in <lambda>()290 return MathUtils.constrainedMap(MIN_LEVEL.toFloat(), MAX_LEVEL.toFloat(), in <lambda>()350 val changeAmount = ((MAX_LEVEL - MIN_LEVEL) * ratioDiff).toInt() in <lambda>()
27 import com.android.systemui.controls.ui.ControlViewHolder.Companion.MAX_LEVEL59 clipLayer.level = MAX_LEVEL in bind()
27 import com.android.systemui.controls.ui.ControlViewHolder.Companion.MAX_LEVEL in <lambda>()55 clipLayer.setLevel(if (enabled) MAX_LEVEL else MIN_LEVEL) in <lambda>()
27 import com.android.systemui.controls.ui.ControlViewHolder.Companion.MAX_LEVEL77 clipLayer.setLevel(if (enabled) MAX_LEVEL else MIN_LEVEL) in bind()
29 import com.android.systemui.controls.ui.ControlViewHolder.Companion.MAX_LEVEL75 clipLayer.setLevel(if (enabled) MAX_LEVEL else MIN_LEVEL) in bind()
87 const val MAX_LEVEL = 10000 constant
42 private const val MAX_LEVEL = 10000 // Taken from Drawable constant58 val width = bounds.height() + (bounds.width() - bounds.height()) * level / MAX_LEVEL in onLevelChange()
169 private static final int MAX_LEVEL = 10000; field in ProgressBar1663 final int level = (int) (progress * MAX_LEVEL); in setVisualProgress()2165 d.setLevel((int) (scale * MAX_LEVEL)); in drawTrack()
19705 Landroid/graphics/drawable/ClipDrawable;->MAX_LEVEL:I20239 Landroid/graphics/drawable/RotateDrawable;->MAX_LEVEL:I20254 Landroid/graphics/drawable/ScaleDrawable;->MAX_LEVEL:I71991 Landroid/widget/ProgressBar;->MAX_LEVEL:I