HomeSort by relevance Sort by last modified time
    Searched defs:imageView (Results 26 - 50 of 62) sorted by null

12 3

  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DrawableDownloader.java 28 import android.widget.ImageView;
251 public void loadBitmap(BitmapWorkerOptions options, final ImageView imageView) {
252 cancelDownload(imageView);
262 imageView.setImageDrawable(bitmap);
264 DrawableLoader task = new DrawableLoader(imageView, mRecycledBitmaps) {
274 imageView.setTag(R.id.imageDownloadTask, new SoftReference<DrawableLoader>(task));
325 * @param key {@link BitmapCallback} or {@link ImageView}
329 if (key instanceof ImageView) {
330 ImageView imageView = (ImageView)key
    [all...]
DrawableLoader.java 33 import android.widget.ImageView;
66 private WeakReference<ImageView> mImageView;
80 DrawableLoader(ImageView imageView, RecycleBitmapPool recycledBitmapPool) {
81 mImageView = new WeakReference<ImageView>(imageView);
137 final ImageView imageView = mImageView.get();
138 if (imageView != null) {
139 imageView.setImageDrawable(bitmap)
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ImageViewTest.java 48 import android.widget.ImageView;
49 import android.widget.ImageView.ScaleType;
55 * Test {@link ImageView}.
58 private ImageView mImageView;
66 * Find the ImageView specified by id.
69 * @return the ImageView
71 private ImageView findImageViewById(int id) {
72 return (ImageView) mActivity.findViewById(id);
111 new ImageView(mActivity);
113 new ImageView(mActivity, null)
    [all...]
ToastTest.java 33 import android.widget.ImageView;
179 assertFalse(mToast.getView() instanceof ImageView);
181 final ImageView imageView = new ImageView(mActivity);
183 imageView.setImageDrawable(drawable);
187 mToast.setView(imageView);
192 assertSame(imageView, mToast.getView());
193 assertShowAndHide(imageView);
  /developers/build/prebuilts/gradle/StorageClient/Application/src/main/java/com/example/android/storageclient/
StorageClientFragment.java 35 import android.widget.ImageView;
220 final ImageView imageView = new ImageView(getActivity());
221 mDialog.setContentView(imageView);
225 // thread. Changing the ImageView to display the image must occur ON the UI thread.
238 imageView.setImageBitmap(bitmap);
  /developers/samples/android/content/documentsUi/StorageClient/Application/src/main/java/com/example/android/storageclient/
StorageClientFragment.java 35 import android.widget.ImageView;
220 final ImageView imageView = new ImageView(getActivity());
221 mDialog.setContentView(imageView);
225 // thread. Changing the ImageView to display the image must occur ON the UI thread.
238 imageView.setImageBitmap(bitmap);
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/
AppListFragment.java 30 import android.widget.ImageView;
147 // ImageView to display the application's icon
148 ImageView imageView = (ImageView) convertView.findViewById(R.id.icon);
154 imageView.setImageDrawable(icon);
157 // the ImageView
158 new ApplicationIconTask(imageView).execute(item);
221 * displays it in the given {@link ImageView}
224 private final ImageView mImageView
    [all...]
  /development/samples/browseable/StorageClient/src/com.example.android.storageclient/
StorageClientFragment.java 35 import android.widget.ImageView;
220 final ImageView imageView = new ImageView(getActivity());
221 mDialog.setContentView(imageView);
225 // thread. Changing the ImageView to display the image must occur ON the UI thread.
238 imageView.setImageBitmap(bitmap);
  /frameworks/base/core/java/android/transition/
ChangeImageTransform.java 29 import android.widget.ImageView;
34 * This Transition captures an ImageView's matrix before and after the
38 * that change size, shape, or {@link android.widget.ImageView.ScaleType} to animate contents
60 private static Property<ImageView, Matrix> ANIMATED_TRANSFORM_PROPERTY
61 = new Property<ImageView, Matrix>(Matrix.class, "animatedTransform") {
63 public void set(ImageView object, Matrix value) {
68 public Matrix get(ImageView object) {
81 if (!(view instanceof ImageView) || view.getVisibility() != View.VISIBLE) {
84 ImageView imageView = (ImageView) view
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 43 import android.widget.ImageView;
99 if (child instanceof ImageView) {
100 ImageView imageView = (ImageView) child;
124 imageView.setImageDrawable(drawable);
  /frameworks/opt/chips/src/com/android/ex/chips/
DropdownChipLayouter.java 16 import android.widget.ImageView;
130 bindIconToView(showImage, entry, viewHolder.imageView, type);
179 protected void bindIconToView(boolean showImage, RecipientEntry entry, ImageView view,
217 protected void bindDrawableToDeleteView(final StateListDrawable drawable, ImageView view) {
246 * Each View must contain two TextViews (for display name and destination) and one ImageView
264 * Each View must contain two TextViews (for display name and destination) and one ImageView
313 * Returns an id for ImageView in an item View for showing photo image for a person. In default
321 * Returns an id for ImageView in an item View for showing the delete button. In default
334 public final ImageView imageView;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
UserPresetsAdapter.java 27 import android.widget.ImageView;
87 ImageView imageView;
98 viewHolder.imageView = (ImageView) convertView.findViewById(R.id.imageView);
109 viewHolder.imageView.setImageBitmap(action.getImage());
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
MtpAdapter.java 140 MtpThumbnailTileView imageView;
142 imageView = (MtpThumbnailTileView) mInflater.inflate(
145 imageView = (MtpThumbnailTileView) convertView;
147 imageView.setMtpDeviceAndObjectInfo(mModel.getDevice(),
149 return imageView;
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
ImageGridFragment.java 39 import android.widget.ImageView;
86 // The ImageFetcher takes care of loading images into our ImageView children asynchronously
261 // Two types of views, the normal ImageView and the top row of empty views
289 // Now handle the main ImageView thumbnails
290 ImageView imageView;
292 imageView = new RecyclingImageView(mContext);
293 imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);
294 imageView.setLayoutParams(mImageViewLayoutParams)
    [all...]
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
ImageGridFragment.java 39 import android.widget.ImageView;
86 // The ImageFetcher takes care of loading images into our ImageView children asynchronously
261 // Two types of views, the normal ImageView and the top row of empty views
289 // Now handle the main ImageView thumbnails
290 ImageView imageView;
292 imageView = new RecyclingImageView(mContext);
293 imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);
294 imageView.setLayoutParams(mImageViewLayoutParams)
    [all...]
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
ContentFragment.java 41 import android.widget.ImageView;
61 // The bitmap currently used by ImageView
74 final ImageView imageView = (ImageView) mContentView.findViewById(R.id.image);
95 return processDrop(event, imageView);
238 boolean processDrop(DragEvent event, ImageView imageView) {
291 // Get the bitmap that needs to be drawn and update the ImageView
294 ((ImageView) getView().findViewById(R.id.image)).setImageBitmap(mBitmap)
    [all...]
  /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...]
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
ImageGridFragment.java 39 import android.widget.ImageView;
86 // The ImageFetcher takes care of loading images into our ImageView children asynchronously
261 // Two types of views, the normal ImageView and the top row of empty views
289 // Now handle the main ImageView thumbnails
290 ImageView imageView;
292 imageView = new RecyclingImageView(mContext);
293 imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);
294 imageView.setLayoutParams(mImageViewLayoutParams)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapEmailSettingsAdapter.java 44 import android.widget.ImageView;
233 holder.imageView = (ImageView) convertView
242 holder.imageView.setImageDrawable(groupItem.getIcon());
296 public ImageView imageView;
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
ManagedProvisioningActivity.java 50 import android.widget.ImageView;
238 ImageView imageView = (ImageView) contentView.findViewById(R.id.mdm_icon_view);
239 imageView.setImageDrawable(packageIcon);
  /external/chromium_org/third_party/skia/src/views/mac/
SkOSWindow_Mac.cpp 99 HIViewRef imageView, parent;
102 result = HIImageViewCreate(NULL, &imageView);
105 result = HIViewAddSubview(parent, imageView);
108 fHVIEW = imageView;
110 HIViewSetVisible(imageView, true);
111 HIViewPlaceInSuperviewAt(imageView, 0, 0);
124 HIViewSetLayoutInfo(imageView, &layout);
127 HIImageViewSetOpaque(imageView, true);
128 HIImageViewSetScaleToFit(imageView, false);
196 HIViewRef imageView = (HIViewRef)getHVIEW()
    [all...]
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/image_editor/
commands.js 50 * @param {ImageView} imageView The ImageView object to display the results.
54 CommandQueue.prototype.attachUI = function(imageView, prompt, lock) {
56 imageView: imageView,
193 self.currentImage_, self.UIContext_.imageView);
301 * @param {ImageView} imageView ImageView to revert
    [all...]
  /external/chromium_org/ui/file_manager/gallery/js/image_editor/
commands.js 50 * @param {ImageView} imageView The ImageView object to display the results.
54 CommandQueue.prototype.attachUI = function(imageView, prompt, lock) {
56 imageView: imageView,
193 self.currentImage_, self.UIContext_.imageView);
301 * @param {ImageView} imageView ImageView to revert
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
ViewLoaderTest.java 154 assertInstanceOf(ImageView.class, view.findViewById(R.id.icon));
157 assertInstanceOf(ImageView.class, view.findViewById(android.R.id.icon));
316 ImageView imageView = (ImageView) mediaView.findViewById(R.id.image);
317 ShadowImageView shadowImageView = Robolectric.shadowOf(imageView);
  /external/skia/src/views/mac/
SkOSWindow_Mac.cpp 99 HIViewRef imageView, parent;
102 result = HIImageViewCreate(NULL, &imageView);
105 result = HIViewAddSubview(parent, imageView);
108 fHVIEW = imageView;
110 HIViewSetVisible(imageView, true);
111 HIViewPlaceInSuperviewAt(imageView, 0, 0);
124 HIViewSetLayoutInfo(imageView, &layout);
127 HIImageViewSetOpaque(imageView, true);
128 HIImageViewSetScaleToFit(imageView, false);
196 HIViewRef imageView = (HIViewRef)getHVIEW()
    [all...]

Completed in 2299 milliseconds

12 3