Searched refs:max_x (Results 1 - 25 of 49) sorted by relevance

12

/external/chromium_org/ui/gfx/
H A Drect_conversions.cc18 float max_x = rect.right(); local
20 int width = rect.width() == 0 ? 0 : std::max(ToCeiledInt(max_x) - min_x, 0);
28 float max_x = rect.right(); local
30 int width = std::max(ToFlooredInt(max_x) - min_x, 0);
43 int max_x = ToRoundedInt(float_max_x); local
50 DCHECK(std::abs(max_x - float_max_x) < 0.01f);
53 return Rect(min_x, min_y, max_x - min_x, max_y - min_y);
64 int max_x = ToRoundedInt(float_max_x);
70 (std::abs(max_x - float_max_x) < distance) &&
H A Dbox_f.cc36 float max_x = std::max(right(), max.x()); local
41 width_ = max_x - min_x;
/external/chromium/chrome/browser/ui/views/
H A Ddropdown_bar_host.cc220 int max_x = 0, max_y = 0; local
222 max_x = std::max(max_x, static_cast<int>(polygon[i].x));
245 SkIntToScalar(max_x), SkIntToScalar(max_y) };
287 exclude[0].x = max_x - difference; // Top left corner.
290 exclude[1].x = max_x; // Top right corner.
293 exclude[2].x = max_x; // Bottom right corner.
296 exclude[3].x = max_x - difference; // Bottom left corner.
/external/chromium_org/chrome/browser/ui/views/
H A Ddropdown_bar_host.cc254 int max_x = 0, max_y = 0; local
256 max_x = std::max(max_x, static_cast<int>(polygon[i].x));
279 SkIntToScalar(max_x), SkIntToScalar(max_y) };
321 exclude[0].x = max_x - difference; // Top left corner.
324 exclude[1].x = max_x; // Top right corner.
327 exclude[2].x = max_x; // Bottom right corner.
330 exclude[3].x = max_x - difference; // Bottom left corner.
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dstacked_tab_strip_layout.cc136 const int max_x = width_ - size_.width(); local
137 if (ideal_x(tab_count() - 1) == max_x)
142 SetIdealBoundsAt(tab_count() - 1, max_x);
364 int max_x = width_ - size_.width() - local
366 int x = std::min(max_x,
392 int max_x = x_ + width_for_count(i - mini_tab_count_); local
394 max_x += padding_;
395 max_x = std::min(max_x, ideal_x(i + 1) - stacked_padding_);
397 i, std::min(max_x,
415 const int max_x = ideal_x(i - 1) + tab_offset(); local
423 const int max_x = ideal_x(i + 1) - stacked_padding_; local
446 const int max_x = ideal_x(active_index()) - local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/
H A DSDL_xbios_milan.h121 unsigned long max_x; /* max. possible width */ member in struct:screeninfo
/external/ceres-solver/internal/ceres/
H A Dpolynomial_test.cc253 double max_x = 1.0; local
254 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
257 EXPECT_LE(optimal_x, max_x);
271 double max_x = 1.0; local
272 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
291 double max_x = 2.0; local
292 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
297 max_x = 1.0;
298 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value);
303 max_x
[all...]
/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
271 max_x = bounds[0] + bounds[2];
276 min_x, min_y, max_x, max_y);
300 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y);
309 VGfloat max_x = polyarray->max_x; 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.h69 VGfloat min_x, max_x; 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
271 max_x = bounds[0] + bounds[2];
276 min_x, min_y, max_x, max_y);
300 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y);
309 VGfloat max_x = polyarray->max_x; 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.h69 VGfloat min_x, max_x; member in struct:polygon_array
H A Drenderer.h136 VGfloat max_x, VGfloat max_y);
/external/skia/bench/
H A Dbench_util.py213 max_x = Min
224 max_x = max(max_x, x)
254 self.max_x = max_x
272 regr_end = self.max_x
/external/blktrace/btt/
H A Dbtt_plot.py93 'min_x', 'max_x' - Minimum and maximum X values found
153 min_x = max_x = min_y = max_y = None
166 (min_x, max_x, x) = check(min_x, max_x, f[0])
178 db['max_x'] = max_x
271 xdelta = 0.1 * (db['max_x'] - db['min_x'])
274 ax.set_xlim(db['min_x'] - xdelta, db['max_x'] + xdelta)
333 if not file in ['min_x', 'max_x', 'min_y', 'max_y']:
/external/chromium_org/ash/wm/workspace/
H A Dsnap_sizer.cc247 int max_x = work_area.right();
248 int x = max_x - width;
249 return gfx::Rect(x , y, max_x - x, max_y - y);
/external/chromium_org/ui/views/controls/table/
H A Dtable_header.cc282 const int max_x = column.x + column.width; local
283 return (x >= max_x - kResizePadding && x <= max_x + kResizePadding) ?
/external/chromium/chrome/browser/notifications/
H A Ddesktop_notifications_unittest.cc361 int max_x = min_x + (*iter)->GetViewSize().width() - 1; local
367 EXPECT_TRUE(box.Contains(gfx::Point(max_x, min_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
96 max_x = max4 (v[0].v[0], v[1].v[0], v[2].v[0], v[3].v[0]);
100 *sx = (max_x - min_x) / 2.0;
/external/chromium/chrome/browser/ui/gtk/tabs/
H A Ddragged_tab_controller_gtk.cc531 int max_x = tabstrip_bounds.right() - tab_size.width(); local
533 if (x > max_x && screen_point.x() <= tabstrip_bounds.right())
534 x = max_x;
542 x = std::min(std::max(x, tabstrip_bounds.x()), max_x);
/external/chromium_org/cc/resources/
H A Dpicture.cc263 int max_x = 0; local
291 max_x = std::max(max_x, max.x());
296 max_pixel_cell_ = gfx::Point(max_x, max_y);
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dbrowser_actions_container.cc205 int max_x = GetPreferredSize().width(); local
206 if ((IconCountToWidth(-1, false) > max_x) && !suppress_chevron_) {
209 max_x -=
223 if (x + icon_width <= max_x) {
/external/chromium/chrome/browser/ui/
H A Dwindow_sizer.cc333 const int max_x = work_area.right() - kMinVisibleWidth; local
335 bounds->set_x(std::max(min_x, std::min(max_x, bounds->x())));
/external/chromium_org/ash/magnifier/
H A Dmagnification_controller.cc238 float max_x = host_size_in_dip.width() - window_size_in_dip.width(); local
240 if (x > max_x)
241 x = max_x;
/external/chromium_org/chrome/browser/notifications/
H A Ddesktop_notifications_unittest.cc490 int max_x = min_x + (*iter)->GetViewSize().width() - 1; local
496 EXPECT_TRUE(box.Contains(gfx::Point(max_x, min_y)));
497 EXPECT_TRUE(box.Contains(gfx::Point(max_x, max_y)));

Completed in 374 milliseconds

12