Searched refs:defaultColor (Results 1 – 7 of 7) sorted by relevance
/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/android/support/v7/graphics/ |
D | Palette.java | 281 public int getVibrantColor(int defaultColor) { 282 return mVibrantSwatch != null ? mVibrantSwatch.getRgb() : defaultColor; 290 public int getLightVibrantColor(int defaultColor) { 291 return mLightVibrantSwatch != null ? mLightVibrantSwatch.getRgb() : defaultColor; 299 public int getDarkVibrantColor(int defaultColor) { 300 return mDarkVibrantSwatch != null ? mDarkVibrantSwatch.getRgb() : defaultColor; 308 public int getMutedColor(int defaultColor) { 309 return mMutedSwatch != null ? mMutedSwatch.getRgb() : defaultColor; 317 public int getLightMutedColor(int defaultColor) { 318 return mLightMutedColor != null ? mLightMutedColor.getRgb() : defaultColor; [all …]
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/ |
D | MainActivity.java | 54 defaultColor = res.getColor(R.color.none_received); in onCreate() 77 int defaultColor; field in MainActivity 103 mShowStartView.setBackgroundColor(defaultColor); 106 mShowStopView.setBackgroundColor(defaultColor);
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 296 public int getColorForState(int[] stateSet, int defaultColor) { in getColorForState() argument 304 return defaultColor; in getColorForState()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcRects.cpp | 128 const ColorFract defaultColor(0.5, 0.5, 0.5); variable 146 blend(defaultBlend), color(defaultColor), in Rectangle()
|
D | hwcCommit.cpp | 120 const ColorFract defaultColor(0.5, 0.5, 0.5); variable 1311 blend(defaultBlend), color(defaultColor), alpha(defaultAlpha), in Rectangle()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 848 int defaultColor = paint.getColor(); in constructChipSpan() local 866 paint.setColor(defaultColor); in constructChipSpan()
|