Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java70 private ColorStateList primaryColor; field in GlifLayout
122 ColorStateList primaryColor = a.getColorStateList(R.styleable.SuwGlifLayout_suwColorPrimary); in init() local
123 if (primaryColor != null) { in init()
124 setPrimaryColor(primaryColor); in init()
241 primaryColor = color; in setPrimaryColor()
247 return primaryColor; in getPrimaryColor()
292 } else if (primaryColor != null) { in updateBackground()
293 backgroundColor = primaryColor.getDefaultColor(); in updateBackground()
/frameworks/base/core/java/android/app/
DWallpaperColors.java222 public WallpaperColors(@NonNull Color primaryColor, @Nullable Color secondaryColor, in WallpaperColors() argument
224 this(primaryColor, secondaryColor, tertiaryColor, 0); in WallpaperColors()
240 public WallpaperColors(@NonNull Color primaryColor, @Nullable Color secondaryColor, in WallpaperColors() argument
243 if (primaryColor == null) { in WallpaperColors()
248 mMainColors.add(primaryColor); in WallpaperColors()
DActivityManager.java1155 public void setPrimaryColor(int primaryColor) { in setPrimaryColor() argument
1157 if ((primaryColor != 0) && (Color.alpha(primaryColor) != 255)) { in setPrimaryColor()
1160 mColorPrimary = primaryColor; in setPrimaryColor()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewHeader.java408 int getSecondaryColor(int primaryColor, boolean useLightOverlayColor) { in getSecondaryColor() argument
410 return Utilities.getColorWithOverlay(primaryColor, overlayColor, 0.8f); in getSecondaryColor()
453 int primaryColor = disabledInSafeMode in bindToTask() local
456 if (mBackground.getColor() != primaryColor) { in bindToTask()
457 updateBackgroundColor(primaryColor, mDimAlpha); in bindToTask()