Searched refs:stateListDrawable (Results 1 – 3 of 3) sorted by relevance
299 StateListDrawable stateListDrawable = (StateListDrawable) mMediaRouteButtonDrawable; in getIconDrawable() local300 stateListDrawable.setState(mMediaRouteConnectingState); in getIconDrawable()301 return stateListDrawable.getCurrent(); in getIconDrawable()303 StateListDrawable stateListDrawable = (StateListDrawable) mMediaRouteButtonDrawable; in getIconDrawable() local304 stateListDrawable.setState(mMediaRouteOnState); in getIconDrawable()305 return stateListDrawable.getCurrent(); in getIconDrawable()
547 private static int getStateCount(StateListDrawable stateListDrawable) { in getStateCount() argument549 return stateListDrawable.getStateCount(); in getStateCount()555 .invoke(stateListDrawable); in getStateCount()566 private static Drawable getStateDrawable(StateListDrawable stateListDrawable, int index) { in getStateDrawable() argument568 return stateListDrawable.getStateDrawable(index); in getStateDrawable()574 .invoke(stateListDrawable, index); in getStateDrawable()
353 StateListDrawable stateListDrawable = new StateListDrawable(); in bindThumbnailTile() local354 stateListDrawable.addState(new int[] {android.R.attr.state_activated}, selectedOption); in bindThumbnailTile()355 stateListDrawable.addState( in bindThumbnailTile()358 ((ImageView) view.findViewById(R.id.option_tile)).setImageDrawable(stateListDrawable); in bindThumbnailTile()