Home
last modified time | relevance | path

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

12

/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/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/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.java71 public void addDarkReceiver(ImageView imageView) { in addDarkReceiver() argument
72 DarkReceiver receiver = (area, darkIntensity, tint) -> imageView.setImageTintList( in addDarkReceiver()
73 ColorStateList.valueOf(getTint(mTintArea, imageView, mIconTint))); in addDarkReceiver()
74 mReceivers.put(imageView, receiver); in addDarkReceiver()
DStatusBarIconController.java324 ImageView imageView = (ImageView) mGroup.getChildAt(viewIndex); in onIconExternal() local
325 imageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in onIconExternal()
326 imageView.setAdjustViewBounds(true); in onIconExternal()
327 setHeightAndCenter(imageView, height); in onIconExternal()
339 private void setHeightAndCenter(ImageView imageView, int height) { in setHeightAndCenter() argument
340 ViewGroup.LayoutParams params = imageView.getLayoutParams(); in setHeightAndCenter()
345 imageView.setLayoutParams(params); in setHeightAndCenter()
/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/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/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationHeaderUtil.java81 ImageView imageView = (ImageView) view;
82 imageView.getDrawable().mutate();
90 imageView.getDrawable().setColorFilter(grey, PorterDuff.Mode.SRC_ATOP);
93 imageView.getDrawable().setColorFilter(originalColor,
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPageIndicator.java159 private void playAnimation(ImageView imageView, int res) {
161 imageView.setImageDrawable(avd);
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DDarkIconDispatcher.java53 void addDarkReceiver(ImageView imageView); in addDarkReceiver() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt215 val imageView = inflater.inflate(R.layout.controls_icon, viewGroup, false) as ImageView in <lambda>() constant
216 imageView.setContentDescription(it.getTitle()) in <lambda>()
217 imageView.setImageDrawable(it.icon) in <lambda>()
218 iconRowGroup.addView(imageView) in <lambda>()
/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java178 bindIconToView(showImage, entry, viewHolder.imageView, type); in bindView()
541 public final ImageView imageView; field in DropdownChipLayouter.ViewHolder
555 imageView = (ImageView) view.findViewById(getPhotoResId()); in ViewHolder()
/frameworks/base/core/java/android/preference/
DPreference.java660 final ImageView imageView = (ImageView) view.findViewById(com.android.internal.R.id.icon); in onBindView() local
661 if (imageView != null) { in onBindView()
667 imageView.setImageDrawable(mIcon); in onBindView()
671 imageView.setVisibility(View.VISIBLE); in onBindView()
673 imageView.setVisibility(mIconSpaceReserved ? View.INVISIBLE : View.GONE); in onBindView()

12