Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DColorDrawable.java176 final int baseAlpha = mColorState.mBaseColor >>> 24; in setAlpha() local
177 final int useAlpha = baseAlpha * alpha >> 8; in setAlpha()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintContentView.java209 final int baseAlpha = (mScrimColor & ALPHA_MASK) >>> ALPHA_SHIFT; in computeScrimColor() local
210 final int adjustedAlpha = (int) (baseAlpha * (1 - mDragProgress)); in computeScrimColor()
/frameworks/base/core/java/android/content/res/
DColorStateList.java512 final int baseAlpha = Color.alpha(baseColor); in modulateColorAlpha() local
513 final int alpha = MathUtils.constrain((int) (baseAlpha * alphaMod + 0.5f), 0, 255); in modulateColorAlpha()
/frameworks/base/core/java/android/gesture/
DGestureOverlayView.java410 final int baseAlpha = mCurrentColor >>> 24; in setPaintAlpha() local
411 final int useAlpha = baseAlpha * alpha >> 8; in setPaintAlpha()