Home
last modified time | relevance | path

Searched refs:region (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DRegionIteratorTest.java31 Region region = new Region(); in testNext() local
32 region.set(1, 1, 10, 10); in testNext()
35 RegionIterator regionIterator = new RegionIterator(region); in testNext()
53 region.set(1, 1, 10, 10); in testNext()
55 region.op(rect, Region.Op.UNION); in testNext()
56 regionIterator = new RegionIterator(region); in testNext()
57 assertFalse(region.isRect()); in testNext()
80 region.set(1, 1, 10, 10); in testNext()
82 region.op(rect, Region.Op.DIFFERENCE); in testNext()
83 regionIterator = new RegionIterator(region); in testNext()
[all …]
DNinePatchTest.java166 Region region = mNinePatch.getTransparentRegion(location); in testGetTransparentRegion() local
167 assertNull(region); in testGetTransparentRegion()
176 region = mNinePatch.getTransparentRegion(location); in testGetTransparentRegion()
177 assertNotNull(region); in testGetTransparentRegion()
178 Rect regionBounds = region.getBounds(); in testGetTransparentRegion()
182 region = mNinePatch.getTransparentRegion(location); in testGetTransparentRegion()
183 assertNotNull(region); in testGetTransparentRegion()
184 regionBounds = region.getBounds(); in testGetTransparentRegion()
194 region = mNinePatch.getTransparentRegion(location); in testGetTransparentRegion()
195 assertNotNull(region); in testGetTransparentRegion()
[all …]
/cts/apps/CameraITS/tests/inprog/
Dtest_crop_region.py42 for i,region in enumerate(regions):
45 "left": int(region[0] * w),
46 "top": int(region[1] * h),
47 "right": int((region[0]+region[2])*w),
48 "bottom": int((region[1]+region[3])*h)}
/cts/tests/tests/view/src/android/view/cts/
DSurfaceViewTest.java90 Region region = new Region(); in testSurfaceView() local
91 region.set(left, top, right, bottom); in testSurfaceView()
92 assertTrue(mMockSurfaceView.gatherTransparentRegion(region)); in testSurfaceView()
95 assertFalse(mMockSurfaceView.gatherTransparentRegion(region)); in testSurfaceView()
DViewGroupTest.java706 Region region = new Region(); in testGatherTransparentRegion() local
714 assertTrue(vg.gatherTransparentRegion(region)); in testGatherTransparentRegion()
/cts/tests/tests/widget/src/android/widget/cts/
DFrameLayoutTest.java145 Region region = new Region(foreground.getBounds()); in testGatherTransparentRegion() local
146 assertTrue(mFrameLayout.gatherTransparentRegion(region)); in testGatherTransparentRegion()
154 region = new Region(foreground.getBounds()); in testGatherTransparentRegion()
155 assertTrue(mFrameLayout.gatherTransparentRegion(region)); in testGatherTransparentRegion()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex58601 public java.util.regex.Matcher region(