/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | ColorStateListTest.java | 54 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/ |
D | Palette.java | 247 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/ |
D | ResourceHelper.java | 36 public static int getThemeColor(Context context, int attribute, int defaultColor) { in getThemeColor()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 308 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/ |
D | MainActivity.java | 77 int defaultColor; field in MainActivity
|
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/ |
D | AppCompatColorStateListInflater.java | 100 int defaultColor = DEFAULT_COLOR; in inflate() local
|
/frameworks/support/design/src/android/support/design/widget/ |
D | BottomNavigationView.java | 334 int defaultColor = baseColor.getDefaultColor(); in createDefaultColorStateList() local
|
D | NavigationView.java | 429 int defaultColor = baseColor.getDefaultColor(); in createDefaultColorStateList() local
|
D | TabLayout.java | 2049 private static ColorStateList createColorStateList(int defaultColor, int selectedColor) { in createColorStateList()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcRects.cpp | 128 const ColorFract defaultColor(0.5, 0.5, 0.5); variable
|
D | hwcCommit.cpp | 121 const ColorFract defaultColor(0.5, 0.5, 0.5); variable
|
/frameworks/base/core/java/android/widget/ |
D | DatePickerCalendarDelegate.java | 206 final int defaultColor; in applyLegacyColorFixes() local
|
D | TimePickerClockDelegate.java | 274 final int defaultColor; in applyLegacyColorFixes() local
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 1159 int defaultColor = paint.getColor(); in constructChipSpan() local
|