Searched refs:max_y (Results 1 - 25 of 41) sorted by relevance

12

/external/chromium_org/ui/gfx/
H A Drect_conversions.cc19 float max_y = rect.bottom(); local
21 int height = rect.height() == 0 ? 0 : std::max(ToCeiledInt(max_y) - min_y, 0);
29 float max_y = rect.bottom(); local
31 int height = std::max(ToFlooredInt(max_y) - min_y, 0);
44 int max_y = ToRoundedInt(float_max_y); local
51 DCHECK(std::abs(max_y - float_max_y) < 0.01f);
53 return Rect(min_x, min_y, max_x - min_x, max_y - min_y);
65 int max_y = ToRoundedInt(float_max_y);
71 (std::abs(max_y - float_max_y) < distance);
H A Dbox_f.cc37 float max_y = std::max(bottom(), max.y()); local
42 height_ = max_y - min_y;
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/
H A DSDL_xbios_milan.h122 unsigned long max_y; /* max. possible heigth */ member in struct:screeninfo
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dpolygon.c265 VGfloat min_x, min_y, max_x, max_y; local
272 max_y = bounds[1] + bounds[3];
276 min_x, min_y, max_x, max_y);
300 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y);
310 VGfloat max_y = polyarray->max_y; local
319 min_x, min_y, max_x, max_y);
349 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y);
H A Dpolygon.h70 VGfloat min_y, max_y; member in struct:polygon_array
H A Drenderer.h136 VGfloat max_x, VGfloat max_y);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dpolygon.c265 VGfloat min_x, min_y, max_x, max_y; local
272 max_y = bounds[1] + bounds[3];
276 min_x, min_y, max_x, max_y);
300 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y);
310 VGfloat max_y = polyarray->max_y; local
319 min_x, min_y, max_x, max_y);
349 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y);
H A Dpolygon.h70 VGfloat min_y, max_y; member in struct:polygon_array
H A Drenderer.h136 VGfloat max_x, VGfloat max_y);
/external/chromium/chrome/browser/ui/views/
H A Ddropdown_bar_host.cc220 int max_x = 0, max_y = 0; local
223 max_y = std::max(max_y, static_cast<int>(polygon[i].y));
245 SkIntToScalar(max_x), SkIntToScalar(max_y) };
294 exclude[2].y = max_y;
297 exclude[3].y = max_y;
/external/chromium_org/chrome/browser/ui/views/
H A Ddropdown_bar_host.cc254 int max_x = 0, max_y = 0; local
257 max_y = std::max(max_y, static_cast<int>(polygon[i].y));
279 SkIntToScalar(max_x), SkIntToScalar(max_y) };
328 exclude[2].y = max_y;
331 exclude[3].y = max_y;
/external/blktrace/btt/
H A Dbtt_plot.py94 'min_y', 'max_y' - Minimum and maximum Y values found
153 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
272 ydelta = 0.1 * (db['max_y'] - db['min_y'])
275 ax.set_ylim(db['min_y'] - ydelta, db['max_y'] + ydelta)
333 if not file in ['min_x', 'max_x', 'min_y', 'max_y']:
/external/chromium_org/ash/wm/workspace/
H A Dsnap_sizer.cc233 int max_y = work_area.bottom(); local
245 return gfx::Rect(x, y, mid_x - x, max_y - y);
249 return gfx::Rect(x , y, max_x - x, max_y - y);
/external/chromium/chrome/browser/notifications/
H A Ddesktop_notifications_unittest.cc363 int max_y = min_y + (*iter)->GetViewSize().height() - 1; local
366 EXPECT_TRUE(box.Contains(gfx::Point(min_x, max_y)));
368 EXPECT_TRUE(box.Contains(gfx::Point(max_x, max_y)));
/external/pixman/demos/
H A Dscale.c81 double min_x, max_x, min_y, max_y; local
98 max_y = max4 (v[0].v[1], v[1].v[1], v[2].v[1], v[3].v[1]);
101 *sy = (max_y - min_y) / 2.0;
/external/chromium_org/cc/resources/
H A Dpicture.cc264 int max_y = 0; local
292 max_y = std::max(max_y, max.y());
296 max_pixel_cell_ = gfx::Point(max_x, max_y);
/external/chromium/chrome/browser/ui/
H A Dwindow_sizer.cc332 const int max_y = work_area.bottom() - kMinVisibleHeight; local
334 bounds->set_y(std::max(min_y, std::min(max_y, bounds->y())));
/external/chromium_org/ui/views/controls/tree/
H A Dtree_view.cc595 int min_y, max_y; local
603 max_y = clip_rect.bottom();
607 max_y = vis_bounds.bottom();
612 int max_row = (max_y - kVerticalInset) / row_height_;
613 if ((max_y - kVerticalInset) % row_height_ != 0)
/external/chromium/chrome/browser/ui/gtk/tabs/
H A Ddragged_tab_controller_gtk.cc532 int max_y = tabstrip_bounds.bottom() - tab_size.height(); local
535 if (y > max_y && screen_point.y() <=
537 y = max_y;
/external/chromium_org/ash/magnifier/
H A Dmagnification_controller.cc239 float max_y = host_size_in_dip.height() - window_size_in_dip.height(); local
242 if (y > max_y)
243 y = max_y;
/external/chromium_org/chrome/browser/notifications/
H A Ddesktop_notifications_unittest.cc492 int max_y = min_y + (*iter)->GetViewSize().height() - 1; local
495 EXPECT_TRUE(box.Contains(gfx::Point(min_x, max_y)));
497 EXPECT_TRUE(box.Contains(gfx::Point(max_x, max_y)));
/external/chromium_org/ui/views/controls/
H A Dscroll_view.cc435 const int max_y = std::min(contents_max_y, local
439 // and the height is (max_y - y) to take into account the clipping of
442 if (vis_rect.Contains(gfx::Rect(x, y, max_x - x, max_y - y)))
450 // lower/right corner. This is calculated by taking max_x or max_y
455 (vis_rect.y() > y) ? y : std::max(0, max_y -
/external/chromium_org/chrome/browser/ui/window_sizer/
H A Dwindow_sizer.cc407 const int max_y = work_area.bottom() - kMinVisibleHeight; local
409 bounds->set_y(std::max(min_y, std::min(max_y, bounds->y())));
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dradeon_common.c113 int min_x, min_y, max_x, max_y; local
119 max_y = ctx->DrawBuffer->Height - 1;
135 rmesa->state.scissor.rect.y1 = CLAMP(y1, min_y, max_y);
137 rmesa->state.scissor.rect.y2 = CLAMP(y2, min_y, max_y);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_common.c113 int min_x, min_y, max_x, max_y; local
119 max_y = ctx->DrawBuffer->Height - 1;
135 rmesa->state.scissor.rect.y1 = CLAMP(y1, min_y, max_y);
137 rmesa->state.scissor.rect.y2 = CLAMP(y2, min_y, max_y);

Completed in 441 milliseconds

12