/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | NavStateController.java | 250 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 …]
|
D | LaneView.java | 223 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/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | NavStateController.java | 252 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 …]
|
D | LaneView.java | 222 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/Messaging/src/com/android/messaging/ui/ |
D | ConversationDrawables.java | 76 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/ |
D | EditorUiUtils.java | 159 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/ |
D | CarSystemBarButtonTest.java | 91 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/Dialer/java/com/android/dialer/calllogutils/ |
D | CallTypeIconsView.java | 291 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/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | Message.java | 160 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/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | WallpaperControlButtonGroup.java | 133 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()
|
D | WallpaperThumbnailView.java | 50 if (getDrawable() == null) { in recomputeImageMatrix() 58 final int drawableWidth = getDrawable().getIntrinsicWidth(); in recomputeImageMatrix() 59 final int drawableHeight = getDrawable().getIntrinsicHeight(); in recomputeImageMatrix()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/ |
D | HvacPanelController.java | 149 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/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityLayerDrawableTest.java | 45 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/TV/tests/robotests/src/com/android/tv/ui/ |
D | ChannelBannerViewTest.java | 77 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/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | CenterAlignedDynamicDrawableSpan.java | 60 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/Car/Notification/src/com/android/car/notification/template/ |
D | CarNotificationActionsView.java | 126 mActionButtonBackground = mContext.getDrawable(R.drawable.action_button_background); in CarNotificationActionsView() 127 mCallButtonBackground = mContext.getDrawable(R.drawable.call_action_button_background); in CarNotificationActionsView() 131 mDeclineButtonBackground = mContext.getDrawable(R.drawable.call_action_button_background); in CarNotificationActionsView() 135 mUnmuteButtonBackground = mContext.getDrawable(R.drawable.call_action_button_background); in CarNotificationActionsView() 143 mPlayButtonDrawable = mContext.getDrawable(R.drawable.ic_play_arrow); in CarNotificationActionsView() 144 mReplyButtonDrawable = mContext.getDrawable(R.drawable.ic_reply); in CarNotificationActionsView() 145 mMuteButtonDrawable = mContext.getDrawable(R.drawable.ic_mute); in CarNotificationActionsView() 146 mUnmuteButtonDrawable = mContext.getDrawable(R.drawable.ic_unmute); in CarNotificationActionsView()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/ |
D | SeatWarmerButton.java | 68 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/DocumentsUI/tests/functional/com/android/documentsui/overlay/ |
D | OverlayableTest.java | 75 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/Camera2/src/com/android/camera/ui/ |
D | BottomBar.java | 107 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/QuickSearchBox/src/com/android/quicksearchbox/ |
D | PackageIconLoader.java | 105 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/DocumentsUI/tests/unit/com/android/documentsui/ |
D | IconUtilsTest.java | 86 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/ |
D | RecordedProgramDetailsFragment.java | 104 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/TV/src/com/android/tv/ui/ |
D | ProgramDetailsFragment.java | 195 res.getDrawable(getScheduleIconId()))); in onCreateActionsAdapter() 202 res.getDrawable(R.drawable.ic_dvr_cancel_32dp))); in onCreateActionsAdapter() 211 res.getDrawable(R.drawable.ic_schedule_32dp))); in onCreateActionsAdapter() 251 getContext().getResources().getDrawable(R.drawable.dvr_default_poster, null); 256 getContext().getResources().getDrawable(R.drawable.dvr_default_poster, null); 355 drawable = res.getDrawable(R.drawable.dvr_default_poster, null);
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollIntroduction.java | 92 iconFingerprint.getDrawable().setColorFilter(getIconColorFilter()); in onCreate() 93 iconDeviceLocked.getDrawable().setColorFilter(getIconColorFilter()); in onCreate() 94 iconTrashCan.getDrawable().setColorFilter(getIconColorFilter()); in onCreate() 95 iconInfo.getDrawable().setColorFilter(getIconColorFilter()); in onCreate() 96 iconShield.getDrawable().setColorFilter(getIconColorFilter()); in onCreate() 97 iconLink.getDrawable().setColorFilter(getIconColorFilter()); in onCreate()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | QuickContactImageView.java | 69 bitmapDrawable = (BitmapDrawable) getResources().getDrawable( in setImageDrawable() 72 bitmapDrawable = (BitmapDrawable) getResources().getDrawable( in setImageDrawable() 86 public Drawable getDrawable() { in getDrawable() method in QuickContactImageView
|