Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/uxr/
DDrawableStateViewTest.java81 int[] drawableState = runOnUiThread(((View) button)::getDrawableState); in test_drawablestateview_methods_work() local
84 drawableState, in test_drawablestateview_methods_work()
88 drawableState = runOnUiThread(() -> { in test_drawablestateview_methods_work()
94 drawableState, in test_drawablestateview_methods_work()
98 drawableState = runOnUiThread(() -> { in test_drawablestateview_methods_work()
105 drawableState, in test_drawablestateview_methods_work()
113 drawableState = runOnUiThread(() -> { in test_drawablestateview_methods_work()
122 drawableState, in test_drawablestateview_methods_work()
133 int[] drawableState = runOnUiThread(() -> { in test_setExtraDrawableState_calledFirst() local
139 drawableState, in test_setExtraDrawableState_calledFirst()
[all …]
/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/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListTableView.java54 int[] drawableState = in onCreateDrawableState() local
56 mergeDrawableStates(drawableState, mListDrawableState.mStateSet); in onCreateDrawableState()
57 return drawableState; in onCreateDrawableState()
DWidgetsListHeader.java283 int[] drawableState = in onCreateDrawableState() local
285 mergeDrawableStates(drawableState, mListDrawableState.mStateSet); in onCreateDrawableState()
286 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/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
DCustomButton.java59 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
61 mergeDrawableStates(drawableState, STATE_ROTARY_ENABLED); in onCreateDrawableState()
63 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.java104 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
106 mergeDrawableStates(drawableState, STATE_UX_RESTRICTED); in onCreateDrawableState()
108 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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItemRenderer.java170 int[] drawableState = mMenuItem.isRestricted() ? RESTRICTED_STATE : null; in recursiveSetEnabledAndDrawableState() local
172 ((ImageView) view).setImageState(drawableState, true); in recursiveSetEnabledAndDrawableState()
174 ((DrawableStateView) view).setExtraDrawableState(drawableState, null); in recursiveSetEnabledAndDrawableState()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPickerItem.java60 int[] drawableState = getDrawableState(); in drawableStateChanged() local
61 mFrame.setState(drawableState); in drawableStateChanged()
/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/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DMenuItemView.java125 int[] drawableState = mMenuItem.isRestricted() ? RESTRICTED_STATE : null; in recursiveSetEnabledAndDrawableState() local
129 ((DrawableStateView) view).setExtraDrawableState(drawableState, drawableStateToRemove); in recursiveSetEnabledAndDrawableState()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java358 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
360 mergeDrawableStates(drawableState, STATE_PRESSED); in onCreateDrawableState()
362 return drawableState; in onCreateDrawableState()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java782 int[] drawableState = key.getCurrentDrawableState(); in onBufferDraw() local
783 keyBackground.setState(drawableState); in onBufferDraw()
785 key.icon.setState(drawableState); in onBufferDraw()