Home
last modified time | relevance | path

Searched refs:Style (Results 1 – 25 of 160) sorted by relevance

1234567

/packages/apps/ThemePicker/src/com/android/customization/model/color/
DColorProvider.kt40 import com.android.systemui.monet.Style
59 val styleSize = if (themeStyleEnabled) Style.values().size else 1
71 arrayOf(Style.TONAL_SPOT, Style.SPRITZ, Style.VIBRANT, Style.EXPRESSIVE)
72 else arrayOf(Style.TONAL_SPOT)
215 Style.TONAL_SPOT -> in buildBundle()
217 Style.SPRITZ -> in buildBundle()
219 Style.VIBRANT -> in buildBundle()
221 Style.EXPRESSIVE -> in buildBundle()
310 Style.FRUIT_SALAD -> intArrayOf(seed, colorScheme.accent1.s200) in getPresetColorPreview()
311 Style.TONAL_SPOT -> intArrayOf(colorScheme.accentColor, colorScheme.accentColor) in getPresetColorPreview()
[all …]
DThemedWallpaperColorResources.kt26 import com.android.systemui.monet.Style
58 private suspend fun fetchThemeStyleFromSetting(): Style { in fetchThemeStyleFromSetting()
64 Style.valueOf(jsonObject.getString(OVERLAY_CATEGORY_THEME_STYLE)) in fetchThemeStyleFromSetting()
67 Style.TONAL_SPOT in fetchThemeStyleFromSetting()
70 Style.TONAL_SPOT in fetchThemeStyleFromSetting()
73 Style.TONAL_SPOT in fetchThemeStyleFromSetting()
DColorOption.java32 import com.android.systemui.monet.Style;
59 private final Style mStyle;
64 Style style, int index) { in ColorOption()
83 currentStyle = Style.TONAL_SPOT.toString(); in isActive()
238 public Style getStyle() { in getStyle()
DColorOptionImpl.kt25 import com.android.systemui.monet.Style
36 style: Style,
92 var style = Style.TONAL_SPOT in getStyleForLogging()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/color/
DColorOptionTest.kt23 import com.android.systemui.monet.Style
57 Style.TONAL_SPOT, in testColorOptionSource()
67 testColorOptionStyle(Style.TONAL_SPOT) in colorOption_style()
68 testColorOptionStyle(Style.SPRITZ) in colorOption_style()
69 testColorOptionStyle(Style.VIBRANT) in colorOption_style()
70 testColorOptionStyle(Style.EXPRESSIVE) in colorOption_style()
73 private fun testColorOptionStyle(style: Style) { in testColorOptionStyle()
103 Style.TONAL_SPOT, in testColorOptionIndex()
127 Style.TONAL_SPOT, in setUpWallpaperColorOption()
DColorCustomizationManagerTest.kt33 import com.android.systemui.monet.Style
74 val style = Style.SPRITZ in testParseSettings()
144 Style.TONAL_SPOT, in getPresetColorOption()
157 Style.TONAL_SPOT, in getWallpaperColorOption()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/color/ui/viewmodel/
DColorPickerViewModelTest.kt33 import com.android.systemui.monet.Style in <lambda>()
132 Style.EXPRESSIVE, in <lambda>()
136 listOf(repository.buildPresetOption(Style.FRUIT_SALAD, "#ABCDEF")), in <lambda>()
152 assertThat(logger.themeColorStyle).isEqualTo(Style.EXPRESSIVE.toString().hashCode()) in <lambda>()
163 Style.EXPRESSIVE, in <lambda>()
167 listOf(repository.buildPresetOption(Style.FRUIT_SALAD, "#ABCDEF")), in <lambda>()
182 assertThat(logger.themeColorStyle).isEqualTo(Style.FRUIT_SALAD.toString().hashCode()) in <lambda>()
/packages/apps/DevCamera/src/com/android/devcamera/
DPreviewOverlay.java58 mPaint.setStyle(Paint.Style.STROKE); in PreviewOverlay()
64 mPaint2.setStyle(Paint.Style.STROKE); in PreviewOverlay()
170 mPaint2.setStyle(Paint.Style.FILL_AND_STROKE); in onDraw()
174 mPaint2.setStyle(Paint.Style.FILL_AND_STROKE); in onDraw()
184 mPaint2.setStyle(Paint.Style.FILL_AND_STROKE); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DEclipseControl.java198 paint.setStyle(Paint.Style.FILL); in paintGrayPoint()
215 paint.setStyle(Paint.Style.FILL); in paintPoint()
233 paint.setStyle(Paint.Style.STROKE); in paintRadius()
249 paint.setStyle(Paint.Style.STROKE); in paintOvallines()
269 paint.setStyle(Paint.Style.FILL); in paintOvallines()
277 paint.setStyle(Paint.Style.STROKE); in paintOvallines()
DImagePoint.java24 import android.graphics.Paint.Style;
64 paint.setStyle(Style.STROKE); in onDraw()
/packages/modules/Bluetooth/system/gd/docs/architecture/
Dstyle_guide.md1 # Gabeldorsche Style Guide
10 ### Google C++ Style Guide
12 C++ Style Guide: https://google.github.io/styleguide/cppguide.html
14 ### Android and Google Java Style Guide
16 1. Android Java Style Guide:
19 2. when not covered by (1), see External Java Style Guide:
24 ### Python Style Guide
26 The GD stack uses the Google Python Style Guide:
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
DSubtitleView.java26 import android.graphics.Paint.Style;
279 paint.setStyle(Style.FILL); in onDraw()
300 textPaint.setStyle(Style.FILL_AND_STROKE); in onDraw()
311 textPaint.setStyle(Style.FILL); in onDraw()
318 textPaint.setStyle(Style.FILL); in onDraw()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoProgressBar.java52 mDoneAreaPaint.setStyle(Paint.Style.FILL); in PanoProgressBar()
55 mBackgroundPaint.setStyle(Paint.Style.FILL); in PanoProgressBar()
58 mIndicatorPaint.setStyle(Paint.Style.FILL); in PanoProgressBar()
/packages/apps/Camera2/src/com/android/camera/
DPanoProgressBar.java55 mDoneAreaPaint.setStyle(Paint.Style.FILL); in PanoProgressBar()
58 mBackgroundPaint.setStyle(Paint.Style.FILL); in PanoProgressBar()
61 mIndicatorPaint.setStyle(Paint.Style.FILL); in PanoProgressBar()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorRectView.java80 mDotPaint.setStyle(Paint.Style.FILL); in ColorRectView()
83 mWheelPaint1.setStyle(Paint.Style.FILL); in ColorRectView()
84 mWheelPaint2.setStyle(Paint.Style.FILL); in ColorRectView()
85 mWheelPaint3.setStyle(Paint.Style.FILL); in ColorRectView()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.kt26 import android.graphics.Paint.Style
242 p.setStyle(Style.FILL) in initView()
248 mMonthNumPaint.setStyle(Style.FILL) in initView()
327 p.setStyle(Style.FILL) in drawBackground()
354 p.setStyle(Style.FILL) in drawWeekNums()
398 p.setStyle(Style.STROKE) in drawDaySeparators()
DMonthWeekEventsView.kt32 import android.graphics.Paint.Style
329 mMonthNumPaint.setStyle(Style.FILL) in initView()
355 mEventExtrasPaint.setStyle(Style.FILL) in initView()
366 mEventDeclinedExtrasPaint.setStyle(Style.FILL) in initView()
373 mWeekNumPaint.setStyle(Style.FILL) in initView()
379 mDNATimePaint.setStyle(Style.FILL_AND_STROKE) in initView()
383 mDNAAllDayPaint.setStyle(Style.FILL_AND_STROKE) in initView()
478 p.setStyle(Style.STROKE) in drawToday()
485 p.setStyle(Style.FILL) in drawToday()
802 var boxStyle: Style = Style.STROKE in drawEvent()
[all …]
/packages/apps/ThemePicker/src/com/android/customization/picker/color/data/repository/
DColorPickerRepositoryImpl.kt26 import com.android.systemui.monet.Style in <lambda>()
147 val style = styleOrNull?.let { Style.valueOf(it) } ?: Style.TONAL_SPOT in <lambda>()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DHistogramView.java100 mPaint.setStyle(Paint.Style.STROKE); in drawHistogram()
105 mPaint.setStyle(Paint.Style.FILL); in drawHistogram()
133 mPaint.setStyle(Paint.Style.STROKE); in drawHistogram()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterDraw.java25 import android.graphics.Paint.Style;
119 paint.setStyle(Style.STROKE); in paint()
165 paint.setStyle(Style.STROKE); in paint()
228 paint.setStyle(Style.STROKE); in drawData()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/countdown/
DLoopingAnimationThread.java82 mBackgroundPaint.setStyle(Paint.Style.FILL); in LoopingAnimationThread()
86 mLoopPaint.setStyle(Paint.Style.STROKE); in LoopingAnimationThread()
90 mLoopHeadPaint.setStyle(Paint.Style.FILL); in LoopingAnimationThread()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DNotificationState.java63 public NotificationCompat.Style mNotificationStyle;
95 protected abstract NotificationCompat.Style build(NotificationCompat.Builder builder); in build()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DPartialCircleView.java104 paint.setStyle(Paint.Style.FILL); in onDraw()
114 paint.setStyle(Paint.Style.STROKE); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DItemFocusIndicatorHelper.java104 mPaint.setStyle(Paint.Style.STROKE); in ItemFocusIndicatorHelper()
110 mInnerPaint.setStyle(Paint.Style.STROKE); in ItemFocusIndicatorHelper()
117 mPaint.setStyle(Paint.Style.FILL); in ItemFocusIndicatorHelper()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/widget/
DUdfpsEnrollIconV2.kt92 style = Paint.Style.FILL in <lambda>()
99 style = Paint.Style.FILL in <lambda>()
241 paint.style = Paint.Style.STROKE in <lambda>()

1234567