/developers/samples/android/ui/text/TextStyling-Java/app/src/main/java/com/android/example/text/styling/renderer/spans/ |
CodeBlockSpan.java | 31 private final @ColorInt int backgroundColor; 33 public CodeBlockSpan(@NonNull final Typeface font, final @ColorInt int backgroundColor) { 35 this.backgroundColor = backgroundColor; 43 textPaint.bgColor = backgroundColor;
|
/frameworks/support/viewpager/src/androidTest/java/android/support/v4/testutils/ |
TestUtilsMatchers.java | 40 public static Matcher backgroundColor(@ColorInt final int backgroundColor) { 65 40, 40, backgroundColor, true);
|
/cts/tests/tests/assist/testapp/src/android/assist/testapp/ |
ScreenshotActivity.java | 40 int backgroundColor = getIntent().getIntExtra(Utils.SCREENSHOT_COLOR_KEY, Color.WHITE); 42 view.setBackgroundColor(backgroundColor);
|
/external/ImageMagick/Magick++/lib/ |
Montage.cpp | 40 void Magick::Montage::backgroundColor(const Magick::Color &backgroundColor_) 45 Magick::Color Magick::Montage::backgroundColor(void) const
|
Options.cpp | 86 void Magick::Options::backgroundColor(const Color &color_) 91 Magick::Color Magick::Options::backgroundColor(void) const
|
/external/proguard/src/proguard/gui/splash/ |
BufferedSprite.java | 36 private final Color backgroundColor; 79 * @param backgroundColor the background color that is used for the buffer. 89 Color backgroundColor, 97 this.backgroundColor = backgroundColor; 113 if (backgroundColor != null) 122 bufferGraphics.setColor(backgroundColor);
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
VectorDrawablePerfTest.java | 80 int backgroundColor = bmp.getPixel(w / 4, h / 2); 83 assertTrue("The background should be white", backgroundColor == Color.WHITE);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactListPinnedHeaderView.java | 42 int backgroundColor = a.getColor( 53 setBackgroundColor(backgroundColor);
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
ContactListPinnedHeaderView.java | 40 int backgroundColor = 50 setBackgroundColor(backgroundColor);
|
ViewPagerTabStrip.java | 46 int backgroundColor = res.getColor(R.color.contactscommon_actionbar_background_color); 51 setBackgroundColor(backgroundColor);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
ViewPagerTabStrip.java | 49 int backgroundColor = res.getColor(R.color.action_bar_background_color); 54 setBackgroundColor(backgroundColor);
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
MediaRouterThemeHelper.java | 131 int backgroundColor = getThemeColor(context, 0, android.R.attr.colorBackground); 133 if (ColorUtils.calculateContrast(primaryColor, backgroundColor) < MIN_CONTRAST) { 164 int backgroundColor = (int) backgroundView.getTag(); 165 controllerColor = ColorUtils.compositeColors(controllerColor, backgroundColor);
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
MediaRouterThemeHelper.java | 128 int backgroundColor = getThemeColor(context, 0, android.R.attr.colorBackground); 130 if (ColorUtils.calculateContrast(primaryColor, backgroundColor) < MIN_CONTRAST) { 163 int backgroundColor = (int) backgroundView.getTag(); 164 controllerColor = ColorUtils.compositeColors(controllerColor, backgroundColor);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
IconFactory.java | 375 Color backgroundColor = new Color(display, backgroundRgb); 376 gc.setBackground(backgroundColor); 436 backgroundColor.dispose();
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
RecentsTaskLoadPlan.java | 137 int backgroundColor = loader.getActivityBackgroundColor(t.taskDescription); 149 thumbnail, title, titleDescription, activityColor, backgroundColor,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
MediaNotificationProcessor.java | 108 int backgroundColor = 0; 130 backgroundColor = findBackgroundColorAndFilter(palette); 145 int foregroundColor = selectForegroundColor(backgroundColor, palette); 146 builder.setColorPalette(backgroundColor, foregroundColor); 148 backgroundColor = mContext.getColor(R.color.notification_material_background_color); 150 Bitmap colorized = mColorizer.colorize(drawable, backgroundColor, 157 private int selectForegroundColor(int backgroundColor, Palette palette) { 158 if (NotificationColorUtil.isColorLight(backgroundColor)) {
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
GlifLayout.java | 131 ColorStateList backgroundColor = 133 setBackgroundBaseColor(backgroundColor); 295 int backgroundColor = 0; 297 backgroundColor = mBackgroundBaseColor.getDefaultColor(); 299 backgroundColor = mPrimaryColor.getDefaultColor(); 302 ? new GlifPatternDrawable(backgroundColor) 303 : new ColorDrawable(backgroundColor);
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
AppCompatBaseViewTest.java | 367 final @ColorInt int backgroundColor = ResourcesCompat.getColor( 372 backgroundColor, 0); 408 ColorUtils.compositeColors(emeraldDefault, backgroundColor), 415 view, ColorUtils.compositeColors(emeraldDisabled, backgroundColor), 436 final @ColorInt int backgroundColor = ResourcesCompat.getColor( 441 backgroundColor, 0); 477 ColorUtils.compositeColors(emeraldDefault, backgroundColor), 484 view, ColorUtils.compositeColors(emeraldDisabled, backgroundColor), [all...] |
/hardware/libhardware/include/hardware/ |
hwcomposer.h | 53 * is backgroundColor. 132 hwc_color_t backgroundColor; [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
ImageRequest.java | 226 final int backgroundColor = mDescriptor.circleBackgroundColor; 229 dest, null, backgroundColor == 0 ? false : true /* fillBackground */, 230 backgroundColor, strokeColor);
|
SimSelectorAvatarRequest.java | 74 final int backgroundColor = selected ? subColor : Color.WHITE; 77 final Bitmap bitmap = getBitmapPool().createOrReuseBitmap(width, height, backgroundColor);
|
/frameworks/base/cmds/bootanimation/ |
BootAnimation.h | 81 float backgroundColor[3];
|
/frameworks/support/cardview/src/main/java/androidx/cardview/widget/ |
CardView.java | 125 ColorStateList backgroundColor; 127 backgroundColor = a.getColorStateList(R.styleable.CardView_cardBackgroundColor); 137 backgroundColor = ColorStateList.valueOf(hsv[2] > 0.5f 162 IMPL.initialize(mCardViewDelegate, context, backgroundColor, radius,
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSetSlotRenderer.java | 62 public int backgroundColor;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
DialogActivity.java | 207 int backgroundColor = bundle.getInt(EXTRA_DIALOG_IMAGE_BACKGROUND_COLOR); 213 description, imageUri, backgroundColor));
|