/frameworks/base/include/ui/ |
D | Region.h | 33 class Region 36 Region(); 37 Region(const Region& rhs); 38 explicit Region(const Rect& rhs); 39 explicit Region(const void* buffer); 40 ~Region(); 42 Region& operator = (const Region& rhs); 51 Region& makeBoundsSelf(); 57 Region& orSelf(const Rect& rhs); 58 Region& andSelf(const Rect& rhs); [all …]
|
/frameworks/base/libs/ui/ |
D | Region.cpp | 51 Region::Region() in Region() function in android::Region 56 Region::Region(const Region& rhs) in Region() function in android::Region 64 Region::Region(const Rect& rhs) in Region() function in android::Region 69 Region::Region(const void* buffer) in Region() function in android::Region 75 Region::~Region() in ~Region() 79 Region& Region::operator = (const Region& rhs) in operator =() 90 Region& Region::makeBoundsSelf() in makeBoundsSelf() 96 void Region::clear() in clear() 102 void Region::set(const Rect& r) in set() 108 void Region::set(uint32_t w, uint32_t h) in set() [all …]
|
/frameworks/base/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Init.c | 75 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/base/graphics/java/android/graphics/ |
D | Region.java | 22 public class Region implements Parcelable { class 49 public Region() { in Region() method in Region 55 public Region(Region region) { in Region() method in Region 62 public Region(Rect r) { in Region() method in Region 69 public Region(int left, int top, int right, int bottom) { in Region() method in Region 82 public boolean set(Region region) { in set() 104 public boolean setPath(Path path, Region clip) { in setPath() 207 public native boolean quickReject(Region rgn); in quickReject() 220 public native void translate(int dx, int dy, Region dst); in translate() 240 public native void scale(float scale, Region dst); in scale() [all …]
|
/frameworks/base/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Init.c | 217 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/base/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_Init.c | 88 … pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&AllocMem); in LVEQNB_Memory() 89 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Alignment = LVEQNB_INSTANCE_ALIGN; in LVEQNB_Memory() 90 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Type = LVEQNB_PERSISTENT; in LVEQNB_Memory() 91 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() 125 …pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Size = InstAlloc_GetTotal(&AllocMem… in LVEQNB_Memory() 126 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Alignment = LVEQNB_COEF_ALIGN; in LVEQNB_Memory() [all …]
|
/frameworks/base/media/libeffects/lvm/lib/Common/src/ |
D | InstAlloc.c | 89 StartAddr = (LVM_UINT32)pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress; in InstAlloc_InitAll() 95 StartAddr = (LVM_UINT32)pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress; in InstAlloc_InitAll() 101 StartAddr = (LVM_UINT32)pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress; in InstAlloc_InitAll() 107 StartAddr = (LVM_UINT32)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/base/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_Init.c | 80 …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 …]
|
D | LVCS_ReverbGenerator.c | 69 …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()
|
D | LVCS_StereoEnhancer.c | 60 …LVCS_Data_t *pData = (LVCS_Data_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_P… in LVCS_SEnhancerInit() 61 …LVCS_Coefficient_t *pCoefficient = (LVCS_Coefficient_t *)pInstance->MemoryTable.Region[LVCS_M… in LVCS_SEnhancerInit() 189 …LVCS_Coefficient_t *pCoefficient = (LVCS_Coefficient_t *)pInstance->MemoryTable.Region[LVCS_M… in LVCS_StereoEnhancer() 190 …LVM_INT16 *pScratch = (LVM_INT16 *)pInstance->MemoryTable.Region[LVCS_MEMREGION_TEM… in LVCS_StereoEnhancer()
|
D | LVCS_Equaliser.c | 64 …LVCS_Data_t *pData = (LVCS_Data_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSI… in LVCS_EqualiserInit() 65 …LVCS_Coefficient_t *pCoefficients = (LVCS_Coefficient_t *)pInstance->MemoryTable.Region[LVCS_MEMR… in LVCS_EqualiserInit() 143 …LVCS_Coefficient_t *pCoefficients = (LVCS_Coefficient_t *)pInstance->MemoryTable.Region[LVCS_MEMR… in LVCS_Equaliser()
|
/frameworks/base/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_GetMemoryTable.c | 153 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 …]
|
D | LVREV_GetInstanceHandle.c | 74 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/base/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Memory.c | 130 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 …]
|
D | LVPSA_Init.c | 88 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/libs/ui/tests/region/ |
D | region.cpp | 28 Region empty; in main() 29 Region reg0( Rect( 0, 0, 100, 100 ) ); in main() 30 Region reg1 = reg0; in main() 31 Region reg2, reg3; in main() 33 Region reg4 = empty | reg1; in main() 34 Region reg5 = reg1 | empty; in main()
|
/frameworks/base/services/surfaceflinger/ |
D | LayerBase.h | 64 Region visibleRegionScreen; 65 Region transparentRegionScreen; 66 Region coveredRegionScreen; 81 Region transparentRegion; 93 bool setTransparentRegionHint(const Region& opaque); 104 void drawRegion(const Region& reg) const; 125 virtual void draw(const Region& clip) const; 131 virtual void onDraw(const Region& clip) const = 0; 148 virtual void setVisibleRegion(const Region& visibleRegion); 155 virtual void setCoveredRegion(const Region& coveredRegion); [all …]
|
D | LayerBase.cpp | 161 bool LayerBase::setTransparentRegionHint(const Region& transparent) { in setTransparentRegionHint() 182 void LayerBase::setVisibleRegion(const Region& visibleRegion) { in setVisibleRegion() 187 void LayerBase::setCoveredRegion(const Region& coveredRegion) { in setCoveredRegion() 270 const Transform& planeTransform, Region& outDirtyRegion) in unlockPageFlip() 284 void LayerBase::drawRegion(const Region& reg) const in drawRegion() 286 Region::const_iterator it = reg.begin(); in drawRegion() 287 Region::const_iterator const end = reg.end(); in drawRegion() 367 void LayerBase::draw(const Region& clip) const in draw() 379 onDraw( Region(hw.bounds()) ); in drawForSreenShot() 383 void LayerBase::clearWithOpenGL(const Region& clip, GLclampf red, in clearWithOpenGL() [all …]
|
D | LayerDim.cpp | 43 void LayerDim::onDraw(const Region& clip) const in onDraw() 46 Region::const_iterator it = clip.begin(); in onDraw() 47 Region::const_iterator const end = clip.end(); in onDraw()
|
D | SurfaceFlinger.h | 298 Region& dirtyRegion, 299 Region& wormholeRegion); 307 void setupHardwareComposer(Region& dirtyInOut); 308 void composeSurfaces(const Region& dirty); 311 void setInvalidateRegion(const Region& reg); 312 Region getAndClearInvalidateRegion(); 375 Region mInvalidateRegion; 387 Region mDirtyRegion; 388 Region mDirtyRegionRemovedLayer; 389 Region mSwapRegion; [all …]
|
D | Transform.h | 30 class Region; variable 79 Region transform(const Region& reg) const;
|
D | LayerScreenshot.cpp | 67 void LayerScreenshot::onDraw(const Region& clip) const in onDraw() 70 Region::const_iterator it = clip.begin(); in onDraw() 71 Region::const_iterator const end = clip.end(); in onDraw()
|
/frameworks/base/tools/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/services/java/com/android/server/wm/ |
D | StrictModeFlash.java | 24 import android.graphics.Region; 72 c.clipRect(new Rect(0, 0, dw, mThickness), Region.Op.REPLACE); in drawIfNeeded() 75 c.clipRect(new Rect(0, 0, mThickness, dh), Region.Op.REPLACE); in drawIfNeeded() 78 c.clipRect(new Rect(dw - mThickness, 0, dw, dh), Region.Op.REPLACE); in drawIfNeeded() 81 c.clipRect(new Rect(0, dh - mThickness, dw, dh), Region.Op.REPLACE); in drawIfNeeded()
|
D | InputWindowHandle.java | 19 import android.graphics.Region; 64 public final Region touchableRegion = new Region();
|