Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/videoeditor/
DMediaItem.java200 for (Overlay overlay : mOverlays) { in setRenderingMode()
201 ((OverlayFrame)overlay).invalidateGeneratedFiles(); in setRenderingMode()
416 public void addOverlay(Overlay overlay) throws FileNotFoundException, IOException { in addOverlay() argument
417 if (overlay == null) { in addOverlay()
421 if (overlay.getMediaItem() != this) { in addOverlay()
425 if (mOverlays.contains(overlay)) { in addOverlay()
426 throw new IllegalArgumentException("Overlay already exists: " + overlay.getId()); in addOverlay()
429 if (overlay.getStartTime() + overlay.getDuration() > getDuration()) { in addOverlay()
434 if (overlay instanceof OverlayFrame) { in addOverlay()
435 final OverlayFrame frame = (OverlayFrame)overlay; in addOverlay()
[all …]
DOverlayFrame.java310 …void generateOverlayWithRenderingMode (MediaItem mediaItemsList, OverlayFrame overlay, int height … in generateOverlayWithRenderingMode() argument
318 Bitmap overlayBitmap = ((OverlayFrame)overlay).getBitmap(); in generateOverlayWithRenderingMode()
324 int resizedRGBFileHeight = ((OverlayFrame)overlay).getResizedRGBSizeHeight(); in generateOverlayWithRenderingMode()
325 int resizedRGBFileWidth = ((OverlayFrame)overlay).getResizedRGBSizeWidth(); in generateOverlayWithRenderingMode()
337 || (!(new File(((OverlayFrame)overlay).getFilename()).exists()))) { in generateOverlayWithRenderingMode()
428 String outFileName = ((OverlayFrame)overlay).getFilename(); in generateOverlayWithRenderingMode()
462 ((OverlayFrame)overlay).setResizedRGBSize(width, height); in generateOverlayWithRenderingMode()
DMediaImageItem.java372 for (Overlay overlay : overlays) { in invalidateBeginTransition()
376 if (overlay.getStartTime() < transitionDurationMs) { in invalidateBeginTransition()
415 for (Overlay overlay : overlays) { in invalidateEndTransition()
419 if (overlay.getStartTime() + overlay.getDuration() > in invalidateEndTransition()
476 for (Overlay overlay : overlays) { in adjustOverlays()
481 if (overlay.getStartTime() > getDuration()) { in adjustOverlays()
484 overlayStartTimeMs = overlay.getStartTime(); in adjustOverlays()
491 if (overlayStartTimeMs + overlay.getDuration() > getDuration()) { in adjustOverlays()
494 overlayDurationMs = overlay.getDuration(); in adjustOverlays()
497 if (overlayStartTimeMs != overlay.getStartTime() || in adjustOverlays()
[all …]
DVideoEditorImpl.java819 for (Overlay overlay : overlays) { in removeMediaItem()
820 if (overlay instanceof OverlayFrame) { in removeMediaItem()
821 final OverlayFrame overlayFrame = (OverlayFrame)overlay; in removeMediaItem()
1254 final Overlay overlay; in parseOverlay() local
1257 overlay = new OverlayFrame(mediaItem, overlayId, filename, startTimeMs, durationMs); in parseOverlay()
1264 ((OverlayFrame)overlay).setFilename(overlayRgbFileName); in parseOverlay()
1271 ((OverlayFrame)overlay).setOverlayFrameWidth(overlayFrameWidth); in parseOverlay()
1272 ((OverlayFrame)overlay).setOverlayFrameHeight(overlayFrameHeight); in parseOverlay()
1279 ((OverlayFrame)overlay).setResizedRGBSize(resizedRGBFrameWidth, resizedRGBFrameHeight); in parseOverlay()
1282 return overlay; in parseOverlay()
[all …]
DMediaArtistNativeHelper.java1947 EffectSettings getOverlaySettings(OverlayFrame overlay) { in getOverlaySettings() argument
1951 effectSettings.startTime = (int)overlay.getStartTime(); in getOverlaySettings()
1952 effectSettings.duration = (int)overlay.getDuration(); in getOverlaySettings()
1959 if ((bitmap = overlay.getBitmap()) != null) { in getOverlaySettings()
1960 effectSettings.framingFile = overlay.getFilename(); in getOverlaySettings()
1964 (overlay).save(mProjectPath); in getOverlaySettings()
1968 effectSettings.framingFile = overlay.getFilename(); in getOverlaySettings()
2013 effectSettings.width = overlay.getResizedRGBSizeWidth(); in getOverlaySettings()
2018 effectSettings.height = overlay.getResizedRGBSizeHeight(); in getOverlaySettings()
2037 if (overlay.getMediaItem() instanceof MediaImageItem) { in getOverlaySettings()
[all …]
DTransition.java298 for (Overlay overlay : overlays) { in isEffectandOverlayOverlapping()
299 tmpEffectSettings = mNativeHelper.getOverlaySettings((OverlayFrame)overlay); in isEffectandOverlayOverlapping()
/frameworks/native/libs/utils/
DREADME19 Resource overlay
30 package or any associated overlay package. Any redirection is completely
36 * overlay package, matching config (eg res/values-en-land)
40 * overlay package, no config (eg res/values)
44 During compilation, overlay packages are differentiated from regular
133 The resource overlay extension
136 The resource overlay mechanism aims to (partly) shadow and extend
139 overlay packages) to existing resource namespaces, like so:
141 mPackageMap[0x00] -> system package -> system overlay package
146 mPackageMap[0x7f - 1] -> application package -> overlay 1 -> overlay 2
[all …]
/frameworks/base/core/tests/overlaytests/
DREADME1 Unit tests for runtime resource overlay
4 As of this writing, runtime resource overlay is only triggered for
6 overlay packages require the Android platform be rebooted. However, the
11 Once runtime resource overlay may be applied to applications, the tests
13 applying runtime resource overlay to a dedicated test application, the
Druntests.sh44 $adb shell rm /vendor/overlay/framework/framework-res.apk
45 $adb shell rm /data/resource-cache/vendor@overlay@framework@framework-res.apk@idmap
51 …$adb shell ln -s /data/app/com.android.overlaytest.overlay.apk /vendor/overlay/framework/framework…
/frameworks/base/tools/obbtool/
DMain.cpp54 , overlay(false) in PackageInfo()
62 bool overlay; member in PackageInfo
101 obb->setOverlay(info->overlay); in doAdd()
216 package_info.overlay = true; in main()
/frameworks/base/docs/html/design/patterns/
Dindex.jd11 #text-overlay {
20 <div id="text-overlay">
/frameworks/base/docs/html/distribute/googleplay/strategies/
Dindex.jd15 #text-overlay {
24 <div id="text-overlay">
/frameworks/base/docs/html/design/building-blocks/
Dindex.jd11 #text-overlay {
20 <div id="text-overlay">
/frameworks/base/docs/html/design/style/
Dindex.jd11 #text-overlay {
20 <div id="text-overlay">
/frameworks/base/docs/html/design/
Dindex.jd11 #text-overlay {
20 <div id="text-overlay">
/frameworks/base/include/androidfw/
DObbFile.h98 void setOverlay(bool overlay) { in setOverlay() argument
99 if (overlay) { in setOverlay()
/frameworks/base/core/java/android/gesture/
DGestureOverlayView.java777 void onGesturingStarted(GestureOverlayView overlay); in onGesturingStarted() argument
779 void onGesturingEnded(GestureOverlayView overlay); in onGesturingEnded() argument
783 void onGestureStarted(GestureOverlayView overlay, MotionEvent event); in onGestureStarted() argument
785 void onGesture(GestureOverlayView overlay, MotionEvent event); in onGesture() argument
787 void onGestureEnded(GestureOverlayView overlay, MotionEvent event); in onGestureEnded() argument
789 void onGestureCancelled(GestureOverlayView overlay, MotionEvent event); in onGestureCancelled() argument
793 void onGesturePerformed(GestureOverlayView overlay, Gesture gesture); in onGesturePerformed() argument
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
DWebView.java68 public void setHorizontalScrollbarOverlay(boolean overlay) { in setHorizontalScrollbarOverlay() argument
71 public void setVerticalScrollbarOverlay(boolean overlay) { in setVerticalScrollbarOverlay() argument
/frameworks/base/libs/androidfw/
DKeyCharacterMap.cpp164 const sp<KeyCharacterMap>& overlay) { in combine() argument
165 if (overlay == NULL) { in combine()
169 return overlay; in combine()
173 for (size_t i = 0; i < overlay->mKeys.size(); i++) { in combine()
174 int32_t keyCode = overlay->mKeys.keyAt(i); in combine()
175 Key* key = overlay->mKeys.valueAt(i); in combine()
185 for (size_t i = 0; i < overlay->mKeysByScanCode.size(); i++) { in combine()
186 map->mKeysByScanCode.replaceValueFor(overlay->mKeysByScanCode.keyAt(i), in combine()
187 overlay->mKeysByScanCode.valueAt(i)); in combine()
190 for (size_t i = 0; i < overlay->mKeysByUsageCode.size(); i++) { in combine()
[all …]
/frameworks/base/docs/html/distribute/googleplay/promote/
Dindex.jd13 #text-overlay {
22 <div id="text-overlay">
/frameworks/base/core/tests/overlaytests/OverlayTestOverlay/
DAndroid.mk10 LOCAL_PACKAGE_NAME := com.android.overlaytest.overlay
/frameworks/ex/chips/tests/
DAndroid.mk26 LOCAL_AAPT_FLAGS := --auto-add-overlay
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java65 public void setHorizontalScrollbarOverlay(boolean overlay); in setHorizontalScrollbarOverlay() argument
67 public void setVerticalScrollbarOverlay(boolean overlay); in setVerticalScrollbarOverlay() argument
DWebView.java519 public void setHorizontalScrollbarOverlay(boolean overlay) { in setHorizontalScrollbarOverlay() argument
521 mProvider.setHorizontalScrollbarOverlay(overlay); in setHorizontalScrollbarOverlay()
529 public void setVerticalScrollbarOverlay(boolean overlay) { in setVerticalScrollbarOverlay() argument
531 mProvider.setVerticalScrollbarOverlay(overlay); in setVerticalScrollbarOverlay()
/frameworks/base/tools/aapt/
DResourceTable.h137 bool overlay = false,
444 bool overlay = false,
532 bool overlay,

12