/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | ColorStateListTest.java | 45 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testStateIsInList() local 47 int focusColor = colorStateList.getColorForState(focusedState, R.color.failColor); in testStateIsInList() 53 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testEmptyState() local 55 int defaultColor = colorStateList.getColorForState(emptyState, mFailureColor); in testEmptyState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSCarrier.java | 78 ColorStateList colorStateList = ColorStateList.valueOf( in updateState() local 80 mMobileRoaming.setImageTintList(colorStateList); in updateState() 82 mMobileSignal.setImageTintList(colorStateList); in updateState()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ColorStateListDrawable.java | 45 public ColorStateListDrawable(@NonNull ColorStateList colorStateList) { in ColorStateListDrawable() argument 48 setColorStateList(colorStateList); in ColorStateListDrawable() 237 public void setColorStateList(@NonNull ColorStateList colorStateList) { in setColorStateList() argument 238 mState.mColor = colorStateList; in setColorStateList()
|
D | GradientDrawable.java | 337 public void setStroke(int width, ColorStateList colorStateList) { in setStroke() argument 338 setStroke(width, colorStateList, 0, 0); in setStroke() 378 int width, ColorStateList colorStateList, float dashWidth, float dashGap) { in setStroke() argument 379 mGradientState.setStroke(width, colorStateList, dashWidth, dashGap); in setStroke() 381 if (colorStateList == null) { in setStroke() 385 color = colorStateList.getColorForState(stateSet, 0); in setStroke() 1079 public void setColor(@Nullable ColorStateList colorStateList) { 1080 if (colorStateList == null) { 1084 final int color = colorStateList.getColorForState(stateSet, 0); 1085 mGradientState.setSolidColors(colorStateList); [all …]
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 301 ColorStateList colorStateList = ResourceHelper.getColorStateList( in getColor() local 303 if (colorStateList != null) { in getColor() 304 return colorStateList.getDefaultColor(); in getColor() 774 ColorStateList colorStateList = getColorStateList(index); in getValue() local 775 if (colorStateList == null) { in getValue() 778 outValue.data = colorStateList.getDefaultColor(); in getValue()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 280 final ColorStateList colorStateList = new ColorStateList(); in createFromXmlInner() local 281 colorStateList.inflate(r, parser, attrs, theme); in createFromXmlInner() 282 return colorStateList; in createFromXmlInner()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardCompatLayoutTest.java | 519 ColorStateList colorStateList = ReflectionHelpers.getField(state, "mColor"); in getDrawbleDefaultColor() local 520 return colorStateList.getDefaultColor(); in getDrawbleDefaultColor()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 218 ColorStateList colorStateList = span.getTextColor(); in processTextAppearanceSpan() local 219 if (colorStateList != null) { in processTextAppearanceSpan() 220 int[] colors = colorStateList.getColors(); in processTextAppearanceSpan() 237 new ColorStateList(colorStateList.getStates(), colors), in processTextAppearanceSpan()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 4890 ColorStateList colorStateList = ColorStateList.valueOf(color); in handleProgressBar() local 4891 contentView.setProgressTintList(R.id.progress, colorStateList); in handleProgressBar() 4892 contentView.setProgressIndeterminateTintList(R.id.progress, colorStateList); in handleProgressBar()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |