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

1 2 3 4 5 6 7 8

  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
FindMatchRectsDetails.java 13 /** Version of the the rects in this result. */
16 /** Rects of the find matches in find-in-page coordinates. */
17 public final RectF[] rects; field in class:FindMatchRectsDetails
22 public FindMatchRectsDetails(int version, RectF[] rects, RectF activeRect) {
24 this.rects = rects;
  /frameworks/native/include/private/ui/
RegionHelper.h 50 RECT const* rects; member in struct:android::region_operator::region
55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { }
57 : rects(r), count(c), dx(), dy() { }
59 : rects(r), count(c), dx(dx), dy(dy) { }
169 SpannerBase::lhs_head = lhs.rects->top + lhs.dy;
170 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy;
173 SpannerBase::rhs_head = rhs.rects->top + rhs.dy;
174 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy;
201 RECT const * rects = reg.rects local
    [all...]
  /external/skia/tests/
RTreeTest.cpp 45 static bool verify_query(SkIRect query, DataRect rects[],
50 if (SkIRect::IntersectsNoEmptyCheck(query, rects[i].rect)) {
51 expected.push(rects[i].data);
71 static void runQueries(skiatest::Reporter* reporter, SkMWCRandom& rand, DataRect rects[],
77 REPORTER_ASSERT(reporter, verify_query(query, rects, hits));
82 DataRect rects[NUM_RECTS]; local
106 random_data_rects(rand, rects, NUM_RECTS);
110 rtree->insert(rects[i].data, rects[i].rect, true);
113 runQueries(reporter, rand, rects, *rtree)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/x11/
SDL_x11image.c 81 static void X11_NormalUpdate(_THIS, int numrects, SDL_Rect *rects);
82 static void X11_MITSHMUpdate(_THIS, int numrects, SDL_Rect *rects);
233 static void X11_NormalUpdate(_THIS, int numrects, SDL_Rect *rects)
238 if ( rects[i].w == 0 || rects[i].h == 0 ) { /* Clipped? */
242 rects[i].x, rects[i].y,
243 rects[i].x, rects[i].y, rects[i].w, rects[i].h)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/riscos/
SDL_riscosFullScreenVideo.c 71 static void FULLSCREEN_UpdateRects(_THIS, int numrects, SDL_Rect *rects);
72 static void FULLSCREEN_UpdateRectsMemCpy(_THIS, int numrects, SDL_Rect *rects);
73 static void FULLSCREEN_UpdateRects8bpp(_THIS, int numrects, SDL_Rect *rects);
74 static void FULLSCREEN_UpdateRects16bpp(_THIS, int numrects, SDL_Rect *rects);
75 static void FULLSCREEN_UpdateRects32bpp(_THIS, int numrects, SDL_Rect *rects);
76 static void FULLSCREEN_UpdateRectsOS(_THIS, int numrects, SDL_Rect *rects);
242 /* Update rects is different if we have a backbuffer */
377 static void FULLSCREEN_UpdateRects(_THIS, int numrects, SDL_Rect *rects)
382 static void FULLSCREEN_UpdateRectsMemCpy(_THIS, int numrects, SDL_Rect *rects)
391 from = this->hidden->bank[0] + rects->x * xmult + rects->y * pitch
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/nanox/
SDL_nximage_c.h 34 extern void NX_NormalUpdate (_THIS, int numrects, SDL_Rect * rects) ;
SDL_nximage.c 31 void NX_NormalUpdate (_THIS, int numrects, SDL_Rect * rects)
44 x = rects [i].x, y = rects [i].y ;
45 w = rects [i].w, h = rects [i].h ;
  /external/qemu/distrib/sdl-1.2.15/src/video/photon/
SDL_ph_image_c.h 54 extern void ph_NormalUpdate(_THIS, int numrects, SDL_Rect* rects);
55 extern void ph_OCUpdate(_THIS, int numrects, SDL_Rect* rects);
56 extern void ph_OCDCUpdate(_THIS, int numrects, SDL_Rect* rects);
57 extern void ph_OpenGLUpdate(_THIS, int numrects, SDL_Rect* rects);
SDL_ph_image.c 959 void ph_OpenGLUpdate(_THIS, int numrects, SDL_Rect* rects)
967 void ph_NormalUpdate(_THIS, int numrects, SDL_Rect *rects)
975 if (rects[i].w==0) /* Clipped? dunno why but this occurs sometime. */
980 if (rects[i].h==0) /* Clipped? dunno why but this occurs sometime. */
985 ph_pos.x = rects[i].x;
986 ph_pos.y = rects[i].y;
987 ph_rect.ul.x = rects[i].x;
988 ph_rect.ul.y = rects[i].y;
989 ph_rect.lr.x = rects[i].x + rects[i].w
    [all...]
  /external/chromium_org/remoting/codec/
codec_test.cc 27 // Some sample rects for testing.
30 std::vector<DesktopRect> rects; local
31 rects.push_back(DesktopRect::MakeXYWH(0, 0, size.width(), size.height()));
32 rect_lists.push_back(rects);
33 rects.clear();
34 rects.push_back(DesktopRect::MakeXYWH(
36 rect_lists.push_back(rects);
37 rects.clear();
38 rects.push_back(DesktopRect::MakeXYWH(
41 rect_lists.push_back(rects);
    [all...]
  /external/chromium_org/third_party/skia/src/effects/
SkBlurMaskFilter.cpp 169 static bool drawRectsIntoMask(const SkRect rects[], int count, SkMask* mask) {
170 rects[0].roundOut(&mask->fBounds);
194 canvas.drawRect(rects[0], paint);
198 path.addRect(rects[0]);
199 path.addRect(rects[1]);
212 SK_CONF_DECLARE( bool, c_analyticBlurNinepatch, "mask.filter.analyticNinePatch", false, "Use the faster analytic blur approach for ninepatch rects" );
214 SK_CONF_DECLARE( bool, c_analyticBlurNinepatch, "mask.filter.analyticNinePatch", true, "Use the faster analytic blur approach for ninepatch rects" );
218 SkBlurMaskFilterImpl::filterRectsToNine(const SkRect rects[], int count,
233 // for now, just skip too-large src rects (to take the old code path).
234 if (rect_exceeds(rects[0], SkIntToScalar(32767)))
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/picogui/
SDL_pgvideo.c 52 static void PG_UpdateRects(_THIS, int numrects, SDL_Rect *rects);
290 static void PG_UpdateRects(_THIS, int numrects, SDL_Rect *rects)
295 if (rects[i].w <= 0 || rects[i].h <= 0)
303 rects[i].x, rects[i].y,
304 rects[i].w, rects[i].h);
307 rects[i].x, rects[i].y
    [all...]
  /external/chromium_org/cc/trees/
occlusion_tracker.h 102 std::vector<gfx::Rect>* rects) {
103 occluding_screen_space_rects_ = rects;
106 std::vector<gfx::Rect>* rects) {
107 non_occluding_screen_space_rects_ = rects;
  /external/skia/src/effects/
SkBlurMaskFilter.cpp 214 static bool drawRectsIntoMask(const SkRect rects[], int count, SkMask* mask) {
215 if (!prepare_to_draw_into_mask(rects[0], mask)) {
233 canvas.drawRect(rects[0], paint);
237 path.addRect(rects[0]);
238 path.addRect(rects[1]);
287 // for now, just skip too-large src rects (to take the old code path).
361 SK_CONF_DECLARE( bool, c_analyticBlurNinepatch, "mask.filter.analyticNinePatch", false, "Use the faster analytic blur approach for ninepatch rects" );
363 SK_CONF_DECLARE( bool, c_analyticBlurNinepatch, "mask.filter.analyticNinePatch", true, "Use the faster analytic blur approach for ninepatch rects" );
367 SkBlurMaskFilterImpl::filterRectsToNine(const SkRect rects[], int count,
382 // for now, just skip too-large src rects (to take the old code path)
    [all...]
  /external/chromium_org/content/browser/renderer_host/
backing_store_manager.cc 156 int ComputeTotalArea(const std::vector<gfx::Rect>& rects) {
157 // We assume that the given rects are non-overlapping, which is a property of
158 // the paint rects generated by the PaintAggregator.
160 for (size_t i = 0; i < rects.size(); ++i) {
161 for (size_t j = 0; j < rects.size(); ++j) {
163 DCHECK(!rects[i].Intersects(rects[j]));
168 for (size_t i = 0; i < rects.size(); ++i)
169 area += rects[i].size().GetArea();
  /frameworks/base/graphics/java/android/graphics/
Path.java 41 public Region rects; field in class:Path
63 if (src.rects != null) {
64 rects = new Region(src.rects);
79 if (rects != null) rects.setEmpty();
96 if (rects != null) rects.setEmpty();
173 rects = null;
462 * Specifies how closed shapes (e.g. rects, ovals) are oriented when the
    [all...]
  /external/chromium_org/chrome/browser/android/
chrome_web_contents_delegate_android.cc 163 const std::vector<gfx::RectF>& rects,
175 rects.size(),
178 // Add the rects
179 for (size_t i = 0; i < rects.size(); ++i) {
184 CreateJavaRectF(env, rects[i]).obj());
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderLayerModelObject.cpp 185 void RenderLayerModelObject::addLayerHitTestRects(LayerHitTestRects& rects, const RenderLayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const
190 RenderObject::addLayerHitTestRects(rects, layer(), LayoutPoint(), LayoutRect());
196 layer()->addLayerHitTestRects(rects);
199 RenderObject::addLayerHitTestRects(rects, currentLayer, layerOffset, containerRect);
  /external/qemu/distrib/sdl-1.2.15/src/video/gem/
SDL_gemvideo.c 91 static void GEM_UpdateRects(_THIS, int numrects, SDL_Rect *rects);
849 static void GEM_UpdateRectsFullscreen(_THIS, int numrects, SDL_Rect *rects)
877 x1 = rects[i].x & ~15;
878 x2 = rects[i].x+rects[i].w;
884 source += surface->pitch * rects[i].y;
888 destination += destpitch * rects[i].y;
893 x2-x1, rects[i].h,
918 blitcoords[0] = blitcoords[4] = rects[i].x;
919 blitcoords[1] = blitcoords[5] = rects[i].y
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/gapi/
SDL_gapivideo.c 110 static void GAPI_UpdateRects(_THIS, int numrects, SDL_Rect *rects);
1076 static void GAPI_UpdateRectsMono(_THIS, int numrects, SDL_Rect *rects)
1088 destPointer = (unsigned char*) gapi->videoMem + gapi->startOffset - rects[i].y * gapi->gxProperties.cBPP / 8 + rects[i].x * gapi->dstPixelStep;
1090 destPointer = (unsigned char*) gapi->videoMem + gapi->startOffset + rects[i].x * gapi->gxProperties.cBPP / 8 + rects[i].y * gapi->dstLineStep;
1092 srcPointer = ((unsigned char*) SDL_VideoSurface->pixels) + rects[i].y * SDL_VideoSurface->pitch + rects[i].x * 2;
1093 yNibble = rects[i].y & 1; // TODO: only for 4 bpp
1094 xNibble = rects[i].x & 1
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
IntRect.cpp 166 IntRect unionRect(const Vector<IntRect>& rects)
170 size_t count = rects.size();
172 result.unite(rects[i]);
LayoutRect.cpp 118 LayoutRect unionRect(const Vector<LayoutRect>& rects)
122 size_t count = rects.size();
124 result.unite(rects[i]);
  /external/chromium_org/third_party/skia/src/core/
SkRegion_rects.cpp 197 // fillout edge[] from rects[], sorted. Return the head, and set the tail
199 static VEdge* sort_edges(VEdge** edgePtr, VEdge edge[], const SkIRect rects[],
204 if (!rects[i].isEmpty()) {
205 VEdge::SetFromRect(edge, rects[i]);
213 // all the rects[] were empty
226 bool SkRegion::setRects(const SkIRect rects[], int rectCount) {
231 return this->setRect(rects[0]);
238 head = sort_edges(edgePtr, head, rects, rectCount, &tail);
246 // empty rects[]). rectCount now is just used for worst-case allocations
  /external/skia/src/core/
SkRegion_rects.cpp 197 // fillout edge[] from rects[], sorted. Return the head, and set the tail
199 static VEdge* sort_edges(VEdge** edgePtr, VEdge edge[], const SkIRect rects[],
204 if (!rects[i].isEmpty()) {
205 VEdge::SetFromRect(edge, rects[i]);
213 // all the rects[] were empty
226 bool SkRegion::setRects(const SkIRect rects[], int rectCount) {
231 return this->setRect(rects[0]);
238 head = sort_edges(edgePtr, head, rects, rectCount, &tail);
246 // empty rects[]). rectCount now is just used for worst-case allocations
  /external/qemu/distrib/sdl-1.2.15/src/video/ggi/
SDL_ggivideo.c 249 static void GGI_DirectUpdate(_THIS, int numrects, SDL_Rect *rects);
342 static void GGI_DirectUpdate(_THIS, int numrects, SDL_Rect *rects)
350 ggiFlushRegion(VIS, rects[i].x, rects[i].y, rects[i].w, rects[i].h);

Completed in 1635 milliseconds

1 2 3 4 5 6 7 8