Home
last modified time | relevance | path

Searched refs:mPhotoView (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/activities/
DPhotoSelectionActivity.java120 private ImageView mPhotoView; field in PhotoSelectionActivity
182 mPhotoView = (ImageView) findViewById(R.id.photo); in onCreate()
315 mPhotoView.setLayoutParams(layoutParams); in displayPhoto()
316 mPhotoView.requestLayout(); in displayPhoto()
322 ContactPhotoManager.getInstance(this).loadPhoto(mPhotoView, mPhotoUri, photoWidth, in displayPhoto()
326 mPhotoView.setImageResource(ContactPhotoManager.getDefaultAvatarResId(this, photoWidth, in displayPhoto()
330 mPhotoView.addOnLayoutChangeListener(new View.OnLayoutChangeListener() { in displayPhoto()
344 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(mPhotoView, in displayPhoto()
391 mPhotoView.requestLayout(); in animatePhotoOpen()
392 mOriginalPos.left = mPhotoView.getLeft(); in animatePhotoOpen()
[all …]
DConfirmAddDetailActivity.java112 private ImageView mPhotoView; field in ConfirmAddDetailActivity
269 mPhotoView = (ImageView) findViewById(R.id.photo); in onCreate()
471 mPhotoView.setImageBitmap(photoBitmap); in onQueryComplete()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java102 private PhotoView mPhotoView; field in PhotoPage
165 mPhotoView.layout(0, 0, right - left, bottom - top);
178 mPhotoView = new PhotoView(mActivity); in onCreate()
179 mPhotoView.setListener(this); in onCreate()
180 mRootPane.addComponent(mPhotoView); in onCreate()
232 mActivity, mPhotoView, mMediaSet, itemPath, mCurrentIndex, in onCreate()
236 mPhotoView.setModel(mModel); in onCreate()
273 mModel = new SinglePhotoDataAdapter(mActivity, mPhotoView, mediaItem); in onCreate()
274 mPhotoView.setModel(mModel); in onCreate()
317 mPhotoView.setOpenAnimationRect((Rect) data.getParcelable(KEY_OPEN_ANIMATION_RECT)); in onCreate()
[all …]
DSinglePhotoDataAdapter.java50 private PhotoView mPhotoView; field in SinglePhotoDataAdapter
59 mPhotoView = Utils.checkNotNull(view); in SinglePhotoDataAdapter()
118 mPhotoView.notifyImageChange(0); in onDecodeLargeComplete()
134 mPhotoView.notifyImageChange(0); in onDecodeThumbComplete()
DPhotoDataAdapter.java144 private final PhotoView mPhotoView; field in PhotoDataAdapter
175 mPhotoView = Utils.checkNotNull(view); in PhotoDataAdapter()
283 mPhotoView.notifyDataChange(fromIndex, -mCurrentIndex, in fireDataChange()
318 mPhotoView.notifyImageChange(i); in updateScreenNail()
338 mPhotoView.notifyImageChange(0); in updateFullImage()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java69 private QuickContactBadge mPhotoView; field in ContactHeaderWidget
178 mPhotoView = (QuickContactBadge) findViewById(R.id.photo); in ContactHeaderWidget()
204 mPhotoView.setOnClickListener(this); in enableClickListeners()
216 mListener.onPhotoClick(mPhotoView); in performPhotoClick()
256 mPhotoView.assignContactUri((Uri) cookie); in onQueryComplete()
291 mPhotoView.assignContactFromPhone(phoneNumber, true); in onQueryComplete()
307 mPhotoView.assignContactFromEmail(emailAddress, true); in onQueryComplete()
362 mPhotoView.assignContactUri(uri); in setContactUri()
371 mPhotoView.setImageBitmap(bitmap); in setPhoto()
382 mPhotoView.assignContactUri(lookupUri); in setPhotoId()
[all …]
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailTabCarousel.java64 private ImageView mPhotoView; field in ContactDetailTabCarousel
140 mPhotoView = (ImageView) mAboutTab.findViewById(R.id.photo); in onFinishInflate()
312 mPhotoView.setScaleY(revScale); in animateAppear()
313 mPhotoView.setPivotY(photoHeight * 0.5f); in animateAppear()
314 final ViewPropertyAnimator photoAnimator = mPhotoView.animate(); in animateAppear()
477 mContext, contactData, mPhotoView, expandOnClick); in loadData()
DPhotoSelectionHandler.java64 private final View mPhotoView; field in PhotoSelectionHandler
74 mPhotoView = photoView; in PhotoSelectionHandler()
95 mContext, mPhotoView, listener, mPhotoMode); in onClick()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListItemView.java132 private ImageView mPhotoView; field in ContactListItemView
511 final View photoView = mQuickContact != null ? mQuickContact : mPhotoView; in onLayout()
702 } else if (mPhotoView != null) { in ensurePhotoViewSize()
824 if (mPhotoView == null) { in getPhotoView()
826 mPhotoView = new ImageView(mContext, null, QUICK_CONTACT_BADGE_STYLE); in getPhotoView()
828 mPhotoView = new ImageView(mContext); in getPhotoView()
831 mPhotoView.setBackground(null); in getPhotoView()
832 addView(mPhotoView); in getPhotoView()
835 return mPhotoView; in getPhotoView()
857 if (mPhotoView != null) { in removePhotoView()
[all …]