Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/util/
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()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
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
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DGroupSummaryNotificationViewHolder.java55 … mCardBackgroundColor = NotificationUtils.getAttrColor(mContext, android.R.attr.colorPrimary); in GroupSummaryNotificationViewHolder()
56 … mDefaultTextColor = NotificationUtils.getAttrColor(mContext, android.R.attr.textColorPrimary); in GroupSummaryNotificationViewHolder()
DCarNotificationBodyView.java77 NotificationUtils.getAttrColor(getContext(), android.R.attr.textColorPrimary);
79 NotificationUtils.getAttrColor(getContext(), android.R.attr.textColorSecondary);
DCarNotificationBaseViewHolder.java124 mDefaultBackgroundColor = NotificationUtils.getAttrColor(mContext, in CarNotificationBaseViewHolder()
126 mDefaultCarAccentColor = NotificationUtils.getAttrColor(mContext, in CarNotificationBaseViewHolder()
DProgressNotificationViewHolder.java51 mCardBackgroundColor = NotificationUtils.getAttrColor(view.getContext(), in ProgressNotificationViewHolder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
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
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DQuickSwitchState.java45 return Themes.getAttrColor(launcher, R.attr.overviewScrimColor); in getWorkspaceScrimColor()
DAllAppsState.java95 return Themes.getAttrColor(launcher, R.attr.allAppsScrimColor); in getWorkspaceScrimColor()
DOverviewState.java112 return Themes.getAttrColor(launcher, R.attr.overviewScrimColor);
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/states/
DOverviewState.java65 return Themes.getAttrColor(launcher, R.attr.overviewScrimColor); in getWorkspaceScrimColor()
DAllAppsState.java81 return Themes.getAttrColor(launcher, R.attr.allAppsScrimColor); in getWorkspaceScrimColor()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DHintState.java58 Themes.getAttrColor(launcher, R.attr.overviewScrimColor), 100); in getWorkspaceScrimColor()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java149 mScrimColor = Themes.getAttrColor(context, R.attr.allAppsScrimColor); in AllAppsContainerView()
152 mHeaderProtectionColor = Themes.getAttrColor(context, R.attr.allappsHeaderProtectionColor); in AllAppsContainerView()
170 mNavBarScrimPaint.setColor(Themes.getAttrColor(context, R.attr.allAppsNavBarScrimColor)); in AllAppsContainerView()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DTutorialStepIndicator.java90 int stepIndicatorColor = GraphicsUtils.getAttrColor( in initializeStepIndicators()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DRecentsState.java124 return hasFlag(FLAG_SCRIM) ? Themes.getAttrColor(activity, R.attr.overviewScrimColor) in getScrimColor()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListDrawableFactory.java50 Themes.getAttrColor(context, android.R.attr.colorControlHighlight)); in WidgetsListDrawableFactory()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutView.java100 int color = Themes.getAttrColor(getContext(), android.R.attr.colorControlHighlight); in tryUpdateTextBackground()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationUtils.java48 public static int getAttrColor(Context context, int attr) { in getAttrColor() method in NotificationUtils
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DPageIndicatorDots.java117 mInActiveColor = Themes.getAttrColor(context, android.R.attr.colorControlHighlight); in PageIndicatorDots()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java82 mPaint.setColor(Themes.getAttrColor(getContext(), android.R.attr.textColorPrimary)); in PendingAppWidgetHostView()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DRecyclerViewFastScroller.java152 mTrackPaint.setColor(Themes.getAttrColor(context, android.R.attr.textColorPrimary)); in RecyclerViewFastScroller()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java179 int folderFillColor = Themes.getAttrColor(mContext, R.attr.folderFillColor); in getAnimator()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java149 mBackgroundColor = Themes.getAttrColor(context, R.attr.popupColorPrimary); in ArrowPopup()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java266 mGridColor = Themes.getAttrColor(getContext(), R.attr.workspaceAccentColor); in CellLayout()
280 mDragOutlinePaint.setColor(Themes.getAttrColor(context, R.attr.workspaceTextColor)); in CellLayout()

12