Home
last modified time | relevance | path

Searched refs:getDrawable (Results 1 – 25 of 436) sorted by relevance

12345678910>>...18

/packages/apps/Car/Cluster/src/android/car/cluster/
DNavStateController.java188 return mContext.getDrawable(R.drawable.direction_depart); in getManeuverIcon()
190 return mContext.getDrawable(R.drawable.direction_new_name_straight); in getManeuverIcon()
192 return mContext.getDrawable(R.drawable.direction_continue_left); in getManeuverIcon()
194 return mContext.getDrawable(R.drawable.direction_continue_right); in getManeuverIcon()
196 return mContext.getDrawable(R.drawable.direction_turn_slight_left); in getManeuverIcon()
198 return mContext.getDrawable(R.drawable.direction_turn_slight_right); in getManeuverIcon()
200 return mContext.getDrawable(R.drawable.direction_turn_left); in getManeuverIcon()
202 return mContext.getDrawable(R.drawable.direction_turn_right); in getManeuverIcon()
204 return mContext.getDrawable(R.drawable.direction_turn_sharp_left); in getManeuverIcon()
206 return mContext.getDrawable(R.drawable.direction_turn_sharp_right); in getManeuverIcon()
[all …]
DLaneView.java221 return mContext.getDrawable(R.drawable.direction_continue); in getLaneIcon()
223 return mContext.getDrawable(R.drawable.direction_turn_slight_left); in getLaneIcon()
225 return mContext.getDrawable(R.drawable.direction_turn_slight_right); in getLaneIcon()
227 return mContext.getDrawable(R.drawable.direction_turn_left); in getLaneIcon()
229 return mContext.getDrawable(R.drawable.direction_turn_right); in getLaneIcon()
231 return mContext.getDrawable(R.drawable.direction_turn_sharp_left); in getLaneIcon()
233 return mContext.getDrawable(R.drawable.direction_turn_sharp_right); in getLaneIcon()
235 return mContext.getDrawable(R.drawable.direction_uturn_left); in getLaneIcon()
237 return mContext.getDrawable(R.drawable.direction_uturn_right); in getLaneIcon()
/packages/apps/Messaging/src/com/android/messaging/ui/
DConversationDrawables.java76 mIncomingBubbleDrawable = resources.getDrawable(R.drawable.msg_bubble_incoming); in updateDrawables()
78 resources.getDrawable(R.drawable.message_bubble_incoming_no_arrow); in updateDrawables()
79 mIncomingErrorBubbleDrawable = resources.getDrawable(R.drawable.msg_bubble_error); in updateDrawables()
80 mOutgoingBubbleDrawable = resources.getDrawable(R.drawable.msg_bubble_outgoing); in updateDrawables()
82 resources.getDrawable(R.drawable.message_bubble_outgoing_no_arrow); in updateDrawables()
83 mAudioPlayButtonDrawable = resources.getDrawable(R.drawable.ic_audio_play); in updateDrawables()
84 mAudioPauseButtonDrawable = resources.getDrawable(R.drawable.ic_audio_pause); in updateDrawables()
86 resources.getDrawable(R.drawable.audio_progress_bar_background_incoming); in updateDrawables()
88 resources.getDrawable(R.drawable.audio_progress_bar_background_outgoing); in updateDrawables()
90 resources.getDrawable(R.drawable.audio_progress_bar_progress); in updateDrawables()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorUiUtils.java159 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable()
162 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable()
165 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable()
168 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable()
171 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable()
174 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable()
177 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable()
180 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable()
183 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable()
186 return ResourcesCompat.getDrawable(context.getResources(), in getMimeTypeDrawable()
[all …]
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DFanDirectionButtons.java98 Drawable directionOn1 = res.getDrawable(R.drawable.ic_fan_direction_1_on); in onFinishInflate()
99 Drawable directionOn2 = res.getDrawable(R.drawable.ic_fan_direction_2_on); in onFinishInflate()
100 Drawable directionOn3 = res.getDrawable(R.drawable.ic_fan_direction_3_on); in onFinishInflate()
101 Drawable directionOn4 = res.getDrawable(R.drawable.ic_fan_direction_4_on); in onFinishInflate()
103 Drawable directionOff1 = res.getDrawable(R.drawable.ic_fan_direction_1_off); in onFinishInflate()
104 Drawable directionOff2 = res.getDrawable(R.drawable.ic_fan_direction_2_off); in onFinishInflate()
105 Drawable directionOff3 = res.getDrawable(R.drawable.ic_fan_direction_3_off); in onFinishInflate()
106 Drawable directionOff4 = res.getDrawable(R.drawable.ic_fan_direction_4_off); in onFinishInflate()
DSeatWarmerButton.java68 mStateDrawables[0] = res.getDrawable(R.drawable.ic_seat_heat_off); in init()
69 mStateDrawables[1] = res.getDrawable(R.drawable.ic_seat_heat_level_1); in init()
70 mStateDrawables[2] = res.getDrawable(R.drawable.ic_seat_heat_level_2); in init()
71 mStateDrawables[3] = res.getDrawable(R.drawable.ic_seat_heat_level_3); in init()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DTaskLayerDrawable.java40 mEmptyDrawable = context.getResources().getDrawable( in TaskLayerDrawable()
71 Drawable oldDrawable = getDrawable(0); in startNewTransition()
93 getDrawable(0).setAlpha(drawableAlpha); in applyTransitionProgress()
94 if (getDrawable(0) != getDrawable(1)) { in applyTransitionProgress()
97 getDrawable(1).setAlpha(255 - drawableAlpha); in applyTransitionProgress()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeIconsView.java291 Drawable drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources()
297 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources()
304 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources()
310 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources()
315 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources()
320 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources()
325 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources()
330 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources()
335 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources()
340 drawable = largeIcons ? r.getDrawable(iconId, null) : getScaledBitmap(context, iconId); in Resources()
[all …]
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
DHvacPanelController.java149 mAutoOffDrawable = res.getDrawable(R.drawable.ic_auto_off); in HvacPanelController()
150 mAutoOnDrawable = res.getDrawable(R.drawable.ic_auto_on); in HvacPanelController()
179 mAcButton.setToggleIcons(res.getDrawable(R.drawable.ic_ac_on), in HvacPanelController()
180 res.getDrawable(R.drawable.ic_ac_off)); in HvacPanelController()
184 mRecycleAirButton.setToggleIcons(res.getDrawable(R.drawable.ic_recycle_air_on), in HvacPanelController()
185 res.getDrawable(R.drawable.ic_recycle_air_off)); in HvacPanelController()
196 mFrontDefrosterButton.setToggleIcons(res.getDrawable(R.drawable.ic_front_defroster_on), in HvacPanelController()
197 res.getDrawable(R.drawable.ic_front_defroster_off)); in HvacPanelController()
199 mRearDefrosterButton.setToggleIcons(res.getDrawable(R.drawable.ic_rear_defroster_on), in HvacPanelController()
200 res.getDrawable(R.drawable.ic_rear_defroster_off)); in HvacPanelController()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java113 mEnv.getContext().getDrawable(R.drawable.ic_dialog_alert)); in update()
116 mEnv.getContext().getDrawable(R.drawable.ic_dialog_info)); in update()
128 mEnv.getContext().getDrawable(R.drawable.ic_dialog_info)); in updateToAuthenticationExceptionHeader()
157 mEnv.getContext().getDrawable(R.drawable.hourglass)); in updateToInflatedErrorMesage()
162 mEnv.getContext().getDrawable(R.drawable.empty)); in updateToCantDisplayContentMessage()
175 update(message, null, mEnv.getContext().getDrawable(R.drawable.empty)); in updateToInflatedEmptyMessage()
/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java107 context.getResources().getDrawable(drawableId).getConstantState(); in BottomBar()
135 Drawable d = layerDrawable.getDrawable(0); in setCancelBackgroundColor()
415 Drawable d = shutterBackground.getDrawable(0); in setupShutterBackgroundForModeIndex()
493 Drawable iconDrawable = getResources().getDrawable(resId); in setShutterButtonIcon()
510 mShutterButton.getDrawable(), in animateToVideoStop()
511 getResources().getDrawable(resId)); in animateToVideoStop()
526 mShutterButton.getDrawable(), in animateToFullSize()
527 getResources().getDrawable(resId)); in animateToFullSize()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnimatorUtils.java58 background = ((LayerDrawable) background).getDrawable(0);
81 background = ((LayerDrawable) background).getDrawable(0); in setBackgroundAlpha()
90 return view.getDrawable().getAlpha();
95 view.getDrawable().setAlpha(value);
109 final Drawable drawable = view.getDrawable();
285 final Drawable d = view.getDrawable(); in startDrawableAnimation()
DAnalogClock.java91 dial.getDrawable().mutate(); in AnalogClock()
96 mHourHand.getDrawable().mutate(); in AnalogClock()
101 mMinuteHand.getDrawable().mutate(); in AnalogClock()
106 mSecondHand.getDrawable().mutate(); in AnalogClock()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/overlay/
DOverlayableTest.java75 mTargetContext.getResources().getDrawable( in testDrawable_icEject_isVectorDrawable()
82 mTargetContext.getResources().getDrawable( in testDrawable_icRootDownload_isVectorDrawable()
89 mTargetContext.getResources().getDrawable( in testDrawable_icSdStorage_isVectorDrawable()
96 mTargetContext.getResources().getDrawable( in testDrawable_icRootListSelector_isDrawable()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DPackageIconLoader.java105 Drawable icon = mPackageContext.getResources().getDrawable(resourceId); in getIcon()
112 drawable = new Now<Drawable>(getDrawable(uri)); in getIcon()
142 private Drawable getDrawable(Uri uri) { in getDrawable() method in PackageIconLoader
149 return r.r.getDrawable(r.id); in getDrawable()
252 return getDrawable(mUri); in getIcon()
/packages/apps/TV/src/com/android/tv/ui/
DProgramDetailsFragment.java182 res.getDrawable(getScheduleIconId()))); in onCreateActionsAdapter()
189 res.getDrawable(R.drawable.ic_dvr_cancel_32dp))); in onCreateActionsAdapter()
198 res.getDrawable(R.drawable.ic_schedule_32dp))); in onCreateActionsAdapter()
234 getContext().getResources().getDrawable(R.drawable.dvr_default_poster, null);
239 getContext().getResources().getDrawable(R.drawable.dvr_default_poster, null);
338 drawable = res.getDrawable(R.drawable.dvr_default_poster, null);
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java71 getResources().getDrawable(R.drawable.incall_button_background_more, context.getTheme()); in init()
73 getResources().getDrawable(R.drawable.incall_button_background, context.getTheme()); in init()
77 icon = typedArray.getDrawable(R.styleable.CheckableLabeledButton_incall_icon); in init()
101 getResources().getDrawable(R.drawable.incall_button_background, context.getTheme())); in init()
145 return iconView.getDrawable(); in getIconDrawable()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DRecordedProgramDetailsFragment.java104 res.getDrawable(R.drawable.lb_ic_play))); in onCreateActionsAdapter()
111 res.getDrawable(R.drawable.lb_ic_replay))); in onCreateActionsAdapter()
119 res.getDrawable(R.drawable.lb_ic_play))); in onCreateActionsAdapter()
127 res.getDrawable(R.drawable.ic_delete_32dp))); in onCreateActionsAdapter()
DCurrentRecordingDetailsFragment.java117 res.getDrawable(R.drawable.lb_ic_stop))); in onCreateActionsAdapter()
129 res.getDrawable(R.drawable.lb_ic_play))); in onCreateActionsAdapter()
136 res.getDrawable(R.drawable.lb_ic_replay))); in onCreateActionsAdapter()
144 res.getDrawable(R.drawable.lb_ic_play))); in onCreateActionsAdapter()
/packages/apps/Car/Dialer/src/com/android/car/dialer/widget/
DCallTypeIconsView.java159 incoming = context.getDrawable(R.drawable.ic_call_received); in IconResources()
160 outgoing = context.getDrawable(R.drawable.ic_call_made); in IconResources()
161 missed = context.getDrawable(R.drawable.ic_call_missed); in IconResources()
162 voicemail = context.getDrawable(R.drawable.ic_voicemail); in IconResources()
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DRecordButton.java94 readyDrawable = ContextCompat.getDrawable(getContext(), R.drawable.start_recording_drawable); in init()
95 recordingDrawable = ContextCompat.getDrawable(getContext(), R.drawable.stop_recording_drawable); in init()
96 recordedDrawable = ContextCompat.getDrawable(getContext(), R.drawable.start_playback_drawable); in init()
97 playingDrawable = ContextCompat.getDrawable(getContext(), R.drawable.stop_playback_drawable); in init()
/packages/apps/Dialer/java/com/android/dialer/lettertile/
DLetterTileDrawable.java126 res.getDrawable(R.drawable.product_logo_avatar_anonymous_white_color_120, null); in LetterTileDrawable()
127 defaultBusinessAvatar = res.getDrawable(R.drawable.quantum_ic_business_vd_theme_24, null); in LetterTileDrawable()
128 defaultVoicemailAvatar = res.getDrawable(R.drawable.quantum_ic_voicemail_vd_theme_24, null); in LetterTileDrawable()
129 defaultSpamAvatar = res.getDrawable(R.drawable.quantum_ic_report_vd_theme_24, null); in LetterTileDrawable()
130 defaultConferenceAvatar = res.getDrawable(R.drawable.quantum_ic_group_vd_theme_24, null); in LetterTileDrawable()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DWallpaperThumbnailView.java50 if (getDrawable() == null) { in recomputeImageMatrix()
58 final int drawableWidth = getDrawable().getIntrinsicWidth(); in recomputeImageMatrix()
59 final int drawableHeight = getDrawable().getIntrinsicHeight(); in recomputeImageMatrix()
/packages/apps/Settings/src/com/android/settings/wifi/
DAddWifiNetworkPreference.java49 mScanIconDrawable = getDrawable(R.drawable.ic_scan_24dp); in AddWifiNetworkPreference()
66 private Drawable getDrawable(@DrawableRes int iconResId) { in getDrawable() method in AddWifiNetworkPreference
70 buttonIcon = getContext().getDrawable(iconResId); in getDrawable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DAddWifiNetworkPreference.java58 imageButton.setImageDrawable(getDrawable(R.drawable.ic_scan_24dp)); in onBindViewHolder()
68 private Drawable getDrawable(@DrawableRes int iconResId) { in getDrawable() method in AddWifiNetworkPreference
72 buttonIcon = getContext().getDrawable(iconResId); in getDrawable()

12345678910>>...18