Home
last modified time | relevance | path

Searched refs:ImageView (Results 1 – 25 of 156) sorted by relevance

1234567

/frameworks/base/core/java/android/widget/
DImageSwitcher.java40 ImageView image = (ImageView)this.getNextView(); in setImageResource()
47 ImageView image = (ImageView)this.getNextView(); in setImageURI()
54 ImageView image = (ImageView)this.getNextView(); in setImageDrawable()
DSimpleAdapter.java188 } 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/
DSmartCamera.java34 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/
DHelloComputeNDK.java23 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/
Dprocess-bitmap.jd55 android.widget.ImageView} using {@link android.os.AsyncTask} and <a
62 private final WeakReference&lt;ImageView&gt; imageViewReference;
65 public BitmapWorkerTask(ImageView imageView) {
66 // Use a WeakReference to ensure the ImageView can be garbage collected
67 imageViewReference = new WeakReference&lt;ImageView&gt;(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 …]
Ddisplay-bitmap.jd57 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/
DColorPickerSwatch.java27 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()
DColorPickerPalette.java24 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/
DContactsExpansion.java29 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()
DCrossfadeImage.java28 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()
DHitRectBug.java28 import android.widget.ImageView;
44 private ImageView mImageView;
55 mImageView = new ImageView(context); in TestDrawingView()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DSimplePlayer.java36 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/
DBiDiTestGalleryImages.java22 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/
DCustomBar.java44 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/
DQuickSettingsBasicTile.java24 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/
DLaunchWarningWindow.java26 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/
DSignalClusterView.java25 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/
Dgridview.jd13 <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/
DAnimated3dActivity.java30 import android.widget.ImageView;
38 ImageView view = new ImageView(this); in onCreate()
DViewFlipperActivity.java25 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()
DTextGammaActivity.java28 import android.widget.ImageView;
55 ImageView image = new ImageView(TextGammaActivity.this); in onCreate()
/frameworks/base/core/java/android/preference/
DSeekBarDialogPreference.java24 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/
DActionBarDrawerToggleHoneycomb.java28 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/
DSingleRecipientArrayAdapter.java25 import android.widget.ImageView;
56 ImageView imageView = (ImageView) view.findViewById(android.R.id.icon); in bindView()
/frameworks/support/v4/java/android/support/v4/widget/
DSimpleCursorAdapter.java23 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()

1234567