/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | Asset.java | 54 Context context, ImageView imageView, int placeholderColor) { in getPlaceholderDrawable() argument 55 Point imageViewDimensions = getViewDimensions(imageView); in getPlaceholderDrawable() 125 public void loadLowResDrawable(Activity activity, ImageView imageView, int placeholderColor, in loadLowResDrawable() argument 155 public void loadDrawable(final Context context, final ImageView imageView, in loadDrawable() argument 159 final boolean needsTransition = imageView.getDrawable() == null; in loadDrawable() 162 imageView.setImageDrawable(placeholderDrawable); in loadDrawable() 168 int width = imageView.getWidth() > 0 in loadDrawable() 169 ? imageView.getWidth() in loadDrawable() 170 : Math.abs(imageView.getLayoutParams().width); in loadDrawable() 171 int height = imageView.getHeight() > 0 in loadDrawable() [all …]
|
D | CurrentWallpaperAssetVN.java | 102 public void loadLowResDrawable(Activity activity, ImageView imageView, int placeholderColor, in loadLowResDrawable() argument 111 .into(imageView); in loadLowResDrawable() 130 public void loadDrawable(Context context, ImageView imageView, in loadDrawable() argument 137 .into(imageView); in loadDrawable()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | ChangeImageTransformWithScaledParent.java | 66 ImageView imageView = (ImageView) view; in applyParentScale() local 67 if (imageView.getScaleType() == ScaleType.CENTER_INSIDE in applyParentScale() 68 && imageView.getDrawable() instanceof BitmapDrawable) { in applyParentScale() 69 Bitmap bitmap = ((BitmapDrawable) imageView.getDrawable()).getBitmap(); in applyParentScale() 70 if (bitmap.getWidth() < imageView.getWidth() in applyParentScale() 71 && bitmap.getHeight() < imageView.getHeight()) { in applyParentScale() 73 imageView in applyParentScale() 78 scale, scale, imageView.getWidth() / 2, imageView.getHeight() / 2); in applyParentScale()
|
D | DvrPrioritySettingsFragment.java | 238 ImageView imageView = (ImageView) itemView.findViewById(R.id.guidedactions_item_tail_image); 242 imageView.setVisibility(View.GONE); 250 imageView.setImageResource(R.drawable.ic_draggable_white); 251 imageView.setVisibility(View.VISIBLE); 258 imageView.setImageResource(R.drawable.ic_dragging_grey); 259 imageView.setVisibility(View.VISIBLE); 266 imageView.setVisibility(View.INVISIBLE);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | AdvancedBluetoothDetailsHeaderController.java | 257 final ImageView imageView = linearLayout.findViewById(R.id.header_icon); in updateSubLayout() local 259 updateIcon(imageView, iconUri); in updateSubLayout() 263 imageView.setImageDrawable(pair.first); in updateSubLayout() 264 imageView.setContentDescription(pair.second); in updateSubLayout() 397 final ImageView imageView = linearLayout.findViewById(R.id.bt_battery_icon); in showBatteryIcon() local 399 imageView.setImageDrawable(mContext.getDrawable(R.drawable.ic_battery_alert_24dp)); in showBatteryIcon() 407 imageView.setLayoutParams(layoutParams); in showBatteryIcon() 409 imageView.setImageDrawable(createBtBatteryIcon(mContext, level, charging)); in showBatteryIcon() 412 imageView.setLayoutParams(layoutParams); in showBatteryIcon() 414 imageView.setVisibility(View.VISIBLE); in showBatteryIcon() [all …]
|
D | BluetoothDevicePreference.java | 219 final ImageView imageView = (ImageView) view.findViewById(android.R.id.icon); in onBindViewHolder() local 220 if (imageView != null) { in onBindViewHolder() 221 imageView.setContentDescription(contentDescription); in onBindViewHolder() 223 imageView.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO); in onBindViewHolder() 224 imageView.setElevation( in onBindViewHolder()
|
/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | EmptyContentView.java | 40 private ImageView imageView; field in EmptyContentView 65 imageView = (ImageView) findViewById(R.id.empty_list_view_image); in EmptyContentView() 70 imageView.setImageTintList( in EmptyContentView() 86 imageView.setImageDrawable(null); in setImage() 87 imageView.setVisibility(View.GONE); in setImage() 89 imageView.setImageResource(resourceId); in setImage() 90 imageView.setVisibility(View.VISIBLE); in setImage() 110 return imageView.getVisibility() == View.VISIBLE in isShowingContent()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | SessionItem.java | 95 ImageView imageView; in getView() local 98 imageView = (ImageView) optionalView.get(); in getView() 100 imageView = new ImageView(mContext); in getView() 101 imageView.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView() 106 imageView.setImageBitmap(placeholder.get()); in getView() 108 imageView.setImageResource(GlideFilmstripManager.DEFAULT_PLACEHOLDER_RESOURCE); in getView() 110 imageView.setContentDescription(mContext.getResources().getString( in getView() 112 return imageView; in getView()
|
D | PhotoItem.java | 118 ImageView imageView; in getView() local 121 imageView = (ImageView) optionalView.get(); in getView() 123 imageView = new ImageView(mContext); in getView() 124 imageView.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView() 127 fillImageView(imageView); in getView() 129 return imageView; in getView() 132 protected void fillImageView(final ImageView imageView) { in fillImageView() argument 133 renderTinySize(mData.getUri()).into(imageView); in fillImageView() 148 imageView.setContentDescription(mContext.getResources().getString( in fillImageView()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | SubRatingsFragment.java | 108 ImageView imageView = (ImageView) view.findViewById(R.id.icon); in onBind() local 110 imageView.setVisibility(View.VISIBLE); in onBind() 111 imageView.setImageDrawable(icon); in onBind() 113 imageView.setVisibility(View.GONE); in onBind() 169 ImageView imageView = (ImageView) view.findViewById(R.id.icon); in onBind() local 171 imageView.setVisibility(View.VISIBLE); in onBind() 172 imageView.setImageDrawable(icon); in onBind() 174 imageView.setVisibility(View.GONE); in onBind()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | PermissionActivity.java | 711 final ImageView imageView = thumbs.get(i); in bindAsThumbs() local 713 desc.bindThumbnail(imageView); in bindAsThumbs() 715 desc.bindMimeIcon(imageView); in bindAsThumbs() 807 public void bindThumbnail(ImageView imageView) { in bindThumbnail() argument 809 imageView.setImageBitmap(thumbnail); in bindThumbnail() 810 imageView.setContentDescription(contentDescription); in bindThumbnail() 811 imageView.setVisibility(View.VISIBLE); in bindThumbnail() 812 imageView.setClipToOutline(true); in bindThumbnail() 815 public void bindFull(ImageView imageView) { in bindFull() argument 817 imageView.setImageBitmap(full); in bindFull() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | SmartIconLoadPackagePermissionPreference.kt | 62 val imageView = holder.findViewById(android.R.id.icon) as ImageView in onBindViewHolder() constant 64 imageView.maxWidth = in onBindViewHolder() 66 imageView.maxHeight = in onBindViewHolder() 68 imageView.setImageDrawable(KotlinUtils.getBadgedPackageIcon(app, packageName, user)) in onBindViewHolder() 69 imageView.visibility = View.VISIBLE in onBindViewHolder()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorUiUtils.java | 239 static void loadPhoto(ContactPhotoManager contactPhotoManager, ImageView imageView, in loadPhoto() argument 249 contactPhotoManager.loadPhoto(imageView, photoUri, imageView.getWidth(), in loadPhoto() 263 public static void setDefaultPhoto(ImageView imageView , Resources resources, in setDefaultPhoto() argument 266 imageView.setImageDrawable(ContactPhotoManager.getDefaultAvatarDrawableForContact( in setDefaultPhoto() 270 if (imageView instanceof QuickContactImageView) { in setDefaultPhoto() 271 ((QuickContactImageView) imageView).setTint(materialPalette == null in setDefaultPhoto()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkMenuAdapter.java | 57 ImageView imageView = ((ImageView) convertView.findViewById(R.id.icon)); in getView() local 59 imageView.setVisibility(View.GONE); in getView() 61 imageView.setImageBitmap(item.icon); in getView() 62 imageView.setVisibility(View.VISIBLE); in getView()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
D | MtpAdapter.java | 140 MtpThumbnailTileView imageView; in getView() local 142 imageView = (MtpThumbnailTileView) mInflater.inflate( in getView() 145 imageView = (MtpThumbnailTileView) convertView; in getView() 147 imageView.setMtpDeviceAndObjectInfo(mModel.getDevice(), in getView() 149 return imageView; in getView()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AttachmentPreviewFactory.java | 168 final AsyncImageView imageView = (AsyncImageView) view.findViewById( in createImagePreview() local 170 int maxWidth = imageView.getMaxWidth(); in createImagePreview() 171 int maxHeight = imageView.getMaxHeight(); in createImagePreview() 184 imageView.setImageResourceId(getImageRequestDescriptorForAttachment(attachmentData, in createImagePreview() 187 imageView.setContentDescription( in createImagePreview() 196 final ImageView imageView = (ImageView) in createPendingAttachmentPreview() local 198 final ViewGroup.LayoutParams layoutParams = imageView.getLayoutParams(); in createPendingAttachmentPreview()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/ |
D | ImageViewBinder.java | 52 public ImageViewBinder(Size maxImageSize, @Nullable ImageView imageView) { in ImageViewBinder() argument 53 this(PlaceholderType.FOREGROUND, maxImageSize, imageView, false); in ImageViewBinder() 61 @Nullable ImageView imageView, boolean flagBitmaps) { in ImageViewBinder() argument 63 mImageView = imageView; in ImageViewBinder()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
D | ResultActivity.java | 170 ImageView imageView = new ImageView(this); in addRowWithBitmap() local 171 imageView.setImageBitmap(bitmap); in addRowWithBitmap() 172 imageView.setPadding(4, 4, 4, 4); in addRowWithBitmap() 173 imageView.setScaleType(ScaleType.FIT_START); in addRowWithBitmap() 174 addRow(labelView, imageView); in addRowWithBitmap()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
D | SetupAnimationHelper.java | 176 public static ObjectAnimator createFrameAnimator(ImageView imageView, int[] frames) { in createFrameAnimator() argument 177 return createFrameAnimatorWithDelay(imageView, frames, 0); in createFrameAnimator() 187 ImageView imageView, int[] frames, long startDelay) { in createFrameAnimatorWithDelay() argument 188 ObjectAnimator animator = ObjectAnimator.ofInt(imageView, "imageResource", frames); in createFrameAnimatorWithDelay()
|
/packages/apps/Car/Media/src/com/android/car/media/widgets/ |
D | MediaItemTab.java | 49 protected void bindIcon(ImageView imageView) { in bindIcon() argument 50 Context context = imageView.getContext(); in bindIcon() 52 mArtBinder = new ImageViewBinder<>(PlaceholderType.NONE, maxArtSize, imageView, true); in bindIcon()
|
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/impl/ |
D | GlidePhotoManagerImpl.java | 70 public void loadContactPhoto(ImageView imageView, PhotoInfo photoInfo) { in loadContactPhoto() argument 72 imageView.setContentDescription( in loadContactPhoto() 79 GlideRequest<Drawable> request = buildRequest(GlideApp.with(imageView), photoInfo); in loadContactPhoto() 80 request.into(imageView); in loadContactPhoto()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
D | UserPresetsAdapter.java | 87 ImageView imageView; field in UserPresetsAdapter.UserPresetViewHolder 98 viewHolder.imageView = (ImageView) convertView.findViewById(R.id.imageView); in getView() 109 viewHolder.imageView.setImageBitmap(action.getImage()); in getView()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/ |
D | TabLayout.java | 196 protected void bindIcon(ImageView imageView) { in bindIcon() argument 197 imageView.setImageDrawable(mIcon); in bindIcon() 204 public final void bindIconPublic(ImageView imageView) { in bindIconPublic() argument 205 bindIcon(imageView); in bindIconPublic()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | IndicatorIconController.java | 298 private void setIndicatorState(String scope, String key, ImageView imageView, in setIndicatorState() argument 308 imageView.setVisibility(View.GONE); in setIndicatorState() 315 imageView.setImageDrawable(drawable); in setIndicatorState() 320 changeVisibility(imageView, View.GONE); in setIndicatorState() 322 changeVisibility(imageView, View.VISIBLE); in setIndicatorState()
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | AddCustomRingtoneViewHolder.kt | 38 val imageView = itemView.findViewById<View>(R.id.ringtone_image) as ImageView constant 39 imageView.setImageResource(R.drawable.ic_add_white_24dp) 40 imageView.alpha = 0.63f
|