Searched refs:stateList (Results 1 – 9 of 9) sorted by relevance
166 List<LightState> stateList = request.getLightStates(); in requestLights() local171 LightState[] states = new LightState[stateList.size()]; in requestLights()172 for (int i = 0; i < stateList.size(); i++) { in requestLights()173 states[i] = stateList.get(i); in requestLights()
93 StateListDrawable stateList = (StateListDrawable) d; in render() local94 for (int i = 0; i < stateList.getStateCount(); i++) { in render()95 Drawable stateDrawable = stateList.getStateDrawable(i); in render()
152 ArrayMap<String, DomainVerificationPkgState> stateList = result.restored; in restoreSettings() local153 stateList.putAll(result.active); in restoreSettings()156 for (int stateIndex = 0; stateIndex < stateList.size(); stateIndex++) { in restoreSettings()157 DomainVerificationPkgState newState = stateList.valueAt(stateIndex); in restoreSettings()
162 ColorStateList stateList = in setStyle() local164 if (stateList != null) { in setStyle()165 textView.setTextColor(stateList); in setStyle()
106 verify(iv).setImageTintList(argThat(stateList -> stateList.getColors()[0] == desiredColor)); in testNoFirstFade()
1035 ColorStateList stateList = ResourceHelper.getColorStateList( in testColorStateList() local1043 assertNotNull(stateList); in testColorStateList()1044 assertEquals(Color.parseColor("#ffffffff"), stateList.getColorForState( in testColorStateList()1048 assertEquals(Color.parseColor("#ff303030"), stateList.getColorForState( in testColorStateList()1052 assertEquals(Color.parseColor("#AA000000"), stateList.getDefaultColor()); in testColorStateList()1057 stateList = ResourceHelper.getColorStateList( in testColorStateList()1065 assertNotNull(stateList); in testColorStateList()1066 assertEquals(Color.parseColor("#ff000000"), stateList.getColorForState( in testColorStateList()1070 assertEquals(Color.parseColor("#fffafafa"), stateList.getColorForState( in testColorStateList()1074 assertEquals(Color.parseColor("#AA000000"), stateList.getDefaultColor()); in testColorStateList()
225 ColorStateList stateList = ResourceHelper.getColorStateList(resourceValue, in getColor()227 if (stateList != null) { in getColor()228 return stateList.getDefaultColor(); in getColor()251 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.second, in getColorStateList() local253 if (stateList != null) { in getColorStateList()254 return stateList; in getColorStateList()
384 ColorStateList stateList = null; in getColorAttr() local386 stateList = ta.getColorStateList(0); in getColorAttr()390 return stateList; in getColorAttr()
565 StateListDrawable stateList = (StateListDrawable) mBackground; in setBackgroundDrawable() local568 int aboveAnchorStateIndex = stateList.findStateDrawableIndex(ABOVE_ANCHOR_STATE_SET); in setBackgroundDrawable()572 int count = stateList.getStateCount(); in setBackgroundDrawable()584 mAboveAnchorBackgroundDrawable = stateList.getStateDrawable(aboveAnchorStateIndex); in setBackgroundDrawable()585 mBelowAnchorBackgroundDrawable = stateList.getStateDrawable(belowAnchorStateIndex); in setBackgroundDrawable()