Searched refs:MAX_LEVEL (Results 1 – 4 of 4) sorted by relevance
57 private static final int MAX_LEVEL = 10000; field in ClipDrawable165 if (level >= MAX_LEVEL) { in getOpacity()187 w -= (w - iw) * (MAX_LEVEL - level) / MAX_LEVEL; in draw()193 h -= (h - ih) * (MAX_LEVEL - level) / MAX_LEVEL; in draw()
65 private static final int MAX_LEVEL = 10000; field in ScaleDrawable205 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity()230 w -= (int) ((w - iw) * (MAX_LEVEL - level) * mState.mScaleWidth / MAX_LEVEL); in onBoundsChange()236 h -= (int) ((h - ih) * (MAX_LEVEL - level) * mState.mScaleHeight / MAX_LEVEL); in onBoundsChange()
55 private static final int MAX_LEVEL = 10000; field in RotateDrawable313 final float value = level / (float) MAX_LEVEL; in onLevelChange()
201 private static final int MAX_LEVEL = 10000; field in ProgressBar1360 final int level = (int) (progress * MAX_LEVEL); in setVisualProgress()1779 d.setLevel((int) (scale * MAX_LEVEL)); in drawTrack()