HomeSort by relevance Sort by last modified time
    Searched defs:center_x (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/native_client_sdk/src/examples/api/mouse_lock/
mouse_lock.cc 248 int center_x = image->size().width() / 2; local
252 pp::Point left_top(std::max(0, center_x - region_of_interest_radius),
255 std::min(image->size().width(), center_x + region_of_interest_radius),
259 if (GetDistance(x, y, center_x, center_y) < kCentralSpotRadius) {
279 int center_x = image->size().width() / 2; local
281 pp::Point vertex(mouse_movement_.x() + center_x,
288 anchor_1.set_x(center_x);
290 anchor_2.set_x(center_x);
296 anchor_1.set_x(center_x + kCentralSpotRadius);
298 anchor_2.set_x(center_x - kCentralSpotRadius)
    [all...]
  /external/chromium_org/ppapi/examples/mouse_lock/
mouse_lock.cc 157 int center_x = width / 2; local
159 pp::Point vertex(mouse_movement_.x() + center_x,
173 anchor_1.set_x(center_x);
175 anchor_2.set_x(center_x);
181 anchor_1.set_x(center_x + kCenteralSpotRadius);
183 anchor_2.set_x(center_x - kCenteralSpotRadius);
194 if (GetDistance(x, y, center_x, center_y) < kCenteralSpotRadius) {
208 (direction == LEFT && x < center_x) ||
209 (direction == RIGHT && x > center_x);
  /external/chromium_org/third_party/skia/gm/
blurrect.cpp 269 int center_x = (canvas_size.fWidth - (int)(r.width()))/2; local
276 r.offset( SkIntToScalar(center_x), SkIntToScalar(center_y) );
285 center_x = (canvas_size.fWidth - mask.fBounds.width())/2;
288 canvas->drawBitmap(bm, SkIntToScalar(center_x), SkIntToScalar(center_y), NULL);
  /external/chromium_org/gpu/tools/compositor_model_bench/
shaders.cc 440 float center_x = (left+right)/2 - g_current_tile_layer_width/2; local
442 TranslateInPlace(mv_transform, center_x, center_y, 0.0);
  /external/chromium_org/ui/views/controls/tree/
tree_view.cc 820 int center_x; local
822 center_x = node_bounds.right() - kArrowRegionSize +
825 center_x = node_bounds.x() + (kArrowRegionSize - 4) / 2;
834 canvas->FillRect(gfx::Rect(center_x + delta * (2 - i),
841 canvas->FillRect(gfx::Rect(center_x - (3 - i), center_y + i,
  /external/chromium_org/chrome/browser/ui/views/tabs/
tab_strip.cc 2181 int center_x; local
    [all...]

Completed in 587 milliseconds