HomeSort by relevance Sort by last modified time
    Searched refs:Region (Results 1 - 25 of 118) sorted by null

1 2 3 4 5

  /frameworks/base/graphics/java/android/graphics/
Region.aidl 20 parcelable Region;
Region.java 22 public class Region implements Parcelable {
39 /** Create an empty region
41 public Region() {
45 /** Return a copy of the specified region
47 public Region(Region region) {
49 nativeSetRegion(mNativeRegion, region.mNativeRegion);
52 /** Return a region set to the specified rectangle
54 public Region(Rect r)
    [all...]
RegionIterator.java 22 * Construct an iterator for all of the rectangles in a region. This
23 * effectively makes a private copy of the region, so any subsequent edits
24 * to region will not affect the iterator.
26 * @param region the region that will be iterated
28 public RegionIterator(Region region) {
29 mNativeIter = nativeConstructor(region.ni());
33 * Return the next rectangle in the region. If there are no more rectangles
  /frameworks/base/include/ui/
Region.h 35 class Region
38 Region();
39 Region(const Region& rhs);
40 explicit Region(const Rect& rhs);
41 explicit Region(const void* buffer);
42 ~Region();
44 Region& operator = (const Region& rhs);
52 // the region becomes its bound
    [all...]
  /frameworks/base/libs/ui/tests/region/
region.cpp 17 #define LOG_TAG "Region"
22 #include <ui/Region.h>
28 Region empty;
29 Region reg0( Rect( 0, 0, 100, 100 ) );
30 Region reg1 = reg0;
31 Region reg2, reg3;
33 Region reg4 = empty | reg1;
34 Region reg5 = reg1 | empty;
  /cts/tests/tests/graphics/src/android/graphics/cts/
RegionTest.java 21 import android.graphics.Region;
29 @TestTargetClass(Region.class)
105 private Region mRegion;
122 method = "Region",
127 method = "Region",
128 args = {android.graphics.Region.class}
132 method = "Region",
137 method = "Region",
142 // Test Region()
143 new Region();
    [all...]
Region_OpTest.java 19 import android.graphics.Region;
20 import android.graphics.Region.Op;
26 @TestTargetClass(Region.Op.class)
RegionIteratorTest.java 20 import android.graphics.Region;
33 args = {android.graphics.Region.class}
36 new RegionIterator(new Region());
45 Region region = new Region(); local
46 region.set(1, 1, 10, 10);
49 RegionIterator regionIterator = new RegionIterator(region);
67 region.set(1, 1, 10, 10);
69 region.op(rect, Region.Op.UNION)
    [all...]
  /frameworks/base/media/libeffects/lvm/lib/Bass/src/
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_COEF].Alignment = LVDBE_PERSISTENT_COEF_ALIGN
    [all...]
  /frameworks/base/libs/ui/
Region.cpp 17 #define LOG_TAG "Region"
25 #include <ui/Region.h>
51 Region::Region()
56 Region::Region(const Region& rhs)
61 Region::Region(const Rect& rhs)
66 Region::Region(const void* buffer
    [all...]
  /frameworks/base/media/libeffects/lvm/lib/StereoWidening/src/
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_FAST].Size = ScratchSize
    [all...]
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/base/media/libeffects/lvm/lib/Common/src/
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_DATA].pBaseAddress = LVM_NULL
    [all...]
  /frameworks/base/services/surfaceflinger/
LayerBlur.h 23 #include <ui/Region.h>
38 virtual void onDraw(const Region& clip) const;
44 virtual void setVisibleRegion(const Region& visibleRegion);
45 virtual void unlockPageFlip(const Transform& planeTransform, Region& outDirtyRegion);
LayerBase.h 29 #include <ui/Region.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;
118 virtual void draw(const Region& clip) const;
129 virtual void onDraw(const Region& clip) const = 0;
143 * setVisibleRegion - called to set the new visible region. This give
    [all...]
  /frameworks/base/media/libeffects/lvm/lib/Eq/src/
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_COEF].Alignment = LVEQNB_COEF_ALIGN
    [all...]
  /frameworks/base/media/libeffects/lvm/lib/Reverb/src/
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_FAST].Size = InstAlloc_GetTotal(&Temporary)
    [all...]
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_DATA].Size)/sizeof(LVM_INT16)))
    [all...]
  /frameworks/base/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
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_DATA].Size = InstAlloc_GetTotal(&Data)
    [all...]
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/media/libeffects/lvm/lib/Bundle/src/
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_COEF].Size)
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/
Xutil.h 265 * opaque reference to Region data type
267 typedef struct _XRegion *Region;
381 Region /* r */,
385 extern Region XCreateRegion(
398 Region /* r */
402 Region /* r */
406 Region /* r1 */,
407 Region /* r2 */
517 Region /* sra */,
518 Region /* srb */
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Clipping.java 76 canvas.clipRect(30, 30, 70, 70, Region.Op.DIFFERENCE);
85 canvas.clipPath(mPath, Region.Op.REPLACE);
92 canvas.clipRect(40, 40, 100, 100, Region.Op.UNION);
99 canvas.clipRect(40, 40, 100, 100, Region.Op.XOR);
106 canvas.clipRect(40, 40, 100, 100, Region.Op.REVERSE_DIFFERENCE);
Regions.java 63 private void drawRgn(Canvas canvas, int color, String str, Region.Op op) {
69 Region rgn = new Region();
106 drawRgn(canvas, Color.RED, "Union", Region.Op.UNION);
111 drawRgn(canvas, Color.BLUE, "Xor", Region.Op.XOR);
116 drawRgn(canvas, Color.GREEN, "Difference", Region.Op.DIFFERENCE);
121 drawRgn(canvas, Color.WHITE, "Intersect", Region.Op.INTERSECT);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
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.Op.REVERSE_DIFFERENCE.nativeInt)
331 Region_Delegate region = sManager.getDelegate(native_region); local
351 Region_Delegate region = sManager.getDelegate(native_region); local
373 Region_Delegate region = sManager.getDelegate(native_dst); local
391 Region_Delegate region = sManager.getDelegate(native_dst); local
    [all...]

Completed in 845 milliseconds

1 2 3 4 5