Home
last modified time | relevance | path

Searched refs:primaryColor (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouterThemeHelper.java87 int primaryColor = getThemeColor(context, style, in getControllerColor() local
89 if (ColorUtils.calculateContrast(COLOR_WHITE_ON_DARK_BACKGROUND, primaryColor) in getControllerColor()
97 int primaryColor = getThemeColor(context, 0, in getButtonTextColor() local
101 if (ColorUtils.calculateContrast(primaryColor, backgroundColor) < MIN_CONTRAST) { in getButtonTextColor()
105 return primaryColor; in getButtonTextColor()
110 int primaryColor = getThemeColor(context, 0, in setMediaControlsBackgroundColor() local
117 primaryDarkColor = primaryColor; in setMediaControlsBackgroundColor()
118 primaryColor = Color.WHITE; in setMediaControlsBackgroundColor()
120 mainControls.setBackgroundColor(primaryColor); in setMediaControlsBackgroundColor()
124 mainControls.setTag(primaryColor); in setMediaControlsBackgroundColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewHeader.java409 int getSecondaryColor(int primaryColor, boolean useLightOverlayColor) { in getSecondaryColor() argument
411 return Utilities.getColorWithOverlay(primaryColor, overlayColor, 0.8f); in getSecondaryColor()
447 int primaryColor = disabledInSafeMode in bindToTask() local
450 if (mBackground.getColor() != primaryColor) { in bindToTask()
451 updateBackgroundColor(primaryColor, mDimAlpha); in bindToTask()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java113 final ColorStateList primaryColor = in init() local
115 setPrimaryColor(primaryColor); in init()
/frameworks/base/core/java/android/app/
DActivityManager.java1051 public void setPrimaryColor(int primaryColor) { in setPrimaryColor() argument
1053 if ((primaryColor != 0) && (Color.alpha(primaryColor) != 255)) { in setPrimaryColor()
1056 mColorPrimary = primaryColor; in setPrimaryColor()