Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java39 private int mScrimColor; field in ScrimView
110 int color = mScrimColor; in getScrimColorWithAlpha()
124 if (color != mScrimColor) { in setScrimColor()
126 mScrimColor = color; in setScrimColor()
135 return mScrimColor; in getScrimColor()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java75 private int mScrimColor; field in StyledCornersBitmapDrawable
104 mScrimColor = Color.TRANSPARENT; in StyledCornersBitmapDrawable()
171 return mScrimColor; in getScrimColor()
180 boolean changed = mScrimColor != color; in setScrimColor()
181 mScrimColor = color; in setScrimColor()
246 canvas.drawColor(mScrimColor); in draw()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintContentView.java48 private final int mScrimColor; field in PrintContentView
90 mScrimColor = context.getColor(R.color.print_preview_scrim_color); in PrintContentView()
208 final int baseAlpha = (mScrimColor & ALPHA_MASK) >>> ALPHA_SHIFT; in computeScrimColor()
210 return adjustedAlpha << ALPHA_SHIFT | (mScrimColor & COLOR_MASK); in computeScrimColor()
/frameworks/support/core-ui/java/android/support/v4/widget/
DDrawerLayout.java193 private int mScrimColor = DEFAULT_SCRIM_COLOR; field in DrawerLayout
518 mScrimColor = color; in setScrimColor()
1387 final int baseAlpha = (mScrimColor & 0xff000000) >>> 24; in drawChild()
1389 final int color = imag << 24 | (mScrimColor & 0xffffff); in drawChild()