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

123

/external/chromium_org/ui/gfx/geometry/
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_org/ui/views/controls/
H A Dslider_unittest.cc135 int max_x() { function in class:views::SliderTest
263 ClickAt(max_x(), 0);
281 ClickAt(max_x(), 0);
294 event_generator()->GestureTapAt(gfx::Point(max_x(), max_y()));
299 event_generator()->GestureTapAt(gfx::Point(0.75 * max_x(), 0.75 * max_y()));
308 gfx::Point(0.5 * max_x(), 0.5 * max_y()),
317 gfx::Point(0.5 * max_x(), 0.5 * max_y()),
318 gfx::Point(max_x(), max_y()),
326 gfx::Point(0.25 * max_x(), 0.25 * max_y()),
327 gfx::Point(0.75 * max_x(), 0.7
[all...]
/external/pdfium/core/src/fxge/agg/agg23/
H A Dagg_render_scanlines.h25 sl.reset(ras.min_x(), ras.max_x());
26 ren.prepare(unsigned(ras.max_x() - ras.min_x() + 2));
H A Dagg_scanline_u.h55 void reset(int min_x, int max_x) argument
57 unsigned max_len = max_x - min_x + 2;
H A Dagg_rasterizer_scanline_aa.h86 int max_x() const function in class:agg::outline_aa
206 int max_x() const function in class:agg::rasterizer_scanline_aa
208 return m_outline.max_x();
/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/chromium_org/ash/touch/
H A Dtouch_transformer_controller.cc41 double min_x, max_x; local
46 &min_x, &max_x) ||
57 if (max_x == 0.0 || max_y == 0.0 || width == 0.0 || height == 0.0)
60 // [0, max_x] -> touchscreen width = max_x + 1
62 max_x += 1.0;
65 double ratio = std::sqrt((width * height) / (max_x * max_y));
68 << ", Touchscreen width/height: " << max_x << "/" << max_y
/external/chromium_org/third_party/skia/bench/
H A Dbench_util.py269 max_x = Min
280 max_x = max(max_x, x)
310 self.max_x = max_x
328 regr_end = self.max_x
/external/skia/bench/
H A Dbench_util.py269 max_x = Min
280 max_x = max(max_x, x)
310 self.max_x = max_x
328 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/ui/gfx/android/
H A Dscroller.h55 float max_x,
/external/chromium_org/ui/views/controls/table/
H A Dtable_header.cc273 const int max_x = column.x + column.width; local
274 return (x >= max_x - kResizePadding && x <= max_x + kResizePadding) ?
/external/pdfium/core/src/fpdfapi/fpdf_page/
H A 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; local
440 if (max_x < char_left) {
441 max_x = char_left;
446 if (max_x < char_right) {
447 max_x = char_right;
461 if (max_x < char_rect.left) {
462 max_x = (FX_FLOAT)char_rect.left;
467 if (max_x < char_rect.right) {
468 max_x = (FX_FLOAT)char_rect.right;
500 max_x
[all...]
/external/chromium_org/ash/magnifier/
H A Dmagnification_controller.cc239 float max_x = host_size_in_dip.width() - window_size_in_dip.width(); local
241 if (x > max_x)
242 x = max_x;
/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_org/cc/resources/
H A Dpicture.cc296 int max_x = 0; local
324 max_x = std::max(max_x, max.x());
329 max_pixel_cell_ = gfx::Point(max_x, max_y);

Completed in 1479 milliseconds

123