Searched refs:drawables (Results 1 – 4 of 4) sorted by relevance
122 final Drawable[] drawables = new Drawable[] { in testIsDefaultFocusHighlightNeeded() local136 for (int i = 0; i < drawables.length; i++) { in testIsDefaultFocusHighlightNeeded()137 for (int j = 0; j < drawables.length; j++) { in testIsDefaultFocusHighlightNeeded()140 isNeeded = button.isDefaultFocusHighlightNeeded(drawables[i], drawables[j]); in testIsDefaultFocusHighlightNeeded()145 isNeeded = button.isDefaultFocusHighlightNeeded(drawables[i], drawables[j]); in testIsDefaultFocusHighlightNeeded()151 for (int k = 0; k < drawables.length; k++) { in testIsDefaultFocusHighlightNeeded()152 imageView.setImageDrawable(drawables[k]); in testIsDefaultFocusHighlightNeeded()153 for (int i = 0; i < drawables.length; i++) { in testIsDefaultFocusHighlightNeeded()154 for (int j = 0; j < drawables.length; j++) { in testIsDefaultFocusHighlightNeeded()157 isNeeded = imageView.isDefaultFocusHighlightNeeded(drawables[i], drawables[j]); in testIsDefaultFocusHighlightNeeded()[all …]
75 Drawable[] drawables = new Drawable[] { in testConstructor() local79 new TransitionDrawable(drawables); in testConstructor()
162 final Drawable[] drawables = new Drawable[] { in testColorStateListHandledDrawable() local215 for (Drawable drawable : drawables) { in testColorStateListHandledDrawable()
4088 Drawable[] drawables = mTextView.getCompoundDrawables(); in testCompound() local4089 assertNull(drawables[0]); in testCompound()4090 assertNull(drawables[1]); in testCompound()4091 assertNull(drawables[2]); in testCompound()4092 assertNull(drawables[3]); in testCompound()4101 drawables = mTextView.getCompoundDrawables(); in testCompound()4105 ((BitmapDrawable) drawables[0]).getBitmap()); in testCompound()4108 ((BitmapDrawable) drawables[1]).getBitmap()); in testCompound()4111 ((BitmapDrawable) drawables[2]).getBitmap()); in testCompound()4113 assertNull(drawables[3]); in testCompound()[all …]