Home
last modified time | relevance | path

Searched refs:resolveColor (Results 1 – 21 of 21) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DThemeUtils.java44 public static int resolveColor(Context context, @AttrRes int attr) { in resolveColor() method in ThemeUtils
45 return resolveColor(context, attr, null /* stateSet */); in resolveColor()
57 public static int resolveColor(Context context, @AttrRes int attr, @AttrRes int[] stateSet) { in resolveColor() method in ThemeUtils
DBaseActivity.java56 final @ColorInt int color = ThemeUtils.resolveColor(this, android.R.attr.windowBackground); in onCreate()
65 final @ColorInt int color = ThemeUtils.resolveColor(this, android.R.attr.windowBackground); in onStart()
DLabelDialogFragment.java140 ThemeUtils.resolveColor(context, R.attr.colorControlActivated); in onCreateDialog()
142 ThemeUtils.resolveColor(context, R.attr.colorControlNormal); in onCreateDialog()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DIconPalette.java69 final int resolvedColor = resolveColor(context, color); in resolveContrastColor()
91 private static int resolveColor(Context context, int color) { in resolveColor() method in IconPalette
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerItem.java79 final int colorAccent = ThemeUtils.resolveColor(c, R.attr.colorAccent); in onFinishInflate()
80 final int textColorPrimary = ThemeUtils.resolveColor(c, android.R.attr.textColorPrimary); in onFinishInflate()
DTimerItem.kt71 val colorAccent = ThemeUtils.resolveColor(c, R.attr.colorAccent) in onFinishInflate()
72 val textColorPrimary = ThemeUtils.resolveColor(c, attr.textColorPrimary) in onFinishInflate()
DTimerSetupView.java111 final int colorControlActivated = ThemeUtils.resolveColor(dividerContext, in onFinishInflate()
113 final int colorControlDisabled = ThemeUtils.resolveColor(dividerContext, in onFinishInflate()
DTimerSetupView.kt100 val colorControlActivated = ThemeUtils.resolveColor(dividerContext, in onFinishInflate()
102 val colorControlDisabled = ThemeUtils.resolveColor(dividerContext, in onFinishInflate()
DTimerCircleView.java75 mCompletedColor = ThemeUtils.resolveColor(context, R.attr.colorAccent); in TimerCircleView()
DTimerCircleView.kt73 mCompletedColor = ThemeUtils.resolveColor(context, R.attr.colorAccent)
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt155 val colorAccent = ThemeUtils.resolveColor(c, R.attr.colorAccent) in <lambda>()
156 val textColorPrimary = ThemeUtils.resolveColor(c, android.R.attr.textColorPrimary) in <lambda>()
663 updateGradientColors(ThemeUtils.resolveColor(context, android.R.attr.windowBackground)) in <lambda>()
DStopwatchFragment.java159 final int colorAccent = ThemeUtils.resolveColor(c, R.attr.colorAccent); in onCreateView()
160 final int textColorPrimary = ThemeUtils.resolveColor(c, android.R.attr.textColorPrimary); in onCreateView()
706 updateGradientColors(ThemeUtils.resolveColor(context, android.R.attr.windowBackground));
DStopwatchCircleView.java85 mCompletedColor = ThemeUtils.resolveColor(context, R.attr.colorAccent); in StopwatchCircleView()
DStopwatchCircleView.kt83 mCompletedColor = ThemeUtils.resolveColor(context, R.attr.colorAccent)
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java316 @ColorInt int color = resolveColor(view.getResources()); in bindThumbnailTile()
323 private int resolveColor(Resources res) { in resolveColor() method in ThemeComponentOption.ColorOption
351 @ColorInt int accentColor = resolveColor(res); in bindPreview()
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtoneViewHolder.kt59 val colorAccent = ThemeUtils.resolveColor(itemView.getContext(), in onBindItemView()
DRingtoneViewHolder.java74 final int colorAccent = ThemeUtils.resolveColor(itemView.getContext(), in onBindItemView()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt190 mCurrentHourColor = ThemeUtils.resolveColor(this, android.R.attr.windowBackground) in onCreate()
467 val colorAccent = ThemeUtils.resolveColor(this, R.attr.colorAccent) in snooze()
DAlarmActivity.java216 mCurrentHourColor = ThemeUtils.resolveColor(this, android.R.attr.windowBackground); in onCreate()
489 final int colorAccent = ThemeUtils.resolveColor(this, R.attr.colorAccent); in snooze()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.kt175 dayButton.setTextColor(ThemeUtils.resolveColor(context, in <lambda>()
DExpandedAlarmViewHolder.java224 dayButton.setTextColor(ThemeUtils.resolveColor(context, in bindDaysOfWeekButtons()