Home
last modified time | relevance | path

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

12

/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/core/java/android/transition/
DChangeImageTransform.java84 ImageView imageView = (ImageView) view; in captureValues() local
85 Drawable drawable = imageView.getDrawable(); in captureValues()
99 ImageView.ScaleType scaleType = imageView.getScaleType(); in captureValues()
108 matrix = new Matrix(imageView.getImageMatrix()); in captureValues()
156 ImageView imageView = (ImageView) endValues.view; in createAnimator() local
157 Drawable drawable = imageView.getDrawable(); in createAnimator()
163 animator = createNullAnimator(imageView); in createAnimator()
165 ANIMATED_TRANSFORM_PROPERTY.set(imageView, startMatrix); in createAnimator()
166 animator = createMatrixAnimator(imageView, startMatrix, endMatrix); in createAnimator()
171 private ObjectAnimator createNullAnimator(ImageView imageView) { in createNullAnimator() argument
[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/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java91 protected ImageView loadIcon(ImageView imageView, String iconName, Density density) { in loadIcon() argument
92 return SysUiResources.loadIcon(mContext, mSimulatedPlatformVersion, imageView, iconName, in loadIcon()
99 ImageView imageView = (ImageView) child; in loadIcon() local
100 return SysUiResources.loadIcon(mContext, mSimulatedPlatformVersion, imageView, iconName, in loadIcon()
107 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, in loadIcon() argument
123 return imageView; in loadIcon()
129 imageView.setImageDrawable(drawable); in loadIcon()
133 return imageView; in loadIcon()
DStatusBar.java109 protected ImageView loadIcon(ImageView imageView, String iconName, Density density) { in loadIcon() argument
111 return super.loadIcon(imageView, iconName, density); in loadIcon()
126 imageView.setImageDrawable( in loadIcon()
137 return imageView; in loadIcon()
/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/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/
DSysUiResources.java69 public static ImageView loadIcon(Context context, int api, ImageView imageView, String in loadIcon() argument
88 return imageView; in loadIcon()
94 imageView.setImageDrawable(drawable); in loadIcon()
98 return imageView; in loadIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDarkIconDispatcherImpl.java69 public void addDarkReceiver(ImageView imageView) { in addDarkReceiver() argument
70 DarkReceiver receiver = (area, darkIntensity, tint) -> imageView.setImageTintList( in addDarkReceiver()
71 ColorStateList.valueOf(getTint(mTintArea, imageView, mIconTint))); in addDarkReceiver()
72 mReceivers.put(imageView, receiver); in addDarkReceiver()
DStatusBarIconController.java352 ImageView imageView = (ImageView) mGroup.getChildAt(viewIndex); in onIconExternal() local
353 imageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in onIconExternal()
354 imageView.setAdjustViewBounds(true); in onIconExternal()
355 setHeightAndCenter(imageView, height); in onIconExternal()
367 private void setHeightAndCenter(ImageView imageView, int height) { in setHeightAndCenter() argument
368 ViewGroup.LayoutParams params = imageView.getLayoutParams(); in setHeightAndCenter()
373 imageView.setLayoutParams(params); in setHeightAndCenter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationModeSwitch.java90 MagnificationModeSwitch(Context context, @NonNull ImageView imageView, in MagnificationModeSwitch() argument
97 mImageView = imageView; in MagnificationModeSwitch()
379 ImageView imageView = new ImageView(context); in createView() local
380 imageView.setClickable(true); in createView()
381 imageView.setFocusable(true); in createView()
382 imageView.setAlpha(0f); in createView()
383 return imageView; in createView()
/frameworks/base/core/java/android/window/
DSplashScreenView.java271 ImageView imageView = view.findViewById(R.id.splashscreen_icon_view); in build() local
272 assert imageView != null; in build()
274 final ViewGroup.LayoutParams params = imageView.getLayoutParams(); in build()
277 imageView.setLayoutParams(params); in build()
279 imageView.setImageDrawable(mIconDrawable); in build()
282 imageView.setBackground(mIconBackground); in build()
284 view.mIconView = imageView; in build()
332 ImageView imageView = new ImageView(mContext); in createSurfaceView() local
333 imageView.setBackground(mIconDrawable); in createSurfaceView()
334 viewHost.setView(imageView, mIconSize, mIconSize); in createSurfaceView()
/frameworks/base/packages/SettingsLib/UsageProgressBarPreference/src/com/android/settingslib/widget/
DUsageProgressBarPreference.java135 public <T extends ImageView> void setCustomContent(T imageView) { in setCustomContent() argument
136 if (imageView == mCustomImageView) { in setCustomContent()
139 mCustomImageView = imageView; in setCustomContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/television/
DTvOngoingPrivacyChip.java354 ImageView imageView = new ImageView(mContext); in updateIcons() local
355 imageView.setImageDrawable(icon); in updateIcons()
356 imageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in updateIcons()
357 mIconsContainer.addView(imageView, mIconSize, mIconSize); in updateIcons()
360 (ViewGroup.MarginLayoutParams) imageView.getLayoutParams(); in updateIcons()
362 imageView.setLayoutParams(layoutParams); in updateIcons()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/widget/
DUsageProgressBarPreferenceTest.java173 final ImageView imageView = mock(ImageView.class); in setCustomContent_setImageView_oneChild() local
174 mUsageProgressBarPreference.setCustomContent(imageView); in setCustomContent_setImageView_oneChild()
181 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.java112 ImageView imageView = new ImageView(context);
113 root.addView(imageView, new LinearLayout.LayoutParams(
115 imageView.setImageDrawable(new ColorDrawable(Color.RED));
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleViewInfoTask.java124 BadgedImageView imageView; field in BubbleViewInfoTask.BubbleViewInfo
144 info.imageView = (BadgedImageView) inflater.inflate( in populate()
146 info.imageView.initialize(controller.getPositioner()); in populate()
/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/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/lldb/java/DebugWaitAttach/src/com/android/rs/waitattachdebug/
DMainActivity.java45 mImageView = findViewById(R.id.imageView); in onCreate()
/frameworks/rs/tests/lldb/java/NoDebugWaitAttach/src/com/android/rs/waitattachnodebug/
DMainActivity.java45 mImageView = findViewById(R.id.imageView); in onCreate()
/frameworks/rs/tests/lldb/java/MultipleRSFiles/src/com/android/rs/multiplersfiles/
DMainActivity.java46 mImageView = findViewById(R.id.imageView); in onCreate()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java221 holder.imageView.setImageIcon(mCats[position].createIcon(context, size, size)); in onBindViewHolder()
325 private final ImageView imageView; field in NekoLand.CatHolder
333 imageView = (ImageView) itemView.findViewById(android.R.id.icon); in CatHolder()

12