Searched defs:overlay (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/tools/aapt2/link/
H A DTableMerger_test.cpp72 ASSERT_TRUE(merger.Merge({}, table_a.get(), false /*overlay*/));
101 ASSERT_TRUE(merger.MergeFile(file_desc, false /*overlay*/, &test_file));
120 ASSERT_TRUE(merger.MergeFile(file_desc, false /*overlay*/, &file_a));
121 ASSERT_TRUE(merger.MergeFile(file_desc, true /*overlay*/, &file_b));
142 ASSERT_TRUE(merger.Merge({}, table_a.get(), false /*overlay*/));
162 std::unique_ptr<ResourceTable> overlay = local
173 ASSERT_TRUE(merger.Merge({}, base.get(), false /*overlay*/));
174 ASSERT_TRUE(merger.Merge({}, overlay.get(), true /*overlay*/));
187 std::unique_ptr<ResourceTable> overlay local
208 std::unique_ptr<ResourceTable> overlay = local
229 std::unique_ptr<ResourceTable> overlay = local
[all...]
H A DTableMerger.cpp40 bool TableMerger::Merge(const Source& src, ResourceTable* table, bool overlay) { argument
41 // We allow adding new resources if this is not an overlay, or if the options allow overlays
43 return MergeImpl(src, table, overlay, options_.auto_add_overlay || !overlay /*allow_new*/);
47 bool TableMerger::MergeImpl(const Source& src, ResourceTable* table, bool overlay, bool allow_new) { argument
59 error |= !DoMerge(src, table, package.get(), false /*mangle*/, overlay, allow_new);
79 error |= !DoMerge(src, table, package.get(), mangle, false /*overlay*/, true /*allow_new*/);
104 static bool MergeEntry(IAaptContext* context, const Source& src, bool overlay, argument
128 if (dst_entry->overlayable && !overlay) {
145 // Styleables and Styles don't simply overlay eac
166 MergeConfigValue(IAaptContext* context, const ResourceNameRef& res_name, bool overlay, ResourceConfigValue* dst_config_value, ResourceConfigValue* src_config_value, StringPool* pool) argument
200 DoMerge(const Source& src, ResourceTable* src_table, ResourceTablePackage* src_package, bool mangle_package, bool overlay, bool allow_new_resources) argument
300 MergeFile(const ResourceFile& file_desc, bool overlay, io::IFile* file) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_content_res_ApkAssets.cpp35 jboolean force_shared_lib, jboolean overlay) {
44 if (overlay) {
34 NativeLoad(JNIEnv* env, jclass , jstring java_path, jboolean system, jboolean force_shared_lib, jboolean overlay) argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DWorkLockActivityControllerTest.java94 // The overlay should start and the task the activity started in should not be removed.
156 private static ArgumentMatcher<Bundle> hasOptions(final int taskId, final boolean overlay) { argument
162 && (options.getTaskOverlay() == overlay);
/frameworks/base/core/java/android/content/res/
H A DApkAssets.java48 return new ApkAssets(path, false /*system*/, false /*forceSharedLib*/, false /*overlay*/);
61 return new ApkAssets(path, system, false /*forceSharedLib*/, false /*overlay*/);
76 return new ApkAssets(path, system, forceSharedLibrary, false /*overlay*/);
100 * Creates a new ApkAssets instance from the IDMAP at idmapPath. The overlay APK path
103 * @param idmapPath Path to the IDMAP of an overlay APK.
110 return new ApkAssets(idmapPath, system, false /*forceSharedLibrary*/, true /*overlay*/);
113 private ApkAssets(@NonNull String path, boolean system, boolean forceSharedLib, boolean overlay) argument
116 mNativePtr = nativeLoad(path, system, forceSharedLib, overlay);
185 @NonNull String path, boolean system, boolean forceSharedLib, boolean overlay)
184 nativeLoad( @onNull String path, boolean system, boolean forceSharedLib, boolean overlay) argument
H A DAssetManager.java366 return addAssetPathInternal(path, false /*overlay*/, false /*appAsLib*/);
375 return addAssetPathInternal(path, false /*overlay*/, true /*appAsLib*/);
384 return addAssetPathInternal(path, true /*overlay*/, false /*appAsLib*/);
387 private int addAssetPathInternal(String path, boolean overlay, boolean appAsLib) { argument
402 if (overlay) {
/frameworks/base/libs/androidfw/include/androidfw/
H A DObbFile.h98 void setOverlay(bool overlay) { argument
99 if (overlay) {
/frameworks/base/tools/obbtool/
H A DMain.cpp43 {"overlay", optional_argument, NULL, 'o'},
54 , overlay(false)
62 bool overlay; member in class:PackageInfo
81 " -o sets the OBB overlay flag\n"
101 obb->setOverlay(info->overlay);
216 package_info.overlay = true;
/frameworks/base/cmds/idmap/
H A Dscan.cpp60 const Overlay& overlay = overlayVector[i]; local
61 fprintf(fout, "%s %s\n", overlay.apk_path.string(), overlay.idmap_path.string());
143 // if property set & equal to value, then include overlay - otherwise skip
172 if (tag == String16("overlay")) {
270 ALOGE("error: failed to create idmap for target=%s overlay=%s idmap=%s\n",
275 Overlay overlay(String8(overlay_apk_path), idmap_path, priority);
276 overlayVector.add(overlay);
/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java115 final Drawable overlay = mOverlay;
116 if (overlay != null && overlay.isStateful()
117 && overlay.setState(getDrawableState())) {
118 invalidateDrawable(overlay);
287 * @param overlay Drawable to be drawn over the assigned contact photo. Must have a non-zero
290 public void setOverlay(Drawable overlay) { argument
291 mOverlay = overlay;
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/
H A DItemTouchHelperActivity.java240 public final View overlay; field in class:ItemTouchHelperActivity.ItemTouchViewHolder
247 overlay = itemView.findViewById(R.id.overlay);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/
H A DItemTouchHelperActivity.java240 public final View overlay; field in class:ItemTouchHelperActivity.ItemTouchViewHolder
247 overlay = itemView.findViewById(R.id.overlay);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDetailItems.java194 if (item.overlay != null) {
195 item.overlay.setBounds(0, 0, mQsDetailIconOverlaySize, mQsDetailIconOverlaySize);
196 iv.getOverlay().add(item.overlay);
263 public Drawable overlay; field in class:QSDetailItems.Item
/frameworks/layoutlib/bridge/src/android/webkit/
H A DWebView.java68 public void setHorizontalScrollbarOverlay(boolean overlay) { argument
71 public void setVerticalScrollbarOverlay(boolean overlay) { argument
/frameworks/base/core/java/android/app/
H A DResourcesManager.java96 public final boolean overlay; field in class:ResourcesManager.ApkKey
98 ApkKey(String path, boolean sharedLib, boolean overlay) { argument
101 this.overlay = overlay;
109 result = 31 * result + Boolean.hashCode(this.overlay);
120 && this.overlay == other.overlay;
310 private @NonNull ApkAssets loadApkAssets(String path, boolean sharedLib, boolean overlay) argument
312 final ApkKey newKey = new ApkKey(path, sharedLib, overlay);
332 if (overlay) {
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DCaptioningManager.java389 * in the overlay caption.
391 * @param overlay The style to apply
392 * @return A caption style with the overlay style applied
396 public CaptionStyle applyStyle(@NonNull CaptionStyle overlay) { argument
397 final int newForegroundColor = overlay.hasForegroundColor() ?
398 overlay.foregroundColor : foregroundColor;
399 final int newBackgroundColor = overlay.hasBackgroundColor() ?
400 overlay.backgroundColor : backgroundColor;
401 final int newEdgeType = overlay.hasEdgeType() ?
402 overlay
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DScreenDecorations.java72 * An overlay that draws screen decorations in software (e.g for rounded corners or display cutout)
164 // Watch color inversion and invert the overlay as needed.
261 private void updateWindowVisibility(View overlay) { argument
263 && overlay.findViewById(R.id.display_cutout).getVisibility() == View.VISIBLE;
265 overlay.setVisibility(visibleForCutout || visibleForRoundedCorners
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp641 // Configure optional overlay.
643 sp<Overlay> overlay; local
646 overlay = new Overlay(gMonotonicTime);
647 err = overlay->start(encoderInputSurface, &bufferProducer);
653 printf("Bugreport overlay created\n");
754 if (overlay != NULL) overlay->stop();
901 " Add additional information, such as a timestamp overlay, that is helpful\n"
/frameworks/base/core/java/android/gesture/
H A DGestureOverlayView.java39 * A transparent overlay for gesture input that can be placed on top of other
786 void onGesturingStarted(GestureOverlayView overlay); argument
788 void onGesturingEnded(GestureOverlayView overlay); argument
792 void onGestureStarted(GestureOverlayView overlay, MotionEvent event); argument
794 void onGesture(GestureOverlayView overlay, MotionEvent event); argument
796 void onGestureEnded(GestureOverlayView overlay, MotionEvent event); argument
798 void onGestureCancelled(GestureOverlayView overlay, MotionEvent event); argument
802 void onGesturePerformed(GestureOverlayView overlay, Gesture gesture); argument
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp166 const sp<KeyCharacterMap>& overlay) {
167 if (overlay == NULL) {
171 return overlay;
175 for (size_t i = 0; i < overlay->mKeys.size(); i++) {
176 int32_t keyCode = overlay->mKeys.keyAt(i);
177 Key* key = overlay->mKeys.valueAt(i);
187 for (size_t i = 0; i < overlay->mKeysByScanCode.size(); i++) {
188 map->mKeysByScanCode.replaceValueFor(overlay->mKeysByScanCode.keyAt(i),
189 overlay->mKeysByScanCode.valueAt(i));
192 for (size_t i = 0; i < overlay
165 combine(const sp<KeyCharacterMap>& base, const sp<KeyCharacterMap>& overlay) argument
[all...]
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp75 const char* AssetManager::OVERLAY_DIR = "/vendor/overlay";
76 const char* AssetManager::PRODUCT_OVERLAY_DIR = "/product/overlay";
77 const char* AssetManager::OVERLAY_THEME_DIR_PROPERTY = "ro.boot.vendor.overlay.theme";
557 // skip ahead the number of system overlay packages preloaded
1660 void AssetManager::ZipSet::addOverlay(const String8& path, const asset_path& overlay) argument
1664 zip->addOverlay(overlay);
/frameworks/base/tools/aapt/
H A DAaptAssets.h573 inline void setOverlay(sp<AaptAssets>& overlay) { mOverlay = overlay; } argument
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java83 public void setHorizontalScrollbarOverlay(boolean overlay); argument
86 public void setVerticalScrollbarOverlay(boolean overlay); argument
H A DWebView.java684 * Specifies whether the horizontal scrollbar has overlay style.
687 * @param overlay {@code true} if horizontal scrollbar should have overlay style
690 public void setHorizontalScrollbarOverlay(boolean overlay) { argument
694 * Specifies whether the vertical scrollbar has overlay style.
697 * @param overlay {@code true} if vertical scrollbar should have overlay style
700 public void setVerticalScrollbarOverlay(boolean overlay) { argument
704 * Gets whether horizontal scrollbar has overlay style.
716 * Gets whether vertical scrollbar has overlay styl
[all...]
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java1039 public void setAutofillOverlay(AutofillOverlay overlay) { argument
1040 mAutofillOverlay = overlay;

Completed in 852 milliseconds

12