/frameworks/base/tests/testables/src/android/testing/ |
D | TestableImageView.java | 32 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/ |
D | ScaleDrawableTests.java | 66 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/ |
D | ImageSwitcher.java | 62 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/ |
D | TvWindowMenuActionButton.java | 67 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/ |
D | AnimatedImageView.java | 73 public void setImageResource(int resid) { in setImageResource() method in AnimatedImageView 74 super.setImageResource(resid); in setImageResource()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | CrossfadeImage.java | 62 mImageView.setImageResource(R.drawable.self_portrait_square_100); in sendMessage() 64 mImageView.setImageResource(R.drawable.self_portrait_square_200); in sendMessage()
|
D | CrossfadeMultiple.java | 103 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()
|
D | ContactsExpansion.java | 68 thumbnailView.setImageResource(thumbnailID); in addContact() 110 … thumbnailView.setImageResource(expanded ? R.drawable.self_portrait_square_100 : in ToggleScene()
|
D | HitRectBug.java | 58 mImageView.setImageResource(R.drawable.self_portrait_square); in TestDrawingView()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | ViewFlipperActivity.java | 43 ((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()
|
D | Animated3dActivity.java | 39 view.setImageResource(R.drawable.large_photo); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | AnimatedImageView.java | 101 public void setImageResource(int resid) { in setImageResource() method in AnimatedImageView 105 super.setImageResource(resid); in setImageResource()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PinShapeHintingView.java | 58 pinDot.setImageResource(R.drawable.pin_dot_avd); in PinShapeHintingView() 106 pinDot.setImageResource(drawableResId); in setAnimatedDrawable()
|
/frameworks/opt/bitmap/src/com/android/bitmap/view/ |
D | BitmapDrawableImageView.java | 106 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/ |
D | IconViewBinder.kt | 30 is Icon.Resource -> view.setImageResource(icon.res) in bind()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/ |
D | A11yMenuAdapter.java | 149 shortcutIconButton.setImageResource(android.R.color.transparent); in configureShortcutView() 157 shortcutIconButton.setImageResource(shortcutItem.imageSrc); in configureShortcutView()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | PermissionListAdapter.java | 71 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/ |
D | CachingIconViewTest.java | 81 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/ |
D | IllustrationPreferenceTest.java | 176 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/ |
D | BiDiTestGalleryImages.java | 64 i.setImageResource(mImageIds[position]); in getView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ExpandableIndicator.java | 76 setImageResource(res); in updateIndicatorDrawable()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | LetterboxEduDialogActionLayout.java | 63 R.id.letterbox_education_dialog_action_icon)).setImageResource(iconId); in LetterboxEduDialogActionLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ClipboardView.java | 97 setImageResource(mCurrentClip != null in onPrimaryClipChanged()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipSystemAction.java | 67 button.setImageResource(mIconResource); in populateButton()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | IconMixin.java | 77 iconView.setImageResource(icon); in setIcon()
|