Home
last modified time | relevance | path

Searched refs:min_y (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/ui/gfx/geometry/
Drect_conversions.cc17 int min_y = ToFlooredInt(rect.y()); in ToEnclosingRect() local
21 int height = rect.height() == 0 ? 0 : std::max(ToCeiledInt(max_y) - min_y, 0); in ToEnclosingRect()
22 return Rect(min_x, min_y, width, height); in ToEnclosingRect()
27 int min_y = ToCeiledInt(rect.y()); in ToEnclosedRect() local
31 int height = std::max(ToFlooredInt(max_y) - min_y, 0); in ToEnclosedRect()
32 return Rect(min_x, min_y, width, height); in ToEnclosedRect()
42 int min_y = ToRoundedInt(float_min_y); in ToNearestRect() local
49 DCHECK(std::abs(min_y - float_min_y) < 0.01f); in ToNearestRect()
53 return Rect(min_x, min_y, max_x - min_x, max_y - min_y); in ToNearestRect()
63 int min_y = ToRoundedInt(float_min_y); in IsNearestRectWithinDistance() local
[all …]
Dbox_f.cc34 float min_y = std::min(y(), min.y()); in ExpandTo() local
40 origin_.SetPoint(min_x, min_y, min_z); in ExpandTo()
42 height_ = max_y - min_y; in ExpandTo()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
Dpolygon.c265 VGfloat min_x, min_y, max_x, max_y; in polygon_fill() local
270 min_y = bounds[1]; in polygon_fill()
276 min_x, min_y, max_x, max_y); in polygon_fill()
300 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y); in polygon_fill()
308 VGfloat min_y = polyarray->min_y; in polygon_array_fill() local
319 min_x, min_y, max_x, max_y); in polygon_array_fill()
349 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y); in polygon_array_fill()
Dpolygon.h70 VGfloat min_y, max_y; member
Drenderer.h135 VGfloat min_x, VGfloat min_y,
/external/mesa3d/src/gallium/state_trackers/vega/
Dpolygon.c265 VGfloat min_x, min_y, max_x, max_y; in polygon_fill() local
270 min_y = bounds[1]; in polygon_fill()
276 min_x, min_y, max_x, max_y); in polygon_fill()
300 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y); in polygon_fill()
308 VGfloat min_y = polyarray->min_y; in polygon_array_fill() local
319 min_x, min_y, max_x, max_y); in polygon_array_fill()
349 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y); in polygon_array_fill()
Dpolygon.h70 VGfloat min_y, max_y; member
Drenderer.h135 VGfloat min_x, VGfloat min_y,
/external/pdfium/core/src/fxge/agg/agg23/
Dagg_rasterizer_scanline_aa.h82 int min_y() const in min_y() function
202 int min_y() const in min_y() function
204 return m_outline.min_y(); in min_y()
309 m_cur_y = m_outline.min_y(); in rewind_scanlines()
317 y < m_outline.min_y() || in navigate_scanline()
/external/blktrace/btt/
Dbtt_plot.py153 min_x = max_x = min_y = max_y = None
167 (min_y, max_y, y) = check(min_y, max_y, f[1])
179 db['min_y'] = min_y
/external/chromium_org/third_party/libyuv/util/
Dpsnr_main.cc38 double min_y, min_u, min_v, min_all; member
258 if (distorted_frame->y < cur_distortion_psnr->min_y) in UpdateMetrics()
259 cur_distortion_psnr->min_y = distorted_frame->y; in UpdateMetrics()
352 cur_distortion_psnr->min_y = kMaxPSNR; in main()
510 cur_distortion_psnr->min_y, in main()
518 cur_distortion_ssim->min_y, in main()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp402 … FX_FLOAT min_x = 10000 * 1.0f, max_x = -10000 * 1.0f, min_y = 10000 * 1.0f, max_y = -10000 * 1.0f; in CalcPositionData() local
423 if (min_y > char_rect.top) { in CalcPositionData()
424 min_y = (FX_FLOAT)char_rect.top; in CalcPositionData()
429 if (min_y > char_rect.bottom) { in CalcPositionData()
430 min_y = (FX_FLOAT)char_rect.bottom; in CalcPositionData()
472 if (min_y > char_top) { in CalcPositionData()
473 min_y = char_top; in CalcPositionData()
478 if (min_y > char_bottom) { in CalcPositionData()
479 min_y = char_bottom; in CalcPositionData()
508 min_y = min_y * fontsize / 1000; in CalcPositionData()
[all …]
/external/pixman/demos/
Dscale.c81 double min_x, max_x, min_y, max_y; in compute_extents() local
97 min_y = min4 (v[0].v[1], v[1].v[1], v[2].v[1], v[3].v[1]); in compute_extents()
101 *sy = (max_y - min_y) / 2.0; in compute_extents()
/external/chromium_org/cc/resources/
Dpicture.cc349 int min_y = std::numeric_limits<int>::max(); in GatherPixelRefs() local
377 min_y = std::min(min_y, min.y()); in GatherPixelRefs()
382 min_pixel_cell_ = gfx::Point(min_x, min_y); in GatherPixelRefs()
/external/chromium_org/ui/gfx/android/
Dscroller.h56 float min_y,
Dscroller.cc228 float min_y, in Fling() argument
263 min_y_ = min_y; in Fling()
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller_unittest.mm227 const CGFloat min_y = NSMinY([tab_strip_.get() frame]) + 1;
231 cocoa_test_event_utils::MouseEventAtPoint(NSMakePoint(280, min_y),
242 event = cocoa_test_event_utils::MouseEventAtPoint(NSMakePoint(260, min_y),
252 event = cocoa_test_event_utils::MouseEventAtPoint(NSMakePoint(290, min_y),
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common.c113 int min_x, min_y, max_x, max_y; in radeonUpdateScissor() local
117 min_x = min_y = 0; in radeonUpdateScissor()
135 rmesa->state.scissor.rect.y1 = CLAMP(y1, min_y, max_y); in radeonUpdateScissor()
137 rmesa->state.scissor.rect.y2 = CLAMP(y2, min_y, max_y); in radeonUpdateScissor()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
Dradeon_common.c113 int min_x, min_y, max_x, max_y; in radeonUpdateScissor() local
117 min_x = min_y = 0; in radeonUpdateScissor()
135 rmesa->state.scissor.rect.y1 = CLAMP(y1, min_y, max_y); in radeonUpdateScissor()
137 rmesa->state.scissor.rect.y2 = CLAMP(y2, min_y, max_y); in radeonUpdateScissor()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
Dradeon_common.c113 int min_x, min_y, max_x, max_y; in radeonUpdateScissor() local
117 min_x = min_y = 0; in radeonUpdateScissor()
135 rmesa->state.scissor.rect.y1 = CLAMP(y1, min_y, max_y); in radeonUpdateScissor()
137 rmesa->state.scissor.rect.y2 = CLAMP(y2, min_y, max_y); in radeonUpdateScissor()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common.c113 int min_x, min_y, max_x, max_y; in radeonUpdateScissor() local
117 min_x = min_y = 0; in radeonUpdateScissor()
135 rmesa->state.scissor.rect.y1 = CLAMP(y1, min_y, max_y); in radeonUpdateScissor()
137 rmesa->state.scissor.rect.y2 = CLAMP(y2, min_y, max_y); in radeonUpdateScissor()
/external/chromium_org/chrome/browser/ui/window_sizer/
Dwindow_sizer.cc392 const int min_y = work_area.y() + kMinVisibleHeight - bounds->height(); in AdjustBoundsToBeVisibleOnDisplay() local
396 bounds->set_y(std::max(min_y, std::min(max_y, bounds->y()))); in AdjustBoundsToBeVisibleOnDisplay()
/external/pdfium/core/src/fxcrt/
Dfx_basic_coords.cpp235 FX_FLOAT min_x = pPoints->x, max_x = pPoints->x, min_y = pPoints->y, max_y = pPoints->y; in GetBBox() local
243 if (min_y > pPoints[i].y) { in GetBBox()
244 min_y = pPoints[i].y; in GetBBox()
250 return CFX_FloatRect(min_x, min_y, max_x, max_y); in GetBBox()
/external/chromium_org/ui/views/controls/tree/
Dtree_view.cc595 int min_y, max_y; in OnPaint() local
602 min_y = clip_rect.y(); in OnPaint()
606 min_y = vis_bounds.y(); in OnPaint()
611 int min_row = std::max(0, (min_y - kVerticalInset) / row_height_); in OnPaint()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp306 FX_FLOAT min_y = triangle[0].y, max_y = triangle[0].y; in _DrawGouraud() local
308 if (min_y > triangle[i].y) { in _DrawGouraud()
309 min_y = triangle[i].y; in _DrawGouraud()
315 if (min_y == max_y) { in _DrawGouraud()
318 int min_yi = (int)FXSYS_floor(min_y), max_yi = (int)FXSYS_ceil(max_y); in _DrawGouraud()

12