Home
last modified time | relevance | path

Searched refs:imageView (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/android/transition/
DChangeImageTransform.java86 ImageView imageView = (ImageView) view; in captureValues() local
87 Drawable drawable = imageView.getDrawable(); in captureValues()
101 ImageView.ScaleType scaleType = imageView.getScaleType(); in captureValues()
110 matrix = new Matrix(imageView.getImageMatrix()); in captureValues()
160 ImageView imageView = (ImageView) endValues.view; in createAnimator() local
161 Drawable drawable = imageView.getDrawable(); in createAnimator()
167 animator = createNullAnimator(imageView); in createAnimator()
169 ANIMATED_TRANSFORM_PROPERTY.set(imageView, startMatrix); in createAnimator()
170 animator = createMatrixAnimator(imageView, startMatrix, endMatrix); in createAnimator()
175 private ObjectAnimator createNullAnimator(ImageView imageView) { in createNullAnimator() argument
[all …]
/frameworks/base/core/java/android/app/
DSharedElementCallback.java178 ImageView imageView = ((ImageView) sharedElement); in onCaptureSharedElementSnapshot() local
179 Drawable d = imageView.getDrawable(); in onCaptureSharedElementSnapshot()
180 Drawable bg = imageView.getBackground(); in onCaptureSharedElementSnapshot()
182 Bitmap bitmap = TransitionUtils.createDrawableBitmap(d, imageView); in onCaptureSharedElementSnapshot()
196 imageView.getScaleType().toString()); in onCaptureSharedElementSnapshot()
197 if (imageView.getScaleType() == ScaleType.MATRIX) { in onCaptureSharedElementSnapshot()
198 Matrix matrix = imageView.getImageMatrix(); in onCaptureSharedElementSnapshot()
250 ImageView imageView = new ImageView(context); in onCreateSnapshotView() local
251 view = imageView; in onCreateSnapshotView()
252 imageView.setImageBitmap(bitmap); in onCreateSnapshotView()
[all …]
DActivityTransitionCoordinator.java502 ImageView imageView = (ImageView) view; in setSharedElementState() local
504 imageView.setScaleType(scaleType); in setSharedElementState()
508 imageView.setImageMatrix(tempMatrix); in setSharedElementState()
669 ImageView imageView = (ImageView) view; in getOldSharedElementState() local
670 state.mScaleType = imageView.getScaleType(); in getOldSharedElementState()
672 state.mMatrix = new Matrix(imageView.getImageMatrix()); in getOldSharedElementState()
714 ImageView imageView = (ImageView) view; in setOriginalSharedElementState() local
715 imageView.setScaleType(state.mScaleType); in setOriginalSharedElementState()
717 imageView.setImageMatrix(state.mMatrix); in setOriginalSharedElementState()
823 ImageView imageView = (ImageView) view; in captureSharedElementState() local
[all …]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DImageListViewScrollActivity.java79 public BitmapWorkerTask(ImageView imageView, int cacheIdx) { in BitmapWorkerTask() argument
81 imageViewReference = new WeakReference<>(imageView); in BitmapWorkerTask()
96 final ImageView imageView = imageViewReference.get(); in onPostExecute() local
97 if (imageView != null) { in onPostExecute()
99 imageView.setImageBitmap(bitmap); in onPostExecute()
139 ImageView imageView = (ImageView) convertView.findViewById(R.id.image_scroll_image); in getView() local
149 BitmapWorkerTask bitmapWorkerTask = new BitmapWorkerTask(imageView, cacheIdx); in getView()
154 imageView.setImageBitmap(bitmap); in getView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationBigPictureTemplateViewWrapperTest.java73 BigPictureNotificationImageView imageView = mView.findViewById(R.id.big_picture); in setAnimationsRunning_Run() local
76 assertNotNull(imageView); in setAnimationsRunning_Run()
77 imageView.setImageDrawable(mockDrawable); in setAnimationsRunning_Run()
90 BigPictureNotificationImageView imageView = mView.findViewById(R.id.big_picture); in setAnimationsRunning_Stop() local
93 assertNotNull(imageView); in setAnimationsRunning_Stop()
94 imageView.setImageDrawable(mockDrawable); in setAnimationsRunning_Stop()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DDrawableArrayWidget.java45 ImageView imageView = new ImageView(context); in addImageView() local
46 imageView.setImageDrawable(drawable); in addImageView()
47 addView(imageView); in addImageView()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DGainmapImage.kt47 private lateinit var imageView: SubsamplingScaleImageView in <lambda>() variable
62 imageView = findViewById(R.id.image)!! in <lambda>()
63 gainmapMetadataEditor = GainmapMetadataEditor(this, imageView) in <lambda>()
97 imageView.apply { in <lambda>()
164 imageView.setImage(ImageSource.cachedBitmap(when (outputMode) { in <lambda>()
/frameworks/base/core/java/android/window/
DSplashScreenView.java277 ImageView imageView = view.findViewById(R.id.splashscreen_icon_view); in build() local
278 assert imageView != null; in build()
280 final ViewGroup.LayoutParams params = imageView.getLayoutParams(); in build()
283 imageView.setLayoutParams(params); in build()
285 imageView.setImageDrawable(mIconDrawable); in build()
288 imageView.setBackground(mIconBackground); in build()
291 view.mIconView = imageView; in build()
344 ImageView imageView = new ImageView(viewContext); in createSurfaceView() local
345 imageView.setBackground(mIconDrawable); in createSurfaceView()
353 viewHost.setView(imageView, lp); in createSurfaceView()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/
DSysUiResources.java69 public static ImageView loadIcon(Context context, int api, ImageView imageView, in loadIcon() argument
91 imageView.setImageDrawable(drawable); in loadIcon()
95 return imageView; in loadIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationModeSwitch.java107 MagnificationModeSwitch(Context context, @NonNull ImageView imageView, in MagnificationModeSwitch() argument
116 mImageView = imageView; in MagnificationModeSwitch()
443 ImageView imageView = new ImageView(context); in createView() local
444 imageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in createView()
445 imageView.setClickable(true); in createView()
446 imageView.setFocusable(true); in createView()
447 imageView.setAlpha(0f); in createView()
448 return imageView; in createView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDarkIconDispatcherImpl.java102 public void addDarkReceiver(ImageView imageView) { in addDarkReceiver() argument
103 DarkReceiver receiver = (area, darkIntensity, tint) -> imageView.setImageTintList( in addDarkReceiver()
104 ColorStateList.valueOf(getTint(mTintAreas, imageView, mIconTint))); in addDarkReceiver()
105 mReceivers.put(imageView, receiver); in addDarkReceiver()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DStatusBar.java151 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, int color) { in loadIcon() argument
153 return super.loadIcon(imageView, iconName, density, color); in loadIcon()
170 imageView.setImageDrawable(drawable); in loadIcon()
180 return imageView; in loadIcon()
DCustomBar.java84 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, int color) { in loadIcon() argument
85 return SysUiResources.loadIcon(mContext, mSimulatedPlatformVersion, imageView, iconName, in loadIcon()
92 ImageView imageView = (ImageView) child; in loadIcon() local
93 return SysUiResources.loadIcon(mContext, mSimulatedPlatformVersion, imageView, iconName, in loadIcon()
/frameworks/base/packages/SettingsLib/UsageProgressBarPreference/src/com/android/settingslib/widget/
DUsageProgressBarPreference.java147 public <T extends ImageView> void setCustomContent(T imageView) { in setCustomContent() argument
148 if (imageView == mCustomImageView) { in setCustomContent()
151 mCustomImageView = imageView; in setCustomContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/message/
DProfileMessageController.kt76 val imageView = view.requireViewById<ImageView>(R.id.screenshot_message_icon) in <lambda>() constant
77 imageView.setImageDrawable(data.labeledIcon.badgedIcon) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DWorkProfileMessageController.kt81 val imageView: ImageView = view.requireViewById<ImageView>(R.id.screenshot_message_icon) in populateView() constant
82 imageView.setImageDrawable(data.icon) in populateView()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/widget/
DUsageProgressBarPreferenceTest.java175 final ImageView imageView = mock(ImageView.class); in setCustomContent_setImageView_oneChild() local
176 mUsageProgressBarPreference.setCustomContent(imageView); in setCustomContent_setImageView_oneChild()
183 assertThat(customContent.getChildAt(0)).isEqualTo(imageView); in setCustomContent_setImageView_oneChild()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/android/layoutlib/test/myapplication/
DDrawableArrayWidget.classDrawableArrayWidget.java package com.android.layoutlib.test.myapplication public com.android.layoutlib ...
DR$id.classR.java package com.android.layoutlib.test.myapplication public final com.android. ...
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewShowHidePerfTest.java113 ImageView imageView = new ImageView(context);
114 root.addView(imageView, new LinearLayout.LayoutParams(
116 imageView.setImageDrawable(new ColorDrawable(Color.RED));
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DDrawView.java77 public void setImageView(ImageView imageView) { in setImageView() argument
78 mImageView = imageView; in setImageView()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DDrawView.java79 public void setImageView(ImageView imageView) { in setImageView() argument
80 mImageView = imageView; in setImageView()
/frameworks/base/core/java/android/widget/
DToastPresenter.java85 ImageView imageView = view.findViewById(com.android.internal.R.id.icon); in getTextToastViewWithIcon() local
86 if (imageView != null) { in getTextToastViewWithIcon()
87 imageView.setImageDrawable(icon); in getTextToastViewWithIcon()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleViewInfoTask.java169 @Nullable BadgedImageView imageView; field in BubbleViewInfoTask.BubbleViewInfo
220 info.imageView = (BadgedImageView) inflater.inflate( in populate()
222 info.imageView.initialize(positioner); in populate()
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java132 final ImageView imageView = findViewById(R.id.icon); in inflateContent() local
133 if (imageView != null) { in inflateContent()
134 imageView.setImageBitmap(getUserIconRounded()); in inflateContent()

12