Searched refs:resolveColor (Results 1 – 13 of 13) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ThemeUtils.kt | 38 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
|
D | BaseActivity.kt | 52 @ColorInt val color = ThemeUtils.resolveColor(this, R.attr.windowBackground) in onCreate() 60 @ColorInt val color = ThemeUtils.resolveColor(this, R.attr.windowBackground) in onStart()
|
D | LabelDialogFragment.kt | 78 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/ |
D | IconPalette.java | 67 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/ |
D | TimerItem.kt | 71 val colorAccent = ThemeUtils.resolveColor(c, R.attr.colorAccent) in onFinishInflate() 72 val textColorPrimary = ThemeUtils.resolveColor(c, attr.textColorPrimary) in onFinishInflate()
|
D | TimerSetupView.kt | 100 val colorControlActivated = ThemeUtils.resolveColor(dividerContext, in onFinishInflate() 102 val colorControlDisabled = ThemeUtils.resolveColor(dividerContext, in onFinishInflate()
|
D | TimerCircleView.kt | 73 mCompletedColor = ThemeUtils.resolveColor(context, R.attr.colorAccent)
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchFragment.kt | 154 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>()
|
D | StopwatchCircleView.kt | 83 mCompletedColor = ThemeUtils.resolveColor(context, R.attr.colorAccent)
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | ThemeComponentOption.java | 343 @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/ |
D | RingtoneViewHolder.kt | 59 val colorAccent = ThemeUtils.resolveColor(itemView.getContext(), in onBindItemView()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmActivity.kt | 196 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/ |
D | ExpandedAlarmViewHolder.kt | 175 dayButton.setTextColor(ThemeUtils.resolveColor(context, in <lambda>()
|