Home
last modified time | relevance | path

Searched refs:Region (Results 1 – 25 of 167) sorted by relevance

1234567

/frameworks/native/include/ui/
DRegion.h34 class Region : public LightFlattenable<Region>
37 static const Region INVALID_REGION;
39 Region();
40 Region(const Region& rhs);
41 explicit Region(const Rect& rhs);
42 ~Region();
44 static Region createTJunctionFreeRegion(const Region& r);
46 Region& operator = (const Region& rhs);
58 Region& makeBoundsSelf();
65 Region& orSelf(const Rect& rhs);
[all …]
/frameworks/native/libs/ui/
DRegion.cpp56 const Region Region::INVALID_REGION(Rect::INVALID_RECT);
60 Region::Region() { in Region() function in android::Region
64 Region::Region(const Region& rhs) in Region() function in android::Region
72 Region::Region(const Rect& rhs) { in Region() function in android::Region
76 Region::~Region() in ~Region()
191 Region Region::createTJunctionFreeRegion(const Region& r) { in createTJunctionFreeRegion()
198 Region outputRegion; in createTJunctionFreeRegion()
210 Region& Region::operator = (const Region& rhs) in operator =()
220 Region& Region::makeBoundsSelf() in makeBoundsSelf()
230 bool Region::contains(const Point& point) const { in contains()
[all …]
/frameworks/base/graphics/java/android/graphics/
DRegion.java23 public class Region implements Parcelable { class
27 private static final SynchronizedPool<Region> sPool =
28 new SynchronizedPool<Region>(MAX_POOL_SIZE);
56 public Region() { in Region() method in Region
62 public Region(Region region) { in Region() method in Region
69 public Region(Rect r) { in Region() method in Region
76 public Region(int left, int top, int right, int bottom) { in Region() method in Region
89 public boolean set(Region region) { in set()
112 public boolean setPath(Path path, Region clip) { in setPath()
215 public native boolean quickReject(Region rgn); in quickReject()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Init.c75 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Size = sizeof(LVDBE_Instance_t); in LVDBE_Memory()
76 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Alignment = LVDBE_INSTANCE_ALIGN; in LVDBE_Memory()
77 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Type = LVDBE_PERSISTENT; in LVDBE_Memory()
78 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL; in LVDBE_Memory()
83 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Size = sizeof(LVDBE_Data_t); in LVDBE_Memory()
84 … pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Alignment = LVDBE_PERSISTENT_DATA_ALIGN; in LVDBE_Memory()
85 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Type = LVDBE_PERSISTENT_DATA; in LVDBE_Memory()
86 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].pBaseAddress = LVM_NULL; in LVDBE_Memory()
91 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COEF].Size = sizeof(LVDBE_Coef_t); in LVDBE_Memory()
92 … pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COEF].Alignment = LVDBE_PERSISTENT_COEF_ALIGN; in LVDBE_Memory()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Init.c217 CS_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); in LVM_GetMemoryTable()
219 CS_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size); in LVM_GetMemoryTable()
220 …if (CS_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = CS_MemT… in LVM_GetMemoryTable()
250 DBE_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); in LVM_GetMemoryTable()
252 DBE_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size); in LVM_GetMemoryTable()
253 …if (DBE_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = DBE_Me… in LVM_GetMemoryTable()
284 EQNB_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size); in LVM_GetMemoryTable()
286 EQNB_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size); in LVM_GetMemoryTable()
287 …if (EQNB_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = EQNB_… in LVM_GetMemoryTable()
341 PSA_MemTab.Region[LVM_PERSISTENT_SLOW_DATA].Size); in LVM_GetMemoryTable()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Init.c89 … pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&AllocMem); in LVEQNB_Memory()
90 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Alignment = LVEQNB_INSTANCE_ALIGN; in LVEQNB_Memory()
91 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Type = LVEQNB_PERSISTENT; in LVEQNB_Memory()
92 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL; in LVEQNB_Memory()
110 …pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Size = InstAlloc_GetTotal(&AllocMem… in LVEQNB_Memory()
111 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Alignment = LVEQNB_DATA_ALIGN; in LVEQNB_Memory()
112 … pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Type = LVEQNB_PERSISTENT_DATA; in LVEQNB_Memory()
113 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/
DInstAlloc.c89 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress; in InstAlloc_InitAll()
95 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress; in InstAlloc_InitAll()
101 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress; in InstAlloc_InitAll()
107 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_TEMPORARY_FAST].pBaseAddress; in InstAlloc_InitAll()
150 …pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size = InstAlloc_GetTotal(&pms[LVM_PERSISTE… in InstAlloc_AddMemberAll()
151 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Type = LVM_PERSISTENT_SLOW_DATA; in InstAlloc_AddMemberAll()
152 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL; in InstAlloc_AddMemberAll()
156 …pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Size = InstAlloc_GetTotal(&pms[LVM_PERSISTE… in InstAlloc_AddMemberAll()
157 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Type = LVM_PERSISTENT_FAST_DATA; in InstAlloc_AddMemberAll()
158 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress = LVM_NULL; in InstAlloc_AddMemberAll()
[all …]
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Init.c80 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Size = (LVM_UINT32)sizeof(LVCS_I… in LVCS_Memory()
81 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Type = LVCS_PERSISTENT; in LVCS_Memory()
82 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL; in LVCS_Memory()
87 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Size = (LVM_UINT32)sizeof(LVCS_D… in LVCS_Memory()
88 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Type = LVCS_DATA; in LVCS_Memory()
89 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].pBaseAddress = LVM_NULL; in LVCS_Memory()
94 …pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Size = (LVM_UINT32)sizeof(LVCS_C… in LVCS_Memory()
95 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Type = LVCS_COEFFICIENT; in LVCS_Memory()
96 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress = LVM_NULL; in LVCS_Memory()
102 pMemoryTable->Region[LVCS_MEMREGION_TEMPORARY_FAST].Size = ScratchSize; in LVCS_Memory()
[all …]
DLVCS_ReverbGenerator.c69 …LVCS_Data_t *pData = (LVCS_Data_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_P… in LVCS_ReverbGeneratorInit()
70 …LVCS_Coefficient_t *pCoefficients = (LVCS_Coefficient_t *)pInstance->MemoryTable.Region[LVCS_… in LVCS_ReverbGeneratorInit()
191 …LVCS_Coefficient_t *pCoefficients = (LVCS_Coefficient_t *)pInstance->MemoryTable.Region[LVCS_… in LVCS_ReverbGenerator()
192 …LVM_INT16 *pScratch = (LVM_INT16 *)pInstance->MemoryTable.Region[LVCS_MEMREGION_TEM… in LVCS_ReverbGenerator()
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_GetMemoryTable.c153 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size = InstAlloc_GetTotal(&SlowData); in LVREV_GetMemoryTable()
154 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Type = LVM_PERSISTENT_SLOW_DATA; in LVREV_GetMemoryTable()
155 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL; in LVREV_GetMemoryTable()
181 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Size = InstAlloc_GetTotal(&FastData); in LVREV_GetMemoryTable()
182 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Type = LVM_PERSISTENT_FAST_DATA; in LVREV_GetMemoryTable()
183 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress = LVM_NULL; in LVREV_GetMemoryTable()
190 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].Size = InstAlloc_GetTotal(&FastCoef); in LVREV_GetMemoryTable()
191 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].Type = LVM_PERSISTENT_FAST_COEF; in LVREV_GetMemoryTable()
192 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress = LVM_NULL; in LVREV_GetMemoryTable()
225 pMemoryTable->Region[LVM_TEMPORARY_FAST].Size = InstAlloc_GetTotal(&Temporary); in LVREV_GetMemoryTable()
[all …]
DLVREV_GetInstanceHandle.c74 if (pMemoryTable->Region[i].Size!=0) in LVREV_GetInstanceHandle()
76 if (pMemoryTable->Region[i].pBaseAddress==LVM_NULL) in LVREV_GetInstanceHandle()
103 InstAlloc_Init(&SlowData, pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress); in LVREV_GetInstanceHandle()
104 InstAlloc_Init(&FastData, pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress); in LVREV_GetInstanceHandle()
105 InstAlloc_Init(&FastCoef, pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress); in LVREV_GetInstanceHandle()
106 InstAlloc_Init(&Temporary, pMemoryTable->Region[LVM_TEMPORARY_FAST].pBaseAddress); in LVREV_GetInstanceHandle()
111 …st_16(0, (LVM_INT16 *)pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress, (LVM_INT16)((pM… in LVREV_GetInstanceHandle()
112 …st_16(0, (LVM_INT16 *)pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress, (LVM_INT16)((pM… in LVREV_GetInstanceHandle()
113 …st_16(0, (LVM_INT16 *)pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress, (LVM_INT16)((pM… in LVREV_GetInstanceHandle()
114 …Const_16(0, (LVM_INT16 *)pMemoryTable->Region[LVM_TEMPORARY_FAST].pBaseAddress, (LVM_INT16)((pMemo… in LVREV_GetInstanceHandle()
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Memory.c130 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&Instance); in LVPSA_Memory()
131 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].Type = LVPSA_PERSISTENT; in LVPSA_Memory()
132 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL; in LVPSA_Memory()
138 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].Size = InstAlloc_GetTotal(&Scratch); in LVPSA_Memory()
139 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].Type = LVPSA_SCRATCH; in LVPSA_Memory()
140 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].pBaseAddress = LVM_NULL; in LVPSA_Memory()
147 … pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].Size = InstAlloc_GetTotal(&Coef); in LVPSA_Memory()
148 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].Type = LVPSA_PERSISTENT_COEF; in LVPSA_Memory()
149 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].pBaseAddress = LVM_NULL; in LVPSA_Memory()
156 … pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_DATA].Size = InstAlloc_GetTotal(&Data); in LVPSA_Memory()
[all …]
DLVPSA_Init.c88 InstAlloc_Init( &Instance , pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].pBaseAddress); in LVPSA_Init()
89 InstAlloc_Init( &Scratch , pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].pBaseAddress); in LVPSA_Init()
90 … InstAlloc_Init( &Data , pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_DATA].pBaseAddress); in LVPSA_Init()
91 … InstAlloc_Init( &Coef , pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].pBaseAddress); in LVPSA_Init()
105 if (pMemoryTable->Region[ii].Size!=0) in LVPSA_Init()
107 if (pMemoryTable->Region[ii].pBaseAddress==LVM_NULL) in LVPSA_Init()
111 pLVPSA_Inst->MemoryTable.Region[ii] = pMemoryTable->Region[ii]; in LVPSA_Init()
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityController.java37 import android.graphics.Region;
127 public void getMagnificationRegionLocked(Region outMagnificationRegion) { in getMagnificationRegionLocked()
245 private final Region mTempRegion1 = new Region();
246 private final Region mTempRegion2 = new Region();
247 private final Region mTempRegion3 = new Region();
248 private final Region mTempRegion4 = new Region();
403 public void getMagnificationRegionLocked(Region outMagnificationRegion) { in getMagnificationRegionLocked()
427 private final Region mMagnificationRegion = new Region();
428 private final Region mOldMagnificationRegion = new Region();
464 public void getMagnificationRegionLocked(@NonNull Region outMagnificationRegion) { in getMagnificationRegionLocked()
[all …]
DTaskTapPointerEventListener.java20 import android.graphics.Region;
38 final private Region mTouchExcludeRegion = new Region();
42 private final Region mNonResizeableRegion = new Region();
194 void setTouchExcludeRegion(Region newRegion, Region nonResizeableRegion) { in setTouchExcludeRegion()
DStrictModeFlash.java27 import android.graphics.Region;
80 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE); in drawIfNeeded()
83 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE); in drawIfNeeded()
86 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
89 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
DDisplayContent.java31 import android.graphics.Region;
32 import android.graphics.Region.Op;
95 Region mTouchExcludeRegion = new Region();
98 Region mNonResizeableRegion = new Region();
103 private final Region mTmpRegion = new Region();
401 mTouchExcludeRegion.op(mTmpRect, Region.Op.DIFFERENCE); in setTouchExcludeRegion()
405 mNonResizeableRegion.op(mTmpRect, Region.Op.UNION); in setTouchExcludeRegion()
414 mTouchExcludeRegion.op(mTmpRect2, Region.Op.UNION); in setTouchExcludeRegion()
422 mTouchExcludeRegion.op(mTmpRegion, Region.Op.UNION); in setTouchExcludeRegion()
427 mTouchExcludeRegion.op(mTmpRegion, Region.Op.UNION); in setTouchExcludeRegion()
/frameworks/native/libs/ui/tests/
DRegion_test.cpp33 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/services/surfaceflinger/
DLayer.h78 Region visibleRegion;
79 Region coveredRegion;
80 Region visibleNonTransparentRegion;
81 Region surfaceDamageRegion;
133 Region activeTransparentRegion;
134 Region requestedTransparentRegion;
157 bool setTransparentRegionHint(const Region& transparent);
176 Rect computeBounds(const Region& activeTransparentRegion) const;
226 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
290 void draw(const sp<const DisplayDevice>& hw, const Region& clip) const;
[all …]
DDisplayDevice.h62 mutable Region dirtyRegion;
64 mutable Region swapRegion;
66 Region undefinedRegion;
111 void flip(const Region& dirty) const;
124 Region getDirtyRegion(bool repaintEverything) const;
/frameworks/base/core/java/android/view/accessibility/
DIAccessibilityInteractionConnection.aidl19 import android.graphics.Region;
34 void findAccessibilityNodeInfoByAccessibilityId(long accessibilityNodeId, in Region bounds, in findAccessibilityNodeInfoByAccessibilityId()
39 in Region bounds, int interactionId, IAccessibilityInteractionConnectionCallback callback, in findAccessibilityNodeInfosByViewId()
42 void findAccessibilityNodeInfosByText(long accessibilityNodeId, String text, in Region bounds, in findAccessibilityNodeInfosByText()
46 void findFocus(long accessibilityNodeId, int focusType, in Region bounds, int interactionId, in findFocus()
50 void focusSearch(long accessibilityNodeId, int direction, in Region bounds, int interactionId, in focusSearch()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java80 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/tests/HwAccelerationTest/src/com/android/test/hwui/
DClipRegion2Activity.java22 import android.graphics.Region;
51 private Region mRegion = new Region();
74 Region.Op.DIFFERENCE); in dispatchDraw()
/frameworks/base/services/core/java/com/android/server/input/
DInputWindowHandle.java19 import android.graphics.Region;
63 public final Region touchableRegion = new Region();
/frameworks/base/core/java/android/view/
DWindowManagerInternal.java22 import android.graphics.Region;
62 public void onMagnificationRegionChanged(Region magnificationRegion); in onMagnificationRegionChanged()
164 public abstract void getMagnificationRegion(@NonNull Region magnificationRegion); in getMagnificationRegion()

1234567