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/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()
DSimpleCursorAdapter.java210 v.setImageResource(Integer.parseInt(value)); in setViewImage()
DSimpleCursorTreeAdapter.java277 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()
DImageLoader.java103 view.setImageResource(errorImageResId); in getImageListener()
112 view.setImageResource(defaultImageResId); in getImageListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSignalClusterView.java382 mEthernet.setImageResource(mEthernetIconId); in apply()
383 mEthernetDark.setImageResource(mEthernetIconId); in apply()
399 mWifi.setImageResource(mWifiStrengthId); in apply()
400 mWifiDark.setImageResource(mWifiStrengthId); in apply()
427 mAirplane.setImageResource(mAirplaneIconId); in apply()
510 mMobile.setImageResource(mMobileStrengthId); in apply()
519 mMobileDark.setImageResource(mMobileStrengthId); in apply()
528 mMobileType.setImageResource(mMobileTypeId); in apply()
DAnimatedImageView.java75 public void setImageResource(int resid) { in setImageResource() method in AnimatedImageView
79 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/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/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/qs/
DSignalTileView.java54 traffic.setImageResource(icon); in addTrafficView()
110 mOverlay.setImageResource(s.overlayIconId); in handleStateChanged()
DQSDetailItems.java109 mEmptyIcon.setImageResource(icon); in setEmptyState()
182 iv.setImageResource(item.icon); in bind()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintImageView.java66 public void setImageResource(@DrawableRes int resId) { in setImageResource() method in TintImageView
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGalleryImages.java64 i.setImageResource(mImageIds[position]); in getView()
/frameworks/base/core/java/com/android/internal/widget/
DAccountItemView.java79 mAccountIcon.setImageResource(resId); in setAccountIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbStorageActivity.java153 mIcon.setImageResource(com.android.internal.R.drawable.usb_android_connected); in switchDisplayAsync()
160 mIcon.setImageResource(com.android.internal.R.drawable.usb_android); in switchDisplayAsync()
/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java219 view.setImageResource(getDefaultPhotoResId()); in bindIconToView()
229 view.setImageResource(getDefaultPhotoResId()); in bindIconToView()
/frameworks/support/v4/java/android/support/v4/widget/
DSimpleCursorAdapter.java195 v.setImageResource(Integer.parseInt(value)); in setViewImage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenFooter.java124 mIcon.setImageResource(isZenNone() ? R.drawable.ic_dnd_total_silence : R.drawable.ic_dnd); in update()

123