Searched refs:restoreAlpha (Results 1 – 3 of 3) sorted by relevance
207 final int restoreAlpha; in draw() local209 restoreAlpha = getPaint().getAlpha(); in draw()210 mPaint.setAlpha((int) (restoreAlpha * state.mBaseAlpha + 0.5f)); in draw()212 restoreAlpha = -1; in draw()258 if (restoreAlpha >= 0) { in draw()259 mPaint.setAlpha(restoreAlpha); in draw()
517 final int restoreAlpha; in draw() local520 restoreAlpha = p.getAlpha(); in draw()521 p.setAlpha((int) (restoreAlpha * state.mBaseAlpha + 0.5f)); in draw()523 restoreAlpha = -1; in draw()571 if (restoreAlpha >= 0) { in draw()572 paint.setAlpha(restoreAlpha); in draw()
468 boolean restoreAlpha = (restoreFlags & SAVE_FLAG_ALPHA) == SAVE_FLAG_ALPHA; in restore()469 if (restoreAlpha) { in restore()