Home
last modified time | relevance | path

Searched refs:overlay (Results 1 – 16 of 16) sorted by relevance

/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DOverlayLinearLayout.java127 final MovieOverlay overlay = mMediaItem.getOverlay(); in onActionItemClicked() local
128 intent.putExtra(OverlayTitleEditor.PARAM_OVERLAY_ID, overlay.getId()); in onActionItemClicked()
130 overlay.buildUserAttributes()); in onActionItemClicked()
518 public void addOverlay(String mediaItemId, MovieOverlay overlay) { in addOverlay() argument
610 final MovieOverlay overlay = mediaItem.getOverlay(); in onLayout() local
613 if (overlay != null) { in onLayout()
616 if (overlay.getAppStartTime() <= mediaItem.getAppBoundaryBeginTime()) { in onLayout()
619 final long durationMs = Math.min(overlay.getAppDuration(), in onLayout()
623 } else if (overlay.getAppStartTime() + overlay.getAppDuration() > in onLayout()
626 mediaItem.getAppBoundaryEndTime() - overlay.getAppDuration()); in onLayout()
[all …]
DOverlayView.java208 final MovieOverlay overlay = mediaItem.getOverlay(); in onDraw() local
209 if (overlay != null) { in onDraw()
210 ImageUtils.buildOverlayPreview(getContext(), canvas, overlay.getType(), in onDraw()
211 overlay.getTitle(), overlay.getSubtitle(), in onDraw()
DMediaLinearLayout.java1917 final MovieOverlay overlay = mediaItem.getOverlay();
1918 if (overlay != null) {
1922 overlay.getType(), overlay.getTitle(), overlay.getSubtitle());
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DMovieOverlay.java64 MovieOverlay(Overlay overlay) { in MovieOverlay() argument
65 mUniqueId = overlay.getId(); in MovieOverlay()
66 mAppStartTimeMs = mStartTimeMs = overlay.getStartTime(); in MovieOverlay()
67 mAppDurationMs = mDurationMs = overlay.getDuration(); in MovieOverlay()
69 final Map<String, String> userAttributes = overlay.getUserAttributes(); in MovieOverlay()
DMovieMediaItem.java128 for (Overlay overlay : overlays) { in MovieMediaItem()
129 addOverlay(new MovieOverlay(overlay)); in MovieMediaItem()
408 void addOverlay(MovieOverlay overlay) { in addOverlay() argument
412 mOverlay = overlay; in addOverlay()
DApiService.java2140 final Overlay overlay = overlays.get(0); in processIntent() local
2141 if (overlay.getStartTime() < mediaItem.getBoundaryBeginTime()) { in processIntent()
2142 overlay.setStartTime(mediaItem.getBoundaryBeginTime()); in processIntent()
2143 overlay.setDuration(Math.min(overlay.getDuration(), in processIntent()
2145 } else if (overlay.getStartTime() + overlay.getDuration() > in processIntent()
2147 overlay.setStartTime(Math.max(mediaItem.getBoundaryBeginTime(), in processIntent()
2148 mediaItem.getBoundaryEndTime() - overlay.getDuration())); in processIntent()
2149 overlay.setDuration(mediaItem.getBoundaryEndTime() - in processIntent()
2150 overlay.getStartTime()); in processIntent()
2526 for (Overlay overlay : overlays) { in processIntent()
[all …]
DMovieTheme.java132 MovieTransition endTransition, MovieOverlay overlay, MovieAudioTrack audioTrack) { in MovieTheme() argument
143 mOverlay = overlay; in MovieTheme()
DApiServiceListener.java332 public void onOverlayAdded(String projectPath, MovieOverlay overlay, in onOverlayAdded() argument
DVideoEditorProject.java826 void addOverlay(String mediaItemId, MovieOverlay overlay) { in addOverlay() argument
835 mediaItem.addOverlay(overlay); in addOverlay()
/packages/apps/Contacts/src/com/android/contacts/list/
DShortcutIntentBuilder.java343 Drawable overlay = mContext.getResources().getDrawableForDensity( in generateQuickContactIcon() local
346 overlay.setBounds(dst); in generateQuickContactIcon()
347 overlay.draw(canvas); in generateQuickContactIcon()
380 CharSequence overlay = Phone.getTypeLabel(r, phoneType, phoneLabel); in generatePhoneNumberIcon() local
382 if (overlay != null) { in generatePhoneNumberIcon()
402 overlay = TextUtils.ellipsize(overlay, textPaint, mIconSize - 2 * sidePadding, in generatePhoneNumberIcon()
404 final float textWidth = textPaint.measureText(overlay, 0, overlay.length()); in generatePhoneNumberIcon()
405 canvas.drawText(overlay, 0, overlay.length(), (mIconSize - textWidth) / 2, mIconSize in generatePhoneNumberIcon()
/packages/apps/Calendar/
DAndroid.mk33 LOCAL_AAPT_FLAGS := --auto-add-overlay
/packages/apps/Mms/
DAndroid.mk24 LOCAL_AAPT_FLAGS := --auto-add-overlay
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java826 Drawable overlay = null;
833 overlay = mVideoOverlay;
839 overlay = mVideoMmsErrorOverlay;
844 int width = overlay.getIntrinsicWidth();
845 int height = overlay.getIntrinsicHeight();
849 overlay.setBounds(mSrcRect);
850 overlay.draw(canvas);
/packages/apps/Gallery2/
DAndroid.mk15 LOCAL_AAPT_FLAGS := --auto-add-overlay --extra-packages com.android.camera
/packages/apps/Email/
DAndroid.mk31 LOCAL_AAPT_FLAGS := --auto-add-overlay
/packages/apps/VideoEditor/src/com/android/videoeditor/
DVideoEditorBaseActivity.java564 public void onOverlayAdded(String projectPath, MovieOverlay overlay, in onOverlayAdded() argument
580 getOverlayLayout().addOverlay(mediaItemId, overlay); in onOverlayAdded()