Searched defs:max_x (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dpolygon.h69 VGfloat min_x, max_x; member in struct:polygon_array
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);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dpolygon.h69 VGfloat min_x, max_x; member in struct:polygon_array
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);
/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/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/pdfium/core/src/fxge/agg/agg23/
H A Dagg_scanline_u.h55 void reset(int min_x, int max_x) argument
57 unsigned max_len = max_x - min_x + 2;
/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/chrome/browser/ui/window_sizer/
H A Dwindow_sizer.cc411 const int max_x = work_area.right() - kMinVisibleWidth; local
413 bounds->set_x(std::max(min_x, std::min(max_x, bounds->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...]
H A Dscroll_view.cc481 const int max_x = std::min(contents_max_x, local
486 // See if the rect is already visible. Note the width is (max_x - x)
490 if (vis_rect.Contains(gfx::Rect(x, y, max_x - x, max_y - y)))
498 // lower/right corner. This is calculated by taking max_x or max_y
501 (vis_rect.x() > x) ? x : std::max(0, max_x - contents_viewport_->width());
/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) ?
H A Dtable_view.cc723 int max_x = visible_columns_[i].x + visible_columns_[i].width; local
724 if (region.min_column == -1 && max_x >= paint_x)
/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);
/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/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
118 max_x = ctx->DrawBuffer->Width - 1;
134 rmesa->state.scissor.rect.x1 = CLAMP(x1, min_x, max_x);
136 rmesa->state.scissor.rect.x2 = CLAMP(x2, min_x, max_x);
/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
118 max_x = ctx->DrawBuffer->Width - 1;
134 rmesa->state.scissor.rect.x1 = CLAMP(x1, min_x, max_x);
136 rmesa->state.scissor.rect.x2 = CLAMP(x2, min_x, max_x);
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_common.c113 int min_x, min_y, max_x, max_y; local
118 max_x = ctx->DrawBuffer->Width - 1;
134 rmesa->state.scissor.rect.x1 = CLAMP(x1, min_x, max_x);
136 rmesa->state.scissor.rect.x2 = CLAMP(x2, min_x, max_x);
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_common.c113 int min_x, min_y, max_x, max_y; local
118 max_x = ctx->DrawBuffer->Width - 1;
134 rmesa->state.scissor.rect.x1 = CLAMP(x1, min_x, max_x);
136 rmesa->state.scissor.rect.x2 = CLAMP(x2, min_x, max_x);
/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/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/chromium_org/ui/gfx/android/
H A Dscroller.cc227 float max_x,
262 max_x_ = max_x;
222 Fling(float start_x, float start_y, float velocity_x, float velocity_y, float min_x, float max_x, float min_y, float max_y, base::TimeTicks start_time) argument
/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/chrome/browser/ui/views/toolbar/
H A Dbrowser_actions_container.cc384 int max_x = GetPreferredSize().width(); local
385 if ((IconCountToWidth(-1, false) > max_x) && !suppress_chevron_ && chevron_) {
388 max_x -=
427 view->SetVisible(x + icon_width <= max_x);

Completed in 605 milliseconds

12