/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 60 private static final int MAX_LEVEL = 10000; field in ClipDrawable 169 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()
|
D | ScaleDrawable.java | 67 private static final int MAX_LEVEL = 10000; field in ScaleDrawable 208 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()
|
D | RotateDrawable.java | 56 private static final int MAX_LEVEL = 10000; field in RotateDrawable 315 final float value = level / (float) MAX_LEVEL; in onLevelChange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ToggleRangeBehavior.kt | 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>()
|
D | ToggleBehavior.kt | 27 import com.android.systemui.controls.ui.ControlViewHolder.Companion.MAX_LEVEL 59 clipLayer.level = MAX_LEVEL in bind()
|
D | TouchBehavior.kt | 27 import com.android.systemui.controls.ui.ControlViewHolder.Companion.MAX_LEVEL 77 clipLayer.setLevel(if (enabled) MAX_LEVEL else MIN_LEVEL) in bind()
|
D | TemperatureControlBehavior.kt | 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>()
|
D | ThumbnailBehavior.kt | 30 import com.android.systemui.controls.ui.ControlViewHolder.Companion.MAX_LEVEL 79 clipLayer.setLevel(if (enabled) MAX_LEVEL else MIN_LEVEL) in bind()
|
D | ControlViewHolder.kt | 88 const val MAX_LEVEL = 10000 constant
|
/frameworks/base/location/java/com/android/internal/location/altitude/ |
D | S2CellIdUtils.java | 32 public static final int MAX_LEVEL = 30; field in S2CellIdUtils 34 private static final int MAX_SIZE = 1 << MAX_LEVEL; 37 private static final int POS_BITS = 2 * MAX_LEVEL + 1; 181 return MAX_LEVEL; in getLevel() 183 return MAX_LEVEL - (Long.numberOfTrailingZeros(s2CellId) >> 1); in getLevel() 193 return 1L << (2 * (MAX_LEVEL - level)); in getLowestOnBitForLevel() 347 int nbits = (k == 7) ? (MAX_LEVEL - 7 * LOOKUP_BITS) : LOOKUP_BITS; in toIjo() 380 return 1 << (MAX_LEVEL - level); in levelToSizeIj()
|
D | GeoidMap.java | 197 int numBitsRightOfMap = 2 * (S2CellIdUtils.MAX_LEVEL - params.mapS2Level) + 1; in mergeByteBufferValues() 251 return (iOrJ >> (S2CellIdUtils.MAX_LEVEL - params.mapS2Level)) % widthOrHeight; in getIndexXOrY()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | RoundedCornerProgressDrawable.kt | 42 private const val MAX_LEVEL = 10000 // Taken from Drawable constant 58 val width = bounds.height() + (bounds.width() - bounds.height()) * level / MAX_LEVEL in onLevelChange()
|
D | BrightnessProgressDrawable.kt | 45 private const val MAX_LEVEL = 10000 // Taken from Drawable constant 63 val width = bounds.width() * level / MAX_LEVEL + thumbOffset in onLevelChange()
|
/frameworks/base/location/java/android/location/altitude/ |
D | AltitudeConverter.java | 94 int sizeIj = 1 << (S2CellIdUtils.MAX_LEVEL - geoidHeightParams.mapS2Level); in findMapSquare() 95 int maxIj = 1 << S2CellIdUtils.MAX_LEVEL; in findMapSquare() 177 double sizeIj = 1 << (S2CellIdUtils.MAX_LEVEL - geoidHeightParams.mapS2Level); in addMslAltitude()
|
/frameworks/base/core/java/android/widget/ |
D | ProgressBar.java | 178 private static final int MAX_LEVEL = 10000; field in ProgressBar 1676 final int level = (int) (progress * MAX_LEVEL); in setVisualProgress() 2178 d.setLevel((int) (scale * MAX_LEVEL)); in drawTrack()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 16827 Landroid/graphics/drawable/ClipDrawable;->MAX_LEVEL:I 17361 Landroid/graphics/drawable/RotateDrawable;->MAX_LEVEL:I 17376 Landroid/graphics/drawable/ScaleDrawable;->MAX_LEVEL:I 68025 Landroid/widget/ProgressBar;->MAX_LEVEL:I
|