/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | RegionUtils.java | 42 public static void rectListToRegion(List<Rect> rects, Region outRegion) { in rectListToRegion() argument 43 outRegion.setEmpty(); in rectListToRegion() 46 outRegion.union(rects.get(i)); in rectListToRegion()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | MagnificationConnectionManagerTest.java | 330 final Region outRegion = new Region(); in onRectangleOnScreenRequested_trackingDisabledByOnDrag_withoutMovingMagnifier() local 331 mMagnificationConnectionManager.getMagnificationSourceBounds(TEST_DISPLAY, outRegion); in onRectangleOnScreenRequested_trackingDisabledByOnDrag_withoutMovingMagnifier() 332 final Rect requestedRect = outRegion.getBounds(); in onRectangleOnScreenRequested_trackingDisabledByOnDrag_withoutMovingMagnifier() 352 final Region outRegion = new Region(); in onRectangleOnScreenRequested_trackingDisabledByScroll_withoutMovingMagnifier() local 353 mMagnificationConnectionManager.getMagnificationSourceBounds(TEST_DISPLAY, outRegion); in onRectangleOnScreenRequested_trackingDisabledByScroll_withoutMovingMagnifier() 354 final Rect requestedRect = outRegion.getBounds(); in onRectangleOnScreenRequested_trackingDisabledByScroll_withoutMovingMagnifier() 371 final Region outRegion = new Region(); in onRectangleOnScreenRequested_requestRectangleInBound_withoutMovingMagnifier() local 372 mMagnificationConnectionManager.getMagnificationSourceBounds(TEST_DISPLAY, outRegion); in onRectangleOnScreenRequested_requestRectangleInBound_withoutMovingMagnifier() 373 final Rect requestedRect = outRegion.getBounds(); in onRectangleOnScreenRequested_requestRectangleInBound_withoutMovingMagnifier() 387 final Region outRegion = new Region(); in onRectangleOnScreenRequested_imeVisibilityDefaultInvisible_withoutMovingMagnifier() local [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 79 Region& outRegion) { in readFromProto() argument 83 outRegion.orSelf(rect); in readFromProto() 253 android::BlurRegion& outRegion) { in readFromProto() argument 254 outRegion.blurRadius = proto.blur_radius(); in readFromProto() 255 outRegion.cornerRadiusTL = proto.corner_radius_tl(); in readFromProto() 256 outRegion.cornerRadiusTR = proto.corner_radius_tr(); in readFromProto() 257 outRegion.cornerRadiusBL = proto.corner_radius_bl(); in readFromProto() 258 outRegion.cornerRadiusBR = proto.corner_radius_br(); in readFromProto() 259 outRegion.alpha = proto.alpha(); in readFromProto() 260 outRegion.left = proto.left(); in readFromProto() [all …]
|
D | LayerProtoHelper.h | 52 static void readFromProto(const perfetto::protos::RegionProto& regionProto, Region& outRegion); 73 android::BlurRegion& outRegion);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationProcessor.java | 253 public void getCurrentMagnificationRegion(int displayId, @NonNull Region outRegion, in getCurrentMagnificationRegion() argument 257 getFullscreenMagnificationRegion(displayId, outRegion, canControlMagnification); in getCurrentMagnificationRegion() 260 outRegion); in getCurrentMagnificationRegion() 271 public void getFullscreenMagnificationRegion(int displayId, @NonNull Region outRegion, in getFullscreenMagnificationRegion() argument 277 outRegion); in getFullscreenMagnificationRegion()
|
D | MagnificationController.java | 966 final Region outRegion = new Region(); in adjustCurrentCenterIfNeededLocked() local 967 getFullScreenMagnificationController().getMagnificationRegion(mDisplayId, outRegion); in adjustCurrentCenterIfNeededLocked() 968 if (outRegion.contains((int) mCurrentCenter.x, (int) mCurrentCenter.y)) { in adjustCurrentCenterIfNeededLocked() 971 final Rect bounds = outRegion.getBounds(); in adjustCurrentCenterIfNeededLocked()
|
D | MagnificationConnectionManager.java | 911 public void getMagnificationSourceBounds(int displayId, @NonNull Region outRegion) { in getMagnificationSourceBounds() argument 915 outRegion.setEmpty(); in getMagnificationSourceBounds() 917 outRegion.set(magnifier.mSourceBounds); in getMagnificationSourceBounds()
|
D | FullScreenMagnificationController.java | 515 void getMagnificationRegion(@NonNull Region outRegion) { in getMagnificationRegion() argument 516 outRegion.set(mMagnificationRegion); in getMagnificationRegion() 1233 public void getMagnificationRegion(int displayId, @NonNull Region outRegion) { in getMagnificationRegion() argument 1239 display.getMagnificationRegion(outRegion); in getMagnificationRegion()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityWindowsPopulator.java | 747 public void getTouchableRegionInScreen(Region outRegion) { in getTouchableRegionInScreen() argument 748 outRegion.set(mTouchableRegionInScreen); in getTouchableRegionInScreen() 755 public void getTouchableRegionInWindow(Region outRegion) { in getTouchableRegionInWindow() argument 756 outRegion.set(mTouchableRegionInWindow); in getTouchableRegionInWindow() 844 Region outRegion, Rect frame, Matrix inverseMatrix, Matrix displayMatrix) { in getTouchableRegionInWindow() argument 855 getUnMagnifiedTouchableRegion(shouldMagnify, touchRegion, outRegion, inverseMatrix, in getTouchableRegionInWindow() 871 Region outRegion, Matrix inverseMatrix, Matrix displayMatrix) { in getUnMagnifiedTouchableRegion() argument 873 outRegion.set(inRegion); in getUnMagnifiedTouchableRegion() 884 outRegion.union(new Rect((int) windowFrame.left, (int) windowFrame.top, in getUnMagnifiedTouchableRegion()
|
D | WindowState.java | 2753 private void updateRegionForModalActivityWindow(Region outRegion) { in updateRegionForModalActivityWindow() argument 2780 outRegion.set(mTmpRect); in updateRegionForModalActivityWindow() 2781 cropRegionToRootTaskBoundsIfNeeded(outRegion); in updateRegionForModalActivityWindow() 3491 private static void applyInsets(Region outRegion, Rect frame, Rect inset) { in applyInsets() argument 3492 outRegion.set( in applyInsets() 3498 void getTouchableRegion(Region outRegion) { in getTouchableRegion() argument 3503 outRegion.set(frame); in getTouchableRegion() 3506 applyInsets(outRegion, frame, mGivenContentInsets); in getTouchableRegion() 3509 applyInsets(outRegion, frame, mGivenVisibleInsets); in getTouchableRegion() 3512 outRegion.set(mGivenTouchableRegion); in getTouchableRegion() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupTest.java | 185 private static void getUnobscuredTouchableRegion(Region outRegion, View view) { in getUnobscuredTouchableRegion() argument 186 outRegion.set(view.getLeft(), view.getTop(), view.getRight(), view.getBottom()); in getUnobscuredTouchableRegion() 189 parent.subtractObscuredTouchableRegion(outRegion, view); in getUnobscuredTouchableRegion()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleBarLayerView.java | 399 private void getTouchableRegion(Region outRegion) { in getTouchableRegion() argument 403 outRegion.op(mTempRect, Region.Op.UNION); in getTouchableRegion()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityWindowInfo.java | 383 public void getRegionInScreen(@NonNull Region outRegion) { in getRegionInScreen() argument 384 outRegion.set(mRegionInScreen); in getRegionInScreen()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityWindowManager.java | 382 boolean forceComputeRegion, @NonNull Region outRegion) { in computePartialInteractiveRegionForWindowLocked() argument 401 outRegion.set(currentWindowRegions); in computePartialInteractiveRegionForWindowLocked() 402 windowInteractiveRegion = outRegion; in computePartialInteractiveRegionForWindowLocked() 1683 @NonNull Region outRegion) { in computePartialInteractiveRegionForWindowLocked() argument 1690 parentWindowId != windowId, outRegion); in computePartialInteractiveRegionForWindowLocked()
|