/frameworks/native/libs/ui/include/ui/ |
D | Region.h | 35 class Region : public LightFlattenable<Region> 38 static const Region INVALID_REGION; 40 Region(); 41 Region(const Region& rhs); 42 explicit Region(const Rect& rhs); 43 ~Region(); 45 static Region createTJunctionFreeRegion(const Region& r); 47 Region& operator = (const Region& rhs); 59 Region& makeBoundsSelf(); 66 Region& orSelf(const Rect& rhs); [all …]
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Region.h | 35 class Region : public LightFlattenable<Region> 38 static const Region INVALID_REGION; 40 Region(); 41 Region(const Region& rhs); 42 explicit Region(const Rect& rhs); 43 ~Region(); 45 static Region createTJunctionFreeRegion(const Region& r); 47 Region& operator = (const Region& rhs); 59 Region& makeBoundsSelf(); 66 Region& orSelf(const Rect& rhs); [all …]
|
/frameworks/native/libs/ui/ |
D | Region.cpp | 66 const Region Region::INVALID_REGION(Rect::INVALID_RECT); 70 Region::Region() { in Region() function in android::Region 74 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() 220 Region& Region::operator = (const Region& rhs) in operator =() 230 Region& Region::makeBoundsSelf() in makeBoundsSelf() 240 bool Region::contains(const Point& point) const { in contains() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Region.java | 25 public class Region implements Parcelable { class 29 private static final SynchronizedPool<Region> sPool = 30 new SynchronizedPool<Region>(MAX_POOL_SIZE); 60 public Region() { in Region() method in Region 66 public Region(@NonNull Region region) { in Region() method in Region 73 public Region(@NonNull Rect r) { in Region() method in Region 80 public Region(int left, int top, int right, int bottom) { in Region() method in Region 93 public boolean set(@NonNull Region region) { in set() 116 public boolean setPath(@NonNull Path path, @NonNull Region clip) { in setPath() 221 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/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Init.cpp | 74 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Size = sizeof(LVDBE_Instance_t); in LVDBE_Memory() 75 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Alignment = LVDBE_INSTANCE_ALIGN; in LVDBE_Memory() 76 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Type = LVDBE_PERSISTENT; in LVDBE_Memory() 77 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL; in LVDBE_Memory() 82 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Size = sizeof(LVDBE_Data_FLOAT_t); in LVDBE_Memory() 83 … pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Alignment = LVDBE_PERSISTENT_DATA_ALIGN; in LVDBE_Memory() 84 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Type = LVDBE_PERSISTENT_DATA; in LVDBE_Memory() 85 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].pBaseAddress = LVM_NULL; in LVDBE_Memory() 90 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COEF].Size = sizeof(LVDBE_Coef_FLOAT_t); in LVDBE_Memory() 91 … pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COEF].Alignment = LVDBE_PERSISTENT_COEF_ALIGN; in LVDBE_Memory() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Init.cpp | 282 CS_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); in LVM_GetMemoryTable() 284 CS_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size); in LVM_GetMemoryTable() 285 …if (CS_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = CS_MemT… in LVM_GetMemoryTable() 320 DBE_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); in LVM_GetMemoryTable() 322 DBE_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size); in LVM_GetMemoryTable() 323 …if (DBE_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = DBE_Me… in LVM_GetMemoryTable() 359 EQNB_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); in LVM_GetMemoryTable() 361 EQNB_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size); in LVM_GetMemoryTable() 362 …if (EQNB_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = EQNB_… in LVM_GetMemoryTable() 415 PSA_MemTab.Region[LVM_PERSISTENT_SLOW_DATA].Size); in LVM_GetMemoryTable() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_Init.cpp | 86 … pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&AllocMem); in LVEQNB_Memory() 87 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Alignment = LVEQNB_INSTANCE_ALIGN; in LVEQNB_Memory() 88 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Type = LVEQNB_PERSISTENT; in LVEQNB_Memory() 89 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL; in LVEQNB_Memory() 109 …pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Size = InstAlloc_GetTotal(&AllocMem… in LVEQNB_Memory() 110 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Alignment = LVEQNB_DATA_ALIGN; in LVEQNB_Memory() 111 … pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Type = LVEQNB_PERSISTENT_DATA; in LVEQNB_Memory() 112 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].pBaseAddress = LVM_NULL; in LVEQNB_Memory() 126 …pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Size = InstAlloc_GetTotal(&AllocMem… in LVEQNB_Memory() 127 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Alignment = LVEQNB_COEF_ALIGN; in LVEQNB_Memory() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | InstAlloc.cpp | 86 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress; in InstAlloc_InitAll() 91 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress; in InstAlloc_InitAll() 96 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress; in InstAlloc_InitAll() 101 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_TEMPORARY_FAST].pBaseAddress; in InstAlloc_InitAll() 142 …pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size = InstAlloc_GetTotal(&pms[LVM_PERSISTE… in InstAlloc_AddMemberAll() 143 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Type = LVM_PERSISTENT_SLOW_DATA; in InstAlloc_AddMemberAll() 144 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL; in InstAlloc_AddMemberAll() 148 …pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Size = InstAlloc_GetTotal(&pms[LVM_PERSISTE… in InstAlloc_AddMemberAll() 149 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Type = LVM_PERSISTENT_FAST_DATA; in InstAlloc_AddMemberAll() 150 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress = LVM_NULL; in InstAlloc_AddMemberAll() [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/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_Init.cpp | 79 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Size = (LVM_UINT32)sizeof(LVCS_I… in LVCS_Memory() 80 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Type = LVCS_PERSISTENT; in LVCS_Memory() 81 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL; in LVCS_Memory() 86 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Size = (LVM_UINT32)sizeof(LVCS_D… in LVCS_Memory() 87 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Type = LVCS_DATA; in LVCS_Memory() 88 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].pBaseAddress = LVM_NULL; in LVCS_Memory() 93 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Size = (LVM_UINT32)sizeof(LVCS_C… in LVCS_Memory() 94 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Type = LVCS_COEFFICIENT; in LVCS_Memory() 95 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress = LVM_NULL; in LVCS_Memory() 103 pMemoryTable->Region[LVCS_MEMREGION_TEMPORARY_FAST].Size = ScratchSize; in LVCS_Memory() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_GetMemoryTable.cpp | 149 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size = InstAlloc_GetTotal(&SlowData); in LVREV_GetMemoryTable() 150 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Type = LVM_PERSISTENT_SLOW_DATA; in LVREV_GetMemoryTable() 151 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL; in LVREV_GetMemoryTable() 176 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Size = InstAlloc_GetTotal(&FastData); in LVREV_GetMemoryTable() 177 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Type = LVM_PERSISTENT_FAST_DATA; in LVREV_GetMemoryTable() 178 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress = LVM_NULL; in LVREV_GetMemoryTable() 184 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].Size = InstAlloc_GetTotal(&FastCoef); in LVREV_GetMemoryTable() 185 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].Type = LVM_PERSISTENT_FAST_COEF; in LVREV_GetMemoryTable() 186 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress = LVM_NULL; in LVREV_GetMemoryTable() 222 pMemoryTable->Region[LVM_TEMPORARY_FAST].Size = InstAlloc_GetTotal(&Temporary); in LVREV_GetMemoryTable() [all …]
|
D | LVREV_GetInstanceHandle.cpp | 72 if (pMemoryTable->Region[i].Size!=0) in LVREV_GetInstanceHandle() 74 if (pMemoryTable->Region[i].pBaseAddress==LVM_NULL) in LVREV_GetInstanceHandle() 101 InstAlloc_Init(&SlowData, pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress); in LVREV_GetInstanceHandle() 102 InstAlloc_Init(&FastData, pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress); in LVREV_GetInstanceHandle() 103 InstAlloc_Init(&FastCoef, pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress); in LVREV_GetInstanceHandle() 104 InstAlloc_Init(&Temporary, pMemoryTable->Region[LVM_TEMPORARY_FAST].pBaseAddress); in LVREV_GetInstanceHandle() 110 (LVM_FLOAT *)pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress, in LVREV_GetInstanceHandle() 111 (LVM_INT16)((pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size) / \ in LVREV_GetInstanceHandle() 114 (LVM_FLOAT *)pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress, in LVREV_GetInstanceHandle() 115 (LVM_INT16)((pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Size) / \ in LVREV_GetInstanceHandle() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Memory.cpp | 126 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&Instance); in LVPSA_Memory() 127 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].Type = LVPSA_PERSISTENT; in LVPSA_Memory() 128 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL; in LVPSA_Memory() 134 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].Size = InstAlloc_GetTotal(&Scratch); in LVPSA_Memory() 135 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].Type = LVPSA_SCRATCH; in LVPSA_Memory() 136 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].pBaseAddress = LVM_NULL; in LVPSA_Memory() 143 … pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].Size = InstAlloc_GetTotal(&Coef); in LVPSA_Memory() 144 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].Type = LVPSA_PERSISTENT_COEF; in LVPSA_Memory() 145 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].pBaseAddress = LVM_NULL; in LVPSA_Memory() 152 … pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_DATA].Size = InstAlloc_GetTotal(&Data); in LVPSA_Memory() [all …]
|
D | LVPSA_Init.cpp | 87 InstAlloc_Init( &Instance , pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].pBaseAddress); in LVPSA_Init() 88 InstAlloc_Init( &Scratch , pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].pBaseAddress); in LVPSA_Init() 89 … InstAlloc_Init( &Data , pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_DATA].pBaseAddress); in LVPSA_Init() 90 … InstAlloc_Init( &Coef , pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].pBaseAddress); in LVPSA_Init() 102 if (pMemoryTable->Region[ii].Size!=0) in LVPSA_Init() 104 if (pMemoryTable->Region[ii].pBaseAddress==LVM_NULL) in LVPSA_Init() 108 pLVPSA_Inst->MemoryTable.Region[ii] = pMemoryTable->Region[ii]; in LVPSA_Init()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TapExcludeRegionHolder.java | 20 import android.graphics.Region; 28 private SparseArray<Region> mTapExcludeRegions = new SparseArray<>(); 31 void updateRegion(int regionId, Region region) { in updateRegion() 46 void amendRegion(Region region, Rect bounds) { in amendRegion() 48 final Region r = mTapExcludeRegions.valueAt(i); in amendRegion() 50 r.op(bounds, Region.Op.INTERSECT); in amendRegion() 52 region.op(r, Region.Op.UNION); in amendRegion()
|
D | AccessibilityController.java | 41 import android.graphics.Region; 157 public void getMagnificationRegionLocked(int displayId, Region outMagnificationRegion) { in getMagnificationRegionLocked() 289 private final Region mTempRegion1 = new Region(); 290 private final Region mTempRegion2 = new Region(); 291 private final Region mTempRegion3 = new Region(); 292 private final Region mTempRegion4 = new Region(); 463 public void getMagnificationRegionLocked(Region outMagnificationRegion) { in getMagnificationRegionLocked() 495 private final Region mMagnificationRegion = new Region(); 496 private final Region mOldMagnificationRegion = new Region(); 533 public void getMagnificationRegionLocked(@NonNull Region outMagnificationRegion) { in getMagnificationRegionLocked() [all …]
|
/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/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()
|
/frameworks/native/libs/gui/include/gui/ |
D | LayerDebugInfo.h | 45 Region mTransparentRegion = Region::INVALID_REGION; 46 Region mVisibleRegion = Region::INVALID_REGION; 47 Region mSurfaceDamageRegion = Region::INVALID_REGION;
|
/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/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/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/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputTest.cpp | 90 EXPECT_THAT(mOutput.getState().dirtyRegion, RegionEq(Region())); in TEST_F() 99 EXPECT_THAT(mOutput.getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() 108 EXPECT_THAT(mOutput.getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() 147 EXPECT_THAT(mOutput.getState().dirtyRegion, RegionEq(Region(Rect(displaySize)))); in TEST_F() 161 EXPECT_THAT(mOutput.getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() 178 EXPECT_THAT(mOutput.getState().dirtyRegion, RegionEq(Region())); in TEST_F() 189 EXPECT_THAT(mOutput.getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() 200 EXPECT_THAT(mOutput.getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() 216 EXPECT_THAT(mOutput.getState().dirtyRegion, RegionEq(Region(kDefaultDisplaySize))); in TEST_F() 227 EXPECT_THAT(mOutput.getState().dirtyRegion, RegionEq(Region())); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.h | 102 Region visibleRegion; 103 Region coveredRegion; 104 Region visibleNonTransparentRegion; 105 Region surfaceDamageRegion; 170 Region activeTransparentRegion_legacy; 171 Region requestedTransparentRegion_legacy; 198 Region transparentRegionHint; 204 Region surfaceDamageRegion; 289 virtual bool setTransparentRegionHint(const Region& transparent); 322 virtual bool setSurfaceDamageRegion(const Region& /*surfaceDamage*/) { return false; }; in setSurfaceDamageRegion() argument [all …]
|