Home
last modified time | relevance | path

Searched refs:mPhotoView (Results 1 – 9 of 9) 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/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()
847 mPhotoView.setVisibility(GONE); in addPhotoView()
850 mPhotoView.setVisibility(VISIBLE); in addPhotoView()
858 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/Contacts/src/com/android/contacts/list/
DContactListItemView.java182 private ImageView mPhotoView; field in ContactListItemView
686 final View photoView = mQuickContact != null ? mQuickContact : mPhotoView; in onLayout()
918 if (!mQuickContactEnabled && mPhotoView == null) { in ensurePhotoViewSize()
1074 if (mPhotoView == null) { in getPhotoView()
1075 mPhotoView = new ImageView(getContext()); in getPhotoView()
1076 mPhotoView.setLayoutParams(getDefaultPhotoLayoutParams()); in getPhotoView()
1078 mPhotoView.setBackground(null); in getPhotoView()
1079 addView(mPhotoView); in getPhotoView()
1082 return mPhotoView; in getPhotoView()
1104 if (mPhotoView != null) { in removePhotoView()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DEditUserInfoControllerTest.java62 private ImageView mPhotoView; field in EditUserInfoControllerTest
93 when(mDialogContent.findViewById(eq(R.id.user_photo))).thenReturn(mPhotoView); in setUp()
94 when(mPhotoView.getContext()).thenReturn((Context) mActivity); in setUp()
/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.java280 private QuickContactImageView mPhotoView; field in QuickContactActivity
684 mPhotoView = (QuickContactImageView) findViewById(R.id.photo); in onCreate()
952 mPhotoView.setIsBusiness(mContactData.isDisplayNameFromOrganization()); in bindContactData()
953 mPhotoSetter.setupContactPhoto(data, mPhotoView); in bindContactData()
1969 final Drawable imageViewDrawable = mPhotoView.getDrawable(); in extractAndApplyTintFromPhotoViewAsynchronously()
2013 if (imageViewDrawable == mPhotoView.getDrawable()) { in extractAndApplyTintFromPhotoViewAsynchronously()