Home
last modified time | relevance | path

Searched refs:new_x (Results 1 – 19 of 19) sorted by relevance

/external/chromium/chrome/browser/ui/views/
Dfind_bar_host_uitest.cc62 int new_x = -1, new_y = -1; in TEST_F() local
63 EXPECT_TRUE(browser->GetFindWindowLocation(&new_x, &new_y)); in TEST_F()
65 EXPECT_EQ(x, new_x); in TEST_F()
84 EXPECT_TRUE(browser->GetFindWindowLocation(&new_x, &new_y)); in TEST_F()
86 EXPECT_EQ(x, new_x); in TEST_F()
/external/opencv/cv/src/
Dcvemd.cpp836 CvNode2D *new_x; in icvFindLoop() local
843 new_x = loop[0] = enter_x; in icvFindLoop()
852 new_x = state->rows_x[new_x->i]; in icvFindLoop()
853 while( new_x != 0 && is_used[new_x - _x] ) in icvFindLoop()
854 new_x = new_x->next[0]; in icvFindLoop()
859 new_x = state->cols_x[new_x->j]; in icvFindLoop()
860 while( new_x != 0 && is_used[new_x - _x] && new_x != enter_x ) in icvFindLoop()
861 new_x = new_x->next[1]; in icvFindLoop()
862 if( new_x == enter_x ) in icvFindLoop()
866 if( new_x != 0 ) /* found the next x */ in icvFindLoop()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/caca/
DSDL_cacaevents.c88 int new_x = 0, new_y = 0; in Caca_PumpEvents() local
89 new_x = ((event & 0x00fff000) >> 12) * Caca_w / caca_get_width(); in Caca_PumpEvents()
91 posted += SDL_PrivateMouseMotion(0, 0, new_x, new_y); in Caca_PumpEvents()
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
DSDL_riscosevents.c263 Sint16 new_x = regs.r[0]; /* Initialy get as OS units */ in RISCOS_PollMouseHelper() local
272 if (new_x != last_x || new_y != last_y || last_buttons != regs.r[2]) in RISCOS_PollMouseHelper()
296 x = new_x - topLeftX; in RISCOS_PollMouseHelper()
303 if (last_x != new_x || last_y != new_y) in RISCOS_PollMouseHelper()
336 last_x = new_x; in RISCOS_PollMouseHelper()
/external/chromium_org/ash/system/
Dtray_caps_lock.cc83 const int new_x = in Layout() local
85 shortcut_label_->SetX(new_x); in Layout()
87 text_label_->SetSize(gfx::Size(text_size.width() + new_x - old_x, in Layout()
/external/chromium_org/ppapi/cpp/
Drect.cc110 int32_t new_x = x(); in AdjustToFit() local
114 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); in AdjustToFit()
116 return Rect(new_x, new_y, new_width, new_height); in AdjustToFit()
/external/chromium_org/ui/gfx/
Drect_base_impl.h252 Type new_x = x(); in AdjustToFit() local
256 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); in AdjustToFit()
258 SetRect(new_x, new_y, new_width, new_height); in AdjustToFit()
282 Type new_x = x() + (width() - new_width) / 2; in ClampToCenteredSize() local
284 SetRect(new_x, new_y, new_width, new_height); in ClampToCenteredSize()
/external/chromium_org/chrome/browser/ui/gtk/panels/
Dpanel_drag_gtk.cc252 gint new_x = static_cast<gint>(new_x_double); in OnMouseMoveEvent() local
266 new_x, new_y)) { in OnMouseMoveEvent()
275 drag_delegate_->Dragged(gfx::Point(new_x, new_y)); in OnMouseMoveEvent()
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Dtab_gtk.cc233 gdouble new_x; in DidProcessEvent() local
235 gdk_event_get_root_coords(event, &new_x, &new_y); in DidProcessEvent()
238 static_cast<gint>(new_x), static_cast<gint>(new_y))) { in DidProcessEvent()
Dtab_strip_gtk.cc447 double new_x = start_tab_a_bounds_.x() + delta; in AnimationProgressed() local
448 gfx::Rect bounds(Round(new_x), start_tab_a_bounds_.y(), tab_a_->width(), in AnimationProgressed()
455 new_x = start_tab_b_bounds_.x() + delta; in AnimationProgressed()
456 bounds = gfx::Rect(Round(new_x), start_tab_b_bounds_.y(), tab_b_->width(), in AnimationProgressed()
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_gtk.cc281 gdouble new_x; in DidProcessEvent() local
283 gdk_event_get_root_coords(event, &new_x, &new_y); in DidProcessEvent()
286 static_cast<gint>(new_x), static_cast<gint>(new_y))) { in DidProcessEvent()
Dtab_strip_gtk.cc426 double new_x = start_tab_a_bounds_.x() + delta; in AnimationProgressed() local
427 gfx::Rect bounds(Round(new_x), start_tab_a_bounds_.y(), tab_a_->width(), in AnimationProgressed()
434 new_x = start_tab_b_bounds_.x() + delta; in AnimationProgressed()
435 bounds = gfx::Rect(Round(new_x), start_tab_b_bounds_.y(), tab_b_->width(), in AnimationProgressed()
/external/chromium_org/ui/views/controls/
Dscroll_view.cc452 const int new_x = in ScrollContentsRegionToBeVisible() local
458 contents_->SetX(-new_x); in ScrollContentsRegionToBeVisible()
460 header_->SetX(-new_x); in ScrollContentsRegionToBeVisible()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_strip.cc1845 int new_x = std::max(new_bounds.x() + delta, max_x); in StackDraggedTabs() local
1846 if (new_x == max_x && !tab_at(i)->data().mini && !is_active_mini && in StackDraggedTabs()
1848 new_x += (active_width - new_bounds.width()); in StackDraggedTabs()
1849 new_bounds.set_x(new_x); in StackDraggedTabs()
1870 int new_x = std::min(max_x, new_bounds.x() + adjusted_delta); in StackDraggedTabs() local
1873 if (new_x == max_x && !tab_at(i)->data().mini && in StackDraggedTabs()
1875 new_x += (last_tab_width - new_bounds.width()); in StackDraggedTabs()
1876 new_bounds.set_x(new_x); in StackDraggedTabs()
Dtab_drag_controller.cc1085 const int new_x = in MoveAttached() local
1087 if (new_x < attach_x_) in MoveAttached()
1354 int new_x = attached_tabstrip_->GetSizeNeededForTabs(tabs_to_source) - in Attach() local
1358 mouse_offset_.set_x(new_x); in Attach()
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
Dconstrained_window_animation.mm111 CGFloat new_x = -origin.x + scale_offset_x;
113 transform = CGAffineTransformTranslate(transform, new_x, new_y);
/external/qemu/distrib/sdl-1.2.15/src/video/windib/
DSDL_dibvideo.c1385 int new_x = 10; local
1392 new_x = data.primary.left + (primary_w - this->screen->w)/2;
1395 DIB_SetWinPos(this, new_x, new_y);
/external/qemu/android/skin/
Dwindow.c1257 int new_x, new_y; in skin_window_create() local
1265 new_x = (monitor.w - win_w)/2; in skin_window_create()
1273 SDL_WM_SetPos(new_x, new_y); in skin_window_create()
/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_controller.cc927 int new_x = attached_tabstrip_->GetSizeNeededForTabs(tabs_to_source) - in Attach() local
931 mouse_offset_.set_x(new_x); in Attach()