/frameworks/base/core/java/android/widget/ |
D | ImageSwitcher.java | 40 ImageView image = (ImageView)this.getNextView(); in setImageResource() 47 ImageView image = (ImageView)this.getNextView(); in setImageURI() 54 ImageView image = (ImageView)this.getNextView(); in setImageDrawable()
|
D | SimpleAdapter.java | 188 } else if (v instanceof ImageView) { in bindView() 190 setViewImage((ImageView) v, (Integer) data); in bindView() 192 setViewImage((ImageView) v, text); in bindView() 239 public void setViewImage(ImageView v, int value) { in setViewImage() 260 public void setViewImage(ImageView v, String value) { in setViewImage()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | 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() { in getImageView() 162 mImages = new ArrayList<ImageView>(); in onCreate() 176 ImageView tmp = (ImageView) inflater.inflate(R.layout.imageview, null); in onCreate() [all …]
|
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
D | HelloComputeNDK.java | 23 import android.widget.ImageView; 44 ImageView in = (ImageView) findViewById(R.id.displayin); in onCreate() 47 ImageView out = (ImageView) findViewById(R.id.displayout); in onCreate()
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | process-bitmap.jd | 55 android.widget.ImageView} using {@link android.os.AsyncTask} and <a 62 private final WeakReference<ImageView> imageViewReference; 65 public BitmapWorkerTask(ImageView imageView) { 66 // Use a WeakReference to ensure the ImageView can be garbage collected 67 imageViewReference = new WeakReference<ImageView>(imageView); 77 // Once complete, see if ImageView is still around and set bitmap. 81 final ImageView imageView = imageViewReference.get(); 90 <p>The {@link java.lang.ref.WeakReference} to the {@link android.widget.ImageView} ensures that the 91 {@link android.os.AsyncTask} does not prevent the {@link android.widget.ImageView} and anything it 92 references from being garbage collected. There’s no guarantee the {@link android.widget.ImageView} [all …]
|
D | display-bitmap.jd | 57 android.widget.ImageView} children. The main activity holds the {@link 104 …ails {@link android.app.Fragment} which holds the {@link android.widget.ImageView} children. This … 111 private ImageView mImageView; 133 // image_detail_fragment.xml contains just an ImageView 135 mImageView = (ImageView) v.findViewById(R.id.imageView); 143 <strong>mImageView.setImageResource(resId);</strong> // Load image into ImageView 158 public void loadBitmap(int resId, ImageView imageView) { 200 public void loadBitmap(int resId, ImageView imageView) { 231 android.widget.ImageView} children placed inside a {@link android.app.Fragment}. Again, this might 295 ImageView imageView; [all …]
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorPickerSwatch.java | 27 import android.widget.ImageView; 34 private ImageView mSwatchImage; 35 private ImageView mCheckmarkImage; 56 mSwatchImage = (ImageView) findViewById(R.id.color_picker_swatch); in ColorPickerSwatch() 57 mCheckmarkImage = (ImageView) findViewById(R.id.color_picker_checkmark); in ColorPickerSwatch()
|
D | ColorPickerPalette.java | 24 import android.widget.ImageView; 165 private ImageView createBlankSpace() { in createBlankSpace() 166 ImageView view = new ImageView(getContext()); in createBlankSpace()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | ContactsExpansion.java | 29 import android.widget.ImageView; 67 ImageView thumbnailView = (ImageView) contactItem.findViewById(R.id.contact_picture); in addContact() 108 ImageView thumbnailView = in ToggleScene() 109 (ImageView) currentItem.findViewById(R.id.contact_picture); in ToggleScene() 112 ImageView arrow = (ImageView) currentItem.findViewById(R.id.contact_arrow); in ToggleScene()
|
D | CrossfadeImage.java | 28 import android.widget.ImageView; 37 ImageView mImageView; 47 mImageView = (ImageView) findViewById(R.id.contact_picture); in onCreate() 48 mImageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in onCreate()
|
D | HitRectBug.java | 28 import android.widget.ImageView; 44 private ImageView mImageView; 55 mImageView = new ImageView(context); in TestDrawingView()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | SimplePlayer.java | 36 import android.widget.ImageView; 52 ImageView mPlayPauseButton; 64 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, in SimplePlayer() 65 …int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int ses… in SimplePlayer() 71 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, in SimplePlayer() 72 …int stopButtonId, ImageView stopButton, TextView sessionText, int fileResId, int stream, int sessi… in SimplePlayer() 78 public void set(Context context, int playPausebuttonId, ImageView playPausebutton, in set() 79 int stopButtonId, ImageView stopButton, TextView sessionText, int stream, int session) { in set()
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestGalleryImages.java | 22 import android.widget.ImageView; 23 import android.widget.ImageView.ScaleType; 63 ImageView i = new ImageView(mContext); in getView()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | CustomBar.java | 44 import android.widget.ImageView; 130 if (child instanceof ImageView) { in loadIcon() 131 ImageView imageView = (ImageView) child; in loadIcon() 190 if (child instanceof ImageView) { in loadIcon() 191 ImageView imageView = (ImageView) child; in loadIcon() 201 if (child instanceof ImageView) { in loadIconById() 202 ImageView imageView = (ImageView) child; in loadIconById() 211 private Drawable loadIcon(ImageView imageView, ResourceValue value) { in loadIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | QuickSettingsBasicTile.java | 24 import android.widget.ImageView; 31 private final ImageView mImageView; 54 mImageView = (ImageView) findViewById(R.id.image); in QuickSettingsBasicTile() 62 public ImageView getImageView() { in getImageView()
|
/frameworks/base/services/java/com/android/server/am/ |
D | LaunchWarningWindow.java | 26 import android.widget.ImageView; 45 ImageView icon = (ImageView)findViewById(R.id.replace_app_icon); in LaunchWarningWindow() 50 icon = (ImageView)findViewById(R.id.original_app_icon); in LaunchWarningWindow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | SignalClusterView.java | 25 import android.widget.ImageView; 50 ImageView mWifi, mMobile, mMobileType, mAirplane; 75 mWifi = (ImageView) findViewById(R.id.wifi_signal); in onAttachedToWindow() 77 mMobile = (ImageView) findViewById(R.id.mobile_signal); in onAttachedToWindow() 78 mMobileType = (ImageView) findViewById(R.id.mobile_type); in onAttachedToWindow() 80 mAirplane = (ImageView) findViewById(R.id.airplane); in onAttachedToWindow()
|
/frameworks/base/docs/html/guide/topics/ui/layout/ |
D | gridview.jd | 13 <li>{@link android.widget.ImageView}</li> 118 // create a new ImageView for each item referenced by the Adapter 120 ImageView imageView; 122 imageView = new ImageView(mContext); 124 imageView.setScaleType(ImageView.ScaleType.CENTER_CROP); 127 imageView = (ImageView) convertView; 162 object is null. If it <em>is</em> null, an {@link android.widget.ImageView} is instantiated and 168 <li>{@link android.widget.ImageView#setScaleType(ImageView.ScaleType)} declares that images should 170 <li>{@link android.widget.ImageView#setPadding(int,int,int,int)} defines the padding for all 173 the dimensions given to the ImageView.)</li> [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | Animated3dActivity.java | 30 import android.widget.ImageView; 38 ImageView view = new ImageView(this); in onCreate()
|
D | ViewFlipperActivity.java | 25 import android.widget.ImageView; 43 ((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()
|
D | TextGammaActivity.java | 28 import android.widget.ImageView; 55 ImageView image = new ImageView(TextGammaActivity.this); in onCreate()
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarDialogPreference.java | 24 import android.widget.ImageView; 56 final ImageView iconView = (ImageView) view.findViewById(android.R.id.icon); in onBindDialogView()
|
/frameworks/support/v4/honeycomb/android/support/v4/app/ |
D | ActionBarDrawerToggleHoneycomb.java | 28 import android.widget.ImageView; 95 public ImageView upIndicatorView; 127 if (up instanceof ImageView) { in SetIndicatorInfo() 129 upIndicatorView = (ImageView) up; in SetIndicatorInfo()
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | SingleRecipientArrayAdapter.java | 25 import android.widget.ImageView; 56 ImageView imageView = (ImageView) view.findViewById(android.R.id.icon); in bindView()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SimpleCursorAdapter.java | 23 import android.widget.ImageView; 142 } else if (v instanceof ImageView) { in bindView() 143 setViewImage((ImageView) v, text); in bindView() 193 public void setViewImage(ImageView v, String value) { in setViewImage()
|