| /development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
| ActivityAnimations.java | 33 import android.widget.ImageView; 51 HashMap<ImageView, PictureData> mPicturesData = new HashMap<ImageView, PictureData>(); 76 ImageView imageView = new ImageView(this); 77 imageView.setOnClickListener(thumbnailClickListener); 78 imageView.setImageDrawable(thumbnailDrawable); 79 mPicturesData.put(imageView, pictureData); 80 mGridLayout.addView(imageView); [all...] |
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
| QSIconViewImplTest.java | 30 import android.widget.ImageView; 55 ImageView iv = mock(ImageView.class); 76 ImageView iv = mock(ImageView.class);
|
| /frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
| BitmapLoader.java | 26 import android.widget.ImageView; 78 ImageView mImageView; 83 BitmapAsyncTask(ImageView view, long id, int width, int height) { 120 public static void loadBitmap(ImageView view, long id, int width, int height) { 131 public static void cancel(ImageView view) {
|
| /packages/apps/Launcher2/src/com/android/launcher2/ |
| HolographicViewHelper.java | 26 import android.widget.ImageView; 43 void generatePressedFocusedStates(ImageView v) { 62 void invalidatePressedFocusedStates(ImageView v) { 72 private Bitmap createOriginalImage(ImageView v, Canvas canvas) { 90 private Bitmap createPressImage(ImageView v, Canvas canvas) {
|
| /packages/apps/Camera2/src/com/android/camera/data/ |
| PhotoItem.java | 27 import android.widget.ImageView; 118 ImageView imageView; 121 imageView = (ImageView) optionalView.get(); 123 imageView = new ImageView(mContext); 124 imageView.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); 127 fillImageView(imageView); 129 return imageView; [all...] |
| /developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
| BackgroundPickers.java | 24 import android.widget.ImageView; 68 ImageView img = (ImageView) pickerBox.getChildAt(j); 122 ImageView pickedView = (ImageView) view; 127 ImageView childView = (ImageView) pickerBox.getChildAt(i);
|
| /developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
| BackgroundPickers.java | 24 import android.widget.ImageView; 68 ImageView img = (ImageView) pickerBox.getChildAt(j); 122 ImageView pickedView = (ImageView) view; 127 ImageView childView = (ImageView) pickerBox.getChildAt(i);
|
| /development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
| BackgroundPickers.java | 24 import android.widget.ImageView; 68 ImageView img = (ImageView) pickerBox.getChildAt(j); 122 ImageView pickedView = (ImageView) view; 127 ImageView childView = (ImageView) pickerBox.getChildAt(i);
|
| /frameworks/base/core/java/android/app/ |
| SharedElementCallback.java | 31 import android.widget.ImageView; 32 import android.widget.ImageView.ScaleType; 175 if (sharedElement instanceof ImageView) { 176 ImageView imageView = ((ImageView) sharedElement); 177 Drawable d = imageView.getDrawable(); 178 Drawable bg = imageView.getBackground(); 180 Bitmap bitmap = TransitionUtils.createDrawableBitmap(d, imageView); 190 imageView.getScaleType().toString()) [all...] |
| /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
| ContactsExpansion.java | 29 import android.widget.ImageView; 67 ImageView thumbnailView = (ImageView) contactItem.findViewById(R.id.contact_picture); 108 ImageView thumbnailView = 109 (ImageView) currentItem.findViewById(R.id.contact_picture); 112 ImageView arrow = (ImageView) currentItem.findViewById(R.id.contact_arrow);
|
| /frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
| AppCompatTintableViewActions.java | 31 import android.widget.ImageView; 99 return anyOf(isAssignableFrom(ImageView.class)); 111 ImageViewCompat.setImageTintList((ImageView) view, tint); 125 return anyOf(isAssignableFrom(ImageView.class)); 137 ImageViewCompat.setImageTintMode((ImageView) view, mode); 201 * <code>ImageView</code> base class. 208 isAssignableFrom(ImageView.class)); 220 ((ImageView) view).setImageResource(resId);
|
| /packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
| AccountItemView.java | 23 import android.widget.ImageView; 39 private ImageView mAvatar; 40 private ImageView mCheckmark; 59 mAvatar = (ImageView)findViewById(R.id.avatar); 60 mCheckmark = (ImageView)findViewById(R.id.checkmark); 100 ImageView v = (ImageView) mAvatar.findViewById(R.id.avatar);
|
| /development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
| ImageDownloader.java | 33 import android.widget.ImageView; 48 * This helper class download images from the Internet and binds those with the provided ImageView. 90 * Download the specified image from the Internet and binds it to the provided ImageView. The 92 * otherwise. A null bitmap will be associated to the ImageView if an error occurs. 95 * @param imageView The ImageView to bind the downloaded image to. 97 public void download(String url, ImageView imageView) { 98 download(url, imageView, null); 102 * Same as {@link #download(String, ImageView)}, with the possibility to provide an additiona [all...] |
| /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
| PageIndicator.java | 12 import android.widget.ImageView; 60 ImageView v = new ImageView(mContext); 104 ImageView v = (ImageView) getChildAt(i); 129 ImageView first = (ImageView) getChildAt(firstIndex); 130 ImageView second = (ImageView) getChildAt(secondIndex); 151 private void playAnimation(ImageView imageView, int res) [all...] |
| /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
| SmartCamera.java | 34 import android.widget.ImageView; 57 private static ImageView mImageView1; 58 private static ImageView mImageView2; 59 private static ImageView mImageView3; 60 private static ImageView mImageView4; 61 private static ImageView mImageView5; 76 private static ArrayList<ImageView> mImages; 82 public static ImageView getImageView() { 162 mImages = new ArrayList<ImageView>(); 176 ImageView tmp = (ImageView) inflater.inflate(R.layout.imageview, null) [all...] |
| /developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
| AnimatedNotificationDisplayActivity.java | 29 import android.widget.ImageView; 44 private ImageView mImageView; 58 mImageView = new ImageView(this); 113 public ImageZoomView(Context context, ImageView imageView, int zoomLength) { 115 addView(imageView); 121 ImageView imageView = (ImageView) getChildAt(0); 125 int imageWidth = imageView.getDrawable().getIntrinsicWidth() [all...] |
| /developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
| AnimatedNotificationDisplayActivity.java | 29 import android.widget.ImageView; 44 private ImageView mImageView; 58 mImageView = new ImageView(this); 113 public ImageZoomView(Context context, ImageView imageView, int zoomLength) { 115 addView(imageView); 121 ImageView imageView = (ImageView) getChildAt(0); 125 int imageWidth = imageView.getDrawable().getIntrinsicWidth() [all...] |
| /development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
| AnimatedNotificationDisplayActivity.java | 29 import android.widget.ImageView; 44 private ImageView mImageView; 58 mImageView = new ImageView(this); 113 public ImageZoomView(Context context, ImageView imageView, int zoomLength) { 115 addView(imageView); 121 ImageView imageView = (ImageView) getChildAt(0); 125 int imageWidth = imageView.getDrawable().getIntrinsicWidth() [all...] |
| /frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
| ImageListViewScrollActivity.java | 25 import android.widget.ImageView; 74 private final WeakReference<ImageView> imageViewReference; 79 public BitmapWorkerTask(ImageView imageView, int cacheIdx) { 80 // Use a WeakReference to ensure the ImageView can be garbage collected 81 imageViewReference = new WeakReference<>(imageView); 92 // Once complete, see if ImageView is still around and set bitmap. 96 final ImageView imageView = imageViewReference.get(); 97 if (imageView != null) [all...] |
| /packages/apps/Contacts/src/com/android/contacts/util/ |
| ImageViewDrawableSetter.java | 27 import android.widget.ImageView; 37 * Initialized with a target ImageView. When provided with a compressed image 38 * (i.e. a byte[]), it appropriately updates the ImageView's Drawable. 41 private ImageView mTarget; 51 public ImageViewDrawableSetter(ImageView target) { 55 public Bitmap setupContactPhoto(Contact contactData, ImageView photoView) { 65 public ImageView getTarget() { 74 protected void setTarget(ImageView target) {
|
| /packages/apps/LegacyCamera/src/com/android/camera/ui/ |
| ZoomControl.java | 25 import android.widget.ImageView; 41 protected ImageView mZoomIn; 42 protected ImageView mZoomOut; 43 protected ImageView mZoomSlider; 87 protected ImageView addImageView(Context context, int iconResourceId) { 88 ImageView image = new RotateImageView(context);
|
| /packages/apps/Settings/src/com/android/settings/users/ |
| RestrictedProfileSettings.java | 26 import android.widget.ImageView; 41 private ImageView mUserIconView; 43 private ImageView mDeleteButton; 63 mUserIconView = (ImageView) mHeaderView.findViewById(android.R.id.icon); 65 mDeleteButton = (ImageView) mHeaderView.findViewById(R.id.delete); 87 ((ImageView) mHeaderView.findViewById(android.R.id.icon)).setImageDrawable(
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
| TestAdapter.java | 30 import android.widget.ImageView; 88 ((ImageView) vg.findViewById(R.id.status)).setImageResource(R.drawable.fs_good); 90 ((ImageView) vg.findViewById(R.id.status)).
|
| /cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/ |
| IconHeaderItemPresenter.java | 28 import android.widget.ImageView; 53 ImageView iconView = (ImageView) rootView.findViewById(R.id.header_icon);
|
| /developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/ |
| DetailActivity.java | 26 import android.widget.ImageView; 44 private ImageView mHeaderImageView; 57 mHeaderImageView = (ImageView) findViewById(R.id.imageview_header); 89 * Load the item's thumbnail image into our {@link ImageView}. 99 * Load the item's full-size image into our {@link ImageView}.
|