Home
last modified time | relevance | path

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

1234

/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/core/java/android/widget/
DImageSwitcher.java36 public void setImageResource(@DrawableRes int resid) in setImageResource() method in ImageSwitcher
39 image.setImageResource(resid); in setImageResource()
DSimpleAdapter.java276 v.setImageResource(value); in setViewImage()
298 v.setImageResource(Integer.parseInt(value)); in setViewImage()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DNetworkImageView.java155 setImageResource(mErrorImageId); in loadImageIfNecessary()
178 setImageResource(mDefaultImageId); in loadImageIfNecessary()
189 setImageResource(mDefaultImageId); in setDefaultImageOrNull()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DButtonDispatcher.java68 ((ImageView) view).setImageResource(mImageResource); in addView()
95 public void setImageResource(int resource) { in setImageResource() method in ButtonDispatcher
100 ((ImageView) mViews.get(i)).setImageResource(mImageResource); in setImageResource()
DExpandableIndicator.java36 setImageResource(res); in onFinishInflate()
/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/
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()
DCrossfadeImage.java62 mImageView.setImageResource(R.drawable.self_portrait_square_100); in sendMessage()
64 mImageView.setImageResource(R.drawable.self_portrait_square_200); in sendMessage()
DContactsExpansion.java68 thumbnailView.setImageResource(thumbnailID); in addContact()
110 … thumbnailView.setImageResource(expanded ? R.drawable.self_portrait_square_100 : in ToggleScene()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
DPipControlButtonView.java89 setImageResource(typedArray.getResourceId(0, 0)); in PipControlButtonView()
128 public void setImageResource(int resId) { in setImageResource() method in PipControlButtonView
129 mIconImageView.setImageResource(resId); in setImageResource()
DPipControlsView.java196 mPlayPauseButtonView.setImageResource(R.drawable.ic_pause_white_24dp); in updatePlayPauseView()
199 mPlayPauseButtonView.setImageResource(R.drawable.ic_play_arrow_white_24dp); in updatePlayPauseView()
/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/support/design/tests/src/android/support/design/testutils/
DFloatingActionButtonActions.java57 public static ViewAction setImageResource(@DrawableRes final int resId) {
74 fab.setImageResource(resId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAnimatedImageView.java89 public void setImageResource(int resid) { in setImageResource() method in AnimatedImageView
93 super.setImageResource(resid); in setImageResource()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatImageButton.java69 public void setImageResource(@DrawableRes int resId) { in setImageResource() method in AppCompatImageButton
71 mImageHelper.setImageResource(resId); in setImageResource()
DAppCompatImageView.java69 public void setImageResource(@DrawableRes int resId) { in setImageResource() method in AppCompatImageView
71 mImageHelper.setImageResource(resId); in setImageResource()
DAppCompatImageHelper.java69 public void setImageResource(int resId) { in setImageResource() method in AppCompatImageHelper
/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/DocumentsUI/src/com/android/documentsui/
DMessageBar.java89 infoIcon.setImageResource(R.drawable.ic_dialog_info); in onCreateView()
92 errorIcon.setImageResource(R.drawable.ic_dialog_alert); in onCreateView()
/frameworks/support/design/tests/src/android/support/design/widget/
DFloatingActionButtonTest.java20 import static android.support.design.testutils.FloatingActionButtonActions.setImageResource;
74 .perform(setImageResource(R.drawable.vector_icon)); in setVectorDrawableSrc()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSignalTileView.java54 traffic.setImageResource(icon); in addTrafficView()
114 mOverlay.setImageResource(s.overlayIconId); in setIcon()
DPageIndicator.java54 v.setImageResource(R.drawable.minor_a_b); in setNumPages()
99 v.setImageResource(R.drawable.major_a_b); in setIndex()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGalleryImages.java64 i.setImageResource(mImageIds[position]); in getView()

1234