Home
last modified time | relevance | path

Searched refs:drawableState (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlayPauseStopImageView.java91 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
95 mergeDrawableStates(drawableState, STATE_PLAY); in onCreateDrawableState()
98 mergeDrawableStates(drawableState, STATE_STOP); in onCreateDrawableState()
101 mergeDrawableStates(drawableState, STATE_PAUSE); in onCreateDrawableState()
104 mergeDrawableStates(drawableState, STATE_DISABLED); in onCreateDrawableState()
110 getBackground().setState(drawableState); in onCreateDrawableState()
112 return drawableState; in onCreateDrawableState()
/packages/apps/Car/Radio/src/com/android/car/radio/widget/
DPlayPauseButton.java107 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
111 mergeDrawableStates(drawableState, STATE_PLAYING); in onCreateDrawableState()
118 mergeDrawableStates(drawableState, STATE_PAUSED); in onCreateDrawableState()
122 mergeDrawableStates(drawableState, STATE_DISABLED); in onCreateDrawableState()
129 if (background != null) background.setState(drawableState); in onCreateDrawableState()
131 return drawableState; in onCreateDrawableState()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCachingIconLoader.java61 NowOrLater<Drawable.ConstantState> drawableState; in getIcon() local
63 drawableState = queryCache(drawableId); in getIcon()
64 if (drawableState == null) { in getIcon()
69 if (drawableState != null) { in getIcon()
70 return new NowOrLaterWrapper<Drawable.ConstantState, Drawable>(drawableState){ in getIcon()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDropBadgeView.java65 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
69 mergeDrawableStates(drawableState, STATE_REJECT_DROP); in onCreateDrawableState()
72 mergeDrawableStates(drawableState, STATE_COPY); in onCreateDrawableState()
76 return drawableState; in onCreateDrawableState()
DDragOverTextView.java39 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
42 mergeDrawableStates(drawableState, STATE_HIGHLIGHTED); in onCreateDrawableState()
45 return drawableState; in onCreateDrawableState()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootItemView.java36 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
39 mergeDrawableStates(drawableState, STATE_HIGHLIGHTED); in onCreateDrawableState()
42 return drawableState; in onCreateDrawableState()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DCheckableImageView.java42 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
44 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
46 return drawableState; in onCreateDrawableState()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DCheckableFrameLayout.java57 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
59 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
61 return drawableState; in onCreateDrawableState()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DStarView.java44 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
46 mergeDrawableStates(drawableState, STATE_STARRED); in onCreateDrawableState()
48 return drawableState; in onCreateDrawableState()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DCorpusView.java88 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
90 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
92 return drawableState; in onCreateDrawableState()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DUxrButton.java98 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
100 mergeDrawableStates(drawableState, STATE_UX_RESTRICTED); in onCreateDrawableState()
102 return drawableState; in onCreateDrawableState()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DCheckableImageButton.java134 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
136 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
138 return drawableState; in onCreateDrawableState()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttCheckableButton.java139 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
141 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
143 return drawableState; in onCreateDrawableState()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java181 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
183 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
185 return drawableState; in onCreateDrawableState()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPickerItem.java60 int[] drawableState = getDrawableState(); in drawableStateChanged() local
61 mFrame.setState(drawableState); in drawableStateChanged()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java308 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
310 mergeDrawableStates(drawableState, STATE_PRESSED); in onCreateDrawableState()
312 return drawableState; in onCreateDrawableState()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java779 int[] drawableState = key.getCurrentDrawableState(); in onBufferDraw() local
780 keyBackground.setState(drawableState); in onBufferDraw()
782 key.icon.setState(drawableState); in onBufferDraw()