Searched refs:Region (Results 1 - 25 of 129) sorted by relevance

123456

/frameworks/base/graphics/java/android/graphics/
H A DRegion.aidl20 parcelable Region;
H A DRegion.java23 public class Region implements Parcelable { class in inherits:Parcelable
27 private static final SynchronizedPool<Region> sPool =
28 new SynchronizedPool<Region>(MAX_POOL_SIZE);
56 public Region() { method in class:Region
62 public Region(Region region) { method in class:Region
69 public Region(Rect r) { method in class:Region
76 public Region(int left, int top, int right, int bottom) { method in class:Region
89 public boolean set(Region region) {
112 public boolean setPath(Path path, Region cli
388 Region(long ni) { method in class:Region
397 private Region(long ni, int dummy) { method in class:Region
[all...]
H A DRegionIterator.java28 public RegionIterator(Region region) {
/frameworks/native/include/ui/
H A DRegion.h35 class Region : public LightFlattenable<Region> class in namespace:android
38 Region();
39 Region(const Region& rhs);
40 explicit Region(const Rect& rhs);
41 ~Region();
43 static Region createTJunctionFreeRegion(const Region& r);
45 Region
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp17 #define LOG_TAG "Region"
27 #include <ui/Region.h>
58 Region::Region() { function in class:android::Region
62 Region::Region(const Region& rhs) function in class:android::Region
70 Region::Region(const Rect& rhs) { function in class:android::Region
74 Region
[all...]
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
H A DLVDBE_Init.c75 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Size = sizeof(LVDBE_Instance_t);
76 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Alignment = LVDBE_INSTANCE_ALIGN;
77 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Type = LVDBE_PERSISTENT;
78 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL;
83 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Size = sizeof(LVDBE_Data_t);
84 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Alignment = LVDBE_PERSISTENT_DATA_ALIGN;
85 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Type = LVDBE_PERSISTENT_DATA;
86 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].pBaseAddress = LVM_NULL;
91 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COEF].Size = sizeof(LVDBE_Coef_t);
92 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COE
[all...]
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
H A DLVCS_Init.c80 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Size = (LVM_UINT32)sizeof(LVCS_Instance_t);
81 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Type = LVCS_PERSISTENT;
82 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL;
87 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Size = (LVM_UINT32)sizeof(LVCS_Data_t);
88 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Type = LVCS_DATA;
89 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].pBaseAddress = LVM_NULL;
94 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Size = (LVM_UINT32)sizeof(LVCS_Coefficient_t);
95 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Type = LVCS_COEFFICIENT;
96 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress = LVM_NULL;
102 pMemoryTable->Region[LVCS_MEMREGION_TEMPORARY_FAS
[all...]
H A DLVCS_Equaliser.c64 LVCS_Data_t *pData = (LVCS_Data_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].pBaseAddress;
65 LVCS_Coefficient_t *pCoefficients = (LVCS_Coefficient_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress;
143 LVCS_Coefficient_t *pCoefficients = (LVCS_Coefficient_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress;
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityInteractionConnection.aidl19 import android.graphics.Region;
34 void findAccessibilityNodeInfoByAccessibilityId(long accessibilityNodeId, in Region bounds,
39 in Region bounds, int interactionId, IAccessibilityInteractionConnectionCallback callback,
42 void findAccessibilityNodeInfosByText(long accessibilityNodeId, String text, in Region bounds,
46 void findFocus(long accessibilityNodeId, int focusType, in Region bounds, int interactionId,
50 void focusSearch(long accessibilityNodeId, int direction, in Region bounds, int interactionId,
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DInstAlloc.c89 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress;
95 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress;
101 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress;
107 StartAddr = (uintptr_t)pMemoryTable->Region[LVM_TEMPORARY_FAST].pBaseAddress;
150 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size = InstAlloc_GetTotal(&pms[LVM_PERSISTENT_SLOW_DATA]);
151 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Type = LVM_PERSISTENT_SLOW_DATA;
152 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL;
156 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Size = InstAlloc_GetTotal(&pms[LVM_PERSISTENT_FAST_DATA]);
157 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Type = LVM_PERSISTENT_FAST_DATA;
158 pMemoryTable->Region[LVM_PERSISTENT_FAST_DAT
[all...]
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
H A DLVEQNB_Init.c89 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&AllocMem);
90 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Alignment = LVEQNB_INSTANCE_ALIGN;
91 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Type = LVEQNB_PERSISTENT;
92 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL;
110 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Size = InstAlloc_GetTotal(&AllocMem);
111 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Alignment = LVEQNB_DATA_ALIGN;
112 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Type = LVEQNB_PERSISTENT_DATA;
113 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].pBaseAddress = LVM_NULL;
126 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Size = InstAlloc_GetTotal(&AllocMem);
127 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COE
[all...]
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
H A DLVREV_GetMemoryTable.c153 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size = InstAlloc_GetTotal(&SlowData);
154 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Type = LVM_PERSISTENT_SLOW_DATA;
155 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL;
181 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Size = InstAlloc_GetTotal(&FastData);
182 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Type = LVM_PERSISTENT_FAST_DATA;
183 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress = LVM_NULL;
190 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].Size = InstAlloc_GetTotal(&FastCoef);
191 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].Type = LVM_PERSISTENT_FAST_COEF;
192 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress = LVM_NULL;
225 pMemoryTable->Region[LVM_TEMPORARY_FAS
[all...]
H A DLVREV_GetInstanceHandle.c74 if (pMemoryTable->Region[i].Size!=0)
76 if (pMemoryTable->Region[i].pBaseAddress==LVM_NULL)
103 InstAlloc_Init(&SlowData, pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress);
104 InstAlloc_Init(&FastData, pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress);
105 InstAlloc_Init(&FastCoef, pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress);
106 InstAlloc_Init(&Temporary, pMemoryTable->Region[LVM_TEMPORARY_FAST].pBaseAddress);
111 LoadConst_16(0, (LVM_INT16 *)pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress, (LVM_INT16)((pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size)/sizeof(LVM_INT16)));
112 LoadConst_16(0, (LVM_INT16 *)pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress, (LVM_INT16)((pMemoryTable->Region[LVM_PERSISTENT_FAST_DAT
[all...]
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Memory.c130 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&Instance);
131 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].Type = LVPSA_PERSISTENT;
132 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL;
138 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].Size = InstAlloc_GetTotal(&Scratch);
139 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].Type = LVPSA_SCRATCH;
140 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].pBaseAddress = LVM_NULL;
147 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].Size = InstAlloc_GetTotal(&Coef);
148 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].Type = LVPSA_PERSISTENT_COEF;
149 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].pBaseAddress = LVM_NULL;
156 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_DAT
[all...]
H A DLVPSA_Init.c88 InstAlloc_Init( &Instance , pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].pBaseAddress);
89 InstAlloc_Init( &Scratch , pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].pBaseAddress);
90 InstAlloc_Init( &Data , pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_DATA].pBaseAddress);
91 InstAlloc_Init( &Coef , pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].pBaseAddress);
105 if (pMemoryTable->Region[ii].Size!=0)
107 if (pMemoryTable->Region[ii].pBaseAddress==LVM_NULL)
111 pLVPSA_Inst->MemoryTable.Region[ii] = pMemoryTable->Region[ii];
/frameworks/base/services/core/java/com/android/server/input/
H A DInputWindowHandle.java19 import android.graphics.Region;
63 public final Region touchableRegion = new Region();
/frameworks/native/services/surfaceflinger/
H A DLayer.h33 #include <ui/Region.h>
76 Region visibleRegion;
77 Region coveredRegion;
78 Region visibleNonTransparentRegion;
115 Region activeTransparentRegion;
116 Region requestedTransparentRegion;
135 bool setTransparentRegionHint(const Region& transparent);
145 Rect computeBounds(const Region& activeTransparentRegion) const;
192 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
230 void draw(const sp<const DisplayDevice>& hw, const Region
[all...]
H A DDisplayDevice.h23 #include <ui/Region.h>
51 mutable Region dirtyRegion;
53 mutable Region swapRegion;
55 Region undefinedRegion;
98 void flip(const Region& dirty) const;
110 Region getDirtyRegion(bool repaintEverything) const;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DClipRegion2Activity.java22 import android.graphics.Region;
51 private Region mRegion = new Region();
74 Region.Op.DIFFERENCE);
/frameworks/compile/mclinker/lib/Fragment/
H A DRegionFragment.cpp17 : Fragment(Fragment::Region, pSD), m_Region(pRegion) {
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
H A DLVM_Init.c217 CS_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size);
219 CS_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size);
220 if (CS_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = CS_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size;
250 DBE_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size);
252 DBE_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COEF].Size);
253 if (DBE_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size > AlgScratchSize) AlgScratchSize = DBE_MemTab.Region[LVM_MEMREGION_TEMPORARY_FAST].Size;
284 EQNB_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_DATA].Size);
286 EQNB_MemTab.Region[LVM_MEMREGION_PERSISTENT_FAST_COE
[all...]
/frameworks/native/libs/ui/tests/
H A DRegion_test.cpp20 #include <ui/Region.h>
33 void verifyNoTJunctions(const Region& r) {
48 void checkTJunctionFreeFromRegion(const Region& original, int expectedCount = -1) {
49 Region modified = Region::createTJunctionFreeRegion(original);
59 Region r;
77 Region r;
85 Region r;
123 Region r;
139 Region
[all...]
/frameworks/base/core/java/android/view/
H A DWindowManagerInternal.java20 import android.graphics.Region;
60 public void onMagnifedBoundsChanged(Region bounds);
/frameworks/base/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java24 import android.graphics.Region;
77 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE);
80 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE);
83 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE);
86 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java33 * Delegate implementing the native methods of android.graphics.Region
35 * Through the layoutlib_create tool, the original native methods of Region have been replaced
40 * it and the original Region class.
42 * This also serve as a base class for all Region delegate classes.
70 * to the given {@link Region.Op}.
80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) {
91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) {
102 } else if (regionOp == Region.Op.UNION.nativeInt) {
113 } else if (regionOp == Region.Op.XOR.nativeInt) {
124 } else if (regionOp == Region
[all...]

Completed in 4010 milliseconds

123456