Home
last modified time | relevance | path

Searched refs:mImageView (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
DCropImage.java81 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 …]
DViewImage.java129 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/DeskClock/src/com/android/deskclock/ringtone/
DRingtoneViewHolder.java51 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 …]
/packages/apps/TV/src/com/android/tv/dvr/ui/
DRecordingCardView.java43 private final ImageView mImageView; field in RecordingCardView
72 mImageView = (ImageView) findViewById(R.id.image); in RecordingCardView()
123 mImageView.setScaleType(ImageView.ScaleType.CENTER_INSIDE); in setImageUri()
125 mImageView.setScaleType(ImageView.ScaleType.CENTER_CROP); in setImageUri()
129 mImageView.setImageDrawable(mDefaultImage); in setImageUri()
141 mImageView.setImageDrawable(image); in setImage()
158 return mImageView; in getImageView()
173 view.mImageView.setImageDrawable(view.mDefaultImage); in onBitmapLoaded()
175 view.mImageView.setImageDrawable(new BitmapDrawable(view.getResources(), bitmap)); in onBitmapLoaded()
183 mImageView.setImageDrawable(mDefaultImage); in reset()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemView.java54 private AsyncImageView mImageView; field in GalleryGridItemView
72 mImageView = (AsyncImageView) findViewById(R.id.image); in onFinishInflate()
139 mImageView.setScaleType(ScaleType.CENTER); in updateImageView()
141 mImageView.setImageResourceId(null); in updateImageView()
142 mImageView.setImageResource(R.drawable.ic_photo_library_light); in updateImageView()
143 mImageView.setContentDescription(getResources().getString( in updateImageView()
146 mImageView.setScaleType(ScaleType.CENTER_CROP); in updateImageView()
148 mImageView.setImageResourceId(mData.getImageRequestDescriptor()); in updateImageView()
156 mImageView.setContentDescription(contentDescription); in updateImageView()
/packages/apps/Launcher2/src/com/android/launcher2/
DHolographicLinearLayout.java33 private ImageView mImageView; field in HolographicLinearLayout
60 if (mImageView != null) { in drawableStateChanged()
61 Drawable d = mImageView.getDrawable(); in drawableStateChanged()
70 mHolographicHelper.invalidatePressedFocusedStates(mImageView); in invalidatePressedFocusedStates()
80 if (mImageView == null) { in onDraw()
81 mImageView = (ImageView) findViewById(mImageViewId); in onDraw()
83 mHolographicHelper.generatePressedFocusedStates(mImageView); in onDraw()
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DEmptyContentView.java38 private ImageView mImageView; field in EmptyContentView
61 mImageView = (ImageView) findViewById(R.id.emptyListViewImage); in EmptyContentView()
79 mImageView.setImageDrawable(null); in setImage()
80 mImageView.setVisibility(View.GONE); in setImage()
82 mImageView.setImageResource(resourceId); in setImage()
83 mImageView.setVisibility(View.VISIBLE); in setImage()
98 return mImageView.getVisibility() == View.VISIBLE in isShowingContent()
/packages/apps/Settings/src/com/android/settings/users/
DEditUserPhotoController.java85 private final ImageView mImageView; field in EditUserPhotoController
97 mImageView = view; in EditUserPhotoController()
101 mImageView.setOnClickListener(new OnClickListener() { in EditUserPhotoController()
149 final Context context = mImageView.getContext(); in showUpdatePhotoPopup()
178 listPopupWindow.setAnchorView(mImageView); in showUpdatePhotoPopup()
183 final int width = Math.max(mImageView.getWidth(), context.getResources() in showUpdatePhotoPopup()
202 return mImageView.getContext().getPackageManager().queryIntentActivities( in canTakePhoto()
210 return mImageView.getContext().getPackageManager().queryIntentActivities( in canChoosePhoto()
342 .getInstance(mImageView.getContext(), mNewUserPhotoBitmap); in onPhotoCropped()
343 mImageView.setImageDrawable(mNewUserPhotoDrawable); in onPhotoCropped()
/packages/apps/TV/src/com/android/tv/menu/
DAppLinkCardView.java57 private ImageView mImageView; field in AppLinkCardView
144 mImageView.setImageResource(R.drawable.ic_recent_thumbnail_default); in onBind()
191 mImageView.setImageBitmap(bitmap);
202 mImageView = (ImageView) findViewById(R.id.image);
234 mImageView.setImageResource(R.drawable.ic_recent_thumbnail_default);
235 mImageView.setBackgroundResource(R.color.channel_card);
242 mImageView.setImageDrawable(banner);
DChannelCardView.java47 private ImageView mImageView; field in ChannelCardView
73 mImageView = (ImageView) findViewById(R.id.image); in onFinishInflate()
89 mImageView.setImageResource(R.drawable.ic_recent_thumbnail_default); in onBind()
90 mImageView.setBackgroundResource(R.color.channel_card); in onBind()
125 mImageView.setImageBitmap(posterArt);
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsUnavailableFragment.java48 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/
DInflateMessageDocumentHolder.java35 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/
DMtpFullscreenView.java35 private MtpImageView mImageView; field in MtpFullscreenView
55 mImageView = (MtpImageView) findViewById(R.id.ingest_fullsize_image); in onFinishInflate()
82 return mImageView; in getImageView()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DBitmapWorkerTask.java61 private final WeakReference<ImageView> mImageView; field in BitmapWorkerTask
66 mImageView = new WeakReference<ImageView>(imageView); in BitmapWorkerTask()
115 if (mImageView != null) { in onPostExecute()
116 final ImageView imageView = mImageView.get(); in onPostExecute()
DDrawableLoader.java60 private final WeakReference<ImageView> mImageView; field in DrawableLoader
76 mImageView = new WeakReference<ImageView>(imageView); in DrawableLoader()
131 if (mImageView != null) { in onPostExecute()
132 final ImageView imageView = mImageView.get(); in onPostExecute()
/packages/apps/TV/src/com/android/tv/guide/
DProgramTableAdapter.java292 private final ImageView mImageView; field in ProgramTableAdapter.ProgramRowHolder
323 mImageView = (ImageView) mDetailView.findViewById(R.id.image); in ProgramRowHolder()
632 mImageView.setVisibility(View.GONE);
716 mImageView.setImageBitmap(posterArt);
717 mImageView.setVisibility(posterArt == null ? View.GONE : View.VISIBLE);
/packages/apps/Car/Dialer/src/com/android/car/dialer/
DBitmapWorkerTask.java104 protected ImageView mImageView; field in BitmapWorkerTask.BitmapRunnable
111 mImageView = imageView; in setImageView()