Home
last modified time | relevance | path

Searched refs:bgColor (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveIcon.java66 int bgColor = metaData.getInt(META_DATA_PREFERENCE_ICON_BACKGROUND_ARGB, in setBackgroundColor() local
69 if (bgColor == 0) { in setBackgroundColor()
73 bgColor = context.getPackageManager() in setBackgroundColor()
79 if (bgColor != 0) { in setBackgroundColor()
80 setBackgroundColor(bgColor); in setBackgroundColor()
/frameworks/base/core/java/android/text/
DTextPaint.java32 public int bgColor; field in TextPaint
68 bgColor = tp.bgColor; in set()
DTextLine.java877 if (needWidth || (c != null && (wp.bgColor != 0 || numDecorations != 0 || runIsRtl))) {
891 if (wp.bgColor != 0) {
895 wp.setColor(wp.bgColor);
1331 && lp.bgColor == rp.bgColor
DLayout.java260 paint.bgColor = 0; in Layout()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardDesignLayout.java53 int bgColor = partnerConfigHelper.getColor( in CarSetupWizardDesignLayout() local
56 if (bgColor != 0) { in CarSetupWizardDesignLayout()
57 setBackgroundColor(bgColor); in CarSetupWizardDesignLayout()
/frameworks/base/core/java/android/text/style/
DSuggestionRangeSpan.java77 tp.bgColor = mBackgroundColor; in updateDrawState()
DBackgroundColorSpan.java101 textPaint.bgColor = mColor; in updateDrawState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java179 int bgColor = mContext.getColor( in onAttachedToWindow() local
198 mColorAnim = ValueAnimator.ofObject(new ArgbEvaluator(), 0, bgColor); in onAttachedToWindow()
209 mColor.setColor(bgColor); in onAttachedToWindow()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt340 fun setColors(fgColor: Int, bgColor: Int, singleToneColor: Int) { in <lambda>()
346 backgroundColor = bgColor in <lambda>()
347 dualToneBackgroundFill.color = bgColor in <lambda>()
/frameworks/base/core/jni/android/graphics/
DGIFMovie.cpp393 SkColor bgColor = SkPackARGB32(0, 0, 0, 0); in onGetBitmap() local
396 bgColor = SkColorSetARGB(0xFF, col.Red, col.Green, col.Blue); in onGetBitmap()
407 fPaintingColor = bgColor; in onGetBitmap()
/frameworks/ex/framesequence/jni/
DFrameSequence_gif.cpp262 Color8888 bgColor = mFrameSequence.getBackgroundColor(); in drawFrame() local
265 outputPtr[y * outputPixelStride + x] = bgColor; in drawFrame()
/frameworks/base/core/java/android/view/
DSurfaceView.java1007 public void setResizeBackgroundColor(int bgColor) { in setResizeBackgroundColor() argument
1012 final float[] colorComponents = new float[] { Color.red(bgColor) / 255.f, in setResizeBackgroundColor()
1013 Color.green(bgColor) / 255.f, Color.blue(bgColor) / 255.f }; in setResizeBackgroundColor()
DViewStructure.java201 public abstract void setTextStyle(float size, int fgColor, int bgColor, int style); in setTextStyle() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleExpandedView.java213 int bgColor = ta.getColor( in applyThemeAttrs() local
220 mPointerDrawable.setTint(bgColor); in applyThemeAttrs()
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java770 public void setTextStyle(float size, int fgColor, int bgColor, int style) { in setTextStyle() argument
773 t.mTextBackgroundColor = bgColor; in setTextStyle()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1895 int bgColor = mEST.getBackgroundColor(); in getPreviewHtml() local
1898 Color.red(bgColor), Color.green(bgColor), Color.blue(bgColor), in getPreviewHtml()
2597 tp.bgColor = mMarqueeColor; in updateDrawState()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java1830 public void setTextStyle(float size, int fgColor, int bgColor, int style) { in setTextStyle() argument
1833 t.mTextBackgroundColor = bgColor; in setTextStyle()
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java650 ds.bgColor = mColor; in updateDrawState()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29940 field public int bgColor;
/frameworks/base/api/
Dcurrent.txt46217 field @ColorInt public int bgColor;