Searched refs:colorStateList (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | ColorStateListTest.java | 44 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testStateIsInList() local 46 int focusColor = colorStateList.getColorForState(focusedState, R.color.failColor); in testStateIsInList() 52 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testEmptyState() local 54 int defaultColor = colorStateList.getColorForState(emptyState, mFailureColor); in testEmptyState()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ViewBindingAdapterTest.java | 91 ColorStateList colorStateList = view.getBackgroundTintList(); in testBackgroundTint() local 92 assertEquals(mBindingObject.getBackgroundTint(), colorStateList.getDefaultColor()); in testBackgroundTint() 97 colorStateList = view.getBackgroundTintList(); in testBackgroundTint() 98 assertEquals(mBindingObject.getBackgroundTint(), colorStateList.getDefaultColor()); in testBackgroundTint()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 327 public void setStroke(int width, ColorStateList colorStateList) { in setStroke() argument 328 setStroke(width, colorStateList, 0, 0); in setStroke() 368 int width, ColorStateList colorStateList, float dashWidth, float dashGap) { in setStroke() argument 369 mGradientState.setStroke(width, colorStateList, dashWidth, dashGap); in setStroke() 371 if (colorStateList == null) { in setStroke() 375 color = colorStateList.getColorForState(stateSet, 0); in setStroke() 912 public void setColor(@Nullable ColorStateList colorStateList) { 913 mGradientState.setSolidColors(colorStateList); 915 if (colorStateList == null) { 919 color = colorStateList.getColorForState(stateSet, 0); [all …]
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
D | TestUtilsActions.java | 91 public static ViewAction setBackgroundTintListViewCompat(final ColorStateList colorStateList) { 107 ViewCompat.setBackgroundTintList(view, colorStateList);
|
D | AppCompatTintableViewActions.java | 68 public static ViewAction setBackgroundTintList(final ColorStateList colorStateList) { 85 tintableBackgroundView.setSupportBackgroundTintList(colorStateList);
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationColorUtil.java | 199 ColorStateList colorStateList = span.getTextColor(); in processTextAppearanceSpan() local 200 if (colorStateList != null) { in processTextAppearanceSpan() 201 int[] colors = colorStateList.getColors(); in processTextAppearanceSpan() 218 new ColorStateList(colorStateList.getStates(), colors), in processTextAppearanceSpan()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 274 final ColorStateList colorStateList = new ColorStateList(); in createFromXmlInner() local 275 colorStateList.inflate(r, parser, attrs, theme); in createFromXmlInner() 276 return colorStateList; in createFromXmlInner()
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 293 ColorStateList colorStateList = ResourceHelper.getColorStateList( in getColor() local 295 if (colorStateList != null) { in getColor() 296 return colorStateList.getDefaultColor(); in getColor()
|
/frameworks/data-binding/compilerCommon/ |
D | BindingExpression.g4 | 471 | 'colorStateList'
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 3357 ColorStateList colorStateList = ColorStateList.valueOf(resolveContrastColor()); in handleProgressBar() local 3358 contentView.setProgressTintList(R.id.progress, colorStateList); in handleProgressBar() 3359 contentView.setProgressIndeterminateTintList(R.id.progress, colorStateList); in handleProgressBar()
|
/frameworks/base/docs/html/topic/libraries/data-binding/ |
D | index.jd | 1114 @colorStateList
|