/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | ColorChecker.java | 38 public static int getTintColor(Context context, int backgroundColor) { in getTintColor() argument 42 return getTintColor(backgroundColor, lightTintColor, darkTintColor); in getTintColor() 50 public static int getNonCriticalTintColor(Context context, int backgroundColor) { in getNonCriticalTintColor() argument 54 return getNonCriticalTintColor(backgroundColor, lightTintColor, darkTintColor); in getNonCriticalTintColor() 60 public static int getTintColor(int backgroundColor, int... tintColors) { in getTintColor() argument 61 return getTintColor(MIN_CONTRAST_RATIO, backgroundColor, tintColors); in getTintColor() 67 public static int getNonCriticalTintColor(int backgroundColor, int... tintColors) { in getNonCriticalTintColor() argument 68 return getTintColor(MIN_NON_CRITICAL_CONTRAST_RATIO, backgroundColor, tintColors); in getNonCriticalTintColor()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | IconPalette.java | 48 public final int backgroundColor; field in IconPalette 56 … backgroundColor = desaturateBackground ? getMutedColor(dominantColor, 0.87f) : dominantColor; in IconPalette() 58 Themes.setColorScaleOnMatrix(backgroundColor, backgroundColorMatrix); in IconPalette() 67 textColor = getTextColorForBackground(backgroundColor); in IconPalette() 68 secondaryColor = getLowContrastColor(backgroundColor); in IconPalette() 219 private static int getTextColorForBackground(int backgroundColor) { in getTextColorForBackground() argument 220 return getLighterOrDarkerVersionOfColor(backgroundColor, 4.5f); in getTextColorForBackground()
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | RadioController.java | 493 private void setBackgroundColor(int backgroundColor) { in setBackgroundColor() argument 494 mRadioBackground.setBackgroundColor(backgroundColor); in setBackgroundColor() 497 mRadioPresetBackground.setBackgroundColor(backgroundColor); in setBackgroundColor() 501 int red = darkenColor(Color.red(backgroundColor)); in setBackgroundColor() 502 int green = darkenColor(Color.green(backgroundColor)); in setBackgroundColor() 503 int blue = darkenColor(Color.blue(backgroundColor)); in setBackgroundColor() 504 int alpha = Color.alpha(backgroundColor); in setBackgroundColor() 987 int backgroundColor = (int) animator.getAnimatedValue(); 988 setBackgroundColor(backgroundColor);
|
/packages/apps/TV/src/com/android/tv/tuner/data/ |
D | Cea708Data.java | 220 public final CaptionColor backgroundColor; field in Cea708Data.CaptionPenColor 223 public CaptionPenColor(CaptionColor foregroundColor, CaptionColor backgroundColor, in CaptionPenColor() argument 226 this.backgroundColor = backgroundColor; in CaptionPenColor()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | BaseContentFragment.java | 54 int backgroundColor) { in buildArgs() argument 56 backgroundColor); in buildArgs() 60 int backgroundColor) { in buildArgs() argument 61 return buildArgs(title, breadcrumb, description, 0, iconUri, null, backgroundColor); in buildArgs()
|
D | DialogActivity.java | 207 int backgroundColor = bundle.getInt(EXTRA_DIALOG_IMAGE_BACKGROUND_COLOR); in onCreate() local 213 description, imageUri, backgroundColor)); in onCreate()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | ImageRequest.java | 226 final int backgroundColor = mDescriptor.circleBackgroundColor; in postProcessOnBitmapResourceLoaded() local 229 dest, null, backgroundColor == 0 ? false : true /* fillBackground */, in postProcessOnBitmapResourceLoaded() 230 backgroundColor, strokeColor); in postProcessOnBitmapResourceLoaded()
|
D | SimSelectorAvatarRequest.java | 74 final int backgroundColor = selected ? subColor : Color.WHITE; in renderSimAvatarInternal() local 77 final Bitmap bitmap = getBitmapPool().createOrReuseBitmap(width, height, backgroundColor); in renderSimAvatarInternal()
|
D | PoolableImageCache.java | 356 final int backgroundColor) { in createOrReuseBitmap() argument 362 retBitmap.eraseColor(backgroundColor); in createOrReuseBitmap()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiCategoryPageIndicatorView.java | 41 public void setColors(final int foregroundColor, final int backgroundColor) { in setColors() argument 43 setBackgroundColor(backgroundColor); in setColors()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListPinnedHeaderView.java | 42 int backgroundColor = a.getColor( in ContactListPinnedHeaderView() local 53 setBackgroundColor(backgroundColor); in ContactListPinnedHeaderView()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactListPinnedHeaderView.java | 40 int backgroundColor = in ContactListPinnedHeaderView() local 50 setBackgroundColor(backgroundColor); in ContactListPinnedHeaderView()
|
D | ViewPagerTabStrip.java | 46 int backgroundColor = res.getColor(R.color.contactscommon_actionbar_background_color); in ViewPagerTabStrip() local 51 setBackgroundColor(backgroundColor); in ViewPagerTabStrip()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ViewPagerTabStrip.java | 49 int backgroundColor = res.getColor(R.color.action_bar_background_color); in ViewPagerTabStrip() local 54 setBackgroundColor(backgroundColor); in ViewPagerTabStrip()
|
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/ |
D | CarUiEntry.java | 322 public void setSearchBoxColors(int backgroundColor, int searchLogoColor, int textColor, in setSearchBoxColors() argument 325 mSearchBox.setBackgroundColor(backgroundColor); in setSearchBoxColors() 326 mSearchBoxContents.setBackgroundColor(backgroundColor); in setSearchBoxColors()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | CaptionPropertiesFragment.java | 352 final int backgroundColor = attrs.hasBackgroundColor() ? in updateAllPreferences() local 353 attrs.backgroundColor : CaptionStyle.COLOR_UNSPECIFIED; in updateAllPreferences() 354 parseColorOpacity(mBackgroundColor, mBackgroundOpacity, backgroundColor); in updateAllPreferences()
|
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/ |
D | EmbeddedCarUiController.java | 195 …public void setSearchBoxColors(int backgroundColor, int searchLogocolor, int textColor, int hintTe… in setSearchBoxColors() argument 196 mCarUiEntry.setSearchBoxColors(backgroundColor, searchLogocolor, textColor, hintTextColor); in setSearchBoxColors()
|
D | CarDrawerActivity.java | 414 public void setSearchBoxColors(int backgroundColor, int searchLogoColor, int textColor, in setSearchBoxColors() argument 416 mUiController.setSearchBoxColors(backgroundColor, searchLogoColor, in setSearchBoxColors()
|
/packages/apps/TV/src/com/android/tv/tuner/cc/ |
D | Cea708Parser.java | 585 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue); in parseC1() local 594 new CaptionPenColor(foregroundColor, backgroundColor, edgeColor))); in parseC1() 598 foregroundColor, backgroundColor, edgeColor)); in parseC1()
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/ |
D | CardView.java | 257 public void setBackground(Bitmap bmpPicture, int backgroundColor) { in setBackground() argument 267 p.setColor(backgroundColor); in setBackground()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Folder.java | 627 final int backgroundColor = showBg ? Integer.parseInt(folder.bgColor) : 0; in setFolderBlockColor() local 628 if (backgroundColor == Utils.getDefaultFolderBackgroundColor(colorBlock.getContext())) { in setFolderBlockColor() 636 paintDrawable.getPaint().setColor(backgroundColor); in setFolderBlockColor()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | CaptionCustomFragment.java | 281 private void setCaptionsBackgroundColor(String backgroundColor) { in setCaptionsBackgroundColor() argument 282 final int color = (int) Long.parseLong(backgroundColor, 16) & 0x00ffffff; in setCaptionsBackgroundColor()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmActivity.java | 593 final int backgroundColor) { in getAlertAnimator() argument 632 getWindow().setBackgroundDrawable(new ColorDrawable(backgroundColor)); in getAlertAnimator()
|
/packages/services/Car/car-lib/src/android/car/app/menu/ |
D | CarUiEntry.java | 154 abstract public void setSearchBoxColors(int backgroundColor, int searchLogoColor, in setSearchBoxColors() argument
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 133 final boolean fillBackground, final int backgroundColor, int strokeColor) { in drawBitmapWithCircleOnCanvas() argument 149 bitmapPaint.setColor(backgroundColor); in drawBitmapWithCircleOnCanvas()
|