Home
last modified time | relevance | path

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

12345678910>>...22

/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DNavStateController.java252 return mContext.getDrawable(R.drawable.direction_depart); in getManeuverIcon()
254 return mContext.getDrawable(R.drawable.direction_new_name_straight); in getManeuverIcon()
256 return mContext.getDrawable(R.drawable.direction_continue_left); in getManeuverIcon()
258 return mContext.getDrawable(R.drawable.direction_continue_right); in getManeuverIcon()
260 return mContext.getDrawable(R.drawable.direction_turn_slight_left); in getManeuverIcon()
262 return mContext.getDrawable(R.drawable.direction_turn_slight_right); in getManeuverIcon()
264 return mContext.getDrawable(R.drawable.direction_turn_left); in getManeuverIcon()
266 return mContext.getDrawable(R.drawable.direction_turn_right); in getManeuverIcon()
268 return mContext.getDrawable(R.drawable.direction_turn_sharp_left); in getManeuverIcon()
270 return mContext.getDrawable(R.drawable.direction_turn_sharp_right); in getManeuverIcon()
[all …]
DLaneView.java222 return mContext.getDrawable(R.drawable.direction_continue); in getLaneIcon()
224 return mContext.getDrawable(R.drawable.direction_turn_slight_left); in getLaneIcon()
226 return mContext.getDrawable(R.drawable.direction_turn_slight_right); in getLaneIcon()
228 return mContext.getDrawable(R.drawable.direction_turn_left); in getLaneIcon()
230 return mContext.getDrawable(R.drawable.direction_turn_right); in getLaneIcon()
232 return mContext.getDrawable(R.drawable.direction_turn_sharp_left); in getLaneIcon()
234 return mContext.getDrawable(R.drawable.direction_turn_sharp_right); in getLaneIcon()
236 return mContext.getDrawable(R.drawable.direction_uturn_left); in getLaneIcon()
238 return mContext.getDrawable(R.drawable.direction_uturn_right); in getLaneIcon()
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
DNavStateController.java250 return mContext.getDrawable(R.drawable.direction_depart); in getManeuverIcon()
252 return mContext.getDrawable(R.drawable.direction_new_name_straight); in getManeuverIcon()
254 return mContext.getDrawable(R.drawable.direction_continue_left); in getManeuverIcon()
256 return mContext.getDrawable(R.drawable.direction_continue_right); in getManeuverIcon()
258 return mContext.getDrawable(R.drawable.direction_turn_slight_left); in getManeuverIcon()
260 return mContext.getDrawable(R.drawable.direction_turn_slight_right); in getManeuverIcon()
262 return mContext.getDrawable(R.drawable.direction_turn_left); in getManeuverIcon()
264 return mContext.getDrawable(R.drawable.direction_turn_right); in getManeuverIcon()
266 return mContext.getDrawable(R.drawable.direction_turn_sharp_left); in getManeuverIcon()
268 return mContext.getDrawable(R.drawable.direction_turn_sharp_right); in getManeuverIcon()
[all …]
DLaneView.java223 return mContext.getDrawable(R.drawable.direction_continue); in getLaneIcon()
225 return mContext.getDrawable(R.drawable.direction_turn_slight_left); in getLaneIcon()
227 return mContext.getDrawable(R.drawable.direction_turn_slight_right); in getLaneIcon()
229 return mContext.getDrawable(R.drawable.direction_turn_left); in getLaneIcon()
231 return mContext.getDrawable(R.drawable.direction_turn_right); in getLaneIcon()
233 return mContext.getDrawable(R.drawable.direction_turn_sharp_left); in getLaneIcon()
235 return mContext.getDrawable(R.drawable.direction_turn_sharp_right); in getLaneIcon()
237 return mContext.getDrawable(R.drawable.direction_uturn_left); in getLaneIcon()
239 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/SystemUI/tests/src/com/android/systemui/car/systembar/
DCarSystemBarButtonTest.java91 assertThat(icon.getDrawable()).isNotNull(); in onCreate_iconIsVisible()
99 R.id.car_nav_button_icon_image)).getDrawable(); in onSelected_selectedIconDefined_togglesIcon()
104 R.id.car_nav_button_icon_image)).getDrawable(); in onSelected_selectedIconDefined_togglesIcon()
117 R.id.car_nav_button_icon_image)).getDrawable(); in onSelected_selectedIconUndefined_displaysSameIcon()
123 R.id.car_nav_button_icon_image)).getDrawable(); in onSelected_selectedIconUndefined_displaysSameIcon()
204 Drawable appIcon = getContext().getDrawable(R.drawable.ic_android); in onUnselected_withAppIcon_showsAppIcon()
211 R.id.car_nav_button_icon_image)).getDrawable(); in onUnselected_withAppIcon_showsAppIcon()
220 roleBasedButton.setAppIcon(getContext().getDrawable(R.drawable.ic_android)); in onUnselected_withAppIcon_applyUnselectedAlpha()
230 Drawable appIcon = getContext().getDrawable(R.drawable.ic_android); in onSelected_withAppIcon_showsAppIcon()
237 R.id.car_nav_button_icon_image)).getDrawable(); in onSelected_withAppIcon_showsAppIcon()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java160 mEnv.getContext().getDrawable(R.drawable.ic_dialog_alert)); in update()
163 mEnv.getContext().getDrawable(R.drawable.ic_dialog_info)); in update()
183 mEnv.getContext().getDrawable(R.drawable.ic_dialog_info)); in updateToAuthenticationExceptionHeader()
196 mEnv.getContext().getDrawable(R.drawable.ic_dialog_info)); in updateBlockFromTreeMessage()
256 mEnv.getContext().getDrawable(R.drawable.share_off)); in updateToCrossProfileNoPermissionErrorMessage()
314 mEnv.getContext().getDrawable(R.drawable.hourglass)); in updateToInflatedErrorMessage()
319 null, mEnv.getContext().getDrawable(R.drawable.empty)); in updateToCantDisplayContentMessage()
332 update(null, message, null, mEnv.getContext().getDrawable(R.drawable.empty)); in updateToInflatedEmptyMessage()
355 return mEnv.getContext().getDrawable(R.drawable.work_off); in getWorkProfileOffIcon()
363 return dpm.getResources().getDrawable( in getUpdatableWorkProfileIcon()
[all …]
/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/WallpaperPicker2/src/com/android/wallpaper/widget/
DWallpaperControlButtonGroup.java133 mDeleteButton.setForeground(AppCompatResources.getDrawable(context, in updateBackgroundColor()
136 AppCompatResources.getDrawable(context, R.drawable.wallpaper_control_button_edit)); in updateBackgroundColor()
137 mCustomizeButton.setForeground(AppCompatResources.getDrawable(context, in updateBackgroundColor()
139 mEffectsButton.setForeground(AppCompatResources.getDrawable(context, in updateBackgroundColor()
141 mShareButton.setForeground(AppCompatResources.getDrawable(context, in updateBackgroundColor()
144 AppCompatResources.getDrawable(context, R.drawable.wallpaper_control_button_info)); in updateBackgroundColor()
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/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityLayerDrawableTest.java45 final Drawable expected1stDrawable = mContext.getDrawable( in createLayerDrawable_configCorrect()
47 final Drawable expected2ndDrawable = mContext.getDrawable(TEST_RES_ID); in createLayerDrawable_configCorrect()
53 final Drawable actual1stDrawable = actualDrawable.getDrawable(0); in createLayerDrawable_configCorrect()
54 final Drawable actual2ndDrawable = actualDrawable.getDrawable(1); in createLayerDrawable_configCorrect()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DCenterAlignedDynamicDrawableSpan.java60 return getDrawable().getBounds().right; in getSize()
74 Drawable drawable = getDrawable(); in draw()
91 public Drawable getDrawable() { in getDrawable() method in CenterAlignedDynamicDrawableSpan
92 Drawable drawable = mContext.getDrawable(mResourceId); in getDrawable()
/packages/apps/TV/tests/robotests/src/com/android/tv/ui/
DChannelBannerViewTest.java77 assertThat(shadowOf(mChannelSignalStrengthView.getDrawable()).getCreatedFromResId()) in updateChannelSignalStrengthView_20()
85 assertThat(shadowOf(mChannelSignalStrengthView.getDrawable()).getCreatedFromResId()) in updateChannelSignalStrengthView_40()
93 assertThat(shadowOf(mChannelSignalStrengthView.getDrawable()).getCreatedFromResId()) in updateChannelSignalStrengthView_60()
101 assertThat(shadowOf(mChannelSignalStrengthView.getDrawable()).getCreatedFromResId()) in updateChannelSignalStrengthView_80()
109 assertThat(shadowOf(mChannelSignalStrengthView.getDrawable()).getCreatedFromResId()) in updateChannelSignalStrengthView_100()
/packages/apps/DocumentsUI/tests/functional/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/Car/Notification/src/com/android/car/notification/template/
DCarNotificationActionsView.java124 mActionButtonBackground = mContext.getDrawable(R.drawable.action_button_background); in CarNotificationActionsView()
125 mCallButtonBackground = mContext.getDrawable(R.drawable.call_action_button_background); in CarNotificationActionsView()
129 mDeclineButtonBackground = mContext.getDrawable(R.drawable.call_action_button_background); in CarNotificationActionsView()
133 mUnmuteButtonBackground = mContext.getDrawable(R.drawable.call_action_button_background); in CarNotificationActionsView()
141 mPlayButtonDrawable = mContext.getDrawable(R.drawable.ic_play_arrow); in CarNotificationActionsView()
142 mReplyButtonDrawable = mContext.getDrawable(R.drawable.ic_reply); in CarNotificationActionsView()
143 mMuteButtonDrawable = mContext.getDrawable(R.drawable.ic_mute); in CarNotificationActionsView()
144 mUnmuteButtonDrawable = mContext.getDrawable(R.drawable.ic_unmute); in CarNotificationActionsView()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyStatusPreference.java170 AnimatedVectorDrawable animation = (AnimatedVectorDrawable) statusImage.getDrawable(); in startScanningAnimation()
188 Drawable statusDrawable = statusImage.getDrawable(); in continueScanningAnimation()
196 AnimatedVectorDrawable scanningAnim = (AnimatedVectorDrawable) statusImage.getDrawable(); in continueScanningAnimation()
213 Drawable statusDrawable = statusImage.getDrawable(); in endScanningAnimation()
236 (AnimatedVectorDrawable) statusImage.getDrawable(); in endScanningAnimation()
275 (AnimatedVectorDrawable) statusCardView.getStatusImageView().getDrawable(); in startIconChangeAnimation()
325 Drawable statusDrawable = statusCardView.getStatusImageView().getDrawable(); in setSettledStatus()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DPackageIconLoader.kt83 val icon: Drawable? = ContextCompat.getDrawable(mPackageContext!!, resourceId) in getIcon()
90 drawable = Now(getDrawable(uri)) in getIcon()
121 private fun getDrawable(uri: Uri): Drawable? { in getDrawable() method
128 ContextCompat.getDrawable(mPackageContext!!, r.id) in getDrawable()
229 getDrawable(mUri)
/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/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DAttributeResolver.kt25 fun getDrawable(context: Context, @AttrRes attribute: Int): Drawable? { in getDrawable() method
26 return AppCompatResources.getDrawable(context, getResource(context, attribute)) in getDrawable()
37 return AppCompatResources.getDrawable(context, resourceId) in getNullableDrawable()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DIconUtilsTest.java86 when(packageManager.getDrawable(anyString(), eq(icon), any(ApplicationInfo.class))) in testLoadPackageIcon()
92 verify(packageManager).getDrawable(any(), eq(icon), any()); in testLoadPackageIcon()
110 when(packageManager.getDrawable(any(), eq(icon), any())).thenReturn(drawable); in testLoadPackageIcon_maybeShowBadge()
115 verify(packageManager).getDrawable(any(), eq(icon), any()); in testLoadPackageIcon_maybeShowBadge()
/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()
/packages/apps/Contacts/src/com/android/contacts/widget/
DQuickContactImageView.java69 bitmapDrawable = (BitmapDrawable) getResources().getDrawable( in setImageDrawable()
72 bitmapDrawable = (BitmapDrawable) getResources().getDrawable( in setImageDrawable()
86 public Drawable getDrawable() { in getDrawable() method in QuickContactImageView
/packages/apps/Settings/src/com/android/settings/wifi/
DAddWifiNetworkPreference.java50 mScanIconDrawable = getDrawable(R.drawable.ic_scan_24dp); in AddWifiNetworkPreference()
68 private Drawable getDrawable(@DrawableRes int iconResId) { in getDrawable() method in AddWifiNetworkPreference
72 buttonIcon = getContext().getDrawable(iconResId); in getDrawable()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollIntroFragment.java93 iconFingerprint.getDrawable().setColorFilter(getIconColorFilter(context)); in onCreateView()
94 iconDeviceLocked.getDrawable().setColorFilter(getIconColorFilter(context)); in onCreateView()
95 iconTrashCan.getDrawable().setColorFilter(getIconColorFilter(context)); in onCreateView()
96 iconInfo.getDrawable().setColorFilter(getIconColorFilter(context)); in onCreateView()
97 mIconShield.getDrawable().setColorFilter(getIconColorFilter(context)); in onCreateView()
98 iconLink.getDrawable().setColorFilter(getIconColorFilter(context)); in onCreateView()

12345678910>>...22