Home
last modified time | relevance | path

Searched refs:max_y (Results 1 – 25 of 46) sorted by relevance

12

/external/chromium_org/ui/gfx/geometry/
Drect_conversions.cc19 float max_y = rect.bottom(); in ToEnclosingRect() local
21 int height = rect.height() == 0 ? 0 : std::max(ToCeiledInt(max_y) - min_y, 0); in ToEnclosingRect()
29 float max_y = rect.bottom(); in ToEnclosedRect() local
31 int height = std::max(ToFlooredInt(max_y) - min_y, 0); in ToEnclosedRect()
44 int max_y = ToRoundedInt(float_max_y); in ToNearestRect() local
51 DCHECK(std::abs(max_y - float_max_y) < 0.01f); in ToNearestRect()
53 return Rect(min_x, min_y, max_x - min_x, max_y - min_y); in ToNearestRect()
65 int max_y = ToRoundedInt(float_max_y); in IsNearestRectWithinDistance() local
71 (std::abs(max_y - float_max_y) < distance); in IsNearestRectWithinDistance()
Dbox_f.cc37 float max_y = std::max(bottom(), max.y()); in ExpandTo() local
42 height_ = max_y - min_y; in ExpandTo()
/external/chromium_org/ui/views/controls/
Dslider_unittest.cc140 int max_y() { in max_y() function in views::SliderTest
273 ClickAt(0, max_y()); in TEST_F()
296 event_generator()->GestureTapAt(gfx::Point(max_x(), max_y())); in TEST_F()
301 event_generator()->GestureTapAt(gfx::Point(0.75 * max_x(), 0.75 * max_y())); in TEST_F()
310 gfx::Point(0.5 * max_x(), 0.5 * max_y()), in TEST_F()
319 gfx::Point(0.5 * max_x(), 0.5 * max_y()), in TEST_F()
320 gfx::Point(max_x(), max_y()), in TEST_F()
328 gfx::Point(0.25 * max_x(), 0.25 * max_y()), in TEST_F()
329 gfx::Point(0.75 * max_x(), 0.75 * max_y()), in TEST_F()
353 gfx::Point(0.25 * max_x(), 0.25 * max_y()), in TEST_F()
[all …]
Dscroll_view.cc469 const int max_y = std::min(contents_max_y, in ScrollContentsRegionToBeVisible() local
476 if (vis_rect.Contains(gfx::Rect(x, y, max_x - x, max_y - y))) in ScrollContentsRegionToBeVisible()
489 (vis_rect.y() > y) ? y : std::max(0, max_y - in ScrollContentsRegionToBeVisible()
/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
272 max_y = bounds[1] + bounds[3]; 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()
310 VGfloat max_y = polyarray->max_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
/external/mesa3d/src/gallium/state_trackers/vega/
Dpolygon.c265 VGfloat min_x, min_y, max_x, max_y; in polygon_fill() local
272 max_y = bounds[1] + bounds[3]; 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()
310 VGfloat max_y = polyarray->max_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
/external/chromium_org/third_party/libyuv/source/
Dscale_argb.cc249 const int max_y = (src_height - 1) << 16; in ScaleARGBBilinearDown() local
250 if (y > max_y) { in ScaleARGBBilinearDown()
251 y = max_y; in ScaleARGBBilinearDown()
265 if (y > max_y) { in ScaleARGBBilinearDown()
266 y = max_y; in ScaleARGBBilinearDown()
287 const int max_y = (src_height - 1) << 16; in ScaleARGBBilinearUp() local
357 if (y > max_y) { in ScaleARGBBilinearUp()
358 y = max_y; in ScaleARGBBilinearUp()
383 if (y > max_y) { in ScaleARGBBilinearUp()
384 y = max_y; in ScaleARGBBilinearUp()
[all …]
Dscale.cc727 const int max_y = (src_height << 16); in ScalePlaneBox() local
740 if (y > max_y) { in ScalePlaneBox()
741 y = max_y; in ScalePlaneBox()
799 const int max_y = (src_height << 16); in ScalePlaneBox_16() local
812 if (y > max_y) { in ScalePlaneBox_16()
813 y = max_y; in ScalePlaneBox_16()
876 const int max_y = (src_height - 1) << 16; in ScalePlaneBilinearDown() local
941 if (y > max_y) { in ScalePlaneBilinearDown()
942 y = max_y; in ScalePlaneBilinearDown()
957 if (y > max_y) { in ScalePlaneBilinearDown()
[all …]
Dscale_common.cc880 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScalePlaneVertical() local
940 if (y > max_y) { in ScalePlaneVertical()
941 y = max_y; in ScalePlaneVertical()
962 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScalePlaneVertical_16() local
1022 if (y > max_y) { in ScalePlaneVertical_16()
1023 y = max_y; in ScalePlaneVertical_16()
/external/chromium_org/chrome/browser/ui/views/
Ddropdown_bar_host.cc237 int max_x = 0, max_y = 0; in UpdateWindowEdges() local
240 max_y = std::max(max_y, static_cast<int>(polygon[i].y)); in UpdateWindowEdges()
262 SkIntToScalar(max_x), SkIntToScalar(max_y) }; in UpdateWindowEdges()
311 exclude[2].y = max_y; in UpdateWindowEdges()
314 exclude[3].y = max_y; in UpdateWindowEdges()
/external/pdfium/core/src/fxge/agg/agg23/
Dagg_rasterizer_scanline_aa.h90 int max_y() const in max_y() function
210 int max_y() const in max_y() function
212 return m_outline.max_y(); in max_y()
318 y > m_outline.max_y()) { in navigate_scanline()
327 if(m_cur_y > m_outline.max_y()) { in sweep_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])
180 db['max_y'] = max_y
/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
426 if (max_y < char_rect.top) { in CalcPositionData()
427 max_y = (FX_FLOAT)char_rect.top; in CalcPositionData()
432 if (max_y < char_rect.bottom) { in CalcPositionData()
433 max_y = (FX_FLOAT)char_rect.bottom; in CalcPositionData()
475 if (max_y < char_top) { in CalcPositionData()
476 max_y = char_top; in CalcPositionData()
481 if (max_y < char_bottom) { in CalcPositionData()
482 max_y = char_bottom; in CalcPositionData()
509 max_y = max_y * fontsize / 1000; in CalcPositionData()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/
DSDL_xbios_milan.h122 unsigned long max_y; /* max. possible heigth */ member
/external/pixman/demos/
Dscale.c81 double min_x, max_x, min_y, max_y; in compute_extents() local
98 max_y = max4 (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.cc351 int max_y = 0; in GatherPixelRefs() local
379 max_y = std::max(max_y, max.y()); in GatherPixelRefs()
383 max_pixel_cell_ = gfx::Point(max_x, max_y); in GatherPixelRefs()
/external/chromium_org/ui/gfx/android/
Dscroller.h57 float max_y,
/external/chromium_org/ash/magnifier/
Dmagnification_controller.cc240 float max_y = host_size_in_dip.height() - window_size_in_dip.height(); in RedrawDIP() local
243 if (y > max_y) in RedrawDIP()
244 y = max_y; in RedrawDIP()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common.c113 int min_x, min_y, max_x, max_y; in radeonUpdateScissor() local
119 max_y = ctx->DrawBuffer->Height - 1; 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
119 max_y = ctx->DrawBuffer->Height - 1; 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
119 max_y = ctx->DrawBuffer->Height - 1; 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
119 max_y = ctx->DrawBuffer->Height - 1; 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/ui/views/controls/tree/
Dtree_view.cc595 int min_y, max_y; in OnPaint() local
603 max_y = clip_rect.bottom(); in OnPaint()
607 max_y = vis_bounds.bottom(); in OnPaint()
612 int max_row = (max_y - kVerticalInset) / row_height_; in OnPaint()
613 if ((max_y - kVerticalInset) % row_height_ != 0) in OnPaint()

12