Home
last modified time | relevance | path

Searched refs:startRect (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMediaPickerMessagePartData.java25 public MediaPickerMessagePartData(final Rect startRect, final String contentType, in MediaPickerMessagePartData() argument
27 this(startRect, null /* messageText */, contentType, contentUri, width, height); in MediaPickerMessagePartData()
30 public MediaPickerMessagePartData(final Rect startRect, final String messageText, in MediaPickerMessagePartData() argument
32 this(startRect, messageText, contentType, contentUri, width, height, in MediaPickerMessagePartData()
36 public MediaPickerMessagePartData(final Rect startRect, final String contentType, in MediaPickerMessagePartData() argument
39 this(startRect, null /* messageText */, contentType, contentUri, width, height, in MediaPickerMessagePartData()
43 public MediaPickerMessagePartData(final Rect startRect, final String messageText, in MediaPickerMessagePartData() argument
47 mStartRect = startRect; in MediaPickerMessagePartData()
61 public void setStartRect(final Rect startRect) { in setStartRect() argument
62 mStartRect.set(startRect); in setStartRect()
DGalleryGridItemData.java112 public MessagePartData constructMessagePartData(final Rect startRect) { in constructMessagePartData() argument
114 return new MediaPickerMessagePartData(startRect, mContentType, in constructMessagePartData()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridView.java97 final Rect startRect = new Rect(); in onItemClicked() local
98 view.getGlobalVisibleRect(startRect); in onItemClicked()
100 toggleItemSelection(startRect, data); in onItemClicked()
102 mListener.onItemSelected(data.constructMessagePartData(startRect)); in onItemClicked()
124 private void toggleItemSelection(final Rect startRect, final GalleryGridItemData data) { in toggleItemSelection() argument
134 final MessagePartData item = data.constructMessagePartData(startRect); in toggleItemSelection()
DAudioRecordView.java333 final Rect startRect = new Rect(); in onFinishedRecording() local
334 mRecordButtonVisual.getGlobalVisibleRect(startRect); in onFinishedRecording()
336 new MediaPickerMessagePartData(startRect, in onFinishedRecording()
DCameraMediaChooser.java145 final Rect startRect = new Rect(); in createView()
150 mView.getGlobalVisibleRect(startRect); in createView()
153 new MediaPickerMessagePartData(startRect, contentType, in createView()
/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DPopupTransitionAnimation.java75 public PopupTransitionAnimation(final Rect startRect, final View viewToAnimate) { in PopupTransitionAnimation() argument
77 mStartRect = startRect; in PopupTransitionAnimation()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreview.java285 final Rect startRect = ((MediaPickerMessagePartData) attachmentData).getStartRect(); in tryAnimateViewIn() local
286 new PopupTransitionAnimation(startRect, view).startAfterLayoutComplete(); in tryAnimateViewIn()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java532 final Rect startRect = UiUtils.getMeasuredBoundsOnScreen(mComposeMessageView); in onCreateView()
542 startRect.top = attachmentRect.top; in onCreateView()
544 startRect.top = composeBubbleRect.top; in onCreateView()
546 startRect.top -= view.getPaddingTop(); in onCreateView()
547 startRect.bottom = in onCreateView()
549 startRect.left += view.getPaddingRight(); in onCreateView()
552 mPopupTransitionAnimation = new PopupTransitionAnimation(startRect, view); in onCreateView()