Home
last modified time | relevance | path

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

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DColorStateListTest.java54 int defaultColor = colorStateList.getColorForState(emptyState, mFailureColor); in testEmptyState() local
55 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor); in testEmptyState() local
60 int defaultColor = mResources.getColor(R.color.color1); in testGetColor() local
61 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor); in testGetColor() local
66 int defaultColor = mResources.getColor(R.color.color_no_default); in testGetColorWhenListHasNoDefault() local
67 assertEquals(mResources.getColor(R.color.testcolor1), defaultColor); in testGetColorWhenListHasNoDefault() local
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
DPalette.java209 public int getVibrantColor(@ColorInt int defaultColor) { in getVibrantColor()
220 public int getLightVibrantColor(@ColorInt int defaultColor) { in getLightVibrantColor()
231 public int getDarkVibrantColor(@ColorInt int defaultColor) { in getDarkVibrantColor()
242 public int getMutedColor(@ColorInt int defaultColor) { in getMutedColor()
253 public int getLightMutedColor(@ColorInt int defaultColor) { in getLightMutedColor()
264 public int getDarkMutedColor(@ColorInt int defaultColor) { in getDarkMutedColor()
/frameworks/base/core/java/android/content/res/
DColorStateList.java255 int defaultColor = DEFAULT_COLOR; in inflate() local
489 public int getColorForState(@Nullable int[] stateSet, int defaultColor) { in getColorForState()
573 int defaultColor = DEFAULT_COLOR; in onColorsChanged() local
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java77 int defaultColor; field in MainActivity
/frameworks/native/opengl/tests/hwc/
DhwcRects.cpp128 const ColorFract defaultColor(0.5, 0.5, 0.5); variable
DhwcCommit.cpp120 const ColorFract defaultColor(0.5, 0.5, 0.5); variable
/frameworks/support/design/src/android/support/design/widget/
DNavigationView.java383 int defaultColor = baseColor.getDefaultColor(); in createDefaultColorStateList() local
DTabLayout.java1536 private static ColorStateList createColorStateList(int defaultColor, int selectedColor) { in createColorStateList()
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java249 final int defaultColor; in applyLegacyColorFixes() local
DDatePickerCalendarDelegate.java204 final int defaultColor; in applyLegacyColorFixes() local
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java904 int defaultColor = paint.getColor(); in constructChipSpan() local