Searched refs:primaryColor (Results 1 – 4 of 4) sorted by relevance
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouterThemeHelper.java | 94 int primaryColor = getThemeColor(context, style, in getControllerColor() local 96 if (ColorUtils.calculateContrast(COLOR_WHITE_ON_DARK_BACKGROUND, primaryColor) in getControllerColor() 104 int primaryColor = getThemeColor(context, 0, in getButtonTextColor() local 108 if (ColorUtils.calculateContrast(primaryColor, backgroundColor) < MIN_CONTRAST) { in getButtonTextColor() 112 return primaryColor; in getButtonTextColor() 117 int primaryColor = getThemeColor(context, 0, in setMediaControlsBackgroundColor() local 124 primaryDarkColor = primaryColor; in setMediaControlsBackgroundColor() 125 primaryColor = Color.WHITE; in setMediaControlsBackgroundColor() 127 mainControls.setBackgroundColor(primaryColor); in setMediaControlsBackgroundColor() 131 mainControls.setTag(primaryColor); in setMediaControlsBackgroundColor()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | GlifLayout.java | 123 ColorStateList primaryColor = in init() local 125 if (primaryColor != null) { in init() 126 setPrimaryColor(primaryColor); in init()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskViewHeader.java | 420 int getSecondaryColor(int primaryColor, boolean useLightOverlayColor) { in getSecondaryColor() argument 422 return Utilities.getColorWithOverlay(primaryColor, overlayColor, 0.8f); in getSecondaryColor() 465 int primaryColor = disabledInSafeMode in bindToTask() local 468 if (mBackground.getColor() != primaryColor) { in bindToTask() 469 updateBackgroundColor(primaryColor, mDimAlpha); in bindToTask()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 1317 public void setPrimaryColor(int primaryColor) { in setPrimaryColor() argument 1319 if ((primaryColor != 0) && (Color.alpha(primaryColor) != 255)) { in setPrimaryColor() 1322 mColorPrimary = primaryColor; in setPrimaryColor()
|