Home
last modified time | relevance | path

Searched refs:last_x (Results 1 – 13 of 13) sorted by relevance

/external/chromium/chrome/browser/notifications/
Ddesktop_notifications_unittest.cc392 int last_x = -1; in TEST_F() local
397 if (last_x > 0) in TEST_F()
398 EXPECT_EQ(last_x, current_x); in TEST_F()
408 last_x = current_x; in TEST_F()
416 last_x = -1; in TEST_F()
423 if (last_x > 0) in TEST_F()
424 EXPECT_EQ(last_x, current_x); in TEST_F()
434 last_x = current_x; in TEST_F()
444 EXPECT_LT(current_x, last_x); in TEST_F()
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
DSDL_riscosevents.c251 static Sint16 last_x = -1, last_y = -1; variable
272 if (new_x != last_x || new_y != last_y || last_buttons != regs.r[2]) in RISCOS_PollMouseHelper()
303 if (last_x != new_x || last_y != new_y) in RISCOS_PollMouseHelper()
313 last_x = topLeftX + (centre_x << this->hidden->xeig); in RISCOS_PollMouseHelper()
324 block[1] = last_x & 0xFF; in RISCOS_PollMouseHelper()
325 block[2] = (last_x >> 8) & 0xFF; in RISCOS_PollMouseHelper()
336 last_x = new_x; in RISCOS_PollMouseHelper()
/external/chromium_org/chrome/browser/notifications/
Ddesktop_notifications_unittest.cc522 int last_x = -1; in TEST_F() local
527 if (last_x > 0) in TEST_F()
528 EXPECT_EQ(last_x, current_x); in TEST_F()
538 last_x = current_x; in TEST_F()
546 last_x = -1; in TEST_F()
553 if (last_x > 0) in TEST_F()
554 EXPECT_EQ(last_x, current_x); in TEST_F()
564 last_x = current_x; in TEST_F()
574 EXPECT_LT(current_x, last_x); in TEST_F()
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
DSDL_fbelo.c83 static int last_x = 0; in eloParsePacket() local
95 if((SDL_abs(x - last_x) > ELO_SNAP_SIZE) || (SDL_abs(y - last_y) > ELO_SNAP_SIZE)) { in eloParsePacket()
100 *dx = last_x; in eloParsePacket()
104 last_x = *dx; in eloParsePacket()
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
DSDL_DirectFB_events.c84 static int last_x, last_y; in DirectFB_PumpEvents() local
86 last_x = evt.axisabs; in DirectFB_PumpEvents()
89 posted += SDL_PrivateMouseMotion(0, 0, last_x, last_y); in DirectFB_PumpEvents()
/external/qemu/
Dvnc-android.c695 int y, int last_x, int x) in find_and_clear_dirty_height() argument
701 if (!vnc_get_bit(s->dirty[y + h], last_x)) in find_and_clear_dirty_height()
703 for (tmp_x = last_x; tmp_x < x; tmp_x++) in find_and_clear_dirty_height()
784 int last_x = -1; in vnc_update_client() local
787 if (last_x == -1) { in vnc_update_client()
788 last_x = x; in vnc_update_client()
792 if (last_x != -1) { in vnc_update_client()
793 int h = find_and_clear_dirty_height(&vs->server, y, last_x, x); in vnc_update_client()
794 send_framebuffer_update(vs, last_x * 16, y, (x - last_x) * 16, h); in vnc_update_client()
797 last_x = -1; in vnc_update_client()
[all …]
Dvnc.c689 int y, int last_x, int x) in find_and_clear_dirty_height() argument
695 if (!vnc_get_bit(s->dirty[y + h], last_x)) in find_and_clear_dirty_height()
697 for (tmp_x = last_x; tmp_x < x; tmp_x++) in find_and_clear_dirty_height()
778 int last_x = -1; in vnc_update_client() local
781 if (last_x == -1) { in vnc_update_client()
782 last_x = x; in vnc_update_client()
786 if (last_x != -1) { in vnc_update_client()
787 int h = find_and_clear_dirty_height(&vs->server, y, last_x, x); in vnc_update_client()
788 send_framebuffer_update(vs, last_x * 16, y, (x - last_x) * 16, h); in vnc_update_client()
791 last_x = -1; in vnc_update_client()
[all …]
Dvnc.h127 int last_x; member
/external/chromium/chrome/browser/ui/gtk/
Dmenu_bar_helper.cc123 gint last_x = x; in OnMenuMotionNotify() local
126 last_button, button, last_x, last_y, &x, &y)) { in OnMenuMotionNotify()
/external/chromium_org/chrome/browser/ui/gtk/
Dmenu_bar_helper.cc126 gint last_x = x; in OnMenuMotionNotify() local
129 last_button, button, last_x, last_y, &x, &y)) { in OnMenuMotionNotify()
/external/chromium_org/third_party/ots/src/
Dwoff2.cc284 int last_x = 0; in StorePoints() local
292 int dx = point.x - last_x; in StorePoints()
327 last_x = point.x; in StorePoints()
347 last_x = 0; in StorePoints()
350 int dx = points.at(i).x - last_x; in StorePoints()
359 last_x += dx; in StorePoints()
/external/chromium_org/skia/ext/
Dimage_operations_unittest.cc407 int last_x = std::min(src_w - 1, x * 2 + 1); in TEST() local
413 first_x, last_x, in TEST()
424 PrintPixel(src, first_x, last_x, first_y, last_y); in TEST()
/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer.cc482 int last_x = details_.initial_bounds_in_parent.right(); in RevertDrag() local
485 bounds.set_x(last_x); in RevertDrag()
488 last_x = attached_windows_[i]->bounds().right(); in RevertDrag()