Searched defs:rects (Results 1 - 25 of 157) sorted by relevance

1234567

/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DFindMatchRectsDetails.java13 /** Version of the the rects in this result. */
17 public final RectF[] rects; field in class:FindMatchRectsDetails
24 this.rects = new RectF[numRects];
/external/chromium_org/third_party/skia/gm/
H A Dimagealphathreshold.cpp41 SkIRect rects[2]; variable
42 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300);
43 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT);
45 region.setRects(rects, 2);
/external/chromium_org/third_party/skia/tests/
H A DGpuRectanizerTest.cpp35 const SkTDArray<SkISize>& rects) {
37 for (i = 0; i < rects.count(); ++i) {
39 if (!rectanizer->addRect(rects[i].fWidth, rects[i].fHeight, &loc)) {
47 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { argument
51 test_rectanizer_inserts(reporter, &skylineRectanizer, rects);
54 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { argument
58 test_rectanizer_inserts(reporter, &pow2Rectanizer, rects);
62 SkTDArray<SkISize> rects; local
66 rects
33 test_rectanizer_inserts(skiatest::Reporter*, GrRectanizer* rectanizer, const SkTDArray<SkISize>& rects) argument
[all...]
H A DBBoxHierarchyTest.cpp46 static bool verify_query(SkRect query, DataRect rects[], argument
54 if (SkRect::Intersects(query, rects[i].rect)) {
55 expected.push(rects[i].data);
75 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], argument
81 REPORTER_ASSERT(reporter, verify_query(query, rects, hits));
87 DataRect rects[NUM_RECTS]; local
113 random_data_rects(rand, rects, NUM_RECTS);
117 tree->insert(rects[i].data, rects[i].rect, true);
120 run_queries(reporter, rand, rects, *tre
[all...]
/external/skia/gm/
H A Dimagealphathreshold.cpp41 SkIRect rects[2]; variable
42 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300);
43 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT);
45 region.setRects(rects, 2);
/external/skia/tests/
H A DGpuRectanizerTest.cpp35 const SkTDArray<SkISize>& rects) {
37 for (i = 0; i < rects.count(); ++i) {
39 if (!rectanizer->addRect(rects[i].fWidth, rects[i].fHeight, &loc)) {
47 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { argument
51 test_rectanizer_inserts(reporter, &skylineRectanizer, rects);
54 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { argument
58 test_rectanizer_inserts(reporter, &pow2Rectanizer, rects);
62 SkTDArray<SkISize> rects; local
66 rects
33 test_rectanizer_inserts(skiatest::Reporter*, GrRectanizer* rectanizer, const SkTDArray<SkISize>& rects) argument
[all...]
/external/chromium_org/cc/trees/
H A Docclusion_tracker.h67 std::vector<gfx::Rect>* rects) {
68 occluding_screen_space_rects_ = rects;
71 std::vector<gfx::Rect>* rects) {
72 non_occluding_screen_space_rects_ = rects;
66 set_occluding_screen_space_rects_container( std::vector<gfx::Rect>* rects) argument
70 set_non_occluding_screen_space_rects_container( std::vector<gfx::Rect>* rects) argument
/external/chromium_org/chrome/browser/chromeos/ui/
H A Daccessibility_focus_ring_controller_unittest.cc20 void RectsToRings(const std::vector<gfx::Rect>& rects, argument
22 AccessibilityFocusRingController::RectsToRings(rects, rings);
50 std::vector<gfx::Rect> rects; local
51 rects.push_back(gfx::Rect(10, 30, 70, 150));
53 controller_.RectsToRings(rects, &rings);
55 ASSERT_EQ(AddMargin(rects[0]), rings[0].GetBounds());
59 // Given two rects, one on top of each other, we should get back a
61 std::vector<gfx::Rect> rects; local
62 rects.push_back(gfx::Rect(10, 10, 60, 30));
63 rects
73 std::vector<gfx::Rect> rects; local
85 std::vector<gfx::Rect> rects; local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DRegionTest.cpp122 Vector<IntRect> rects = r.rects(); local
123 for (size_t i = 0; i < rects.size(); ++i)
124 EXPECT_FALSE(rects[i].isEmpty());
H A DLayoutRect.cpp132 LayoutRect unionRect(const Vector<LayoutRect>& rects) argument
136 size_t count = rects.size();
138 result.unite(rects[i]);
H A DIntRect.cpp163 IntRect unionRect(const Vector<IntRect>& rects) argument
167 size_t count = rects.size();
169 result.unite(rects[i]);
H A DRegion.cpp49 Vector<IntRect> Region::rects() const function in class:blink::Region
51 Vector<IntRect> rects; local
61 rects.append(IntRect(x, y, width, height));
65 return rects;
114 Vector<IntRect> rects = this->rects(); local
115 size_t size = rects.size();
119 IntRect rect = rects[i];
/external/chromium_org/content/renderer/
H A Drender_widget_unittest.cc41 void SetTouchRegion(const std::vector<gfx::Rect>& rects) { argument
42 rects_ = rects;
96 std::vector<gfx::Rect> rects; local
97 rects.push_back(gfx::Rect(0, 0, 20, 20));
98 rects.push_back(gfx::Rect(25, 0, 10, 10));
99 widget->SetTouchRegion(rects);
113 std::vector<gfx::Rect> rects; local
114 rects.push_back(gfx::Rect(0, 0, 20, 20));
115 rects.push_back(gfx::Rect(25, 0, 10, 10));
116 widget->SetTouchRegion(rects);
[all...]
/external/chromium_org/mojo/public/cpp/bindings/tests/
H A Dtype_conversion_unittest.cc21 std::vector<RedmondRect> rects; member in struct:mojo::__anon8784::RedmondNamedRegion
72 region->rects = Array<test::RectPtr>::From(input.rects);
82 region.rects = input->rects.To<std::vector<RedmondRect> >();
152 Array<RectPtr> rects; local
155 rects.To<std::vector<RedmondRect> >();
163 Array<RectPtr> rects(10);
164 for (size_t i = 0; i < rects.size(); ++i) {
168 rects[
[all...]
/external/chromium_org/remoting/host/
H A Ddesktop_shape_tracker_win.cc78 const LPRECT rects = reinterpret_cast<LPRECT>(&region_data->Buffer[0]); local
84 rects[i].left, rects[i].top, rects[i].right, rects[i].bottom));
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderSelectionInfo.h117 GapRects rects() const { return m_rects; } function in class:blink::FINAL
H A DRenderLayerModelObject.cpp157 void RenderLayerModelObject::addLayerHitTestRects(LayerHitTestRects& rects, const RenderLayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const argument
162 RenderObject::addLayerHitTestRects(rects, layer(), LayoutPoint(), LayoutRect());
168 layer()->addLayerHitTestRects(rects);
171 RenderObject::addLayerHitTestRects(rects, currentLayer, layerOffset, containerRect);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleMeasure.cpp44 SkRect* rects = autoRects.get(); local
52 int n = p.getTextWidths(text, len, widths, rects);
66 SkRect r = rects[j];
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
H A DSDL_nximage.c31 void NX_NormalUpdate (_THIS, int numrects, SDL_Rect * rects) argument
44 x = rects [i].x, y = rects [i].y ;
45 w = rects [i].w, h = rects [i].h ;
/external/skia/samplecode/
H A DSampleMeasure.cpp51 SkRect* rects = autoRects.get(); local
60 int n = p.getTextWidths(text, len, widths, rects);
74 SkRect r = rects[j];
/external/chromium_org/pdf/
H A Dcontrol.cc39 const std::list<pp::Rect>& rects) {
40 DCHECK(rects.size() > 0);
41 if (rects.size() == 1) {
42 Paint(image_data, rects.front());
46 // Some rects in the input list may overlap. To prevent double
68 for (iter = rects.begin(); iter != rects.end(); ++iter) {
38 PaintMultipleRects(pp::ImageData* image_data, const std::list<pp::Rect>& rects) argument
/external/chromium_org/pdf/pdfium/
H A Dpdfium_page.h121 std::vector<pp::Rect> rects; member in struct:chrome_pdf::PDFiumPage::Link
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGContainer.cpp157 void RenderSVGContainer::addFocusRingRects(Vector<LayoutRect>& rects, const LayoutPoint&, const RenderLayerModelObject*) const argument
161 rects.append(paintRectInParent);
H A DRenderSVGImage.cpp201 void RenderSVGImage::addFocusRingRects(Vector<LayoutRect>& rects, const LayoutPoint&, const RenderLayerModelObject*) const argument
206 rects.append(contentRect);
H A DRenderSVGModelObject.cpp74 void RenderSVGModelObject::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) const argument
78 rects.append(rect);
92 void RenderSVGModelObject::computeLayerHitTestRects(LayerHitTestRects& rects) const
95 SVGRenderSupport::findTreeRootObject(this)->computeLayerHitTestRects(rects);
121 // The SVG addFocusRingRects() method adds rects in local coordinates so the default absoluteFocusRingBoundingBoxRect

Completed in 6594 milliseconds

1234567