/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/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelperTest.java | 133 ColorStateList colorStateList = helper.getColorStateList( in getColorStateList_shouldReturnExpectedColorStateList() local 135 assertThat(colorStateList) in getColorStateList_shouldReturnExpectedColorStateList() 156 ColorStateList colorStateList = helper.getColorStateList( in getColorStateList_whenCacheHasColorValue_shouldReturnExpectedColorStateList() local 158 assertThat(colorStateList) in getColorStateList_whenCacheHasColorValue_shouldReturnExpectedColorStateList()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ColorStateListDrawable.java | 45 public ColorStateListDrawable(@NonNull ColorStateList colorStateList) { in ColorStateListDrawable() argument 48 setColorStateList(colorStateList); in ColorStateListDrawable() 243 public void setColorStateList(@NonNull ColorStateList colorStateList) { in setColorStateList() argument 244 mState.mColor = colorStateList; in setColorStateList()
|
D | GradientDrawable.java | 352 public void setStroke(int width, ColorStateList colorStateList) { in setStroke() argument 353 setStroke(width, colorStateList, 0, 0); in setStroke() 393 int width, ColorStateList colorStateList, float dashWidth, float dashGap) { in setStroke() argument 394 mGradientState.setStroke(width, colorStateList, dashWidth, dashGap); in setStroke() 396 if (colorStateList == null) { in setStroke() 400 color = colorStateList.getColorForState(stateSet, 0); in setStroke() 1103 public void setColor(@Nullable ColorStateList colorStateList) { 1104 if (colorStateList == null) { 1108 final int color = colorStateList.getColorForState(stateSet, 0); 1109 mGradientState.setSolidColors(colorStateList); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/ |
D | QSCarrier.java | 97 ColorStateList colorStateList = Utils.getColorAttr(mContext, in updateState() local 99 mMobileRoaming.setImageTintList(colorStateList); in updateState() 100 mMobileSignal.setImageTintList(colorStateList); in updateState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/ |
D | BouncerShowMessageModel.kt | 22 data class BouncerShowMessageModel(val message: String?, val colorStateList: ColorStateList?) constant in com.android.systemui.keyguard.shared.model.BouncerShowMessageModel
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/ |
D | MediaTttReceiverRippleController.kt | 134 var colorStateList = in <lambda>() variable 138 return colorStateList.withLStar(TONE_PERCENT).defaultColor in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | AlphaTintDrawableWrapper.java | 141 ColorStateList colorStateList in AlphaTintState() argument 146 mColorStateList = colorStateList; in AlphaTintState()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 329 ColorStateList colorStateList = ResourceHelper.getColorStateList( in getColor() local 331 if (colorStateList != null) { in getColor() 332 return colorStateList.getDefaultColor(); in getColor() 798 ColorStateList colorStateList = getColorStateList(index); in getValue() local 799 if (colorStateList == null) { in getValue() 802 outValue.data = colorStateList.getDefaultColor(); in getValue()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 295 final ColorStateList colorStateList = new ColorStateList(); in createFromXmlInner() local 296 colorStateList.inflate(r, parser, attrs, theme); in createFromXmlInner() 297 return colorStateList; in createFromXmlInner()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | PrimaryBouncerInteractor.kt | 258 fun showMessage(message: String?, colorStateList: ColorStateList?) { in <lambda>() 259 repository.setShowMessage(BouncerShowMessageModel(message, colorStateList)) in <lambda>()
|
/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/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardBouncerViewBinder.kt | 194 securityContainerController.showMessage(it.message, it.colorStateList) in <lambda>()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardBaseLayout.java | 773 ColorStateList colorStateList = in setButtonTextColor() local 775 if (colorStateList != null) { in setButtonTextColor() 776 button.setTextColor(colorStateList); in setButtonTextColor()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardCompatLayoutTest.java | 689 ColorStateList colorStateList = ReflectionHelpers.getField(state, "mColor"); in getDrawableDefaultColor() local 690 return colorStateList.getDefaultColor(); in getDrawableDefaultColor()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 1506 SetRippleDrawableColor(@IdRes int id, ColorStateList colorStateList) { in SetRippleDrawableColor() argument 1508 this.mColorStateList = colorStateList; in SetRippleDrawableColor() 4538 public void setRippleDrawableColor(@IdRes int viewId, ColorStateList colorStateList) { 4539 addAction(new SetRippleDrawableColor(viewId, colorStateList));
|