Lines Matching refs:alpha
487 int alpha;
491 alpha = (int)(((drawingTime-mFadeStartTime)*255)/FADE_DURATION);
492 if (alpha > 255) {
493 alpha = 255;
495 Log.d(TAG, "drawChild alpha=" + alpha + " l=" + l + " t=" + t
497 if (alpha != 255 && mOld != null) {
498 mOldPaint.setAlpha(255-alpha);
502 alpha = 255;
504 int restoreTo = canvas.saveLayerAlpha(l, t, child.getWidth(), child.getHeight(), alpha,
508 if (alpha < 255) {