Searched defs:backgroundColor (Results 1 - 19 of 19) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
H A DEmojiCategoryPageIndicatorView.java41 public void setColors(final int foregroundColor, final int backgroundColor) { argument
43 setBackgroundColor(backgroundColor);
/packages/services/Car/car-support-lib/src/android/support/car/ui/
H A DColorChecker.java38 public static int getTintColor(Context context, int backgroundColor) { argument
42 return getTintColor(backgroundColor, lightTintColor, darkTintColor);
50 public static int getNonCriticalTintColor(Context context, int backgroundColor) { argument
54 return getNonCriticalTintColor(backgroundColor, lightTintColor, darkTintColor);
60 public static int getTintColor(int backgroundColor, int... tintColors) { argument
61 return getTintColor(MIN_CONTRAST_RATIO, backgroundColor, tintColors);
67 public static int getNonCriticalTintColor(int backgroundColor, int... tintColors) { argument
68 return getTintColor(MIN_NON_CRITICAL_CONTRAST_RATIO, backgroundColor, tintColors);
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DIconPalette.java48 public final int backgroundColor; field in class:IconPalette
56 backgroundColor = desaturateBackground ? getMutedColor(dominantColor, 0.87f) : dominantColor;
58 Themes.setColorScaleOnMatrix(backgroundColor, backgroundColorMatrix);
67 textColor = getTextColorForBackground(backgroundColor);
68 secondaryColor = getLowContrastColor(backgroundColor);
219 private static int getTextColorForBackground(int backgroundColor) { argument
220 return getLighterOrDarkerVersionOfColor(backgroundColor, 4.5f);
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DPoolableImageCache.java352 * @param backgroundColor the background color for the returned bitmap
356 final int backgroundColor) {
362 retBitmap.eraseColor(backgroundColor);
355 createOrReuseBitmap(final int width, final int height, final int backgroundColor) argument
/packages/services/Car/car-lib/src/android/car/app/menu/
H A DCarUiEntry.java154 abstract public void setSearchBoxColors(int backgroundColor, int searchLogoColor, argument
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/
H A DCarUiController.java132 public abstract void setSearchBoxColors(int backgroundColor, int googleLogoColor, int textColor, argument
H A DEmbeddedCarUiController.java195 public void setSearchBoxColors(int backgroundColor, int searchLogocolor, int textColor, int hintTextColor) { argument
196 mCarUiEntry.setSearchBoxColors(backgroundColor, searchLogocolor, textColor, hintTextColor);
H A DCarDrawerActivity.java414 public void setSearchBoxColors(int backgroundColor, int searchLogoColor, int textColor, argument
416 mUiController.setSearchBoxColors(backgroundColor, searchLogoColor,
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmActivity.java593 final int backgroundColor) {
632 getWindow().setBackgroundDrawable(new ColorDrawable(backgroundColor));
591 getAlertAnimator(final View source, final int titleResId, final String infoText, final String accessibilityText, final int revealColor, final int backgroundColor) argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSetSlotRenderer.java62 public int backgroundColor; field in class:AlbumSetSlotRenderer.LabelSpec
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DBaseContentFragment.java54 int backgroundColor) {
56 backgroundColor);
60 int backgroundColor) {
61 return buildArgs(title, breadcrumb, description, 0, iconUri, null, backgroundColor);
52 buildArgs( String title, String breadcrumb, String description, int iconResourceId, int backgroundColor) argument
59 buildArgs(String title, String breadcrumb, String description, Uri iconUri, int backgroundColor) argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
H A DCaptionCustomFragment.java281 private void setCaptionsBackgroundColor(String backgroundColor) { argument
282 final int color = (int) Long.parseLong(backgroundColor, 16) & 0x00ffffff;
/packages/apps/Car/Radio/src/com/android/car/radio/
H A DRadioController.java493 private void setBackgroundColor(int backgroundColor) { argument
494 mRadioBackground.setBackgroundColor(backgroundColor);
497 mRadioPresetBackground.setBackgroundColor(backgroundColor);
501 int red = darkenColor(Color.red(backgroundColor));
502 int green = darkenColor(Color.green(backgroundColor));
503 int blue = darkenColor(Color.blue(backgroundColor));
504 int alpha = Color.alpha(backgroundColor);
987 int backgroundColor = (int) animator.getAnimatedValue();
988 setBackgroundColor(backgroundColor);
/packages/apps/Messaging/src/com/android/messaging/util/
H A DImageUtils.java128 * @param fillBackground when set, fill the circle with backgroundColor
133 final boolean fillBackground, final int backgroundColor, int strokeColor) {
149 bitmapPaint.setColor(backgroundColor);
131 drawBitmapWithCircleOnCanvas(final Bitmap bitmap, final Canvas canvas, final RectF source, final RectF dest, @Nullable Paint bitmapPaint, final boolean fillBackground, final int backgroundColor, int strokeColor) argument
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
H A DCarUiEntry.java322 public void setSearchBoxColors(int backgroundColor, int searchLogoColor, int textColor, argument
325 mSearchBox.setBackgroundColor(backgroundColor);
326 mSearchBoxContents.setBackgroundColor(backgroundColor);
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/
H A DCardView.java257 public void setBackground(Bitmap bmpPicture, int backgroundColor) { argument
267 p.setColor(backgroundColor);
/packages/apps/TV/src/com/android/tv/tuner/data/
H A DCea708Data.java220 public final CaptionColor backgroundColor; field in class:Cea708Data.CaptionPenColor
223 public CaptionPenColor(CaptionColor foregroundColor, CaptionColor backgroundColor, argument
226 this.backgroundColor = backgroundColor;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
H A DInputLogic.java2291 * @param backgroundColor the background color to be set to the composing text. Set
2297 final int newCursorPosition, final int backgroundColor, final int coloredTextLength) {
2299 if (backgroundColor == Color.TRANSPARENT) {
2304 new BackgroundColorSpan(backgroundColor);
2296 setComposingTextInternalWithBackgroundColor(final CharSequence newComposingText, final int newCursorPosition, final int backgroundColor, final int coloredTextLength) argument
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...

Completed in 1000 milliseconds