/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | OverlayLinearLayout.java | 127 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 …]
|
D | OverlayView.java | 208 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()
|
D | MediaLinearLayout.java | 1917 final MovieOverlay overlay = mediaItem.getOverlay(); 1918 if (overlay != null) { 1922 overlay.getType(), overlay.getTitle(), overlay.getSubtitle());
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
D | MovieOverlay.java | 64 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()
|
D | MovieMediaItem.java | 128 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()
|
D | ApiService.java | 2140 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 …]
|
D | MovieTheme.java | 132 MovieTransition endTransition, MovieOverlay overlay, MovieAudioTrack audioTrack) { in MovieTheme() argument 143 mOverlay = overlay; in MovieTheme()
|
D | ApiServiceListener.java | 332 public void onOverlayAdded(String projectPath, MovieOverlay overlay, in onOverlayAdded() argument
|
D | VideoEditorProject.java | 826 void addOverlay(String mediaItemId, MovieOverlay overlay) { in addOverlay() argument 835 mediaItem.addOverlay(overlay); in addOverlay()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ShortcutIntentBuilder.java | 343 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/ |
D | Android.mk | 33 LOCAL_AAPT_FLAGS := --auto-add-overlay
|
/packages/apps/Mms/ |
D | Android.mk | 24 LOCAL_AAPT_FLAGS := --auto-add-overlay
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageGallery.java | 826 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/ |
D | Android.mk | 15 LOCAL_AAPT_FLAGS := --auto-add-overlay --extra-packages com.android.camera
|
/packages/apps/Email/ |
D | Android.mk | 31 LOCAL_AAPT_FLAGS := --auto-add-overlay
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | VideoEditorBaseActivity.java | 564 public void onOverlayAdded(String projectPath, MovieOverlay overlay, in onOverlayAdded() argument 580 getOverlayLayout().addOverlay(mediaItemId, overlay); in onOverlayAdded()
|