HomeSort by relevance Sort by last modified time
    Searched defs:primaryColor (Results 1 - 15 of 15) sorted by null

  /packages/apps/Dialer/java/com/android/incallui/
InCallUIMaterialColorMapUtils.java 42 final int primaryColor = resources.getColor(R.color.dialer_theme_color);
44 return new MaterialPalette(primaryColor, secondaryColor);
ThemeColorManager.java 37 @ColorInt private int primaryColor;
94 primaryColor = palette.mPrimaryColor;
111 return primaryColor;
  /frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
MediaRouterThemeHelper.java 115 int primaryColor = getThemeColor(context, style, android.R.attr.colorPrimary);
116 if (primaryColor == 0) {
117 primaryColor = getThemeColor(context, style, android.R.attr.colorPrimary);
118 if (primaryColor == 0) {
119 primaryColor = 0xFF000000;
122 if (ColorUtils.calculateContrast(COLOR_WHITE_ON_DARK_BACKGROUND, primaryColor)
130 int primaryColor = getThemeColor(context, 0, android.R.attr.colorPrimary);
133 if (ColorUtils.calculateContrast(primaryColor, backgroundColor) < MIN_CONTRAST) {
137 return primaryColor;
142 int primaryColor = getThemeColor(context, 0, android.R.attr.colorPrimary)
    [all...]
  /frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
MediaRouterThemeHelper.java 116 int primaryColor = getThemeColor(context, style,
118 if (ColorUtils.calculateContrast(COLOR_WHITE_ON_DARK_BACKGROUND, primaryColor)
126 int primaryColor = getThemeColor(context, 0,
130 if (ColorUtils.calculateContrast(primaryColor, backgroundColor) < MIN_CONTRAST) {
134 return primaryColor;
139 int primaryColor = getThemeColor(context, 0,
146 primaryDarkColor = primaryColor;
147 primaryColor = Color.WHITE;
149 mainControls.setBackgroundColor(primaryColor);
153 mainControls.setTag(primaryColor);
    [all...]
  /packages/apps/Car/Media/src/com/android/car/media/drawer/
MediaQueueItemsFetcher.java 86 int primaryColor = mMediaPlaybackModel.getPrimaryColor();
89 drawable.setColorFilter(primaryColor, PorterDuff.Mode.SRC_IN);
  /packages/apps/Dialer/java/com/android/contacts/common/util/
MaterialColorMapUtils.java 88 final int primaryColor = sPrimaryColors.getColor(i, 0);
89 final float comparedHue = hue(primaryColor);
122 public MaterialPalette(int primaryColor, int secondaryColor) {
123 mPrimaryColor = primaryColor;
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
GlifLayout.java 125 ColorStateList primaryColor =
127 if (primaryColor != null) {
128 setPrimaryColor(primaryColor);
  /packages/apps/Contacts/src/com/android/contacts/util/
MaterialColorMapUtils.java 42 public MaterialPalette(int primaryColor, int secondaryColor) {
43 mPrimaryColor = primaryColor;
119 final int primaryColor = sPrimaryColors.getColor(i, 0);
120 final float comparedHue = hue(primaryColor);
137 final int primaryColor = resources.getColor(
141 return new MaterialPalette(primaryColor, secondaryColor);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
TaskViewHeader.java 408 int getSecondaryColor(int primaryColor, boolean useLightOverlayColor) {
410 return Utilities.getColorWithOverlay(primaryColor, overlayColor, 0.8f);
453 int primaryColor = disabledInSafeMode
456 if (mBackground.getColor() != primaryColor) {
457 updateBackgroundColor(primaryColor, mDimAlpha);
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
QuickContactActivity.java     [all...]
  /prebuilts/sdk/27/
android.jar 
  /prebuilts/sdk/28/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_28/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 192 milliseconds