Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java129 private PhotoView mPhotoView; field in PhotoPage
246 mPhotoView.layout(0, 0, right - left, bottom - top);
260 mPhotoView = new PhotoView(mActivity); in onCreate()
261 mPhotoView.setListener(this); in onCreate()
262 mRootPane.addComponent(mPhotoView); in onCreate()
314 if (!mPhotoView.getFilmMode()) { in onCreate()
318 mPhotoView.switchToImage(1); in onCreate()
320 if (mAppBridge != null) mPhotoView.setFilmMode(false); in onCreate()
331 mPhotoView.switchToImage(1); in onCreate()
340 if (!mPhotoView.getFilmMode() && mCurrentPhoto != null in onCreate()
[all …]
DSinglePhotoDataAdapter.java51 private PhotoView mPhotoView; field in SinglePhotoDataAdapter
61 mPhotoView = Utils.checkNotNull(view); in SinglePhotoDataAdapter()
128 mPhotoView.notifyImageChange(0); in onDecodeLargeComplete()
144 mPhotoView.notifyImageChange(0); in onDecodeThumbComplete()
DPhotoDataAdapter.java143 private final PhotoView mPhotoView; field in PhotoDataAdapter
176 mPhotoView = Utils.checkNotNull(view); in PhotoDataAdapter()
287 mPhotoView.notifyDataChange(fromIndex, -mCurrentIndex, in fireDataChange()
322 mPhotoView.notifyImageChange(i); in updateScreenNail()
343 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/editor/
DRawContactEditorView.java219 private PhotoEditorView mPhotoView; field in RawContactEditorView
260 mPhotoView = (PhotoEditorView) findViewById(R.id.photo_editor); in onFinishInflate()
308 mPhotoView.setListener(listener); in setPhotoListener()
316 mPhotoView.removePhoto(); in removePhoto()
323 mPhotoView.setFullSizedPhoto(photoUri); in setFullSizePhoto()
349 mPhotoView.setFullSizedPhoto(photoUri); in updatePhoto()
373 return mPhotoView.isWritablePhotoSet(); in isWritablePhotoSet()
840 mPhotoView.setVisibility(GONE); in addPhotoView()
843 mPhotoView.setVisibility(VISIBLE); in addPhotoView()
851 mPhotoView.setVisibility(GONE); in addPhotoView()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageHeaderView.java109 private MessageHeaderContactBadge mPhotoView; field in MessageHeaderView
256 mPhotoView = (MessageHeaderContactBadge) findViewById(R.id.photo); in onFinishInflate()
257 mPhotoView.setQuickContactBadge( in onFinishInflate()
614 setChildVisibility(VISIBLE, mPhotoView, mRecipientSummary); in updateChildVisibility()
633 setChildVisibility(normalVis, mPhotoView, mForwardButton, mOverflowButton); in updateChildVisibility()
653 setChildVisibility(GONE, mPhotoView); in updateChildVisibility()
656 setChildVisibility(VISIBLE, mPhotoView); in updateChildVisibility()
832 mPhotoView.setImageToDefault(); in updateContactInfo()
833 mPhotoView.setContentDescription(getResources().getString( in updateContactInfo()
845 mPhotoView.setContentDescription(contentDesc); in updateContactInfo()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/list/
DContactListItemView.java135 private ImageView mPhotoView; field in ContactListItemView
602 final View photoView = mQuickContact != null ? mQuickContact : mPhotoView; in onLayout()
817 if (!mQuickContactEnabled && mPhotoView == null) { in ensurePhotoViewSize()
922 if (mPhotoView == null) { in getPhotoView()
923 mPhotoView = new ImageView(getContext()); in getPhotoView()
924 mPhotoView.setLayoutParams(getDefaultPhotoLayoutParams()); in getPhotoView()
926 mPhotoView.setBackground(null); in getPhotoView()
927 addView(mPhotoView); in getPhotoView()
930 return mPhotoView; in getPhotoView()
950 if (mPhotoView != null) { in removePhotoView()
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListItemView.java185 private ImageView mPhotoView; field in ContactListItemView
688 final View photoView = mQuickContact != null ? mQuickContact : mPhotoView; in onLayout()
920 if (!mQuickContactEnabled && mPhotoView == null) { in ensurePhotoViewSize()
1076 if (mPhotoView == null) { in getPhotoView()
1077 mPhotoView = new ImageView(getContext()); in getPhotoView()
1078 mPhotoView.setLayoutParams(getDefaultPhotoLayoutParams()); in getPhotoView()
1080 mPhotoView.setBackground(null); in getPhotoView()
1081 addView(mPhotoView); in getPhotoView()
1084 return mPhotoView; in getPhotoView()
1106 if (mPhotoView != null) { in removePhotoView()
[all …]
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java109 private QuickContactImageView mPhotoView; field in MultiShrinkScroller
322 mPhotoView = (QuickContactImageView) findViewById(R.id.photo); in initialize()
1148 mPhotoView.setTint(mHeaderTintColor); in updatePhotoTintAndDropShadow()
1150 if (mIsTwoPanel && !mPhotoView.isBasedOffLetterTile()) { in updatePhotoTintAndDropShadow()
1169 mPhotoView.clearColorFilter(); in updatePhotoTintAndDropShadow()
1173 if (!mPhotoView.isBasedOffLetterTile()) { in updatePhotoTintAndDropShadow()
1213 mPhotoView.setColorFilter(new ColorMatrixColorFilter(mColorMatrix)); in updatePhotoTintAndDropShadow()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java284 private QuickContactImageView mPhotoView; field in QuickContactActivity
832 mPhotoView = (QuickContactImageView) findViewById(R.id.photo); in onCreate()
1109 mPhotoView.setIsBusiness(mContactData.isDisplayNameFromOrganization()); in bindContactData()
1110 mPhotoSetter.setupContactPhoto(data, mPhotoView); in bindContactData()
2146 final Drawable imageViewDrawable = mPhotoView.getDrawable(); in extractAndApplyTintFromPhotoViewAsynchronously()
2190 if (imageViewDrawable == mPhotoView.getDrawable()) { in extractAndApplyTintFromPhotoViewAsynchronously()