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

/frameworks/support/paging/integration-tests/testapp/src/main/java/androidx/paging/integration/testapp/
H A DItem.java29 public final int bgColor; field in class:Item
31 Item(int id, String text, int bgColor) { argument
34 this.bgColor = bgColor;
44 && this.bgColor == item.bgColor
H A DItemDataSource.java47 int bgColor = COLORS[mGenerationId % COLORS.length];
55 items.add(new Item(i, "item " + i, bgColor));
H A DPagedListItemAdapter.java48 holder.itemView.setBackgroundColor(item.bgColor);
/frameworks/base/core/java/android/text/
H A DTextPaint.java31 public int bgColor; field in class:TextPaint
68 bgColor = tp.bgColor;
85 return bgColor == other.bgColor
H A DTextLine.java893 if (needWidth || (c != null && (wp.bgColor != 0 || numDecorations != 0 || runIsRtl))) {
907 if (wp.bgColor != 0) {
911 wp.setColor(wp.bgColor);
H A DLayout.java255 // baselineShift and bgColor. We probably should reevaluate bgColor.
257 paint.bgColor = 0;
/frameworks/base/core/java/android/text/style/
H A DBackgroundColorSpan.java101 textPaint.bgColor = mColor;
H A DSuggestionRangeSpan.java73 tp.bgColor = mBackgroundColor;
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/drawable/
H A DIconCompatTest.java78 public static void verifyBadgeBitmap(Intent intent, int bgColor, int badgeColor) { argument
83 assertEquals(bgColor, bitmap.getPixel(2, 2));
84 assertEquals(bgColor, bitmap.getPixel(w - 2, 2));
85 assertEquals(bgColor, bitmap.getPixel(2, h - 2));
/frameworks/base/core/jni/android/graphics/
H A DGIFMovie.cpp393 SkColor bgColor = SkPackARGB32(0, 0, 0, 0); local
396 bgColor = SkColorSetARGB(0xFF, col.Red, col.Green, col.Blue);
407 fPaintingColor = bgColor;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DScreenPinningRequest.java166 int bgColor = mContext.getColor(
185 mColorAnim = ValueAnimator.ofObject(new ArgbEvaluator(), 0, bgColor);
196 mColor.setColor(bgColor);
/frameworks/base/core/java/android/view/
H A DViewStructure.java194 * @param bgColor The background color, packed as 0xAARRGGBB.
197 public abstract void setTextStyle(float size, int fgColor, int bgColor, int style); argument
H A DSurfaceView.java924 * @param bgColor An opaque color to fill the background. Alpha component will be ignored.
927 public void setResizeBackgroundColor(int bgColor) { argument
928 mSurfaceControl.setBackgroundColor(bgColor);
1226 private void setBackgroundColor(int bgColor) { argument
1227 final float[] colorComponents = new float[] { Color.red(bgColor) / 255.f,
1228 Color.green(bgColor) / 255.f, Color.blue(bgColor) / 255.f };
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DDetailsOverviewRowPresenter.java507 final int bgColor = mBackgroundColorSet ? mBackgroundColor :
513 vh.mOverviewFrame.setBackgroundColor(bgColor);
518 vh.mRightPanel.setBackgroundColor(bgColor);
519 vh.mImageView.setBackgroundColor(bgColor);
/frameworks/ex/framesequence/jni/
H A DFrameSequence_gif.cpp262 Color8888 bgColor = mFrameSequence.getBackgroundColor(); local
265 outputPtr[y * outputPixelStride + x] = bgColor;
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java1895 int bgColor = mEST.getBackgroundColor();
1898 Color.red(bgColor), Color.green(bgColor), Color.blue(bgColor),
2597 tp.bgColor = mMarqueeColor;
/frameworks/support/media/src/main/java/androidx/media/subtitle/
H A DCea608CCParser.java427 ds.bgColor = mColor;
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java1722 public void setTextStyle(float size, int fgColor, int bgColor, int style) { argument
1725 t.mTextBackgroundColor = bgColor;
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
H A DClosedCaptionRenderer.java643 ds.bgColor = mColor;
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java650 ds.bgColor = mColor;

Completed in 381 milliseconds