/frameworks/base/graphics/java/android/graphics/ |
H A D | Region.aidl | 20 parcelable Region;
|
H A D | Region.java | 23 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(int ni) { method in class:Region 397 private Region(int ni, int dummy) { method in class:Region [all...] |
H A D | RegionIterator.java | 28 public RegionIterator(Region region) {
|
/frameworks/native/include/ui/ |
H A D | Region.h | 35 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/base/core/java/android/view/ |
H A D | IMagnificationCallbacks.aidl | 19 import android.graphics.Region; 25 void onMagnifedBoundsChanged(in Region bounds);
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 17 #define LOG_TAG "Region" 26 #include <ui/Region.h> 57 Region::Region() { function in class:android::Region 61 Region::Region(const Region& rhs) function in class:android::Region 69 Region::Region(const Rect& rhs) { function in class:android::Region 73 Region [all...] |
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
H A D | LVDBE_Init.c | 75 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 D | LVCS_Init.c | 80 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 D | LVCS_Equaliser.c | 64 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/av/media/libeffects/lvm/lib/Common/src/ |
H A D | InstAlloc.c | 89 StartAddr = (LVM_UINT32)pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress; 95 StartAddr = (LVM_UINT32)pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress; 101 StartAddr = (LVM_UINT32)pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress; 107 StartAddr = (LVM_UINT32)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 D | LVEQNB_Init.c | 88 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&AllocMem); 89 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Alignment = LVEQNB_INSTANCE_ALIGN; 90 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Type = LVEQNB_PERSISTENT; 91 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL; 109 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Size = InstAlloc_GetTotal(&AllocMem); 110 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Alignment = LVEQNB_DATA_ALIGN; 111 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Type = LVEQNB_PERSISTENT_DATA; 112 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].pBaseAddress = LVM_NULL; 125 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Size = InstAlloc_GetTotal(&AllocMem); 126 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COE [all...] |
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
H A D | LVREV_GetMemoryTable.c | 153 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 D | LVREV_GetInstanceHandle.c | 74 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 D | LVPSA_Memory.c | 130 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 D | LVPSA_Init.c | 88 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/java/com/android/server/input/ |
H A D | InputWindowHandle.java | 19 import android.graphics.Region; 64 public final Region touchableRegion = new Region();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ClipRegion2Activity.java | 22 import android.graphics.Region; 51 private Region mRegion = new Region(); 74 Region.Op.DIFFERENCE);
|
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | RegionFragment.cpp | 18 : Fragment(Fragment::Region, pSD), m_Region(pRegion) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.h | 32 #include <ui/Region.h> 75 Region visibleRegion; 76 Region coveredRegion; 77 Region visibleNonTransparentRegion; 110 Region activeTransparentRegion; 111 Region requestedTransparentRegion; 130 bool setTransparentRegionHint(const Region& transparent); 181 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const; 214 void draw(const sp<const DisplayDevice>& hw, const Region& clip) const; 227 void setVisibleRegion(const Region [all...] |
H A D | DisplayDevice.h | 23 #include <ui/Region.h> 51 mutable Region dirtyRegion; 53 mutable Region swapRegion; 55 Region undefinedRegion; 96 void flip(const Region& dirty) const; 108 Region getDirtyRegion(bool repaintEverything) const;
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
H A D | LVM_Init.c | 217 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 D | Region_test.cpp | 20 #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/services/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 24 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);
|
H A D | DisplayMagnifier.java | 33 import android.graphics.Region; 71 private final Region mTempRegion1 = new Region(); 72 private final Region mTempRegion2 = new Region(); 73 private final Region mTempRegion3 = new Region(); 74 private final Region mTempRegion4 = new Region(); 256 private final Region mMagnifiedBound [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 33 * 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...] |