Home
last modified time | relevance | path

Searched refs:new_y (Results 1 – 15 of 15) 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()
66 EXPECT_EQ(y, new_y); in TEST_F()
84 EXPECT_TRUE(browser->GetFindWindowLocation(&new_x, &new_y)); in TEST_F()
87 EXPECT_EQ(y, new_y); in TEST_F()
/external/qemu/distrib/sdl-1.2.15/src/video/caca/
DSDL_cacaevents.c88 int new_x = 0, new_y = 0; in Caca_PumpEvents() local
90 new_y = ((event & 0x00000fff) >> 0) * Caca_h / caca_get_height(); 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.c264 Sint16 new_y = regs.r[1]; in RISCOS_PollMouseHelper() local
272 if (new_x != last_x || new_y != last_y || last_buttons != regs.r[2]) in RISCOS_PollMouseHelper()
297 y = topLeftY - new_y; /* Y goes from top of window/screen */ in RISCOS_PollMouseHelper()
303 if (last_x != new_x || last_y != new_y) in RISCOS_PollMouseHelper()
337 last_y = new_y; in RISCOS_PollMouseHelper()
/external/chromium_org/ppapi/cpp/
Drect.cc111 int32_t new_y = y(); in AdjustToFit() local
115 AdjustAlongAxis(rect.y(), rect.height(), &new_y, &new_height); in AdjustToFit()
116 return Rect(new_x, new_y, new_width, new_height); in AdjustToFit()
/external/chromium_org/ui/gfx/
Drect_base_impl.h253 Type new_y = y(); in AdjustToFit() local
257 AdjustAlongAxis(rect.y(), rect.height(), &new_y, &new_height); in AdjustToFit()
258 SetRect(new_x, new_y, new_width, new_height); in AdjustToFit()
283 Type new_y = y() + (height() - new_height) / 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.cc253 gint new_y = static_cast<gint>(new_y_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/ui/views/controls/menu/
Dsubmenu_view.cc99 int new_y; in Layout() local
101 new_y = std::max(parent()->height() - pref_height, y()); in Layout()
103 new_y = 0; in Layout()
104 SetBounds(x(), new_y, parent()->width(), pref_height); in Layout()
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Dtab_gtk.cc234 gdouble new_y; 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()
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_gtk.cc282 gdouble new_y; 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()
/external/chromium_org/printing/
Dpage_setup.cc96 int new_y = physical_size_.width() - in FlipOrientation() local
99 new_y, in FlipOrientation()
/external/chromium_org/chrome/browser/ui/panels/
Dpanel_resize_controller.cc117 int new_y = bounds_at_start_.bottom() - new_height; in Resize() local
127 new_height -= work_area.y() - new_y; in Resize()
/external/chromium_org/ui/views/controls/
Dscroll_view.cc454 const int new_y = in ScrollContentsRegionToBeVisible() local
461 contents_->SetY(-new_y); in ScrollContentsRegionToBeVisible()
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
Dconstrained_window_animation.mm112 CGFloat new_y = -origin.y + scale_offset_y;
113 transform = CGAffineTransformTranslate(transform, new_x, new_y);
/external/qemu/android/skin/
Dwindow.c1257 int new_x, new_y; in skin_window_create() local
1266 new_y = (monitor.h - win_h)/2; in skin_window_create()
1269 if (new_y < 0) in skin_window_create()
1270 new_y = 0; in skin_window_create()
1273 SDL_WM_SetPos(new_x, new_y); in skin_window_create()
/external/qemu/distrib/sdl-1.2.15/src/video/windib/
DSDL_dibvideo.c1386 int new_y = 10; local
1393 new_y = data.primary.top + (primary_h - this->screen->h)/2;
1395 DIB_SetWinPos(this, new_x, new_y);