Home
last modified time | relevance | path

Searched refs:stateList (Results 1 – 4 of 4) 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/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.java391 StateListDrawable stateList = (StateListDrawable) mBackground; in setBackgroundDrawable() local
394 int aboveAnchorStateIndex = stateList.getStateDrawableIndex(ABOVE_ANCHOR_STATE_SET); in setBackgroundDrawable()
398 int count = stateList.getStateCount(); in setBackgroundDrawable()
410 mAboveAnchorBackgroundDrawable = stateList.getStateDrawable(aboveAnchorStateIndex); in setBackgroundDrawable()
411 mBelowAnchorBackgroundDrawable = stateList.getStateDrawable(belowAnchorStateIndex); in setBackgroundDrawable()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeResources.java211 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(), in getColorStateList() local
213 if (stateList != null) { in getColorStateList()
214 return stateList.obtainForTheme(theme); in getColorStateList()