/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | DetailsOverviewSharedElementHelper.java | 59 ImageView imageView = mViewHolder.mImageView; in saveImageViewScale() local 60 mSavedScaleType = imageView.getScaleType(); in saveImageViewScale() 61 mSavedMatrix = mSavedScaleType == ScaleType.MATRIX ? imageView.getMatrix() : null; in saveImageViewScale() 68 private static void updateImageViewAfterScaleTypeChange(ImageView imageView) { in updateImageViewAfterScaleTypeChange() argument 70 imageView.measure( in updateImageViewAfterScaleTypeChange() 71 MeasureSpec.makeMeasureSpec(imageView.getMeasuredWidth(), MeasureSpec.EXACTLY), in updateImageViewAfterScaleTypeChange() 72 MeasureSpec.makeMeasureSpec(imageView.getMeasuredHeight(), MeasureSpec.EXACTLY)); in updateImageViewAfterScaleTypeChange() 73 imageView.layout(imageView.getLeft(), imageView.getTop(), in updateImageViewAfterScaleTypeChange() 74 imageView.getRight(), imageView.getBottom()); in updateImageViewAfterScaleTypeChange() 79 ImageView imageView = mViewHolder.mImageView; in changeImageViewScale() local [all …]
|
D | DetailsOverviewLogoPresenter.java | 140 ImageView imageView = ((ImageView) viewHolder.view); in onBindViewHolder() local 141 imageView.setImageDrawable(row.getImageDrawable()); in onBindViewHolder() 145 ViewGroup.LayoutParams lp = imageView.getLayoutParams(); in onBindViewHolder() 148 if (imageView.getMaxWidth() > 0 || imageView.getMaxHeight() > 0) { in onBindViewHolder() 150 if (imageView.getMaxWidth() > 0) { in onBindViewHolder() 151 if (lp.width > imageView.getMaxWidth()) { in onBindViewHolder() 152 maxScaleWidth = imageView.getMaxWidth() / (float) lp.width; in onBindViewHolder() 156 if (imageView.getMaxHeight() > 0) { in onBindViewHolder() 157 if (lp.height > imageView.getMaxHeight()) { in onBindViewHolder() 158 maxScaleHeight = imageView.getMaxHeight() / (float) lp.height; in onBindViewHolder() [all …]
|
/frameworks/base/core/java/android/app/ |
D | SharedElementCallback.java | 172 ImageView imageView = ((ImageView) sharedElement); in onCaptureSharedElementSnapshot() local 173 Drawable d = imageView.getDrawable(); in onCaptureSharedElementSnapshot() 174 Drawable bg = imageView.getBackground(); in onCaptureSharedElementSnapshot() 181 imageView.getScaleType().toString()); in onCaptureSharedElementSnapshot() 182 if (imageView.getScaleType() == ScaleType.MATRIX) { in onCaptureSharedElementSnapshot() 183 Matrix matrix = imageView.getImageMatrix(); in onCaptureSharedElementSnapshot() 225 ImageView imageView = new ImageView(context); in onCreateSnapshotView() local 226 view = imageView; in onCreateSnapshotView() 227 imageView.setImageBitmap(bitmap); in onCreateSnapshotView() 228 imageView.setScaleType( in onCreateSnapshotView() [all …]
|
D | ActivityTransitionCoordinator.java | 431 ImageView imageView = (ImageView) view; in setSharedElementState() local 433 imageView.setScaleType(scaleType); in setSharedElementState() 437 imageView.setImageMatrix(tempMatrix); in setSharedElementState() 603 ImageView imageView = (ImageView) view; in getOldSharedElementState() local 604 state.mScaleType = imageView.getScaleType(); in getOldSharedElementState() 606 state.mMatrix = new Matrix(imageView.getImageMatrix()); in getOldSharedElementState() 648 ImageView imageView = (ImageView) view; in setOriginalSharedElementState() local 649 imageView.setScaleType(state.mScaleType); in setOriginalSharedElementState() 651 imageView.setImageMatrix(state.mMatrix); in setOriginalSharedElementState() 756 ImageView imageView = (ImageView) view; in captureSharedElementState() local [all …]
|
/frameworks/base/core/java/android/transition/ |
D | ChangeImageTransform.java | 84 ImageView imageView = (ImageView) view; in captureValues() local 85 Drawable drawable = imageView.getDrawable(); in captureValues() 99 ImageView.ScaleType scaleType = imageView.getScaleType(); in captureValues() 101 matrix = imageView.getImageMatrix(); in captureValues() 117 matrix = new Matrix(imageView.getImageMatrix()); in captureValues() 169 ImageView imageView = (ImageView) endValues.view; in createAnimator() local 170 Drawable drawable = imageView.getDrawable(); in createAnimator() 176 animator = createNullAnimator(imageView); in createAnimator() 184 ANIMATED_TRANSFORM_PROPERTY.set(imageView, startMatrix); in createAnimator() 185 animator = createMatrixAnimator(imageView, startMatrix, endMatrix); in createAnimator() [all …]
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | SharedElementCallback.java | 169 ImageView imageView = ((ImageView) sharedElement); in onCaptureSharedElementSnapshot() local 170 Drawable d = imageView.getDrawable(); in onCaptureSharedElementSnapshot() 171 Drawable bg = imageView.getBackground(); in onCaptureSharedElementSnapshot() 178 imageView.getScaleType().toString()); in onCaptureSharedElementSnapshot() 179 if (imageView.getScaleType() == ScaleType.MATRIX) { in onCaptureSharedElementSnapshot() 180 Matrix matrix = imageView.getImageMatrix(); in onCaptureSharedElementSnapshot() 264 ImageView imageView = new ImageView(context); in onCreateSnapshotView() local 265 view = imageView; in onCreateSnapshotView() 266 imageView.setImageBitmap(bitmap); in onCreateSnapshotView() 267 imageView.setScaleType( in onCreateSnapshotView() [all …]
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | process-bitmap.jd | 65 public BitmapWorkerTask(ImageView imageView) { 67 imageViewReference = new WeakReference<ImageView>(imageView); 81 final ImageView imageView = imageViewReference.get(); 82 if (imageView != null) { 83 imageView.setImageBitmap(bitmap); 101 public void loadBitmap(int resId, ImageView imageView) { 102 BitmapWorkerTask task = new BitmapWorkerTask(imageView); 152 public void loadBitmap(int resId, ImageView imageView) { 153 if (cancelPotentialWork(resId, imageView)) { 154 final BitmapWorkerTask task = new BitmapWorkerTask(imageView); [all …]
|
D | display-bitmap.jd | 135 mImageView = (ImageView) v.findViewById(R.id.imageView); 158 public void loadBitmap(int resId, ImageView imageView) { 200 public void loadBitmap(int resId, ImageView imageView) { 295 ImageView imageView; 297 imageView = new ImageView(mContext); 298 imageView.setScaleType(ImageView.ScaleType.CENTER_CROP); 299 imageView.setLayoutParams(new GridView.LayoutParams( 302 imageView = (ImageView) convertView; 304 … <strong>imageView.setImageResource(imageResIds[position]);</strong> // Load image into ImageView 305 return imageView; [all …]
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
D | ImageLoader.java | 45 static void loadMediaStoreThumbnail(final ImageView imageView, in loadMediaStoreThumbnail() argument 53 imageView.setImageBitmap(cachedValue); in loadMediaStoreThumbnail() 64 imageView.getContext().getContentResolver(), in loadMediaStoreThumbnail() 72 imageView.setImageBitmap(bitmap); in loadMediaStoreThumbnail()
|
D | PaletteActivity.java | 190 ImageView imageView = (ImageView) view.findViewById(R.id.image); in bindView() local 191 imageView.setImageDrawable(null); in bindView() 203 ImageLoader.loadMediaStoreThumbnail(imageView, id, new ImageLoader.Listener() { in bindView()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
D | AppCompatAnimatedVector.java | 34 final ImageView imageView = (ImageView) findViewById(R.id.vector_image); in onCreate() local 35 if (imageView != null) { in onCreate() 36 final Drawable src = imageView.getDrawable(); in onCreate()
|
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/ |
D | FrameSequenceTest.java | 96 ImageView imageView = (ImageView) findViewById(R.id.imageview); in onResume() local 108 imageView.setImageDrawable(mDrawable); in onResume() 114 ImageView imageView = (ImageView) findViewById(R.id.imageview); in onPause() local 120 imageView.setImageDrawable(null); in onPause()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconController.java | 238 ImageView imageView = (ImageView) mStatusIcons.getChildAt(viewIndex); in setExternalIcon() local 239 imageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in setExternalIcon() 240 imageView.setAdjustViewBounds(true); in setExternalIcon() 241 setHeightAndCenter(imageView, height); in setExternalIcon() 242 imageView = (ImageView) mStatusIconsKeyguard.getChildAt(viewIndex); in setExternalIcon() 243 imageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in setExternalIcon() 244 imageView.setAdjustViewBounds(true); in setExternalIcon() 245 setHeightAndCenter(imageView, height); in setExternalIcon() 248 private void setHeightAndCenter(ImageView imageView, int height) { in setHeightAndCenter() argument 249 ViewGroup.LayoutParams params = imageView.getLayoutParams(); in setHeightAndCenter() [all …]
|
/frameworks/base/docs/html/guide/topics/ui/layout/ |
D | gridview.jd | 122 ImageView imageView; 125 imageView = new ImageView(mContext); 126 imageView.setLayoutParams(new GridView.LayoutParams(85, 85)); 127 imageView.setScaleType(ImageView.ScaleType.CENTER_CROP); 128 imageView.setPadding(8, 8, 8, 8); 130 imageView = (ImageView) convertView; 133 imageView.setImageResource(mThumbIds[position]); 134 return imageView;
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/ |
D | TextCardView.java | 40 final ImageView imageView = (ImageView) findViewById(R.id.main_image); in updateUi() local 53 imageView.setImageDrawable(drawable); in updateUi()
|
D | CharacterCardView.java | 54 final ImageView imageView = (ImageView) findViewById(R.id.main_image); in updateUi() local 64 imageView.setImageDrawable(drawable); in updateUi()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
D | SideInfoCardPresenter.java | 51 ImageView imageView = (ImageView) cardView.findViewById(R.id.main_image); in onBindViewHolder() local 61 .into(imageView); in onBindViewHolder()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | StatusBar.java | 96 ImageView imageView = (ImageView) child; in loadIcon() local 106 imageView.setImageDrawable( in loadIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationHeaderUtil.java | 73 ImageView imageView = (ImageView) view; 74 imageView.getDrawable().mutate(); 79 imageView.getDrawable().setColorFilter(grey, PorterDuff.Mode.SRC_ATOP); 82 imageView.getDrawable().setColorFilter(originalColor,
|
/frameworks/rs/java/tests/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/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
D | R$id.class | R.java
package com.android.layoutlib.test.myapplication
public final com.android. ... |
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/cards/ |
D | CardExampleFragment.java | 81 ImageView imageView = ((ImageCardView) viewHolder.view).getMainImageView(); in setupUi() 83 imageView, DetailViewExampleFragment.TRANSITION_NAME).toBundle(); in setupUi()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PageIndicator.java | 143 private void playAnimation(ImageView imageView, int res) { 145 imageView.setImageDrawable(avd);
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoLand.java | 217 holder.imageView.setImageIcon(mCats[position].createIcon(context, size, size)); in onBindViewHolder() 317 private final ImageView imageView; field in NekoLand.CatHolder 325 imageView = (ImageView) itemView.findViewById(android.R.id.icon); in CatHolder()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | DropdownChipLayouter.java | 178 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()
|