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.kt38 fun resolveColor(context: Context, @AttrRes attr: Int): Int = in resolveColor() method
39 resolveColor(context, attr, stateSet = null) in resolveColor()
51 fun resolveColor(context: Context, @AttrRes attr: Int, @AttrRes stateSet: IntArray?): Int { in resolveColor() method
DBaseActivity.kt52 @ColorInt val color = ThemeUtils.resolveColor(this, R.attr.windowBackground) in onCreate()
60 @ColorInt val color = ThemeUtils.resolveColor(this, R.attr.windowBackground) in onStart()
DLabelDialogFragment.kt78 val colorControlActivated = ThemeUtils.resolveColor(context, R.attr.colorControlActivated) in onCreateDialog()
79 val colorControlNormal = ThemeUtils.resolveColor(context, R.attr.colorControlNormal) in onCreateDialog()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DIconPalette.java67 final int resolvedColor = resolveColor(context, color); in resolveContrastColor()
89 private static int resolveColor(Context context, int color) { in resolveColor() method in IconPalette
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerItem.kt71 val colorAccent = ThemeUtils.resolveColor(c, R.attr.colorAccent) in onFinishInflate()
72 val textColorPrimary = ThemeUtils.resolveColor(c, attr.textColorPrimary) in onFinishInflate()
DTimerSetupView.kt100 val colorControlActivated = ThemeUtils.resolveColor(dividerContext, in onFinishInflate()
102 val colorControlDisabled = ThemeUtils.resolveColor(dividerContext, in onFinishInflate()
DTimerCircleView.kt73 mCompletedColor = ThemeUtils.resolveColor(context, R.attr.colorAccent)
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt154 val colorAccent = ThemeUtils.resolveColor(c, R.attr.colorAccent) in <lambda>()
155 val textColorPrimary = ThemeUtils.resolveColor(c, android.R.attr.textColorPrimary) in <lambda>()
662 updateGradientColors(ThemeUtils.resolveColor(context, android.R.attr.windowBackground)) in <lambda>()
DStopwatchCircleView.kt83 mCompletedColor = ThemeUtils.resolveColor(context, R.attr.colorAccent)
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java343 @ColorInt int color = resolveColor(view.getResources()); in bindThumbnailTile()
363 private int resolveColor(Resources res) { in resolveColor() method in ThemeComponentOption.ColorOption
395 @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()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt196 mCurrentHourColor = ThemeUtils.resolveColor(this, android.R.attr.windowBackground) in onCreate()
474 val 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>()