Home
last modified time | relevance | path

Searched refs:mMediaPicker (Results 1 – 6 of 6) 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.java41 protected final MediaPicker mMediaPicker; field in MediaChooser
66 mMediaPicker = mediaPicker; in MediaChooser()
99 mMediaPicker.selectChooser(MediaChooser.this); in onCreateTabButton()
105 return mMediaPicker.getActivity(); in getContext()
109 return OsUtil.isAtLeastJB_MR1() ? mMediaPicker.getChildFragmentManager() : in getFragmentManager()
110 mMediaPicker.getFragmentManager(); in getFragmentManager()
208 return mMediaPicker.getConversationSelfSubId(); in getConversationSelfSubId()
DGalleryMediaChooser.java90 mMediaPicker.dispatchItemsSelected(item, !mGalleryGridView.isMultiSelectEnabled()); in onItemSelected()
95 mMediaPicker.dispatchItemUnselected(item); in onItemUnselected()
102 mMediaPicker.dispatchConfirmItemSelection(); in onConfirmSelection()
107 mMediaPicker.invalidateOptionsMenu(); in onUpdate()
134 mGalleryGridView.setDraftMessageDataModel(mMediaPicker.getDraftMessageDataModel()); in createView()
151 mMediaPicker.launchDocumentPicker(); in onDocumentPickerItemClicked()
200 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()