/external/chromium_org/v8/test/mjsunit/tools/ |
D | profviz-test.default | 6 "set style rect fs solid 1 noborder", 12 "set object 1 rect from 87.51699999999991, 7 to 87.60371656249991, 3 fc rgb \"#9944CC\"", 13 "set object 2 rect from 110.7114999999999, 7 to 110.7982165624999, 3 fc rgb \"#9944CC\"", 14 "set object 3 rect from 133.5129999999999, 7 to 133.59971656249988, 3 fc rgb \"#9944CC\"", 15 …"set object 4 rect from 61.49249999999995, 7 to 61.57921656249995, 5.020618556701031 fc rgb \"#994… 16 …"set object 5 rect from 101.40849999999992, 7 to 101.49521656249992, 5.103092783505154 fc rgb \"#9… 17 …"set object 6 rect from 57.242999999999974, 7 to 57.329716562499975, 6.766323024054983 fc rgb \"#9… 18 …"set object 7 rect from 58.751499999999965, 7 to 58.838216562499966, 6.766323024054983 fc rgb \"#9… 19 …"set object 8 rect from 60.72499999999996, 7 to 60.81171656249996, 6.766323024054983 fc rgb \"#994… 21 "set object 9 rect from 42.11000000000001, 12.83 to 42.28050000000001, 12.17 fc rgb \"#000000\"", [all …]
|
/external/chromium_org/ppapi/cpp/ |
D | rect.cc | 43 bool Rect::Contains(const Rect& rect) const { in Contains() 44 return (rect.x() >= x() && rect.right() <= right() && in Contains() 45 rect.y() >= y() && rect.bottom() <= bottom()); in Contains() 48 bool Rect::Intersects(const Rect& rect) const { in Intersects() 49 return !(rect.x() >= right() || rect.right() <= x() || in Intersects() 50 rect.y() >= bottom() || rect.bottom() <= y()); in Intersects() 53 Rect Rect::Intersect(const Rect& rect) const { in Intersect() 54 int32_t rx = std::max(x(), rect.x()); in Intersect() 55 int32_t ry = std::max(y(), rect.y()); in Intersect() 56 int32_t rr = std::min(right(), rect.right()); in Intersect() [all …]
|
/external/chromium_org/ui/native_theme/ |
D | native_theme_base.cc | 169 const gfx::Rect& rect) const { in PaintStateTransition() 170 if (rect.IsEmpty()) in PaintStateTransition() 179 canvas, startState, endState, progress, rect); in PaintStateTransition() 192 const gfx::Rect& rect, in Paint() argument 194 if (rect.IsEmpty()) in Paint() 200 CommonThemePaintComboboxArrow(canvas, rect); in Paint() 203 PaintCheckbox(canvas, state, rect, extra.button); in Paint() 206 PaintInnerSpinButton(canvas, state, rect, extra.inner_spin); in Paint() 209 PaintMenuList(canvas, state, rect, extra.menu_list); in Paint() 217 PaintMenuPopupBackground(canvas, rect.size(), extra.menu_background); in Paint() [all …]
|
/external/chromium-trace/trace-viewer/src/base/ |
D | rect.js | 25 var rect = new Rect(); 26 rect.x = x; 27 rect.y = y; 28 rect.width = w; 29 rect.height = h; 30 return rect; 35 var rect = new Rect(); 36 rect.x = ary[0]; 37 rect.y = ary[1]; 38 rect.width = ary[2]; [all …]
|
/external/chromium_org/ui/gfx/geometry/ |
D | rect_conversions.cc | 15 Rect ToEnclosingRect(const RectF& rect) { in ToEnclosingRect() argument 16 int min_x = ToFlooredInt(rect.x()); in ToEnclosingRect() 17 int min_y = ToFlooredInt(rect.y()); in ToEnclosingRect() 18 float max_x = rect.right(); in ToEnclosingRect() 19 float max_y = rect.bottom(); in ToEnclosingRect() 20 int width = rect.width() == 0 ? 0 : std::max(ToCeiledInt(max_x) - min_x, 0); in ToEnclosingRect() 21 int height = rect.height() == 0 ? 0 : std::max(ToCeiledInt(max_y) - min_y, 0); in ToEnclosingRect() 25 Rect ToEnclosedRect(const RectF& rect) { in ToEnclosedRect() argument 26 int min_x = ToCeiledInt(rect.x()); in ToEnclosedRect() 27 int min_y = ToCeiledInt(rect.y()); in ToEnclosedRect() [all …]
|
D | rect_base_impl.h | 140 Contains(const Class& rect) const { in Contains() argument 141 return (rect.x() >= x() && rect.right() <= right() && in Contains() 142 rect.y() >= y() && rect.bottom() <= bottom()); in Contains() 152 Intersects(const Class& rect) const { in Intersects() argument 153 return !(IsEmpty() || rect.IsEmpty() || in Intersects() 154 rect.x() >= right() || rect.right() <= x() || in Intersects() 155 rect.y() >= bottom() || rect.bottom() <= y()); in Intersects() 165 Intersect(const Class& rect) { in Intersect() argument 166 if (IsEmpty() || rect.IsEmpty()) { in Intersect() 171 Type rx = std::max(x(), rect.x()); in Intersect() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | RegionTracker.cpp | 245 SkRect rect; in didDrawPath() local 246 if (path.isRect(&rect)) { in didDrawPath() 247 didDrawRect(context, rect, paint, 0); in didDrawPath() 256 rect = paint.computeFastBounds(path.getBounds(), &rect); in didDrawPath() 257 didDraw(context, rect, paint, 0, fillsBounds, FillOrStroke); in didDrawPath() 266 SkRect rect; in didDrawPoints() local 267 rect.fLeft = points[0].fX; in didDrawPoints() 268 rect.fRight = points[0].fX + 1; in didDrawPoints() 269 rect.fTop = points[0].fY; in didDrawPoints() 270 rect.fBottom = points[0].fY + 1; in didDrawPoints() [all …]
|
D | Path.cpp | 356 void Path::addRect(const FloatRect& rect) in addRect() argument 358 m_path.addRect(rect); in addRect() 381 void Path::addEllipse(const FloatRect& rect) in addEllipse() argument 383 m_path.addOval(rect); in addEllipse() 388 …addRoundedRect(r.rect(), r.radii().topLeft(), r.radii().topRight(), r.radii().bottomLeft(), r.radi… in addRoundedRect() 391 void Path::addRoundedRect(const FloatRect& rect, const FloatSize& roundingRadii) in addRoundedRect() argument 393 if (rect.isEmpty()) in addRoundedRect() 397 FloatSize halfSize(rect.width() / 2, rect.height() / 2); in addRoundedRect() 416 addPathForRoundedRect(rect, radius, radius, radius, radius); in addRoundedRect() 419 void Path::addRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, const FloatSize& t… in addRoundedRect() argument [all …]
|
/external/lldb/www/cpp_reference/html/ |
D | SBDefines_8h__dep__incl.map | 2 <area shape="rect" id="node3" href="$LLDB_8h.html" title="LLDB.h" alt="" coords="2029,547,2093,575"… 3 <area shape="rect" id="node5" href="$SBAddress_8h.html" title="SBAddress.h" alt="" coords="285,83,3… 4 <area shape="rect" id="node8" href="$SBFunction_8h.html" title="SBFunction.h" alt="" coords="284,16… 5 <area shape="rect" id="node11" href="$SBSymbolContext_8h.html" title="SBSymbolContext.h" alt="" coo… 6 <area shape="rect" id="node14" href="$SBModule_8h.html" title="SBModule.h" alt="" coords="357,393,4… 7 <area shape="rect" id="node19" href="$SBSymbolContextList_8h.html" title="SBSymbolContextList.h" al… 8 <area shape="rect" id="node21" href="$SBTarget_8h.html" title="SBTarget.h" alt="" coords="1373,393,… 9 <area shape="rect" id="node24" href="$SBBlock_8h.html" title="SBBlock.h" alt="" coords="863,470,945… 10 <area shape="rect" id="node28" href="$SBProcess_8h.html" title="SBProcess.h" alt="" coords="1773,47… 11 <area shape="rect" id="node31" href="$SBSymbol_8h.html" title="SBSymbol.h" alt="" coords="499,470,5… [all …]
|
D | LLDB_8h__incl.map | 2 <area shape="rect" id="node3" href="$SBDefines_8h.html" title="lldb/API/SBDefines.h" alt="" coords=… 3 <area shape="rect" id="node15" href="$SBAddress_8h.html" title="lldb/API/SBAddress.h" alt="" coords… 4 <area shape="rect" id="node18" href="$SBModule_8h.html" title="lldb/API/SBModule.h" alt="" coords="… 5 <area shape="rect" id="node21" href="$SBError_8h.html" title="lldb/API/SBError.h" alt="" coords="93… 6 <area shape="rect" id="node27" href="$SBData_8h.html" title="lldb/API/SBData.h" alt="" coords="704,… 7 <area shape="rect" id="node30" href="$SBSymbolContext_8h.html" title="lldb/API/SBSymbolContext.h" a… 8 <area shape="rect" id="node33" href="$SBBlock_8h.html" title="lldb/API/SBBlock.h" alt="" coords="97… 9 <area shape="rect" id="node36" href="$SBFrame_8h.html" title="lldb/API/SBFrame.h" alt="" coords="33… 10 <area shape="rect" id="node39" href="$SBValueList_8h.html" title="lldb/API/SBValueList.h" alt="" co… 11 <area shape="rect" id="node42" href="$SBTarget_8h.html" title="lldb/API/SBTarget.h" alt="" coords="… [all …]
|
/external/chromium_org/cc/base/ |
D | region.cc | 20 Region::Region(const gfx::Rect& rect) in Region() argument 21 : skregion_(gfx::RectToSkIRect(rect)) { in Region() 27 const Region& Region::operator=(const gfx::Rect& rect) { in operator =() argument 28 skregion_ = SkRegion(gfx::RectToSkIRect(rect)); in operator =() 57 bool Region::Contains(const gfx::Rect& rect) const { in Contains() 58 if (rect.IsEmpty()) in Contains() 60 return skregion_.contains(gfx::RectToSkIRect(rect)); in Contains() 69 bool Region::Intersects(const gfx::Rect& rect) const { in Intersects() 70 return skregion_.intersects(gfx::RectToSkIRect(rect)); in Intersects() 77 void Region::Subtract(const gfx::Rect& rect) { in Subtract() argument [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebScrollbarThemePainter.cpp | 44 void WebScrollbarThemePainter::paintScrollbarBackground(WebCanvas* canvas, const WebRect& rect) in paintScrollbarBackground() argument 46 SkRect clip = SkRect::MakeXYWH(rect.x, rect.y, rect.width, rect.height); in paintScrollbarBackground() 54 void WebScrollbarThemePainter::paintTrackBackground(WebCanvas* canvas, const WebRect& rect) in paintTrackBackground() argument 58 m_theme->paintTrackBackground(&context, m_scrollbar, IntRect(rect)); in paintTrackBackground() 61 void WebScrollbarThemePainter::paintBackTrackPart(WebCanvas* canvas, const WebRect& rect) in paintBackTrackPart() argument 65 m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), BackTrackPart); in paintBackTrackPart() 68 void WebScrollbarThemePainter::paintForwardTrackPart(WebCanvas* canvas, const WebRect& rect) in paintForwardTrackPart() argument 72 m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), ForwardTrackPart); in paintForwardTrackPart() 75 void WebScrollbarThemePainter::paintBackButtonStart(WebCanvas* canvas, const WebRect& rect) in paintBackButtonStart() argument 79 m_theme->paintButton(&context, m_scrollbar, IntRect(rect), BackButtonStartPart); in paintBackButtonStart() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderMediaControls.cpp | 63 static bool paintMediaButton(GraphicsContext* context, const IntRect& rect, Image* image) in paintMediaButton() argument 65 context->drawImage(image, rect); in paintMediaButton() 69 …ic bool paintMediaMuteButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaMuteButton() argument 82 return paintMediaButton(paintInfo.context, rect, soundDisabled); in paintMediaMuteButton() 85 return paintMediaButton(paintInfo.context, rect, soundLevel0); in paintMediaMuteButton() 88 return paintMediaButton(paintInfo.context, rect, soundLevel1); in paintMediaMuteButton() 91 return paintMediaButton(paintInfo.context, rect, soundLevel2); in paintMediaMuteButton() 93 return paintMediaButton(paintInfo.context, rect, soundLevel3); in paintMediaMuteButton() 96 …ic bool paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) in paintMediaPlayButton() argument 107 return paintMediaButton(paintInfo.context, rect, mediaPlayDisabled); in paintMediaPlayButton() [all …]
|
/external/skia/tests/ |
D | RoundRectTest.cpp | 45 REPORTER_ASSERT(reporter, empty.rect().isEmpty()); in test_round_rect_basic() 52 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_basic() local 55 rr1.setRect(rect); in test_round_rect_basic() 58 REPORTER_ASSERT(reporter, rr1.rect() == rect); in test_round_rect_basic() 65 rr1_2.setRectRadii(rect, rr1_2_radii); in test_round_rect_basic() 68 rr1_3.setNinePatch(rect, 0, 0, 0, 0); in test_round_rect_basic() 74 rr2.setOval(rect); in test_round_rect_basic() 77 REPORTER_ASSERT(reporter, rr2.rect() == rect); in test_round_rect_basic() 86 rr2_2.setRectRadii(rect, rr2_2_radii); in test_round_rect_basic() 89 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic() [all …]
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
D | gesture_common.js | 32 var rect = getBoundingRect(el); 33 if (rect.top < 0) { 34 rect.height += rect.top; 35 rect.top = 0; 37 if (rect.left < 0) { 38 rect.width += rect.left; 39 rect.left = 0; 42 var outsideHeight = (rect.top + rect.height) - window.innerHeight; 43 var outsideWidth = (rect.left + rect.width) - window.innerWidth; 46 rect.height -= outsideHeight; [all …]
|
/external/skia/samplecode/ |
D | SampleClock.cpp | 52 SkRect rect; in onDrawContent() local 54 rect = SkRect::MakeLTRB(200-4, -4, 240+4, 4); in onDrawContent() 57 rrect.setRectRadii(rect, radii); in onDrawContent() 78 rect = SkRect::MakeLTRB(231.5f, -2.5f, 242.5, 2.5f); in onDrawContent() 83 rrect.setRectRadii(rect, radii); in onDrawContent() 118 rect = SkRect::MakeLTRB(-20-7, -7, 80+7, 7); in onDrawContent() 123 rrect.setRectRadii(rect, radii); in onDrawContent() 139 rect = SkRect::MakeLTRB(-56-5, -5, 224+5, 5); in onDrawContent() 144 rrect.setRectRadii(rect, radii); in onDrawContent() 161 rect = SkRect::MakeLTRB(-60-3, -3, 166+3, 3); in onDrawContent() [all …]
|
/external/chromium_org/third_party/skia/samplecode/ |
D | SampleClock.cpp | 52 SkRect rect; in onDrawContent() local 54 rect = SkRect::MakeLTRB(200-4, -4, 240+4, 4); in onDrawContent() 57 rrect.setRectRadii(rect, radii); in onDrawContent() 78 rect = SkRect::MakeLTRB(231.5f, -2.5f, 242.5, 2.5f); in onDrawContent() 83 rrect.setRectRadii(rect, radii); in onDrawContent() 118 rect = SkRect::MakeLTRB(-20-7, -7, 80+7, 7); in onDrawContent() 123 rrect.setRectRadii(rect, radii); in onDrawContent() 139 rect = SkRect::MakeLTRB(-56-5, -5, 224+5, 5); in onDrawContent() 144 rrect.setRectRadii(rect, radii); in onDrawContent() 161 rect = SkRect::MakeLTRB(-60-3, -3, 166+3, 3); in onDrawContent() [all …]
|
/external/chromium_org/remoting/codec/ |
D | video_decoder_vpx.cc | 32 const webrtc::DesktopRect& rect, in FillRect() argument 34 uint32* ptr = reinterpret_cast<uint32*>(buffer + (rect.top() * stride) + in FillRect() 35 (rect.left() * VideoDecoder::kBytesPerPixel)); in FillRect() 36 int width = rect.width(); in FillRect() 37 for (int height = rect.height(); height > 0; --height) { in FillRect() 155 updated_region_.AddRect(ScaleRect(i.rect(), view_size, screen_size_)); in Invalidate() 189 webrtc::DesktopRect rect = i.rect(); in RenderFrame() local 190 rect.IntersectWith(source_clip); in RenderFrame() 191 rect.IntersectWith(clip_area); in RenderFrame() 192 if (rect.is_empty()) in RenderFrame() [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | RenderGeometryMapTest.cpp | 117 FloatRect rect; in rectFromQuad() local 118 …rect.setX(std::min(quad.p1().x(), std::min(quad.p2().x(), std::min(quad.p3().x(), quad.p4().x())))… in rectFromQuad() 119 …rect.setY(std::min(quad.p1().y(), std::min(quad.p2().y(), std::min(quad.p3().y(), quad.p4().y())))… in rectFromQuad() 121 …rect.setWidth(std::max(quad.p1().x(), std::max(quad.p2().x(), std::max(quad.p3().x(), quad.p4().x(… in rectFromQuad() 122 …rect.setHeight(std::max(quad.p1().y(), std::max(quad.p2().y(), std::max(quad.p3().y(), quad.p4().y… in rectFromQuad() 123 return rect; in rectFromQuad() 149 FloatRect rect(0.0f, 0.0f, 1.0f, 2.0f); in TEST_F() local 151 EXPECT_EQ(FloatQuad(FloatRect(8.0f, 8.0f, 1.0f, 2.0f)), rgm.mapToContainer(rect, nullptr)); in TEST_F() 155 EXPECT_EQ(FloatQuad(FloatRect(0.0f, 0.0f, 1.0f, 2.0f)), rgm.mapToContainer(rect, nullptr)); in TEST_F() 159 …EXPECT_EQ(FloatQuad(FloatRect(21.0f, 6.0f, 1.0f, 2.0f)), rgm.mapToContainer(rect, getRenderBox(web… in TEST_F() [all …]
|
/external/chromium_org/third_party/skia/tests/ |
D | RoundRectTest.cpp | 45 REPORTER_ASSERT(reporter, empty.rect().isEmpty()); in test_round_rect_basic() 52 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); in test_round_rect_basic() local 55 rr1.setRect(rect); in test_round_rect_basic() 58 REPORTER_ASSERT(reporter, rr1.rect() == rect); in test_round_rect_basic() 65 rr1_2.setRectRadii(rect, rr1_2_radii); in test_round_rect_basic() 68 rr1_3.setNinePatch(rect, 0, 0, 0, 0); in test_round_rect_basic() 74 rr2.setOval(rect); in test_round_rect_basic() 77 REPORTER_ASSERT(reporter, rr2.rect() == rect); in test_round_rect_basic() 86 rr2_2.setRectRadii(rect, rr2_2_radii); in test_round_rect_basic() 89 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/ |
D | SDL_QWin.cc | 131 const QRect& rect ) in gs_fastRotateBlit_3() argument 137 startx = rect.left() >> 1; in gs_fastRotateBlit_3() 138 starty = rect.top() >> 1; in gs_fastRotateBlit_3() 139 width = ((rect.right() - rect.left()) >> 1) + 2; in gs_fastRotateBlit_3() 140 height = ((rect.bottom() - rect.top()) >> 1) + 2; in gs_fastRotateBlit_3() 188 const QRect& rect ) { in gs_fastRotateBlit_1() argument 193 startx = rect.left() >> 1; in gs_fastRotateBlit_1() 194 starty = rect.top() >> 1; in gs_fastRotateBlit_1() 195 width = ((rect.right() - rect.left()) >> 1) + 2; in gs_fastRotateBlit_1() 196 height = ((rect.bottom() - rect.top()) >> 1) + 2; in gs_fastRotateBlit_1() [all …]
|
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
D | struct_unittest.cc | 15 RectPtr rect(Rect::New()); in MakeRect() local 16 rect->x = 1 * factor; in MakeRect() 17 rect->y = 2 * factor; in MakeRect() 18 rect->width = 10 * factor; in MakeRect() 19 rect->height = 20 * factor; in MakeRect() 20 return rect.Pass(); in MakeRect() 23 void CheckRect(const Rect& rect, int32_t factor = 1) { in CheckRect() argument 24 EXPECT_EQ(1 * factor, rect.x); in CheckRect() 25 EXPECT_EQ(2 * factor, rect.y); in CheckRect() 26 EXPECT_EQ(10 * factor, rect.width); in CheckRect() [all …]
|
/external/chromium_org/tools/site_compare/drivers/win32/ |
D | windowing.py | 99 def ScrapeWindow(hwnd, rect=None): argument 114 if not rect: rect = win32gui.GetClientRect(hwnd) 116 upper_left = win32gui.ClientToScreen(hwnd, (rect[0], rect[1])) 117 lower_right = win32gui.ClientToScreen(hwnd, (rect[2], rect[3])) 118 rect = upper_left+lower_right 120 return PIL.ImageGrab.grab(rect) 218 def WaitForThrobber(hwnd, rect=None, timeout=20, tick=0.1, done=10): argument 231 if not rect: rect = win32gui.GetClientRect(hwnd) 235 last_throbber = ScrapeWindow(hwnd, rect) 243 current_throbber = ScrapeWindow(hwnd, rect) [all …]
|
/external/opencv/cv/src/ |
D | mycvHaarDetectObjects.cpp | 61 rect[CV_HAAR_FEATURE_MAX]; member 218 if( classifier->haar_feature[l].rect[k].r.width ) in myicvCreateHidHaarClassifierCascade() 220 CvRect r = classifier->haar_feature[l].rect[k].r; in myicvCreateHidHaarClassifierCascade() 304 if( fabs(feature->rect[2].weight) < DBL_EPSILON || in myicvCreateHidHaarClassifierCascade() 305 feature->rect[2].r.width == 0 || in myicvCreateHidHaarClassifierCascade() 306 feature->rect[2].r.height == 0 ) in myicvCreateHidHaarClassifierCascade() 307 memset( &(node->feature.rect[2]), 0, sizeof(node->feature.rect[2]) ); in myicvCreateHidHaarClassifierCascade() 398 #define calc_sum(rect,offset) \ argument 399 ((rect).p0[offset] - (rect).p1[offset] - (rect).p2[offset] + (rect).p3[offset]) 413 double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; in myicvEvalHidHaarClassifier() [all …]
|
/external/opencv/cvaux/src/ |
D | camshift.cpp | 162 if( m_comp.rect.width == 0 || m_comp.rect.height == 0 || in update_histogram() 173 cvSetImageROI( m_color_planes[i], m_comp.rect ); in update_histogram() 174 cvSetImageROI( m_mask, m_comp.rect ); in update_histogram() 180 cvSetImageROI( m_color_planes[i], m_comp.rect ); in update_histogram() 204 CvRect rect; in track_object() local 213 if( m_comp.rect.width == 0 || m_comp.rect.height == 0 || in track_object() 224 rect = m_comp.rect; in track_object() 226 if( rect.x < 0 ) in track_object() 227 rect.x = 0; in track_object() 228 if( rect.x + rect.width > bp_size.width ) in track_object() [all …]
|