Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/java/android/transition/
DChangeImageTransform.java29 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()
102 if (scaleType == ImageView.ScaleType.FIT_XY && drawableWidth > 0 && drawableHeight > 0) { in captureValues()
156 ImageView imageView = (ImageView) endValues.view; in createAnimator()
[all …]
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DScaleDrawableTests.java19 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()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DIconMixin.java25 import android.widget.ImageView;
60 final ImageView iconView = getView(); in setIcon()
73 final ImageView iconView = getView(); in setIcon()
84 final ImageView iconView = getView(); in getIcon()
90 final ImageView iconView = getView(); in setContentDescription()
98 final ImageView iconView = getView(); in getContentDescription()
103 protected ImageView getView() { in getView()
104 return (ImageView) templateLayout.findManagedViewById(R.id.suw_layout_icon); in getView()
/frameworks/base/core/java/android/widget/
DImageSwitcher.java64 ImageView image = (ImageView)this.getNextView(); in setImageResource()
80 ImageView image = (ImageView)this.getNextView(); in setImageURI()
96 ImageView image = (ImageView)this.getNextView(); in setImageDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationIconDozeHelper.java25 import android.widget.ImageView;
47 public void setImageDark(ImageView target, boolean dark, boolean fade, long delay, in setImageDark()
66 private void fadeImageColorFilter(final ImageView target, boolean dark, long delay) { in fadeImageColorFilter()
72 private void fadeImageAlpha(final ImageView target, boolean dark, long delay) { in fadeImageAlpha()
79 private void updateImageColorFilter(ImageView target, boolean dark) { in updateImageColorFilter()
83 private void updateImageColorFilter(ImageView target, float intensity) { in updateImageColorFilter()
101 private void updateImageAlpha(ImageView target, boolean dark) { in updateImageAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSignalTileView.java23 import android.widget.ImageView;
37 protected ImageView mSignal;
38 private ImageView mOverlay;
39 private ImageView mIn;
40 private ImageView mOut;
60 private ImageView addTrafficView(int icon) { in addTrafficView()
61 final ImageView traffic = new ImageView(mContext); in addTrafficView()
73 mOverlay = new ImageView(mContext); in createIcon()
DPageIndicator.java11 import android.widget.ImageView;
60 ImageView v = new ImageView(mContext); in setNumPages()
104 ImageView v = (ImageView) getChildAt(i); in setIndex()
129 ImageView first = (ImageView) getChildAt(firstIndex); in animate()
130 ImageView second = (ImageView) getChildAt(secondIndex); in animate()
151 private void playAnimation(ImageView imageView, int res) {
/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/opt/colorpicker/src/com/android/colorpicker/
DColorPickerSwatch.java24 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/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSIconViewImplTest.java30 import android.widget.ImageView;
57 ImageView iv = mock(ImageView.class); in testNoFirstAnimation()
78 ImageView iv = mock(ImageView.class); in testNoFirstFade()
90 ImageView iv = mock(ImageView.class); in testStateSetCorrectly_toString()
/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/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()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDrawIntoHwBitmapActivity.java26 import android.widget.ImageView;
32 ImageView view = new ImageView(this); in onCreate()
33 view.setScaleType(ImageView.ScaleType.CENTER_INSIDE); in onCreate()
DMyLittleTextureView.java33 import android.widget.ImageView;
38 private ImageView mImageView;
43 mImageView = new ImageView(this); in onCreate()
44 mImageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in onCreate()
DAnimated3dActivity.java30 import android.widget.ImageView;
38 ImageView view = new ImageView(this); in onCreate()
/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/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DImageListViewScrollActivity.java25 import android.widget.ImageView;
74 private final WeakReference<ImageView> imageViewReference;
79 public BitmapWorkerTask(ImageView imageView, int cacheIdx) { in BitmapWorkerTask()
96 final ImageView imageView = imageViewReference.get(); in onPostExecute()
139 ImageView imageView = (ImageView) convertView.findViewById(R.id.image_scroll_image); in getView()
/frameworks/base/core/java/android/app/
DSharedElementCallback.java33 import android.widget.ImageView;
34 import android.widget.ImageView.ScaleType;
178 if (sharedElement instanceof ImageView) { in onCaptureSharedElementSnapshot()
179 ImageView imageView = ((ImageView) sharedElement); in onCaptureSharedElementSnapshot()
252 ImageView imageView = new ImageView(context); in onCreateSnapshotView()
DActivityTransitionCoordinator.java40 import android.widget.ImageView;
139 protected static final ImageView.ScaleType[] SCALE_TYPE_VALUES = ImageView.ScaleType.values();
499 if (view instanceof ImageView) { in setSharedElementState()
502 ImageView imageView = (ImageView) view; in setSharedElementState()
503 ImageView.ScaleType scaleType = SCALE_TYPE_VALUES[scaleTypeInt]; in setSharedElementState()
505 if (scaleType == ImageView.ScaleType.MATRIX) { in setSharedElementState()
657 if (!(view instanceof ImageView)) { in getOldSharedElementState()
669 ImageView imageView = (ImageView) view; in getOldSharedElementState()
671 if (state.mScaleType == ImageView.ScaleType.MATRIX) { in getOldSharedElementState()
713 if (view instanceof ImageView && state.mScaleType != null) { in setOriginalSharedElementState()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java43 import android.widget.ImageView;
91 protected ImageView loadIcon(ImageView imageView, String iconName, Density density) { in loadIcon()
96 protected ImageView loadIcon(int index, String iconName, Density density, boolean isRtl) { in loadIcon()
98 if (child instanceof ImageView) { in loadIcon()
99 ImageView imageView = (ImageView) child; in loadIcon()
107 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, in loadIcon()
DStatusBar.java36 import android.widget.ImageView;
80 List<ImageView> icons = new ArrayList<>(2); in StatusBar()
85 if (child instanceof ImageView) { in StatusBar()
86 icons.add((ImageView) child); in StatusBar()
110 protected ImageView loadIcon(ImageView imageView, String iconName, Density density) { in loadIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSIconViewImpl.java30 import android.widget.ImageView;
31 import android.widget.ImageView.ScaleType;
97 setIcon((ImageView) mIcon, state, allowAnimations); in setIcon()
100 protected void updateIcon(ImageView iv, State state, boolean allowAnimations) { in updateIcon()
140 private boolean shouldAnimate(ImageView iv) { in shouldAnimate()
144 protected void setIcon(ImageView iv, QSTile.State state, boolean allowAnimations) { in setIcon()
175 private void animateGrayScale(int fromColor, int toColor, ImageView iv, in animateGrayScale()
209 public static void setTint(ImageView iv, int color) { in setTint()
219 final ImageView icon = new SlashImageView(mContext); in createIcon()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMainActivity.java15 import android.widget.ImageView;
155 public ImageView mImageView1;
156 public ImageView mImageView2;
168 mImageView1 = new ImageView(context); in RsTaskParams()
172 mImageView2 = new ImageView(context); in RsTaskParams()
197 private class RsAsyncTaskRunner extends AsyncTask<RsTaskParams, ImageView, Result> {
208 final ImageView v = params[0].mImageView1; in doInBackground()
213 final ImageView v2 = params[0].mImageView2; in doInBackground()
245 protected void onProgressUpdate(ImageView... progress) { in onProgressUpdate()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DBitmapLoader.java26 import android.widget.ImageView;
78 ImageView mImageView;
83 BitmapAsyncTask(ImageView view, long id, int width, int height) { in BitmapAsyncTask()
120 public static void loadBitmap(ImageView view, long id, int width, int height) { in loadBitmap()
131 public static void cancel(ImageView view) { in cancel()
/frameworks/base/services/core/java/com/android/server/wm/
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()

12345678910