Home
last modified time | relevance | path

Searched refs:restoreAlpha (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DViewGroupFadeHelper.kt125 val restoreAlpha = viewToFade.getTag( in <lambda>() constant
127 if (restoreAlpha == null) { in <lambda>()
132 viewToFade.alpha = restoreAlpha in <lambda>()
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java207 final int restoreAlpha; in draw() local
209 restoreAlpha = getPaint().getAlpha(); in draw()
210 mPaint.setAlpha((int) (restoreAlpha * state.mBaseAlpha + 0.5f)); in draw()
212 restoreAlpha = -1; in draw()
259 if (restoreAlpha >= 0) { in draw()
260 mPaint.setAlpha(restoreAlpha); in draw()
DBitmapDrawable.java521 final int restoreAlpha; in draw() local
524 restoreAlpha = p.getAlpha(); in draw()
525 p.setAlpha((int) (restoreAlpha * state.mBaseAlpha + 0.5f)); in draw()
527 restoreAlpha = -1; in draw()
563 if (restoreAlpha >= 0) { in draw()
564 paint.setAlpha(restoreAlpha); in draw()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java468 boolean restoreAlpha = (restoreFlags & SAVE_FLAG_ALPHA) == SAVE_FLAG_ALPHA; in restore()
469 if (restoreAlpha) { in restore()