Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenIconDrawableFactory.java185 private final Paint mBackgroundPaint; field in SplashscreenIconDrawableFactory.MaskBackgroundDrawable
194 mBackgroundPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.DITHER_FLAG in MaskBackgroundDrawable()
196 mBackgroundPaint.setColor(backgroundColor); in MaskBackgroundDrawable()
197 mBackgroundPaint.setStyle(Paint.Style.FILL); in MaskBackgroundDrawable()
199 mBackgroundPaint = null; in MaskBackgroundDrawable()
220 if (mBackgroundPaint != null) { in draw()
221 canvas.drawPath(mMaskScaleOnly, mBackgroundPaint); in draw()
227 if (mBackgroundPaint != null) { in setAlpha()
228 mBackgroundPaint.setAlpha(alpha); in setAlpha()
DTaskSnapshotWindow.java75 private final Paint mBackgroundPaint = new Paint(); field in TaskSnapshotWindow
175 mBackgroundPaint.setColor(backgroundColor != 0 ? backgroundColor : WHITE); in TaskSnapshotWindow()
182 return mBackgroundPaint.getColor(); in getBackgroundColor()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrDecorateView.java45 private final Paint mBackgroundPaint; field in QrDecorateView
92 mBackgroundPaint = new Paint(); in QrDecorateView()
93 mBackgroundPaint.setColor(mBackgroundColor); in QrDecorateView()
124 canvas.drawBitmap(mMaskBitmap, 0, 0, mBackgroundPaint); in onDraw()
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayoutPreviewDrawable.java406 private final Paint mBackgroundPaint; field in KeyboardLayoutPreviewDrawable.ResourceProvider
455 mBackgroundPaint = createFillPaint(backgroundColor); in ResourceProvider()
478 return mBackgroundPaint; in getBackgroundPaint()