/frameworks/native/libs/ui/include_vndk/ui/ |
D | Region.h | 37 class Region : public LightFlattenable<Region> 40 static const Region INVALID_REGION; 42 Region(); 43 Region(const Region& rhs); 44 explicit Region(const Rect& rhs); 45 ~Region(); 47 static Region createTJunctionFreeRegion(const Region& r); 49 Region& operator = (const Region& rhs); 61 Region& makeBoundsSelf(); 68 Region& orSelf(const Rect& rhs); [all …]
|
/frameworks/native/include/ui/ |
D | Region.h | 37 class Region : public LightFlattenable<Region> 40 static const Region INVALID_REGION; 42 Region(); 43 Region(const Region& rhs); 44 explicit Region(const Rect& rhs); 45 ~Region(); 47 static Region createTJunctionFreeRegion(const Region& r); 49 Region& operator = (const Region& rhs); 61 Region& makeBoundsSelf(); 68 Region& orSelf(const Rect& rhs); [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | Region.h | 37 class Region : public LightFlattenable<Region> 40 static const Region INVALID_REGION; 42 Region(); 43 Region(const Region& rhs); 44 explicit Region(const Rect& rhs); 45 ~Region(); 47 static Region createTJunctionFreeRegion(const Region& r); 49 Region& operator = (const Region& rhs); 61 Region& makeBoundsSelf(); 68 Region& orSelf(const Rect& rhs); [all …]
|
/frameworks/native/libs/ui/ |
D | Region.cpp | 65 const Region Region::INVALID_REGION(Rect::INVALID_RECT); 69 Region::Region() { in Region() function in android::Region 73 Region::Region(const Region& rhs) in Region() function in android::Region 82 Region::Region(const Rect& rhs) { in Region() function in android::Region 86 Region::~Region() in ~Region() 201 Region Region::createTJunctionFreeRegion(const Region& r) { in createTJunctionFreeRegion() 208 Region outputRegion; in createTJunctionFreeRegion() 221 Region& Region::operator = (const Region& rhs) in operator =() 237 Region& Region::makeBoundsSelf() in makeBoundsSelf() 247 bool Region::contains(const Point& point) const { in contains() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Region.java | 26 public class Region implements Parcelable { class 30 private static final SynchronizedPool<Region> sPool = 31 new SynchronizedPool<Region>(MAX_POOL_SIZE); 61 public Region() { in Region() method in Region 67 public Region(@NonNull Region region) { in Region() method in Region 74 public Region(@NonNull Rect r) { in Region() method in Region 81 public Region(int left, int top, int right, int bottom) { in Region() method in Region 94 public boolean set(@NonNull Region region) { in set() 117 public boolean setPath(@NonNull Path path, @NonNull Region clip) { in setPath() 222 public native boolean quickReject(Region rgn); in quickReject() [all …]
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | regions.cpp | 41 std::vector<Region> mRegions; 56 { Region::ITU_1 }, 65 { Region::ITU_2 }, 74 { Region::OIRT }, 83 { Region::JAPAN }, 92 { Region::KOREA }, 101 { Region::ITU_1, Region::OIRT, Region::JAPAN, Region::KOREA }, 108 { Region::ITU_1, Region::OIRT, Region::JAPAN, Region::KOREA }, 115 { Region::ITU_1, Region::OIRT, Region::JAPAN, Region::KOREA }, 122 { Region::ITU_2 }, [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | RegionMatcher.h | 23 using Region = android::Region; variable 25 struct RegionMatcher : public testing::MatcherInterface<const Region&> { 26 const Region expected; 28 explicit RegionMatcher(const Region& expectedValue) : expected(expectedValue) {} in RegionMatcher() 30 bool MatchAndExplain(const Region& actual, testing::MatchResultListener*) const override { in MatchAndExplain() 37 testing::Matcher<const Region&> RegionEq(const Region& expected) { in RegionEq()
|
D | OutputTest.cpp | 221 EXPECT_THAT(mOutput->getState().dirtyRegion, RegionEq(Region())); in TEST_F() 230 EXPECT_THAT(mOutput->getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() 239 EXPECT_THAT(mOutput->getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() 402 EXPECT_THAT(state.dirtyRegion, RegionEq(Region(displayRect))); in TEST_F() 416 EXPECT_THAT(mOutput->getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() 436 EXPECT_THAT(mOutput->getState().dirtyRegion, RegionEq(Region())); in TEST_F() 453 EXPECT_THAT(mOutput->getState().dirtyRegion, RegionEq(Region())); in TEST_F() 469 EXPECT_THAT(mOutput->getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() 485 EXPECT_THAT(mOutput->getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() 501 EXPECT_THAT(mOutput->getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | PerimeterPathGuide.java | 52 public enum Region { enum in PerimeterPathGuide 163 public float getCoord(Region region, float progress) { in getCoord() 172 public float getRegionCenter(Region region) { in getRegionCenter() 179 public float getRegionWidth(Region region) { in getRegionWidth() 241 mRegions[Region.BOTTOM_LEFT.ordinal()].path = in computeRegions() 243 mRegions[Region.BOTTOM_RIGHT.ordinal()].path = in computeRegions() 245 mRegions[Region.TOP_RIGHT.ordinal()].path = in computeRegions() 247 mRegions[Region.TOP_LEFT.ordinal()].path = in computeRegions() 250 mRegions[Region.BOTTOM_LEFT.ordinal()].path.transform(matrix); in computeRegions() 251 mRegions[Region.BOTTOM_RIGHT.ordinal()].path.transform(matrix); in computeRegions() [all …]
|
/frameworks/native/libs/ui/tests/ |
D | Region_test.cpp | 33 void verifyNoTJunctions(const Region& r) { in verifyNoTJunctions() 48 void checkTJunctionFreeFromRegion(const Region& original, int expectedCount = -1) { in checkTJunctionFreeFromRegion() 49 Region modified = Region::createTJunctionFreeRegion(original); in checkTJunctionFreeFromRegion() 59 Region r; in TEST_F() 77 Region r; in TEST_F() 85 Region r; in TEST_F() 123 Region r; in TEST_F() 139 Region r; in TEST_F() 156 Region touchableRegion; in TEST_F() 162 Region& referenceTouchableRegion = touchableRegion; in TEST_F() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/helpers/ |
D | AppPairsHelper.kt | 21 import android.graphics.Region 29 fun getPrimaryBounds(dividerBounds: Region): android.graphics.Region { in getPrimaryBounds() 30 val primaryAppBounds = Region(0, 0, dividerBounds.bounds.right, in getPrimaryBounds() 35 fun getSecondaryBounds(dividerBounds: Region): android.graphics.Region { in getSecondaryBounds() 37 val secondaryAppBounds = Region(0, in getSecondaryBounds()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayerCompositionState.h | 59 Region visibleRegion; 62 Region visibleNonTransparentRegion; 65 Region coveredRegion; 68 Region outputSpaceVisibleRegion; 71 Region shadowRegion; 98 Region damageRegion = Region::INVALID_REGION; 99 Region visibleRegion;
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | SystemGestureExclusionListenerCompat.java | 18 import android.graphics.Region; 37 Region systemGestureExclusion, Region unrestrictedOrNull) { 39 Region unrestricted = (unrestrictedOrNull == null) 57 public abstract void onExclusionChanged(Region systemGestureExclusion); in onExclusionChanged() 67 public void onExclusionChanged(Region systemGestureExclusion, in onExclusionChanged() 68 Region systemGestureExclusionUnrestricted) { in onExclusionChanged()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/ |
D | CommonAssertions.kt | 19 import android.graphics.Region 114 fun getPrimaryRegion(dividerRegion: Region, rotation: Int): Region { in getPrimaryRegion() 117 Region(0, 0, displayBounds.bounds.right, in getPrimaryRegion() 120 Region(0, 0, dividerRegion.bounds.left + WindowUtils.dockedStackDividerInset, in getPrimaryRegion() 125 fun getSecondaryRegion(dividerRegion: Region, rotation: Int): Region { in getSecondaryRegion() 128 Region(0, dividerRegion.bounds.bottom - WindowUtils.dockedStackDividerInset, in getSecondaryRegion() 131 Region(dividerRegion.bounds.right - WindowUtils.dockedStackDividerInset, 0, in getSecondaryRegion()
|
/frameworks/native/libs/gui/include/gui/ |
D | LayerDebugInfo.h | 46 Region mTransparentRegion = Region::INVALID_REGION; 47 Region mVisibleRegion = Region::INVALID_REGION; 48 Region mSurfaceDamageRegion = Region::INVALID_REGION;
|
/frameworks/base/core/java/android/view/accessibility/ |
D | IAccessibilityInteractionConnection.aidl | 19 import android.graphics.Region; 34 void findAccessibilityNodeInfoByAccessibilityId(long accessibilityNodeId, in Region bounds, in findAccessibilityNodeInfoByAccessibilityId() 40 in Region bounds, int interactionId, IAccessibilityInteractionConnectionCallback callback, in findAccessibilityNodeInfosByViewId() 43 void findAccessibilityNodeInfosByText(long accessibilityNodeId, String text, in Region bounds, in findAccessibilityNodeInfosByText() 47 void findFocus(long accessibilityNodeId, int focusType, in Region bounds, int interactionId, in findFocus() 51 void focusSearch(long accessibilityNodeId, int direction, in Region bounds, int interactionId, in focusSearch()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DisplayCutoutView.java | 25 import android.graphics.Region; 35 private final Region mBounds = new Region(); 115 Region bounds = new Region(displayCutout.getBoundingRectTop()); in boundsFromDirection() 119 Region.Op.INTERSECT); in boundsFromDirection() 124 Region.Op.INTERSECT); in boundsFromDirection() 129 Integer.MAX_VALUE, Region.Op.INTERSECT); in boundsFromDirection() 134 Integer.MAX_VALUE, Region.Op.INTERSECT); in boundsFromDirection()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 62 import android.graphics.Region; 278 void getMagnificationRegion(int displayId, Region outMagnificationRegion) { in getMagnificationRegion() 591 private final Region mTempRegion1 = new Region(); 592 private final Region mTempRegion2 = new Region(); 593 private final Region mTempRegion3 = new Region(); 594 private final Region mTempRegion4 = new Region(); 816 void getMagnificationRegion(Region outMagnificationRegion) { in getMagnificationRegion() 865 private final Region mMagnificationRegion = new Region(); 866 private final Region mOldMagnificationRegion = new Region(); 900 void getMagnificationRegion(@NonNull Region outMagnificationRegion) { in getMagnificationRegion() [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Region_Delegate.java | 80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) { in combineShapes() 91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) { in combineShapes() 102 } else if (regionOp == Region.Op.UNION.nativeInt) { in combineShapes() 113 } else if (regionOp == Region.Op.XOR.nativeInt) { in combineShapes() 124 } else if (regionOp == Region.Op.REVERSE_DIFFERENCE.nativeInt) { in combineShapes() 141 /*package*/ static boolean isEmpty(Region thisRegion) { in isEmpty() 151 /*package*/ static boolean isRect(Region thisRegion) { in isRect() 161 /*package*/ static boolean isComplex(Region thisRegion) { in isComplex() 171 /*package*/ static boolean contains(Region thisRegion, int x, int y) { in contains() 181 /*package*/ static boolean quickContains(Region thisRegion, in quickContains() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ImageTileSet.java | 23 import android.graphics.Region; 64 private final Region mRegion = new Region(); 89 mRegion.op(tile.getLocation(), mRegion, Region.Op.UNION); in addTile() 123 Region difference = new Region(); in getGaps() 124 difference.op(mRegion.getBounds(), mRegion, Region.Op.DIFFERENCE); in getGaps()
|
/frameworks/base/core/java/android/view/ |
D | ISystemGestureExclusionListener.aidl | 19 import android.graphics.Region; 39 void onSystemGestureExclusionChanged(int displayId, in Region systemGestureExclusion, in onSystemGestureExclusionChanged() 40 in Region systemGestureExclusionUnrestricted); in onSystemGestureExclusionChanged()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | RegionUtils.java | 20 import android.graphics.Region; 42 public static void rectListToRegion(List<Rect> rects, Region outRegion) { in rectListToRegion() 56 public static void forEachRect(Region region, Consumer<Rect> rectConsumer) { in forEachRect() 72 public static void forEachRectReverse(Region region, Consumer<Rect> rectConsumer) { in forEachRectReverse()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ClipRegion2Activity.java | 22 import android.graphics.Region; 51 private Region mRegion = new Region(); 74 Region.Op.DIFFERENCE); in dispatchDraw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | RegionInterceptingFrameLayout.java | 20 import android.graphics.Region; 21 import android.graphics.Region.Op; 73 Region unionRegion = riv.getInterceptRegion(); 87 public Region getInterceptRegion(); in getInterceptRegion()
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | Conversion.h | 49 using ::android::hardware::media::V1_0::Region; 564 size_t getFlattenedSize(Region const& t); 574 status_t unflatten(Region* t, void const*& buffer, size_t& size); 584 status_t flatten(Region const& t, void*& buffer, size_t& size); 593 bool convertTo(Region* t, ::android::Region const& l); 602 bool convertTo(::android::Region* l, Region const& t);
|