Home
last modified time | relevance | path

Searched refs:setImageDrawable (Results 1 – 25 of 206) sorted by relevance

123456789

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DBigPictureIconManagerTest.kt110 verify(mockConsumer).setImageDrawable(drawableCaptor.capture()) in onIconUpdated_supportedType_placeholderLoaded()
122 verify(mockConsumer).setImageDrawable(drawableCaptor.capture()) in onIconUpdated_unsupportedType_fullImageLoaded()
134 verify(mockConsumer).setImageDrawable(null) in onIconUpdated_withNull_drawableIsNull()
144 verify(mockConsumer).setImageDrawable(null) in onIconUpdated_invalidIcon_drawableIsNull()
159 verify(newConsumer).setImageDrawable(drawableCaptor.capture()) in onIconUpdated_consumerAlreadySet_newConsumerIsUpdatedWithPlaceholder()
181 verify(newConsumer).setImageDrawable(drawableCaptor.capture()) in onIconUpdated_consumerAlreadySet_newConsumerIsUpdatedWithFullImage()
199 verify(mockConsumer).setImageDrawable(drawableCaptor.capture()) in onIconUpdated_iconAlreadySet_loadsNewIcon()
217 verify(mockConsumer).setImageDrawable(drawableCaptor.capture()) in onIconUpdated_iconAlreadySetForTheSameIcon_loadsIconAgain()
236 verify(mockConsumer).setImageDrawable(drawableCaptor.capture()) in onIconUpdated_iconAlreadySetForUnsupportedIcon_loadsNewIcon()
255 verify(mockConsumer).setImageDrawable(drawableCaptor.capture()) in onIconUpdated_supportedTypeButTooWide_resizedPlaceholderLoaded()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DBigPictureNotificationImageView.java94 setImageDrawable(loadImage(uri)); in setImageURI()
100 return () -> setImageDrawable(drawable); in setImageURIAsync()
111 setImageDrawable(loadImage(icon)); in setImageIcon()
121 return () -> setImageDrawable(drawable); in setImageIconAsync()
125 public void setImageDrawable(@Nullable Drawable drawable) { in setImageDrawable() method in BigPictureNotificationImageView
137 super.setImageDrawable(drawable); in setImageDrawable()
DCachingIconView.java109 super.setImageDrawable(drawable); in setImageIcon()
126 return () -> setImageDrawable(drawable); in setImageIconAsync()
141 super.setImageDrawable(drawable); in setImageResource()
158 return () -> setImageDrawable(drawable); in setImageResourceAsync()
173 super.setImageDrawable(drawable); in setImageURI()
191 return () -> setImageDrawable(drawable); in setImageURIAsync()
196 public void setImageDrawable(@Nullable Drawable drawable) { in setImageDrawable() method in CachingIconView
201 super.setImageDrawable(drawable); in setImageDrawable()
DNotificationDrawableConsumer.java33 void setImageDrawable(@Nullable Drawable drawable); in setImageDrawable() method
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DTvWindowMenuActionButton.java80 public void setImageDrawable(Drawable d) { in setImageDrawable() method in TvWindowMenuActionButton
81 mIconImageView.setImageDrawable(d); in setImageDrawable()
96 mIconImageView.setImageDrawable(null); in setImageIconAsync()
105 mIconImageView.setImageDrawable(d); in setImageIconAsync()
/frameworks/opt/bitmap/src/com/android/bitmap/view/
DBitmapDrawableImageView.java88 super.setImageDrawable(drawable); in setTypedDrawable()
120 public void setImageDrawable(final Drawable drawable) { in setImageDrawable() method in BitmapDrawableImageView
121 super.setImageDrawable(drawable); in setImageDrawable()
/frameworks/base/core/java/android/widget/
DImageSwitcher.java94 public void setImageDrawable(Drawable drawable) in setImageDrawable() method in ImageSwitcher
97 image.setImageDrawable(drawable); in setImageDrawable()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMenuActionView.java48 public void setImageDrawable(Drawable drawable) { in setImageDrawable() method in PipMenuActionView
49 mImageView.setImageDrawable(drawable); in setImageDrawable()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipMenuActionView.java48 public void setImageDrawable(Drawable drawable) { in setImageDrawable() method in PipMenuActionView
49 mImageView.setImageDrawable(drawable); in setImageDrawable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DAnimatedImageView.java67 public void setImageDrawable(Drawable drawable) { in setImageDrawable() method in AnimatedImageView
68 super.setImageDrawable(drawable); in setImageDrawable()
/frameworks/base/core/java/com/android/internal/globalactions/
DSinglePressAction.java89 icon.setImageDrawable(mIcon); in create()
92 icon.setImageDrawable(context.getDrawable(mIconResId)); in create()
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchWarningWindow.java46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager())); in LaunchWarningWindow()
51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager())); in LaunchWarningWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAnimatedImageView.java87 public void setImageDrawable(Drawable drawable) { in setImageDrawable() method in AnimatedImageView
95 super.setImageDrawable(drawable); in setImageDrawable()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DScrollingStretchSurfaceViewActivity.java59 verticalImageView.setImageDrawable(new LineDrawable()); in onCreate()
62 horizontalImageView.setImageDrawable(new LineDrawable()); in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationBigPictureTemplateViewWrapperTest.java77 imageView.setImageDrawable(mockDrawable); in setAnimationsRunning_Run()
94 imageView.setImageDrawable(mockDrawable); in setAnimationsRunning_Stop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/
DActionButtonViewBinder.kt34 iconView.setImageDrawable(TransitioningIconDrawable()) in bind()
40 iconView.setImageDrawable(viewModel.appearance.icon) in bind()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceListAdapter.java63 viewHolder.mImageView.setImageDrawable( in onCreateViewHolder()
66 viewHolder.mImageView.setImageDrawable( in onCreateViewHolder()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DButtonInterface.java24 void setImageDrawable(@Nullable Drawable drawable); in setImageDrawable() method
DButtonDispatcher.java98 button.setImageDrawable(mImageDrawable); in addView()
126 public void setImageDrawable(KeyButtonDrawable drawable) { in setImageDrawable() method in ButtonDispatcher
131 ((ButtonInterface) mViews.get(i)).setImageDrawable(mImageDrawable); in setImageDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DRecentTaskViewHolder.kt67 iconView.setImageDrawable(icon) in <lambda>()
87 iconView.setImageDrawable(null) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DButtonInterface.java24 void setImageDrawable(@Nullable Drawable drawable); in setImageDrawable() method
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPaintActivity.java218 ((ImageButton) findViewById(R.id.btnBrush)).setImageDrawable(widthButtonDrawable); in setupViews()
219 ((ImageButton) findViewById(R.id.btnColor)).setImageDrawable(colorButtonDrawable); in setupViews()
239 button.setImageDrawable(icon); in refreshBrushAndColor()
265 button.setImageDrawable(icon); in refreshBrushAndColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridConversationNotificationView.java194 mConversationIconView.setImageDrawable(oneToOneAvatar.mDrawable); in loadConversationAvatarWithDrawable()
235 mConversationIconView.setImageDrawable(avatar.getIconDrawable()); in setAvatar()
260 facePileBottom.setImageDrawable(facePileModel.getBottomIconDrawable()); in setAvatar()
261 facePileTop.setImageDrawable(facePileModel.getTopIconDrawable()); in setAvatar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletView.java155 mIcon.setImageDrawable(centerCardIcon); in onCardScroll()
184 mIcon.setImageDrawable(getHeaderIcon(mContext, data.get(selectedIndex))); in showCardCarousel()
213 mIcon.setImageDrawable(logo); in showEmptyStateView()
217 logoView.setImageDrawable(mContext.getDrawable(R.drawable.ic_qs_plus)); in showEmptyStateView()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItem.java155 iconView.setImageDrawable(null); in onBindView()
157 iconView.setImageDrawable(icon); in onBindView()

123456789