/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | Themes.java | 102 return getAttrColor(context, android.R.attr.colorAccent); in getColorAccent() 107 return getAttrColor(context, android.R.attr.colorBackground); in getColorBackground() 112 return getAttrColor(context, android.R.attr.colorBackgroundFloating); in getColorBackgroundFloating() 115 public static int getAttrColor(Context context, int attr) { in getAttrColor() method in Themes 116 return GraphicsUtils.getAttrColor(context, attr); in getAttrColor()
|
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/ |
H A D | Themes.java | 31 public static int getAttrColor(Context context, int attr) { in getAttrColor() method in Themes 32 return getAttrColor(context, /*styleResId=*/ 0, attr); in getAttrColor() 36 public static int getAttrColor(Context context, @StyleRes int styleResId, int attr) { in getAttrColor() method in Themes
|
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
H A D | GroupSummaryNotificationViewHolder.java | 55 … mCardBackgroundColor = NotificationUtils.getAttrColor(mContext, android.R.attr.colorPrimary); in GroupSummaryNotificationViewHolder() 56 … mDefaultTextColor = NotificationUtils.getAttrColor(mContext, android.R.attr.textColorPrimary); in GroupSummaryNotificationViewHolder()
|
H A D | CarNotificationBodyView.java | 93 NotificationUtils.getAttrColor(getContext(), android.R.attr.textColorPrimary); 95 NotificationUtils.getAttrColor(getContext(), android.R.attr.textColorSecondary);
|
H A D | CarNotificationBaseViewHolder.java | 129 mDefaultBackgroundColor = NotificationUtils.getAttrColor(mContext, in CarNotificationBaseViewHolder() 131 mDefaultCarAccentColor = NotificationUtils.getAttrColor(mContext, in CarNotificationBaseViewHolder()
|
H A D | ProgressNotificationViewHolder.java | 50 mCardBackgroundColor = NotificationUtils.getAttrColor(view.getContext(), in ProgressNotificationViewHolder()
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
H A D | Utils.java | 685 return getAttrColor(context, android.R.attr.colorAccent); in getAccentColor() 692 return getAttrColor(context, android.R.attr.colorBackground); in getBackgroundColor() 699 return getAttrColor(context, android.R.attr.textColorPrimary); in getTextPrimaryColor() 706 return getAttrColor(context, android.R.attr.textColorSecondary); in getTextSecondaryColor() 709 private int getAttrColor(Context context, int attr) { in getAttrColor() method
|
/aosp12/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/states/ |
H A D | OverviewState.java | 65 return Themes.getAttrColor(launcher, R.attr.overviewScrimColor); in getWorkspaceScrimColor()
|
H A D | AllAppsState.java | 81 return Themes.getAttrColor(launcher, R.attr.allAppsScrimColor); in getWorkspaceScrimColor()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/states/ |
H A D | HintState.java | 58 Themes.getAttrColor(launcher, R.attr.overviewScrimColor), 100); in getWorkspaceScrimColor()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
H A D | QuickSwitchState.java | 50 return Themes.getAttrColor(launcher, R.attr.overviewScrimColor); in getWorkspaceScrimColor()
|
H A D | AllAppsState.java | 100 return Themes.getAttrColor(launcher, R.attr.allAppsScrimColor); in getWorkspaceScrimColor()
|
H A D | OverviewState.java | 101 return Themes.getAttrColor(launcher, R.attr.overviewScrimColor);
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
H A D | TaskMenuViewWithArrow.kt | 148 setBackgroundColor(Themes.getAttrColor(context, R.attr.overviewScrimColor)) 205 Themes.getAttrColor(context, com.android.internal.R.attr.colorSurface)
|
/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
H A D | PlaceHolderIconDrawable.java | 45 GraphicsUtils.getAttrColor(context, R.attr.loadingIconColor), info.color)); in PlaceHolderIconDrawable()
|
H A D | GraphicsUtils.java | 111 public static int getAttrColor(Context context, int attr) { in getAttrColor() method in GraphicsUtils
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
H A D | TutorialStepIndicator.java | 90 int stepIndicatorColor = GraphicsUtils.getAttrColor( in initializeStepIndicators()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
H A D | WidgetsListDrawableFactory.java | 50 Themes.getAttrColor(context, android.R.attr.colorControlHighlight)); in WidgetsListDrawableFactory()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/ |
H A D | RecentsState.java | 126 return hasFlag(FLAG_SCRIM) ? Themes.getAttrColor(activity, R.attr.overviewScrimColor) in getScrimColor()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsContainerView.java | 144 mScrimColor = Themes.getAttrColor(context, R.attr.allAppsScrimColor); in AllAppsContainerView() 147 mHeaderProtectionColor = Themes.getAttrColor(context, R.attr.allappsHeaderProtectionColor); in AllAppsContainerView() 161 mNavBarScrimPaint.setColor(Themes.getAttrColor(context, R.attr.allAppsNavBarScrimColor)); in AllAppsContainerView()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
H A D | DeepShortcutView.java | 100 int color = Themes.getAttrColor(getContext(), android.R.attr.colorControlHighlight); in tryUpdateTextBackground()
|
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/ |
H A D | NotificationUtils.java | 48 public static int getAttrColor(Context context, int attr) { in getAttrColor() method in NotificationUtils
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | FolderAnimationManager.java | 177 final int initialColor = Themes.getAttrColor(mContext, R.attr.folderPreviewColor); in getAnimator() 178 final int finalColor = Themes.getAttrColor(mContext, R.attr.folderBackgroundColor); in getAnimator()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
H A D | NotificationMainView.java | 102 mBackground.setColor(Themes.getAttrColor(context, R.attr.popupColorPrimary)); in NotificationMainView()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
H A D | PageIndicatorDots.java | 114 mCirclePaint.setColor(Themes.getAttrColor(context, R.attr.folderPaginationColor)); in PageIndicatorDots()
|