Lines Matching refs:imageView
135 mImageView = (ImageView) v.findViewById(R.id.imageView);
158 public void loadBitmap(int resId, ImageView imageView) {
200 public void loadBitmap(int resId, ImageView imageView) {
295 ImageView imageView;
297 imageView = new ImageView(mContext);
298 imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);
299 imageView.setLayoutParams(new GridView.LayoutParams(
302 imageView = (ImageView) convertView;
304 … <strong>imageView.setImageResource(imageResIds[position]);</strong> // Load image into ImageView
305 return imageView;
332 <strong>loadBitmap(imageResIds[position], imageView)</strong>
333 return imageView;
337 public void loadBitmap(int resId, ImageView imageView) {
338 if (cancelPotentialWork(resId, imageView)) {
339 final BitmapWorkerTask task = new BitmapWorkerTask(imageView);
342 imageView.setImageDrawable(asyncDrawable);
362 public static boolean cancelPotentialWork(int data, ImageView imageView) {
363 final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask(imageView);
379 private static BitmapWorkerTask getBitmapWorkerTask(ImageView imageView) {
380 if (imageView != null) {
381 final Drawable drawable = imageView.getDrawable();