Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DVersionInfoTest.java52 VersionInfo overlay = new VersionInfo().addClass(OverlayPlugin.class); in testSingleProvides() local
54 overlay.checkVersion(impl); in testSingleProvides()
59 VersionInfo overlay = new VersionInfo().addClass(OverlayPlugin.class); in testIncorrectVersion() local
62 overlay.checkVersion(impl); in testIncorrectVersion()
67 VersionInfo overlay = new VersionInfo().addClass(OverlayPlugin.class); in testMissingRequired() local
70 overlay.checkVersion(impl); in testMissingRequired()
75 VersionInfo overlay = new VersionInfo().addClass(QS.class); in testMissingDependencies() local
78 overlay.checkVersion(impl); in testMissingDependencies()
83 VersionInfo overlay = new VersionInfo().addClass(QS.class); in testHasDependencies() local
85 overlay.checkVersion(impl); in testHasDependencies()
/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java398 public CaptionStyle applyStyle(@NonNull CaptionStyle overlay) { in applyStyle() argument
399 final int newForegroundColor = overlay.hasForegroundColor() ? in applyStyle()
400 overlay.foregroundColor : foregroundColor; in applyStyle()
401 final int newBackgroundColor = overlay.hasBackgroundColor() ? in applyStyle()
402 overlay.backgroundColor : backgroundColor; in applyStyle()
403 final int newEdgeType = overlay.hasEdgeType() ? in applyStyle()
404 overlay.edgeType : edgeType; in applyStyle()
405 final int newEdgeColor = overlay.hasEdgeColor() ? in applyStyle()
406 overlay.edgeColor : edgeColor; in applyStyle()
407 final int newWindowColor = overlay.hasWindowColor() ? in applyStyle()
[all …]
/frameworks/base/tools/aapt2/link/
DTableMerger.h68 bool Merge(const Source& src, ResourceTable* table, bool overlay);
75 bool MergeFile(const ResourceFile& fileDesc, bool overlay, io::IFile* file);
86 bool MergeImpl(const Source& src, ResourceTable* src_table, bool overlay, bool allow_new);
89 bool overlay, bool allow_new_resources);
DTableMerger.cpp41 bool TableMerger::Merge(const Source& src, ResourceTable* table, bool overlay) { in Merge() argument
45 return MergeImpl(src, table, overlay, options_.auto_add_overlay || !overlay /*allow_new*/); in Merge()
49 bool TableMerger::MergeImpl(const Source& src, ResourceTable* table, bool overlay, bool allow_new) { in MergeImpl() argument
61 error |= !DoMerge(src, package.get(), false /*mangle*/, overlay, allow_new); in MergeImpl()
196 bool overlay, in MergeConfigValue() argument
206 if (overlay) { in MergeConfigValue()
225 bool overlay, bool allow_new_resources) { in DoMerge() argument
272 MergeConfigValue(context_, res_name, overlay, dst_config_value, in DoMerge()
305 if (overlay && original_comment) { in DoMerge()
332 bool TableMerger::MergeFile(const ResourceFile& file_desc, bool overlay, io::IFile* file) { in MergeFile() argument
[all …]
DTableMerger_test.cpp162 std::unique_ptr<ResourceTable> overlay = in TEST_F() local
174 ASSERT_TRUE(merger.Merge({}, overlay.get(), true /*overlay*/)); in TEST_F()
200 std::unique_ptr<ResourceTable> overlay = in TEST_F() local
214 ASSERT_TRUE(merger.Merge({}, overlay.get(), true /*overlay*/)); in TEST_F()
230 std::unique_ptr<ResourceTable> overlay = in TEST_F() local
242 ASSERT_TRUE(merger.Merge({}, overlay.get(), true /*overlay*/)); in TEST_F()
251 std::unique_ptr<ResourceTable> overlay = in TEST_F() local
263 ASSERT_FALSE(merger.Merge({}, overlay.get(), true /*overlay*/)); in TEST_F()
272 std::unique_ptr<ResourceTable> overlay = in TEST_F() local
284 ASSERT_FALSE(merger.Merge({}, overlay.get(), true /*overlay*/)); in TEST_F()
[all …]
/frameworks/base/cmds/idmap2/idmap2/
DScan.cpp205 for (const auto& overlay : interesting_apks) { in Scan() local
206 if (!Verify(std::vector<std::string>({"--idmap-path", overlay.idmap_path}))) { in Scan()
208 "--overlay-apk-path", overlay.apk_path, in Scan()
209 "--idmap-path", overlay.idmap_path}; in Scan()
210 if (overlay.ignore_overlayable) { in Scan()
214 for (const std::string& policy : overlay.policies) { in Scan()
221 LOG(WARNING) << "failed to create idmap for overlay apk path \"" << overlay.apk_path in Scan()
227 stream << overlay.idmap_path << std::endl; in Scan()
/frameworks/base/packages/overlays/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/overlay/AccentColor*)
48 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/overlay/DisplayCutout*)
49 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/overlay/IconShape*)
/frameworks/base/cmds/idmap2/tests/data/overlay/
Dbuild23 -o overlay.apk \
30 -o overlay-no-name.apk \
37 -o overlay-no-name-static.apk \
44 -o overlay-static-1.apk \
51 -o overlay-static-2.apk \
/frameworks/base/core/java/android/transition/
DCrossfade.java187 ViewOverlay overlay = useParentOverlay ? in createAnimator() local
190 overlay.add(endDrawable); in createAnimator()
192 overlay.add(startDrawable); in createAnimator()
225 ViewOverlay overlay = useParentOverlay ? in createAnimator()
227 overlay.remove(startDrawable); in createAnimator()
229 overlay.remove(endDrawable); in createAnimator()
DVisibility.java440 final ViewGroupOverlay overlay; in onDisappear() local
442 overlay = sceneRoot.getOverlay(); in onDisappear()
450 overlay.add(overlayView); in onDisappear()
452 overlay = null; in onDisappear()
457 overlay.remove(overlayView); in onDisappear()
465 overlay.remove(finalOverlayView); in onDisappear()
471 overlay.add(finalOverlayView); in onDisappear()
480 overlay.remove(finalOverlayView); in onDisappear()
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java117 final Drawable overlay = mOverlay; in drawableStateChanged() local
118 if (overlay != null && overlay.isStateful() in drawableStateChanged()
119 && overlay.setState(getDrawableState())) { in drawableStateChanged()
120 invalidateDrawable(overlay); in drawableStateChanged()
292 public void setOverlay(Drawable overlay) { in setOverlay() argument
293 mOverlay = overlay; in setOverlay()
/frameworks/base/libs/hwui/tests/common/scenes/
DTvApp.cpp207 sp<RenderNode> overlay = mOverlays[ci]; in updateCard() local
209 Canvas::create_recording_canvas(overlay->stagingProperties().getWidth(), in updateCard()
210 overlay->stagingProperties().getHeight(), in updateCard()
211 overlay.get())); in updateCard()
213 overlay->setStagingDisplayList(canvas->finishRecording()); in updateCard()
214 cardcanvas->drawRenderNode(overlay.get()); in updateCard()
/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/cmds/idmap/
Dscan.cpp60 const Overlay& overlay = overlayVector[i]; in writePackagesList() local
61 fprintf(fout, "%s %s\n", overlay.apk_path.string(), overlay.idmap_path.string()); in writePackagesList()
275 Overlay overlay(String8(overlay_apk_path), idmap_path, priority); in idmap_scan() local
276 overlayVector.add(overlay); in idmap_scan()
/frameworks/base/core/java/android/content/res/
DApkAssets.java116 private ApkAssets(@NonNull String path, boolean system, boolean forceSharedLib, boolean overlay) in ApkAssets() argument
119 mNativePtr = nativeLoad(path, system, forceSharedLib, overlay); in ApkAssets()
202 @NonNull String path, boolean system, boolean forceSharedLib, boolean overlay) in nativeLoad() argument
/frameworks/base/libs/androidfw/include/androidfw/
DObbFile.h98 void setOverlay(bool overlay) { in setOverlay() argument
99 if (overlay) { in setOverlay()
/frameworks/base/core/java/android/gesture/
DGestureOverlayView.java786 void onGesturingStarted(GestureOverlayView overlay); in onGesturingStarted() argument
788 void onGesturingEnded(GestureOverlayView overlay); in onGesturingEnded() argument
792 void onGestureStarted(GestureOverlayView overlay, MotionEvent event); in onGestureStarted() argument
794 void onGesture(GestureOverlayView overlay, MotionEvent event); in onGesture() argument
796 void onGestureEnded(GestureOverlayView overlay, MotionEvent event); in onGestureEnded() argument
798 void onGestureCancelled(GestureOverlayView overlay, MotionEvent event); in onGestureCancelled() argument
802 void onGesturePerformed(GestureOverlayView overlay, Gesture gesture); in onGesturePerformed() argument
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerShellCommand.java221 final String overlay = getNextArgRequired(); in runEnableExclusive() local
223 return mInterface.setEnabledExclusiveInCategory(overlay, userId) ? 0 : 1; in runEnableExclusive()
225 return mInterface.setEnabledExclusive(overlay, true, userId) ? 0 : 1; in runEnableExclusive()
/frameworks/base/core/res/
DAndroid.bp34 // Allow overlay to add resource
35 "--auto-add-overlay",
/frameworks/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/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailItems.java195 if (item.overlay != null) { in getView()
196 item.overlay.setBounds(0, 0, mQsDetailIconOverlaySize, mQsDetailIconOverlaySize); in getView()
197 iv.getOverlay().add(item.overlay); in getView()
264 public Drawable overlay; field in QSDetailItems.Item
/frameworks/base/core/tests/overlaytests/device/test-apps/AppOverlayOne/res/raw/
Dlorem_ipsum.txt1 Lorem ipsum: single overlay.
/frameworks/base/core/java/android/view/
DGhostView.java103 ViewGroupOverlay overlay = viewGroup.getOverlay(); in addGhost() local
104 ViewOverlay.OverlayViewGroup overlayViewGroup = overlay.mOverlayViewGroup; in addGhost()
129 int firstGhost = moveGhostViewsToTop(overlay.mOverlayViewGroup, tempViews); in addGhost()
130 insertIntoOverlay(overlay.mOverlayViewGroup, parent, ghostView, tempViews, firstGhost); in addGhost()
/frameworks/base/libs/androidfw/tests/data/overlay/
Dbuild21 aapt2 link --manifest AndroidManifest.xml -o overlay.apk compiled.flata
/frameworks/native/libs/input/
DKeyCharacterMap.cpp166 const sp<KeyCharacterMap>& overlay) { in combine() argument
167 if (overlay == nullptr) { in combine()
171 return overlay; in combine()
175 for (size_t i = 0; i < overlay->mKeys.size(); i++) { in combine()
176 int32_t keyCode = overlay->mKeys.keyAt(i); in combine()
177 Key* key = overlay->mKeys.valueAt(i); in combine()
187 for (size_t i = 0; i < overlay->mKeysByScanCode.size(); i++) { in combine()
188 map->mKeysByScanCode.replaceValueFor(overlay->mKeysByScanCode.keyAt(i), in combine()
189 overlay->mKeysByScanCode.valueAt(i)); in combine()
192 for (size_t i = 0; i < overlay->mKeysByUsageCode.size(); i++) { in combine()
[all …]

123