/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/ |
D | ImageViewBinder.java | 44 private final ImageView mImageView; field in ImageViewBinder 62 mImageView = imageView; in ImageViewBinder() 68 if (mImageView != null) { in setDrawable() 69 mImageView.setImageDrawable(drawable); in setDrawable() 71 CommonFlags flags = CommonFlags.getInstance(mImageView.getContext()); in setDrawable() 74 int tint = mImageView.getContext().getColor( in setDrawable() 76 mImageView.setColorFilter(tint); in setDrawable() 78 mImageView.clearColorFilter(); in setDrawable() 92 if (mImageView != null) { in setImage() 113 if (mImageView != null) { in maybeCancelLoading() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtoneViewHolder.java | 51 private final ImageView mImageView; field in RingtoneViewHolder 59 mImageView = (ImageView) itemView.findViewById(R.id.ringtone_image); in RingtoneViewHolder() 67 mImageView.setAlpha(opaque ? 1f : .63f); in onBindItemView() 68 mImageView.clearColorFilter(); in onBindItemView() 73 mImageView.setImageResource(R.drawable.ic_ringtone_not_found); in onBindItemView() 76 mImageView.setColorFilter(colorAccent, PorterDuff.Mode.SRC_ATOP); in onBindItemView() 78 mImageView.setImageResource(R.drawable.placeholder_album_artwork); in onBindItemView() 81 mImageView.setImageResource(R.drawable.ic_ringtone_silent); in onBindItemView() 83 mImageView.setImageResource(R.drawable.ic_ringtone_active); in onBindItemView() 85 mImageView.setImageResource(R.drawable.ic_ringtone); in onBindItemView() [all …]
|
D | RingtoneViewHolder.kt | 41 private val mImageView: ImageView = constant 52 mImageView.alpha = if (opaque) 1f else .63f in onBindItemView() 53 mImageView.clearColorFilter() in onBindItemView() 58 mImageView.setImageResource(R.drawable.ic_ringtone_not_found) in onBindItemView() 61 mImageView.setColorFilter(colorAccent, PorterDuff.Mode.SRC_ATOP) in onBindItemView() 63 mImageView.setImageResource(R.drawable.placeholder_album_artwork) in onBindItemView() 66 mImageView.setImageResource(R.drawable.ic_ringtone_silent) in onBindItemView() 68 mImageView.setImageResource(R.drawable.ic_ringtone_active) in onBindItemView() 70 mImageView.setImageResource(R.drawable.ic_ringtone) in onBindItemView() 72 AnimatorUtils.startDrawableAnimation(mImageView) in onBindItemView()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | CropImage.java | 81 private CropImageView mImageView; field in CropImage 98 mImageView = (CropImageView) findViewById(R.id.image); in onCreate() 178 mImageView.setImageBitmapResetBase(mBitmap, true); in startFaceDetection() 192 mImageView.setImageBitmapResetBase(b, true); in startFaceDetection() 196 if (mImageView.getScale() == 1F) { in startFaceDetection() 197 mImageView.center(true, true); in startFaceDetection() 250 mImageView.clear(); in onSaveClicked() 270 mImageView.clear(); in onSaveClicked() 294 mImageView.setImageBitmapResetBase(croppedImage, true); in onSaveClicked() 295 mImageView.center(true, true); in onSaveClicked() [all …]
|
D | ViewImage.java | 129 private ImageViewTouch mImageView; field in ViewImage 239 ImageViewTouch imageView = mImageView; 285 mImageView.zoomIn(); 287 mImageView.zoomOut(); 333 ImageViewTouch imageView = mImageView; 358 ImageViewTouch imageView = mImageView; in onDoubleTap() 362 mImageView.zoomTo(1f); in onDoubleTap() 364 mImageView.zoomToPoint(3f, e.getX(), e.getY()); in onDoubleTap() 412 mImageView.clear(); in onCreateOptionsMenu() 446 mImageView.clear(); [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AvatarViewMixinTest.java | 71 private ImageView mImageView; field in AvatarViewMixinTest 79 mImageView = new ImageView(mContext); in setUp() 86 final AvatarViewMixin avatarViewMixin = new AvatarViewMixin(mActivity, mImageView); in hasAccount_useDefaultAccountData_returnFalse() 93 final AvatarViewMixin avatarViewMixin = new AvatarViewMixin(mActivity, mImageView); in hasAccount_useShadowAccountData_returnTrue() 99 final AvatarViewMixin mixin = spy(new AvatarViewMixin(mActivity, mImageView)); in onStart_configDisabled_doNothing() 107 final AvatarViewMixin mixin = spy(new AvatarViewMixin(mActivity, mImageView)); in onStart_lowRamDevice_doNothing() 125 final AvatarViewMixin mockAvatar = spy(new AvatarViewMixin(mActivity, mImageView)); in onStart_useMockAvatarViewMixin_shouldBeExecuted() 135 final AvatarViewMixin avatarViewMixin = new AvatarViewMixin(mActivity, mImageView); in queryProviderAuthority_useShadowPackagteManager_returnNull() 142 final AvatarViewMixin avatarViewMixin = new AvatarViewMixin(mActivity, mImageView); in queryProviderAuthority_useNewShadowPackagteManager_returnAuthority() 189 final AvatarViewMixin avatarViewMixin = new AvatarViewMixin(activity, mImageView); in onClickAvatar_withEmptyUri_startActivityShouldNotBeExecuted() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | RecordingCardView.java | 49 private final ImageView mImageView; field in RecordingCardView 95 mImageView = (ImageView) findViewById(R.id.image); in RecordingCardView() 252 mImageView.setScaleType(ImageView.ScaleType.CENTER_INSIDE); in setImageUri() 254 mImageView.setScaleType(ImageView.ScaleType.CENTER_CROP); in setImageUri() 258 mImageView.setImageDrawable(mDefaultImage); in setImageUri() 272 mImageView.setImageDrawable(image); in setImage() 286 return mImageView; in getImageView() 301 view.mImageView.setImageDrawable(view.mDefaultImage); in onBitmapLoaded() 303 view.mImageView.setImageDrawable(new BitmapDrawable(view.getResources(), bitmap)); in onBitmapLoaded() 312 mImageView.setImageDrawable(mDefaultImage); in reset()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemView.java | 59 private AsyncImageView mImageView; field in GalleryGridItemView 82 mImageView = (AsyncImageView) findViewById(R.id.thumbnail); in onFinishInflate() 157 mImageView.setVisibility(GONE); in updateImageView() 173 mImageView.setVisibility(GONE); in updateImageView() 178 mImageView.setScaleType(ImageView.ScaleType.CENTER_CROP); in updateImageView() 181 mImageView.setImageResourceId(mData.getImageRequestDescriptor()); in updateImageView() 182 mImageView.setVisibility(VISIBLE); in updateImageView() 199 mImageView.setContentDescription(contentDescription); in updateImageView()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | BackgroundImageView.java | 36 private CrossfadeImageView mImageView; field in BackgroundImageView 57 mImageView = findViewById(R.id.background_image_image); in BackgroundImageView() 103 mImageView.setImageBitmap(null, false); in updateBlur() 109 mImageView.setImageBitmap(blurred, showAnimation); in updateBlur() 116 mImageView.setBackgroundColor(color); in setBackgroundColor() 133 mImageView.setImageAdditionalScale(scale); in setImageAdditionalScale()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelCardView.java | 47 private ImageView mImageView; field in ChannelCardView 73 mImageView = (ImageView) findViewById(R.id.image); in onFinishInflate() 74 mImageView.setBackgroundResource(R.color.channel_card); in onFinishInflate() 172 mImageView.setImageResource(R.drawable.ic_recent_thumbnail_default); 173 mImageView.setForeground(null); 179 mImageView.setImageBitmap(posterArt); 180 mImageView.setForeground(getContext().getDrawable(R.drawable.card_image_gradient));
|
D | AppLinkCardView.java | 57 private ImageView mImageView; field in AppLinkCardView 246 mImageView.setImageDrawable(mDefaultDrawable); in onBind() 247 mImageView.setForeground(null); in onBind() 300 mImageView.setImageBitmap(bitmap); 301 mImageView.setForeground(getContext().getDrawable(R.drawable.card_image_gradient)); 312 mImageView = (ImageView) findViewById(R.id.image); 392 mImageView.setImageDrawable(mDefaultDrawable); 393 mImageView.setBackgroundResource(R.color.channel_card); 400 mImageView.setImageDrawable(banner); 401 mImageView.setForeground(getContext().getDrawable(R.drawable.card_image_gradient));
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | EditUserPhotoController.java | 87 private final ImageView mImageView; field in EditUserPhotoController 99 mImageView = view; in EditUserPhotoController() 103 mImageView.setOnClickListener(new OnClickListener() { in EditUserPhotoController() 151 final Context context = mImageView.getContext(); in showUpdatePhotoPopup() 180 listPopupWindow.setAnchorView(mImageView); in showUpdatePhotoPopup() 185 final int width = Math.max(mImageView.getWidth(), context.getResources() in showUpdatePhotoPopup() 204 return mImageView.getContext().getPackageManager().queryIntentActivities( in canTakePhoto() 212 return mImageView.getContext().getPackageManager().queryIntentActivities( in canChoosePhoto() 344 .getInstance(mImageView.getContext(), mNewUserPhotoBitmap); in onPhotoCropped() 345 mImageView.setImageDrawable(mNewUserPhotoDrawable); in onPhotoCropped()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | EditUserPhotoController.java | 87 private final ImageView mImageView; field in EditUserPhotoController 99 mImageView = view; in EditUserPhotoController() 103 mImageView.setOnClickListener(new OnClickListener() { in EditUserPhotoController() 151 final Context context = mImageView.getContext(); in showUpdatePhotoPopup() 180 listPopupWindow.setAnchorView(mImageView); in showUpdatePhotoPopup() 185 final int width = Math.max(mImageView.getWidth(), context.getResources() in showUpdatePhotoPopup() 204 return mImageView.getContext().getPackageManager().queryIntentActivities( in canTakePhoto() 212 return mImageView.getContext().getPackageManager().queryIntentActivities( in canChoosePhoto() 344 .getInstance(mImageView.getContext(), mNewUserPhotoBitmap); in onPhotoCropped() 345 mImageView.setImageDrawable(mNewUserPhotoDrawable); in onPhotoCropped()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EditUserPhotoController.java | 87 private final ImageView mImageView; field in EditUserPhotoController 99 mImageView = view; in EditUserPhotoController() 103 mImageView.setOnClickListener(new OnClickListener() { in EditUserPhotoController() 151 final Context context = mImageView.getContext(); in showUpdatePhotoPopup() 180 listPopupWindow.setAnchorView(mImageView); in showUpdatePhotoPopup() 185 final int width = Math.max(mImageView.getWidth(), context.getResources() in showUpdatePhotoPopup() 204 return mImageView.getContext().getPackageManager().queryIntentActivities( in canTakePhoto() 212 return mImageView.getContext().getPackageManager().queryIntentActivities( in canChoosePhoto() 339 .getInstance(mImageView.getContext(), mNewUserPhotoBitmap); in onPhotoCropped() 340 mImageView.setImageDrawable(mNewUserPhotoDrawable); in onPhotoCropped()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsUnavailableFragment.java | 48 private ImageView mImageView; field in ContactsUnavailableFragment 62 mImageView = (ImageView) mView.findViewById(R.id.empty_image); in onCreateView() 64 (LinearLayout.LayoutParams) mImageView.getLayoutParams(); in onCreateView() 73 mImageView.setLayoutParams(layoutParams); in onCreateView() 125 mImageView.setVisibility(View.GONE); in updateViewsForBusyStatus()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | InflateMessageDocumentHolder.java | 35 private ImageView mImageView; field in InflateMessageDocumentHolder 40 mImageView = (ImageView) itemView.findViewById(R.id.artwork); in InflateMessageDocumentHolder() 51 mImageView.setImageDrawable(mMessage.getIcon()); in bind()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | MtpFullscreenView.java | 35 private MtpImageView mImageView; field in MtpFullscreenView 55 mImageView = (MtpImageView) findViewById(R.id.ingest_fullsize_image); in onFinishInflate() 82 return mImageView; in getImageView()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AdvancedBluetoothDetailsHeaderControllerTest.java | 71 private ImageView mImageView; field in AdvancedBluetoothDetailsHeaderControllerTest 194 mController.updateIcon(mImageView, ICON_URI); in updateIcon_existInCache_setImageBitmap() 196 verify(mImageView).setImageBitmap(mBitmap); in updateIcon_existInCache_setImageBitmap()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramTableAdapter.java | 314 private final ImageView mImageView; field in ProgramTableAdapter.ProgramRowViewHolder 373 mImageView = (ImageView) mDetailView.findViewById(R.id.image); in ProgramRowViewHolder() 707 mImageView.setVisibility(View.GONE); 796 mImageView.setImageBitmap(posterArt); 797 mImageView.setVisibility(posterArt == null ? View.GONE : View.VISIBLE);
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | CategoryFragment.java | 856 private ImageView mImageView; field in CategoryFragment.CategoryHolder 865 mImageView = itemView.findViewById(R.id.image); in CategoryHolder() 923 thumbnail.loadDrawable(getActivity(), mImageView, in drawThumbnailAndOverlayIcon() local 932 .into(mImageView); in drawThumbnailAndOverlayIcon()
|