Searched refs:MAX_LEVEL (Results 1 – 4 of 4) sorted by relevance
55 private static final int MAX_LEVEL = 10000; field in ClipDrawable161 if (level >= MAX_LEVEL) { in getOpacity()183 w -= (w - iw) * (MAX_LEVEL - level) / MAX_LEVEL; in draw()189 h -= (h - ih) * (MAX_LEVEL - level) / MAX_LEVEL; in draw()
53 private static final int MAX_LEVEL = 10000; field in ScaleDrawable186 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity()211 w -= (int) ((w - iw) * (MAX_LEVEL - level) * mState.mScaleWidth / MAX_LEVEL); in onBoundsChange()217 h -= (int) ((h - ih) * (MAX_LEVEL - level) * mState.mScaleHeight / MAX_LEVEL); in onBoundsChange()
53 private static final int MAX_LEVEL = 10000; field in RotateDrawable309 final float value = level / (float) MAX_LEVEL; in onLevelChange()
200 private static final int MAX_LEVEL = 10000; field in ProgressBar1296 final int level = (int) (scale * MAX_LEVEL); in doRefreshProgress()1702 d.setLevel((int) (scale * MAX_LEVEL)); in drawTrack()