Searched refs:stateList (Results 1 – 6 of 6) sorted by relevance
92 StateListDrawable stateList = (StateListDrawable) d; in render() local93 for (int i = 0; i < stateList.getStateCount(); i++) { in render()94 Drawable stateDrawable = stateList.getStateDrawable(i); in render()
85 verify(iv).setImageTintList(argThat(stateList -> stateList.getColors()[0] == desiredColor)); in testNoFirstFade()
198 ColorStateList stateList = in setStyle() local200 if (stateList != null) { in setStyle()201 textView.setTextColor(stateList); in setStyle()
1044 ColorStateList stateList = ResourceHelper.getColorStateList( in testColorStateList() local1052 assertNotNull(stateList); in testColorStateList()1053 assertEquals(Color.parseColor("#ffffffff"), stateList.getColorForState( in testColorStateList()1057 assertEquals(Color.parseColor("#ff303030"), stateList.getColorForState( in testColorStateList()1061 assertEquals(Color.parseColor("#AA000000"), stateList.getDefaultColor()); in testColorStateList()1066 stateList = ResourceHelper.getColorStateList( in testColorStateList()1074 assertNotNull(stateList); in testColorStateList()1075 assertEquals(Color.parseColor("#ff000000"), stateList.getColorForState( in testColorStateList()1079 assertEquals(Color.parseColor("#fffafafa"), stateList.getColorForState( in testColorStateList()1083 assertEquals(Color.parseColor("#AA000000"), stateList.getDefaultColor()); in testColorStateList()
561 StateListDrawable stateList = (StateListDrawable) mBackground; in setBackgroundDrawable() local564 int aboveAnchorStateIndex = stateList.findStateDrawableIndex(ABOVE_ANCHOR_STATE_SET); in setBackgroundDrawable()568 int count = stateList.getStateCount(); in setBackgroundDrawable()580 mAboveAnchorBackgroundDrawable = stateList.getStateDrawable(aboveAnchorStateIndex); in setBackgroundDrawable()581 mBelowAnchorBackgroundDrawable = stateList.getStateDrawable(belowAnchorStateIndex); in setBackgroundDrawable()
251 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(), in getColorStateList() local253 if (stateList != null) { in getColorStateList()254 return stateList; in getColorStateList()