Home
last modified time | relevance | path

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

123

/frameworks/base/tests/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/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/core/java/android/widget/
DImageSwitcher.java62 public void setImageResource(@DrawableRes int resid) in setImageResource() method in ImageSwitcher
65 image.setImageResource(resid); in setImageResource()
DSimpleAdapter.java279 v.setImageResource(value); in setViewImage()
301 v.setImageResource(Integer.parseInt(value)); in setViewImage()
/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/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipControlButtonView.java90 setImageResource(typedArray.getResourceId(0, 0)); in PipControlButtonView()
136 public void setImageResource(int resId) { in setImageResource() method in PipControlButtonView
138 mIconImageView.setImageResource(resId); in setImageResource()
DPipControlsView.java251 mPlayPauseButtonView.setImageResource(R.drawable.ic_pause_white); in updateUserActions()
254 mPlayPauseButtonView.setImageResource(R.drawable.ic_play_arrow_white); in updateUserActions()
/frameworks/base/tests/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/systemui/qs/
DQSDetailItems.java110 mEmptyIcon.setImageResource(icon); in setEmptyState()
192 iv.setImageResource(item.iconResId); in getView()
217 icon2.setImageResource(R.drawable.ic_qs_cancel); in getView()
230 icon2.setImageResource(item.icon2); in getView()
DSignalTileView.java62 traffic.setImageResource(icon); in addTrafficView()
127 mOverlay.setImageResource(s.overlayIconId); in setIcon()
DPageIndicator.java61 v.setImageResource(R.drawable.minor_a_b); in setNumPages()
107 v.setImageResource(R.drawable.major_a_b); in setIndex()
/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/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarNavigationButton.java147 setImageResource(mSelected ? UNSEEN_SELECTED_ICON_RESOURCE_ID in updateImage()
150 setImageResource(mSelected ? mSelectedIconResourceId : mIconResourceId); in updateImage()
DCarFacetButton.java141 mIcon.setImageResource(mIconResourceId); in setupIcons()
202 mIcon.setImageResource(mSelected ? mSelectedIconResourceId : mIconResourceId); in setSelected()
/frameworks/base/core/java/com/android/internal/widget/
DCachingIconView.java72 public void setImageResource(@DrawableRes int resId) { in setImageResource() method in CachingIconView
76 super.setImageResource(resId); in setImageResource()
/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/packages/SystemUI/src/com/android/systemui/tuner/
DClipboardView.java97 setImageResource(mCurrentClip != null in onPrimaryClipChanged()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DIconMixin.java77 iconView.setImageResource(icon); in setIcon()

123