Home
last modified time | relevance | path

Searched refs:resolveColor (Results 1 – 13 of 13) 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()
DTimerSetupView.java111 final int colorControlActivated = ThemeUtils.resolveColor(dividerContext, in onFinishInflate()
113 final int colorControlDisabled = ThemeUtils.resolveColor(dividerContext, in onFinishInflate()
DTimerCircleView.java75 mCompletedColor = ThemeUtils.resolveColor(context, R.attr.colorAccent); in TimerCircleView()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
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()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java310 @ColorInt int color = resolveColor(view.getResources()); in bindThumbnailTile()
317 private int resolveColor(Resources res) { in resolveColor() method in ThemeComponentOption.ColorOption
345 @ColorInt int accentColor = resolveColor(res); in bindPreview()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
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/ringtone/
DRingtoneViewHolder.java74 final int colorAccent = ThemeUtils.resolveColor(itemView.getContext(), in onBindItemView()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.java224 dayButton.setTextColor(ThemeUtils.resolveColor(context, in bindDaysOfWeekButtons()