Home
last modified time | relevance | path

Searched refs:useAlpha (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DColorDrawable.java159 final int useAlpha = baseAlpha * alpha >> 8; in setAlpha() local
160 final int useColor = (mColorState.mBaseColor << 8 >>> 8) | (useAlpha << 24); in setAlpha()
/frameworks/base/core/java/android/gesture/
DGestureOverlayView.java411 final int useAlpha = baseAlpha * alpha >> 8; in setPaintAlpha() local
412 mGesturePaint.setColor((mCurrentColor << 8 >>> 8) | (useAlpha << 24)); in setPaintAlpha()