/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationTemplateViewWrapper.java | 33 import android.widget.ImageView; 53 private ImageView mIcon; 54 protected ImageView mPicture; 74 ImageView largeIcon = (ImageView) mView.findViewById(com.android.internal.R.id.icon); in resolveViews() 75 ImageView rightIcon = (ImageView) mView.findViewById(com.android.internal.R.id.right_icon); in resolveViews() 86 private ImageView resolveIcon(ImageView largeIcon, ImageView rightIcon) { in resolveIcon() 92 private ImageView resolvePicture(ImageView largeIcon) { in resolvePicture() 98 private int resolveBackgroundColor(ImageView icon) { in resolveBackgroundColor() 168 private void fadeIconColorFilter(final ImageView target, boolean dark, long delay) { in fadeIconColorFilter() 177 private void fadeIconAlpha(final ImageView target, boolean dark, long delay) { in fadeIconAlpha() [all …]
|
D | SignalClusterView.java | 33 import android.widget.ImageView; 84 ImageView mVpn, mEthernet, mWifi, mAirplane, mNoSims, mEthernetDark, mWifiDark, mNoSimsDark; 163 mVpn = (ImageView) findViewById(R.id.vpn); in onAttachedToWindow() 165 mEthernet = (ImageView) findViewById(R.id.ethernet); in onAttachedToWindow() 166 mEthernetDark = (ImageView) findViewById(R.id.ethernet_dark); in onAttachedToWindow() 168 mWifi = (ImageView) findViewById(R.id.wifi_signal); in onAttachedToWindow() 169 mWifiDark = (ImageView) findViewById(R.id.wifi_signal_dark); in onAttachedToWindow() 170 mAirplane = (ImageView) findViewById(R.id.airplane); in onAttachedToWindow() 171 mNoSims = (ImageView) findViewById(R.id.no_sims); in onAttachedToWindow() 172 mNoSimsDark = (ImageView) findViewById(R.id.no_sims_dark); in onAttachedToWindow() [all …]
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | ScaleDrawableTests.java | 19 import android.widget.ImageView; 61 ImageView.ScaleType scaleType = ImageView.ScaleType.values()[i]; in onCreate() 63 ImageView png_view = new ImageView(this); in onCreate() 69 ImageView view = new ImageView(this); in onCreate() 75 ImageView avd_view = new ImageView(this); in onCreate()
|
D | AnimatedVectorDrawableAttr.java | 20 import android.widget.ImageView; 28 ImageView avdIv = (ImageView) findViewById(R.id.avd); in onCreate()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeImageTransform.java | 29 import android.widget.ImageView; 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) { in captureValues() 84 ImageView imageView = (ImageView) view; in captureValues() 99 ImageView.ScaleType scaleType = imageView.getScaleType(); in captureValues() 100 if (scaleType == ImageView.ScaleType.FIT_XY) { in captureValues() 169 ImageView imageView = (ImageView) endValues.view; in createAnimator() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ImageSwitcher.java | 38 ImageView image = (ImageView)this.getNextView(); in setImageResource() 45 ImageView image = (ImageView)this.getNextView(); in setImageURI() 52 ImageView image = (ImageView)this.getNextView(); in setImageDrawable()
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | ImageViewBindingAdapter.java | 23 import android.widget.ImageView; 26 …@BindingMethod(type = android.widget.ImageView.class, attribute = "android:tint", method = "setIma… 27 …@BindingMethod(type = android.widget.ImageView.class, attribute = "android:tintMode", method = "se… 31 public static void setImageUri(ImageView view, String imageUri) { in setImageUri() 40 public static void setImageUri(ImageView view, Uri imageUri) { in setImageUri() 45 public static void setImageUri(ImageView view, Drawable drawable) { in setImageUri()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | SignalTileView.java | 24 import android.widget.ImageView; 35 private ImageView mSignal; 36 private ImageView mOverlay; 37 private ImageView mIn; 38 private ImageView mOut; 52 private ImageView addTrafficView(int icon) { in addTrafficView() 53 final ImageView traffic = new ImageView(mContext); in addTrafficView() 63 mSignal = new ImageView(mContext); in createIcon() 65 mOverlay = new ImageView(mContext); in createIcon()
|
/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/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 …]
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorPickerSwatch.java | 24 import android.widget.ImageView; 31 private ImageView mSwatchImage; 32 private ImageView mCheckmarkImage; 53 mSwatchImage = (ImageView) findViewById(R.id.color_picker_swatch); in ColorPickerSwatch() 54 mCheckmarkImage = (ImageView) findViewById(R.id.color_picker_checkmark); in ColorPickerSwatch()
|
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
D | HelloComputeNDK.java | 23 import android.widget.ImageView; 45 ImageView in = (ImageView) findViewById(R.id.displayin); in onCreate() 48 ImageView out = (ImageView) findViewById(R.id.displayout); in onCreate()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | SharedElementCallback.java | 30 import android.widget.ImageView; 31 import android.widget.ImageView.ScaleType; 169 if (sharedElement instanceof ImageView) { in onCaptureSharedElementSnapshot() 170 ImageView imageView = ((ImageView) sharedElement); in onCaptureSharedElementSnapshot() 258 ImageView view = null; in onCreateSnapshotView() 265 ImageView imageView = new ImageView(context); in onCreateSnapshotView() 278 view = new ImageView(context); in onCreateSnapshotView()
|
/frameworks/base/core/java/android/app/ |
D | SharedElementCallback.java | 29 import android.widget.ImageView; 30 import android.widget.ImageView.ScaleType; 171 if (sharedElement instanceof ImageView) { in onCaptureSharedElementSnapshot() 172 ImageView imageView = ((ImageView) sharedElement); in onCaptureSharedElementSnapshot() 225 ImageView imageView = new ImageView(context); in onCreateSnapshotView()
|
D | ActivityTransitionCoordinator.java | 37 import android.widget.ImageView; 134 protected static final ImageView.ScaleType[] SCALE_TYPE_VALUES = ImageView.ScaleType.values(); 426 if (view instanceof ImageView) { in setSharedElementState() 429 ImageView imageView = (ImageView) view; in setSharedElementState() 430 ImageView.ScaleType scaleType = SCALE_TYPE_VALUES[scaleTypeInt]; in setSharedElementState() 432 if (scaleType == ImageView.ScaleType.MATRIX) { in setSharedElementState() 589 if (!(view instanceof ImageView)) { in getOldSharedElementState() 601 ImageView imageView = (ImageView) view; in getOldSharedElementState() 603 if (state.mScaleType == ImageView.ScaleType.MATRIX) { in getOldSharedElementState() 645 if (view instanceof ImageView && state.mScaleType != null) { in setOriginalSharedElementState() [all …]
|
/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/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()
|
/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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ImageCardView.java | 26 import android.widget.ImageView; 27 import android.widget.ImageView.ScaleType; 35 private ImageView mImageView; 39 private ImageView mBadgeImage; 56 mImageView = (ImageView) v.findViewById(R.id.main_image); in ImageCardView() 61 mBadgeImage = (ImageView) v.findViewById(R.id.extra_badge); in ImageCardView() 78 public final ImageView getMainImageView() { in getMainImageView()
|
D | DetailsOverviewSharedElementHelper.java | 32 import android.widget.ImageView; 33 import android.widget.ImageView.ScaleType; 53 return snapshotView instanceof ImageView; in hasImageViewScaleChange() 59 ImageView imageView = mViewHolder.mImageView; in saveImageViewScale() 68 private static void updateImageViewAfterScaleTypeChange(ImageView imageView) { in updateImageViewAfterScaleTypeChange() 78 ImageView snapshotImageView = (ImageView) snapshotView; in changeImageViewScale() 79 ImageView imageView = mViewHolder.mImageView; in changeImageViewScale() 95 ImageView imageView = mViewHolder.mImageView; in restoreImageViewScale()
|
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/ |
D | FrameSequenceTest.java | 24 import android.widget.ImageView; 96 ImageView imageView = (ImageView) findViewById(R.id.imageview); in onResume() 114 ImageView imageView = (ImageView) findViewById(R.id.imageview); in onPause()
|
/frameworks/base/docs/html/guide/topics/ui/layout/ |
D | gridview.jd | 13 <li>{@link android.widget.ImageView}</li> 120 // create a new ImageView for each item referenced by the Adapter 122 ImageView imageView; 125 imageView = new ImageView(mContext); 127 imageView.setScaleType(ImageView.ScaleType.CENTER_CROP); 130 imageView = (ImageView) convertView; 165 object is null. If it <em>is</em> null, an {@link android.widget.ImageView} is instantiated and 171 <li>{@link android.widget.ImageView#setScaleType(ImageView.ScaleType)} declares that images should 173 <li>{@link android.widget.ImageView#setPadding(int,int,int,int)} defines the padding for all 176 the dimensions given to the ImageView.)</li> [all …]
|
/frameworks/base/services/core/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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | Animated3dActivity.java | 30 import android.widget.ImageView; 38 ImageView view = new ImageView(this); in onCreate()
|