Home
last modified time | relevance | path

Searched refs:mMediaItem (Results 1 – 5 of 5) sorted by relevance

/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DMediaLinearLayout.java116 private final MovieMediaItem mMediaItem; field in MediaLinearLayout.MediaItemActionModeCallback
119 mMediaItem = mediaItem; in MediaItemActionModeCallback()
139 if (!mMediaItem.isImage()) { in onPrepareActionMode()
147 MovieEffect effect = mMediaItem.getEffect(); in onPrepareActionMode()
149 switch (mMediaItem.getEffect().getType()) { in onPrepareActionMode()
175 aomi.setTitle((mMediaItem.getOverlay() == null) ? in onPrepareActionMode()
180 romi.setVisible(mMediaItem.getOverlay() != null); in onPrepareActionMode()
181 romi.setEnabled(enable && mMediaItem.getOverlay() != null); in onPrepareActionMode()
184 btmi.setVisible(mMediaItem.getBeginTransition() == null); in onPrepareActionMode()
185 btmi.setEnabled(enable && mMediaItem.getBeginTransition() == null); in onPrepareActionMode()
[all …]
DMediaItemView.java82 private MovieMediaItem mMediaItem; field in MediaItemView
168 if (mMediaItem.getBeginTransition() == null && in onSingleTapConfirmed()
172 } else if (mMediaItem.getEndTransition() == null && in onSingleTapConfirmed()
212 mMediaItem = (MovieMediaItem) getTag(); in onAttachedToWindow()
274 final int thumbnailWidth = (thumbnailHeight * mMediaItem.getWidth()) / in getShadowWidth()
275 mMediaItem.getHeight(); in getShadowWidth()
288 key.mediaItemId = mMediaItem.getId(); in getOneThumbnail()
359 mThumbnailWidth = (mThumbnailHeight * mMediaItem.getWidth()) / mMediaItem.getHeight(); in onLayoutPerformed()
370 mBeginTimeMs = mMediaItem.getAppBoundaryBeginTime(); in onLayoutPerformed()
371 mEndTimeMs = mMediaItem.getAppBoundaryEndTime(); in onLayoutPerformed()
[all …]
DOverlayLinearLayout.java90 private final MovieMediaItem mMediaItem; field in OverlayLinearLayout.OverlayActionModeCallback
93 mMediaItem = mediaItem; in OverlayActionModeCallback()
125 intent.putExtra(OverlayTitleEditor.PARAM_MEDIA_ITEM_ID, mMediaItem.getId()); in onActionItemClicked()
127 final MovieOverlay overlay = mMediaItem.getOverlay(); in onActionItemClicked()
138 bundle.putString(PARAM_DIALOG_MEDIA_ITEM_ID, mMediaItem.getId()); in onActionItemClicked()
154 final View overlayView = getOverlayView(mMediaItem.getId()); in onDestroyActionMode()
865 private MovieMediaItem mMediaItem;
871 mMediaItem = mediaItem;
892 mMediaItem.getAppBoundaryEndTime()) {
893 newDurationMs = mMediaItem.getAppBoundaryEndTime() - overlay.getAppStartTime();
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCropImage.java152 private MediaItem mMediaItem; field in CropImage
365 if (PicasaSource.isPicasaImage(mMediaItem)) { in saveToMediaProvider()
367 } else if (mMediaItem instanceof LocalImage) { in saveToMediaProvider()
379 String filename = PicasaSource.getImageTitle(mMediaItem); in savePicasaImage()
385 copyExif(mMediaItem, output.getAbsolutePath(), cropped.getWidth(), cropped.getHeight()); in savePicasaImage()
389 values.put(Images.Media.TITLE, PicasaSource.getImageTitle(mMediaItem)); in savePicasaImage()
391 values.put(Images.Media.DATE_TAKEN, PicasaSource.getDateTaken(mMediaItem)); in savePicasaImage()
401 double latitude = PicasaSource.getLatitude(mMediaItem); in savePicasaImage()
402 double longitude = PicasaSource.getLongitude(mMediaItem); in savePicasaImage()
412 LocalImage localImage = (LocalImage) mMediaItem; in saveLocalImage()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSetSlidingWindow.java416 private MediaItem mMediaItem; field in AlbumSetSlidingWindow.AlbumCoverLoader
421 mMediaItem = item; in AlbumCoverLoader()
431 return mThreadPool.submit(mMediaItem.requestImage( in submitBitmapTask()