Home
last modified time | relevance | path

Searched defs:defaultColor (Results 1 – 14 of 14) 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.java247 public int getVibrantColor(@ColorInt final int defaultColor) { in getVibrantColor()
258 public int getLightVibrantColor(@ColorInt final int defaultColor) { in getLightVibrantColor()
269 public int getDarkVibrantColor(@ColorInt final int defaultColor) { in getDarkVibrantColor()
280 public int getMutedColor(@ColorInt final int defaultColor) { in getMutedColor()
291 public int getLightMutedColor(@ColorInt final int defaultColor) { in getLightMutedColor()
302 public int getDarkMutedColor(@ColorInt final int defaultColor) { in getDarkMutedColor()
321 public int getColorForTarget(@NonNull final Target target, @ColorInt final int defaultColor) { in getColorForTarget()
344 public int getDominantColor(@ColorInt int defaultColor) { in getDominantColor()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
DResourceHelper.java36 public static int getThemeColor(Context context, int attribute, int defaultColor) { in getThemeColor()
/frameworks/base/core/java/android/content/res/
DColorStateList.java308 int defaultColor = DEFAULT_COLOR; in inflate() local
545 public int getColorForState(@Nullable int[] stateSet, int defaultColor) { in getColorForState()
629 int defaultColor = DEFAULT_COLOR; in onColorsChanged() local
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java77 int defaultColor; field in MainActivity
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DAppCompatColorStateListInflater.java100 int defaultColor = DEFAULT_COLOR; in inflate() local
/frameworks/support/design/src/android/support/design/widget/
DBottomNavigationView.java334 int defaultColor = baseColor.getDefaultColor(); in createDefaultColorStateList() local
DNavigationView.java429 int defaultColor = baseColor.getDefaultColor(); in createDefaultColorStateList() local
DTabLayout.java2049 private static ColorStateList createColorStateList(int defaultColor, int selectedColor) { in createColorStateList()
/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/
DDatePickerCalendarDelegate.java206 final int defaultColor; in applyLegacyColorFixes() local
DTimePickerClockDelegate.java274 final int defaultColor; in applyLegacyColorFixes() local
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1159 int defaultColor = paint.getColor(); in constructChipSpan() local