Home
last modified time | relevance | path

Searched defs:defaultColor (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/graphics/
DColorStateListTest.java55 int defaultColor = colorStateList.getColorForState(emptyState, mFailureColor); in testEmptyState() local
56 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor); in testEmptyState() local
61 int defaultColor = mResources.getColor(R.color.color1); in testGetColor() local
62 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor); in testGetColor() local
67 int defaultColor = mResources.getColor(R.color.color_no_default); in testGetColorWhenListHasNoDefault() local
68 assertEquals(mResources.getColor(R.color.testcolor1), defaultColor); in testGetColorWhenListHasNoDefault() local
/frameworks/base/core/java/com/android/internal/graphics/palette/
DPalette.java251 public int getVibrantColor(@ColorInt final int defaultColor) { in getVibrantColor()
262 public int getLightVibrantColor(@ColorInt final int defaultColor) { in getLightVibrantColor()
273 public int getDarkVibrantColor(@ColorInt final int defaultColor) { in getDarkVibrantColor()
284 public int getMutedColor(@ColorInt final int defaultColor) { in getMutedColor()
295 public int getLightMutedColor(@ColorInt final int defaultColor) { in getLightMutedColor()
306 public int getDarkMutedColor(@ColorInt final int defaultColor) { in getDarkMutedColor()
325 public int getColorForTarget(@NonNull final Target target, @ColorInt final int defaultColor) { in getColorForTarget()
348 public int getDominantColor(@ColorInt int defaultColor) { in getDominantColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileColorPicker.java48 final int defaultColor = 0; in getColor() local
/frameworks/base/core/java/android/content/res/
DColorStateList.java314 int defaultColor = DEFAULT_COLOR; in inflate() local
562 public int getColorForState(@Nullable int[] stateSet, int defaultColor) { in getColorForState()
649 int defaultColor = DEFAULT_COLOR; in onColorsChanged() local
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java78 int defaultColor; field in MainActivity
/frameworks/native/opengl/tests/hwc/
DhwcRects.cpp128 const ColorFract defaultColor(0.5, 0.5, 0.5); variable
DhwcCommit.cpp121 const ColorFract defaultColor(0.5, 0.5, 0.5); variable
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java364 final int defaultColor; in applyLegacyColorFixes() local
DDatePickerCalendarDelegate.java200 final int defaultColor; in applyLegacyColorFixes() local
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1159 int defaultColor = paint.getColor(); in constructChipSpan() local