Home
last modified time | relevance | path

Searched refs:mMediaPicker (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationInputManager.java347 private MediaPicker mMediaPicker; field in ConversationInputManager.ConversationMediaPicker
351 if (mMediaPicker == null) { in show()
352 mMediaPicker = getExistingOrCreateMediaPicker(); in show()
354 mMediaPicker.setSubscriptionDataProvider(mHost); in show()
355 mMediaPicker.setDraftMessageDataModel(mDraftDataModel); in show()
356 mMediaPicker.setListener(new MediaPickerListener() { in show()
419 mMediaPicker.open(MediaPicker.MEDIA_TYPE_DEFAULT, animate); in show()
426 if (mMediaPicker != null) { in hide()
427 mMediaPicker.dismiss(animate); in hide()
433 if (mMediaPicker != null) { in resetViewHolderState()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java73 private MediaPicker mMediaPicker; field in MediaPickerPanel
128 if (mMediaPicker.getChooserShowsActionBarInFullScreen()) { in onMeasure()
195 mMediaPicker = mediaPicker; in setMediaPicker()
215 if (mMediaPicker.getChooserShowsActionBarInFullScreen()) { in getDesiredHeight()
229 if (startingPage >= 0 && startingPage < mMediaPicker.getPagerAdapter().getCount()) { in setupViewPager()
230 mViewPager.setAdapter(mMediaPicker.getPagerAdapter()); in setupViewPager()
262 mMediaPicker.dispatchOpened(); in setExpanded()
264 mMediaPicker.dispatchDismissed(); in setExpanded()
334 mMediaPicker.dispatchFullScreen(mFullScreen); in setFullScreenView()
423 mCanChildViewSwipeDown = mMediaPicker.canSwipeDownChooser(); in onInterceptTouchEvent()
[all …]
DMediaChooser.java42 protected final MediaPicker mMediaPicker; field in MediaChooser
67 mMediaPicker = mediaPicker; in MediaChooser()
100 mMediaPicker.selectChooser(MediaChooser.this); in onCreateTabButton()
106 return mMediaPicker.getActivity(); in getContext()
110 return OsUtil.isAtLeastJB_MR1() ? mMediaPicker.getChildFragmentManager() : in getFragmentManager()
111 mMediaPicker.getFragmentManager(); in getFragmentManager()
212 return mMediaPicker.getConversationSelfSubId(); in getConversationSelfSubId()
DGalleryMediaChooser.java61 mDocumentImagePicker = new DocumentImagePicker(mMediaPicker, in GalleryMediaChooser()
66 mMediaPicker.dispatchPendingItemAdded(data); in GalleryMediaChooser()
107 mMediaPicker.dispatchItemsSelected(item, !mGalleryGridView.isMultiSelectEnabled()); in onItemSelected()
112 mMediaPicker.dispatchItemUnselected(item); in onItemUnselected()
119 mMediaPicker.dispatchConfirmItemSelection(); in onConfirmSelection()
124 mMediaPicker.invalidateOptionsMenu(); in onUpdate()
151 mGalleryGridView.setDraftMessageDataModel(mMediaPicker.getDraftMessageDataModel()); in createView()
218 mMediaPicker.requestPermissions( in setSelected()
DCameraMediaChooser.java114 mMediaPicker.setFullScreen(true); in createView()
130 final float heightPercent = Math.min(mMediaPicker.getViewPager().getHeight() / in createView()
152 mMediaPicker.dispatchItemsSelected( in createView()
207 mMediaPicker.dismiss(true); in createView()
272 mMediaPicker.requestPermissions(new String[] { Manifest.permission.CAMERA }, in requestCameraPermission()
277 mMediaPicker.requestPermissions(new String[] { Manifest.permission.RECORD_AUDIO }, in requestRecordAudioPermission()
365 mMediaPicker.setFullScreen(true); in onSwapMode()
420 final boolean fullScreen = mMediaPicker.isFullScreen(); in updateViewState()
DAudioMediaChooser.java58 mMediaPicker.dispatchItemsSelected(item, true); in onAudioRecorded()
76 view.setThemeColor(mMediaPicker.getConversationThemeColor()); in createView()
117 mMediaPicker.requestPermissions(new String[] { Manifest.permission.RECORD_AUDIO }, in requestRecordAudioPermission()
DContactMediaChooser.java85 UIIntents.get().launchContactCardPicker(mMediaPicker); in createView()
95 mMediaPicker.requestPermissions( in setSelected()
137 mMediaPicker.dispatchPendingItemAdded(pendingItem); in onActivityResult()