/frameworks/base/core/java/android/transition/ |
D | ChangeImageTransform.java | 86 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/ |
D | SharedElementCallback.java | 178 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 …]
|
D | ActivityTransitionCoordinator.java | 502 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/ |
D | ImageListViewScrollActivity.java | 79 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/ |
D | NotificationBigPictureTemplateViewWrapperTest.java | 73 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/ |
D | DrawableArrayWidget.java | 45 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/ |
D | GainmapImage.kt | 47 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/ |
D | SplashScreenView.java | 277 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/ |
D | SysUiResources.java | 69 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/ |
D | MagnificationModeSwitch.java | 107 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/ |
D | DarkIconDispatcherImpl.java | 102 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/ |
D | StatusBar.java | 151 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()
|
D | CustomBar.java | 84 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/ |
D | UsageProgressBarPreference.java | 147 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/ |
D | ProfileMessageController.kt | 76 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/ |
D | WorkProfileMessageController.kt | 81 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/ |
D | UsageProgressBarPreferenceTest.java | 175 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/ |
D | DrawableArrayWidget.class | DrawableArrayWidget.java
package com.android.layoutlib.test.myapplication
public com.android.layoutlib ... |
D | R$id.class | R.java
package com.android.layoutlib.test.myapplication
public final com.android. ... |
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
D | ViewShowHidePerfTest.java | 113 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/ |
D | DrawView.java | 77 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/ |
D | DrawView.java | 79 public void setImageView(ImageView imageView) { in setImageView() argument 80 mImageView = imageView; in setImageView()
|
/frameworks/base/core/java/android/widget/ |
D | ToastPresenter.java | 85 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/ |
D | BubbleViewInfoTask.java | 169 @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/ |
D | UserSwitchingDialog.java | 132 final ImageView imageView = findViewById(R.id.icon); in inflateContent() local 133 if (imageView != null) { in inflateContent() 134 imageView.setImageBitmap(getUserIconRounded()); in inflateContent()
|