Home
last modified time | relevance | path

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

12

/external/chromium_org/ui/gfx/
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/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,
Dpath.c325 VGfloat min_y, max_y; in polygon_array_calculate_bounds() local
333 polyarray->min_y = 0.0f; in polygon_array_calculate_bounds()
341 min_y = bounds[1]; in polygon_array_calculate_bounds()
348 min_y = MIN2(min_y, bounds[1]); in polygon_array_calculate_bounds()
354 polyarray->min_y = min_y; in polygon_array_calculate_bounds()
Drenderer.c1128 VGfloat min_x, VGfloat min_y, in renderer_polygon_fill() argument
1133 renderer_quad_pos(renderer, min_x, min_y, max_x, max_y, VG_TRUE); in renderer_polygon_fill()
/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,
Dpath.c325 VGfloat min_y, max_y; in polygon_array_calculate_bounds() local
333 polyarray->min_y = 0.0f; in polygon_array_calculate_bounds()
341 min_y = bounds[1]; in polygon_array_calculate_bounds()
348 min_y = MIN2(min_y, bounds[1]); in polygon_array_calculate_bounds()
354 polyarray->min_y = min_y; in polygon_array_calculate_bounds()
/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/chrome/browser/notifications/
Ddesktop_notifications_unittest.cc362 int min_y = (*iter)->GetPosition().y(); in TEST_F() local
363 int max_y = min_y + (*iter)->GetViewSize().height() - 1; in TEST_F()
365 EXPECT_TRUE(box.Contains(gfx::Point(min_x, min_y))); in TEST_F()
367 EXPECT_TRUE(box.Contains(gfx::Point(max_x, min_y))); in TEST_F()
/external/chromium_org/cc/resources/
Dpicture.cc262 int min_y = std::numeric_limits<int>::max(); in GatherPixelRefs() local
290 min_y = std::min(min_y, min.y()); in GatherPixelRefs()
295 min_pixel_cell_ = gfx::Point(min_x, min_y); in GatherPixelRefs()
/external/chromium_org/chrome/browser/notifications/
Ddesktop_notifications_unittest.cc491 int min_y = (*iter)->GetPosition().y(); in TEST_F() local
492 int max_y = min_y + (*iter)->GetViewSize().height() - 1; in TEST_F()
494 EXPECT_TRUE(box.Contains(gfx::Point(min_x, min_y))); in TEST_F()
496 EXPECT_TRUE(box.Contains(gfx::Point(max_x, min_y))); in TEST_F()
/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/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller_unittest.mm202 const CGFloat min_y = NSMinY([tab_strip_.get() frame]) + 1;
206 cocoa_test_event_utils::MouseEventAtPoint(NSMakePoint(280, min_y),
217 event = cocoa_test_event_utils::MouseEventAtPoint(NSMakePoint(260, min_y),
227 event = cocoa_test_event_utils::MouseEventAtPoint(NSMakePoint(290, min_y),
/external/chromium/chrome/browser/ui/
Dwindow_sizer.cc330 const int min_y = work_area.y() + kMinVisibleHeight - bounds->height(); in AdjustBoundsToBeVisibleOnMonitorContaining() local
334 bounds->set_y(std::max(min_y, std::min(max_y, bounds->y()))); in AdjustBoundsToBeVisibleOnMonitorContaining()
/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.cc405 const int min_y = work_area.y() + kMinVisibleHeight - bounds->height(); in AdjustBoundsToBeVisibleOnDisplay() local
409 bounds->set_y(std::max(min_y, std::min(max_y, bounds->y()))); in AdjustBoundsToBeVisibleOnDisplay()
/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/kernel-headers/original/video/
Ddsscomp.h218 __u8 min_y; member

12