Home
last modified time | relevance | path

Searched refs:stateList (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java89 final StateListDrawable stateList = (StateListDrawable) d; in render() local
90 for (int i = 0; i < stateList.getStateCount(); i++) { in render()
91 final Drawable stateDrawable = stateList.getStateDrawable(i); in render()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSIconViewImplTest.java83 verify(iv).setImageTintList(argThat(stateList -> stateList.getColors()[0] == desiredColor)); in testNoFirstFade()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java211 ColorStateList stateList = ResourceHelper.getColorStateList( in setStyle() local
213 if (stateList != null) { in setStyle()
214 textView.setTextColor(stateList); in setStyle()
/frameworks/base/core/java/android/widget/
DPopupWindow.java520 StateListDrawable stateList = (StateListDrawable) mBackground; in setBackgroundDrawable() local
523 int aboveAnchorStateIndex = stateList.getStateDrawableIndex(ABOVE_ANCHOR_STATE_SET); in setBackgroundDrawable()
527 int count = stateList.getStateCount(); in setBackgroundDrawable()
539 mAboveAnchorBackgroundDrawable = stateList.getStateDrawable(aboveAnchorStateIndex); in setBackgroundDrawable()
540 mBelowAnchorBackgroundDrawable = stateList.getStateDrawable(belowAnchorStateIndex); in setBackgroundDrawable()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java230 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(), in getColorStateList() local
232 if (stateList != null) { in getColorStateList()
233 return stateList.obtainForTheme(theme); in getColorStateList()