Home
last modified time | relevance | path

Searched refs:getAttrColor (Results 1 – 25 of 32) sorted by relevance

12

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DThemes.java102 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 DThemes.java31 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 DGroupSummaryNotificationViewHolder.java55 … mCardBackgroundColor = NotificationUtils.getAttrColor(mContext, android.R.attr.colorPrimary); in GroupSummaryNotificationViewHolder()
56 … mDefaultTextColor = NotificationUtils.getAttrColor(mContext, android.R.attr.textColorPrimary); in GroupSummaryNotificationViewHolder()
H A DCarNotificationBodyView.java93 NotificationUtils.getAttrColor(getContext(), android.R.attr.textColorPrimary);
95 NotificationUtils.getAttrColor(getContext(), android.R.attr.textColorSecondary);
H A DCarNotificationBaseViewHolder.java129 mDefaultBackgroundColor = NotificationUtils.getAttrColor(mContext, in CarNotificationBaseViewHolder()
131 mDefaultCarAccentColor = NotificationUtils.getAttrColor(mContext, in CarNotificationBaseViewHolder()
H A DProgressNotificationViewHolder.java50 mCardBackgroundColor = NotificationUtils.getAttrColor(view.getContext(), in ProgressNotificationViewHolder()
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DUtils.java685 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 DOverviewState.java65 return Themes.getAttrColor(launcher, R.attr.overviewScrimColor); in getWorkspaceScrimColor()
H A DAllAppsState.java81 return Themes.getAttrColor(launcher, R.attr.allAppsScrimColor); in getWorkspaceScrimColor()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/states/
H A DHintState.java58 Themes.getAttrColor(launcher, R.attr.overviewScrimColor), 100); in getWorkspaceScrimColor()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
H A DQuickSwitchState.java50 return Themes.getAttrColor(launcher, R.attr.overviewScrimColor); in getWorkspaceScrimColor()
H A DAllAppsState.java100 return Themes.getAttrColor(launcher, R.attr.allAppsScrimColor); in getWorkspaceScrimColor()
H A DOverviewState.java101 return Themes.getAttrColor(launcher, R.attr.overviewScrimColor);
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DTaskMenuViewWithArrow.kt148 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 DPlaceHolderIconDrawable.java45 GraphicsUtils.getAttrColor(context, R.attr.loadingIconColor), info.color)); in PlaceHolderIconDrawable()
H A DGraphicsUtils.java111 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 DTutorialStepIndicator.java90 int stepIndicatorColor = GraphicsUtils.getAttrColor( in initializeStepIndicators()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
H A DWidgetsListDrawableFactory.java50 Themes.getAttrColor(context, android.R.attr.colorControlHighlight)); in WidgetsListDrawableFactory()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
H A DRecentsState.java126 return hasFlag(FLAG_SCRIM) ? Themes.getAttrColor(activity, R.attr.overviewScrimColor) in getScrimColor()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAllAppsContainerView.java144 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 DDeepShortcutView.java100 int color = Themes.getAttrColor(getContext(), android.R.attr.colorControlHighlight); in tryUpdateTextBackground()
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DNotificationUtils.java48 public static int getAttrColor(Context context, int attr) { in getAttrColor() method in NotificationUtils
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DFolderAnimationManager.java177 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 DNotificationMainView.java102 mBackground.setColor(Themes.getAttrColor(context, R.attr.popupColorPrimary)); in NotificationMainView()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
H A DPageIndicatorDots.java114 mCirclePaint.setColor(Themes.getAttrColor(context, R.attr.folderPaginationColor)); in PageIndicatorDots()

12