Home
last modified time | relevance | path

Searched refs:mOverlays (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTrustedOverlayHost.java45 final ArrayList<SurfaceControlViewHost.SurfacePackage> mOverlays = new ArrayList<>(); field in TrustedOverlayHost
94 for (int i = mOverlays.size() - 1; i >= 0; i--) { in addOverlay()
95 SurfaceControlViewHost.SurfacePackage l = mOverlays.get(i); in addOverlay()
101 mOverlays.add(p); in addOverlay()
114 for (int i = mOverlays.size() - 1; i >= 0; i--) { in removeOverlay()
115 SurfaceControlViewHost.SurfacePackage l = mOverlays.get(i); in removeOverlay()
117 mOverlays.remove(i); in removeOverlay()
123 return mOverlays.size() > 0; in removeOverlay()
127 for (int i = mOverlays.size() - 1; i >= 0; i--) { in dispatchConfigurationChanged()
128 SurfaceControlViewHost.SurfacePackage l = mOverlays.get(i); in dispatchConfigurationChanged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java166 protected OverlayWindow[] mOverlays = null; field in ScreenDecorations
304 if (mOverlays == null || !shouldOptimizeVisibility()) { in updateOverlayWindowVisibilityIfViewExists()
308 for (final OverlayWindow overlay : mOverlays) { in updateOverlayWindowVisibilityIfViewExists()
465 if (mOverlays != null) { in hasSameProviders()
466 for (OverlayWindow overlay : mOverlays) { in hasSameProviders()
512 if ((mOverlays != null || mScreenDecorHwcWindow != null) in startOnScreenDecorationsThread()
533 if (mOverlays != null) { in startOnScreenDecorationsThread()
535 if (mOverlays[i] != null) { in startOnScreenDecorationsThread()
536 final ViewGroup overlayView = mOverlays[i].getRootView(); in startOnScreenDecorationsThread()
591 if (mOverlays == null) { in getOverlayView()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DScreenDecorationsTest.java319 final View overlay = mScreenDecorations.mOverlays[overlayId].getRootView(); in verifyRoundedCornerViewsExist()
332 final View overlay = mScreenDecorations.mOverlays[BOUNDS_POSITION_TOP].getRootView(); in verifyFaceScanningViewExists()
343 for (OverlayWindow overlay: mScreenDecorations.mOverlays) { in findViewFromOverlays()
409 assertNotNull(mScreenDecorations.mOverlays); in verifyOverlaysExistAndAdded()
411 assertNull(mScreenDecorations.mOverlays); in verifyOverlaysExistAndAdded()
416 final OverlayWindow overlay = mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]; in verifyOverlaysExistAndAdded()
424 assertNull(mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]); in verifyOverlaysExistAndAdded()
428 final OverlayWindow overlay = mScreenDecorations.mOverlays[BOUNDS_POSITION_TOP]; in verifyOverlaysExistAndAdded()
436 assertNull(mScreenDecorations.mOverlays[BOUNDS_POSITION_TOP]); in verifyOverlaysExistAndAdded()
440 final OverlayWindow overlay = mScreenDecorations.mOverlays[BOUNDS_POSITION_RIGHT]; in verifyOverlaysExistAndAdded()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java132 private final ArrayList<OverlayDisplayHandle> mOverlays = field in OverlayDisplayAdapter
149 pw.println("mOverlays: size=" + mOverlays.size()); in dumpLocked()
150 for (OverlayDisplayHandle overlay : mOverlays) { in dumpLocked()
194 if (!mOverlays.isEmpty()) { in updateOverlayDisplayDevicesLocked()
196 for (OverlayDisplayHandle overlay : mOverlays) { in updateOverlayDisplayDevicesLocked()
199 mOverlays.clear(); in updateOverlayDisplayDevicesLocked()
247 mOverlays.add(new OverlayDisplayHandle(name, modes, gravity, flags, number)); in updateOverlayDisplayDevicesLocked()
/frameworks/base/libs/hwui/tests/common/scenes/
DTvApp.cpp64 std::vector<sp<RenderNode>> mOverlays; member in TvApp
190 mOverlays.push_back(overlayColor); in createCard()
212 sp<RenderNode> overlay = mOverlays[ci]; in updateCard()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager.h294 Vector<asset_path> mOverlays; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java1028 private final ArraySet<OverlayPlugin> mOverlays = new ArraySet<>(); in start()
1042 mOverlays.remove(plugin); in start()
1044 .setForcePluginOpen(mOverlays.size() != 0, this); in start()
1058 mOverlays.add(mPlugin); in start()
1060 mOverlays.remove(mPlugin); in start()
1064 .setStateListener(b -> mOverlays.forEach( in start()
1067 .setForcePluginOpen(mOverlays.size() != 0, this); in start()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java233 private List<SurfaceControl> mOverlays = new ArrayList<>(); field in AbstractAccessibilityServiceConnection
2779 mOverlays.add(sc); in attachAccessibilityOverlayToDisplay()
2811 mOverlays.add(sc); in attachAccessibilityOverlayToWindow()
2821 for (SurfaceControl sc : mOverlays) { in detachAllOverlays()
2828 mOverlays.clear(); in detachAllOverlays()
/frameworks/base/libs/androidfw/
DAssetManager.cpp1529 mOverlays.add(ap); in addOverlay()
1534 if (idx >= mOverlays.size()) { in getOverlay()
1537 *out = mOverlays[idx]; in getOverlay()