Home
last modified time | relevance | path

Searched refs:setImageResource (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/tests/testables/src/android/testing/
DTestableImageView.java32 public void setImageResource(@DrawableRes int resId) { in setImageResource() method in TestableImageView
34 super.setImageResource(resId); in setImageResource()
/frameworks/base/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/
DScaleDrawableTests.java66 png_view.setImageResource(icon); in onCreate()
72 view.setImageResource(vector_icon); in onCreate()
78 avd_view.setImageResource(animated_vector_icon); in onCreate()
/frameworks/base/core/java/android/widget/
DImageSwitcher.java62 public void setImageResource(@DrawableRes int resid) in setImageResource() method in ImageSwitcher
65 image.setImageResource(resid); in setImageResource()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DTvWindowMenuActionButton.java67 setImageResource(typedArray.getResourceId(0, 0)); in TvWindowMenuActionButton()
87 public void setImageResource(int resId) { in setImageResource() method in TvWindowMenuActionButton
89 mIconImageView.setImageResource(resId); in setImageResource()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DAnimatedImageView.java73 public void setImageResource(int resid) { in setImageResource() method in AnimatedImageView
74 super.setImageResource(resid); in setImageResource()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DCrossfadeImage.java62 mImageView.setImageResource(R.drawable.self_portrait_square_100); in sendMessage()
64 mImageView.setImageResource(R.drawable.self_portrait_square_200); in sendMessage()
DCrossfadeMultiple.java103 mImageView.setImageResource(R.drawable.self_portrait_square_100); in sendMessage()
109 mImageView.setImageResource(R.drawable.self_portrait_square_200); in sendMessage()
115 mImageView.setImageResource(R.drawable.self_portrait_square_400); in sendMessage()
DContactsExpansion.java68 thumbnailView.setImageResource(thumbnailID); in addContact()
110 … thumbnailView.setImageResource(expanded ? R.drawable.self_portrait_square_100 : in ToggleScene()
DHitRectBug.java58 mImageView.setImageResource(R.drawable.self_portrait_square); in TestDrawingView()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DViewFlipperActivity.java43 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset1); in onCreate()
49 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset3); in onCreate()
DAnimated3dActivity.java39 view.setImageResource(R.drawable.large_photo); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAnimatedImageView.java101 public void setImageResource(int resid) { in setImageResource() method in AnimatedImageView
105 super.setImageResource(resid); in setImageResource()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPinShapeHintingView.java58 pinDot.setImageResource(R.drawable.pin_dot_avd); in PinShapeHintingView()
106 pinDot.setImageResource(drawableResId); in setAnimatedDrawable()
/frameworks/opt/bitmap/src/com/android/bitmap/view/
DBitmapDrawableImageView.java106 public void setImageResource(final int resId) { in setImageResource() method in BitmapDrawableImageView
107 super.setImageResource(resId); in setImageResource()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/binder/
DIconViewBinder.kt30 is Icon.Resource -> view.setImageResource(icon.res) in bind()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
DA11yMenuAdapter.java149 shortcutIconButton.setImageResource(android.R.color.transparent); in configureShortcutView()
157 shortcutIconButton.setImageResource(shortcutItem.imageSrc); in configureShortcutView()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DPermissionListAdapter.java71 viewHolder.mExpandButton.setImageResource(R.drawable.btn_expand_less); in onCreateViewHolder()
78 viewHolder.mExpandButton.setImageResource(R.drawable.btn_expand_more); in onCreateViewHolder()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DCachingIconViewTest.java81 view.setImageResource(R.drawable.custom_drawable); in customDrawable_setImageResource_skipsResizeSuccessfully()
157 view.setImageResource(R.drawable.big_a); in maxDrawableDimensionsSet_setImageResource_resizesImageIcon()
166 view.setImageResource(R.drawable.big_a); in maxDrawableWithNoDimensionsSet_setImageResource_doesNotResizeImageIcon()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DIllustrationPreferenceTest.java176 doNothing().when(mAnimationView).setImageResource(fakeValidResId); in playLottieAnimationWithResource_verifyFailureListener()
189 doNothing().when(mAnimationView).setImageResource(111); in handleImageWithAnimation_emptyInputStreamDisabledFlag_verifyContainerVisible()
219 doNothing().when(mAnimationView).setImageResource(111); in handleImageWithAnimation_nonEmptyInputStreamEnabledFlag_verifyContainerVisible()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGalleryImages.java64 i.setImageResource(mImageIds[position]); in getView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DExpandableIndicator.java76 setImageResource(res); in updateIndicatorDrawable()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DLetterboxEduDialogActionLayout.java63 R.id.letterbox_education_dialog_action_icon)).setImageResource(iconId); in LetterboxEduDialogActionLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DClipboardView.java97 setImageResource(mCurrentClip != null in onPrimaryClipChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipSystemAction.java67 button.setImageResource(mIconResource); in populateButton()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DIconMixin.java77 iconView.setImageResource(icon); in setIcon()

123