/external/chromium_org/ui/gfx/ |
H A D | render_text_pango.cc | 37 // Returns true if the given visual cursor |direction| is logically forward 169 // The cursor is not in any run: we're at the visual and logical edge. 177 // If the cursor is moving within the current run, just move it by one 192 // The cursor is at the edge of a run; move to the visually adjacent run. 223 size_t cursor = cur.caret_pos(); local 225 iter.IsEndOfWord(cursor) : iter.IsStartOfWord(cursor)) 293 // Check that the index is marked as a legitimate cursor position by Pango.
|
H A D | render_text_unittest.cc | 67 // Ensure cursor movement in the specified |direction| yields |expected| values. 311 // Test index conversion and cursor validity with a valid surrogate pair. 577 // The cursor hops over the ellipsis and elided text to the line end. 584 // The cursor hops over the elided text to preceeding text. 605 // The cursor hops over the ellipsis and elided text to the line end. 612 // The cursor hops over the elided text to preceeding text. 675 // |expected| saves the expected SelectionModel when moving cursor from left 962 // cursor movement (e.g. via arrow key) should avoid those indices. 1114 // Move the cursor to the beginning of the text and, by checking the cursor 1723 size_t cursor; member in struct:gfx::__anon16893 [all...] |
H A D | render_text_win.cc | 568 const size_t cursor = LayoutIndexToTextIndex(position + trailing); local 569 DCHECK_LE(cursor, text().length()); 570 return SelectionModel(cursor, trailing ? CURSOR_BACKWARD : CURSOR_FORWARD); 598 // The cursor is not in any run: we're at the visual and logical edge. 605 // If the cursor is moving within the current run, just move it by one 622 // The cursor is at the edge of a run; move to the visually adjacent run. 665 // The cursor is at the beginning of a word. 669 // The cursor is in the middle or at the end of a word.
|
/external/chromium_org/ui/ozone/platform/caca/ |
H A D | caca_window.cc | 134 void CacaWindow::SetCursor(PlatformCursor cursor) {} argument
|
/external/chromium_org/ui/ozone/platform/dri/ |
H A D | dri_cursor.cc | 7 #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h" 31 scoped_refptr<BitmapCursorOzone> cursor = local 33 if (cursor_ == cursor || cursor_window_ != widget) 36 cursor_ = cursor;
|
H A D | dri_surface_factory.cc | 28 // TODO(dnicoara) Read the cursor plane size from the hardware. 31 void UpdateCursorImage(DriBuffer* cursor, const SkBitmap& image) { argument 36 SkCanvas* canvas = cursor->GetCanvas(); 84 LOG(ERROR) << "Failed to initialize cursor buffer"; 160 // Draw new cursor into backbuffer. 171 // No cursor set.
|
H A D | dri_surface_factory_unittest.cc | 140 SkBitmap cursor; local 141 // Buffers 0 and 1 are the cursor buffers. 142 cursor.setInfo(dri_->buffers()[1]->getCanvas()->imageInfo()); 143 EXPECT_TRUE(dri_->buffers()[1]->getCanvas()->readPixels(&cursor, 0, 0)); 146 for (int i = 0; i < cursor.height(); ++i) { 147 for (int j = 0; j < cursor.width(); ++j) { 149 EXPECT_EQ(SK_ColorWHITE, cursor.getColor(j, i)); 152 cursor.getColor(j, i));
|
H A D | dri_window.cc | 61 if (window_manager_->cursor()->GetCursorWindow() == widget_) 62 window_manager_->cursor()->HideCursor(); 66 if (window_manager_->cursor()->GetCursorWindow() == widget_) 67 window_manager_->cursor()->ShowCursor(); 86 void DriWindow::SetCursor(PlatformCursor cursor) { argument 87 window_manager_->cursor()->SetCursor(widget_, cursor); 98 return window_manager_->cursor()->GetCursorWindow() == widget_;
|
H A D | dri_window_manager.h | 40 DriCursor* cursor() const { return cursor_.get(); } function in class:ui::DriWindowManager 43 // Reset the cursor location based on the list of active windows.
|
/external/chromium_org/ui/ozone/platform/egltest/ |
H A D | ozone_platform_egltest.cc | 71 virtual void SetCursor(PlatformCursor cursor) OVERRIDE; 144 void EgltestWindow::SetCursor(PlatformCursor cursor) { argument
|
/external/chromium_org/ui/ozone/platform/test/ |
H A D | test_window.cc | 74 void TestWindow::SetCursor(PlatformCursor cursor) { argument
|
/external/chromium_org/ui/ozone/public/ |
H A D | cursor_factory_ozone.cc | 49 void CursorFactoryOzone::RefImageCursor(PlatformCursor cursor) { argument 53 void CursorFactoryOzone::UnrefImageCursor(PlatformCursor cursor) { argument
|
/external/chromium_org/ui/platform_window/win/ |
H A D | win_window.cc | 105 void WinWindow::SetCursor(PlatformCursor cursor) {} argument
|
/external/chromium_org/ui/platform_window/x11/ |
H A D | x11_window.cc | 248 void X11Window::SetCursor(PlatformCursor cursor) {} argument
|
/external/chromium_org/ui/views/controls/button/ |
H A D | custom_button_unittest.cc | 63 // Position the widget in a way so that it is under the cursor. 64 gfx::Point cursor = gfx::Screen::GetScreenFor( local 67 widget_bounds.set_origin(cursor);
|
/external/chromium_org/ui/views/controls/textfield/ |
H A D | textfield_model.cc | 130 // Old cursor position. 138 // New cursor position. 153 at /* old cursor */, 157 at + new_text.length() /* new cursor */, 300 // SetText moves the cursor to the end. 378 bool TextfieldModel::MoveCursorTo(const gfx::SelectionModel& cursor) { argument 381 // ConfirmCompositionText() updates cursor position. Need to reflect it in 383 gfx::Range range(render_text_->selection().start(), cursor.caret_pos()); 387 gfx::SelectionModel(cursor.caret_pos(), cursor 395 gfx::SelectionModel cursor = render_text_->FindCursorPosition(point); local 652 size_t cursor = GetCursorPosition(); local [all...] |
H A D | textfield_model_unittest.cc | 31 WordAndCursor(const wchar_t* w, size_t c) : word(w), cursor(c) {} 34 size_t cursor; member in struct:__anon17078::WordAndCursor 95 // Move the cursor to start; backspace should fail. 99 // Move the cursor to the end; delete should fail, but backspace should work. 158 // Ensure the cursor cannot be placed in the middle of a grapheme. 198 // Test cursor position and deletion for Hindi Virama. 279 // Select and move cursor. 288 // Select all and move cursor. 463 // SetText move the cursor to the end of the new text. 471 // Setting shorter string moves the cursor t [all...] |
/external/chromium_org/ui/views/corewm/ |
H A D | cursor_height_provider_win.cc | 75 // Gets the vertical offset between specified cursor's hotpoint and it's bottom. 77 // Gets the cursor image data and extract cursor's visible height. 78 // Based on that get's what should be the vertical offset between cursor's 127 CURSORINFO cursor = {0}; local 128 cursor.cbSize = sizeof(cursor); 129 GetCursorInfo(&cursor); 135 cached_heights->find(cursor.hCursor); 139 const int height = CalculateCursorHeight(cursor [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
H A D | desktop_drag_drop_client_aurax11_unittest.cc | 90 gfx::NativeCursor cursor) OVERRIDE; 91 virtual void UpdateCursor(gfx::NativeCursor cursor) OVERRIDE; 222 gfx::NativeCursor cursor) { 230 void TestMoveLoop::UpdateCursor(gfx::NativeCursor cursor) { argument 220 RunMoveLoop( aura::Window* window, gfx::NativeCursor cursor) argument
|
H A D | desktop_native_cursor_manager.cc | 9 #include "ui/base/cursor/cursor_loader.h" 26 gfx::NativeCursor cursor(type); 27 cursor_loader_->SetPlatformCursor(&cursor); 28 return cursor; 53 gfx::NativeCursor cursor, 55 gfx::NativeCursor new_cursor = cursor; 52 SetCursor( gfx::NativeCursor cursor, wm::NativeCursorManagerDelegate* delegate) argument
|
H A D | desktop_native_widget_aura.cc | 341 // We explicitly do NOT clear the cursor client property. Since the cursor 344 // an opportunity to deregister their observers from the cursor manager. 871 void DesktopNativeWidgetAura::SetCursor(gfx::NativeCursor cursor) { argument 872 cursor_ = cursor; 876 cursor_client->SetCursor(cursor);
|
H A D | desktop_window_tree_host_win.cc | 15 #include "ui/base/cursor/cursor_loader_win.h" 153 // The cursor is not necessarily visible when the root window is created. 539 void DesktopWindowTreeHostWin::SetCursorNative(gfx::NativeCursor cursor) { argument 541 cursor_loader.SetPlatformCursor(&cursor); 543 message_handler_->SetCursor(cursor.platform());
|
H A D | desktop_window_tree_host_x11.cc | 973 void DesktopWindowTreeHostX11::SetCursorNative(gfx::NativeCursor cursor) { argument 974 XDefineCursor(xdisplay_, xwindow_, cursor.platform());
|
H A D | x11_whole_screen_move_loop.cc | 135 gfx::NativeCursor cursor) { 138 // Query the mouse cursor prior to the move loop starting so that it can be 156 grabbed_pointer_ = GrabPointer(cursor); 193 void X11WholeScreenMoveLoop::UpdateCursor(gfx::NativeCursor cursor) { argument 200 cursor.platform(), 242 bool X11WholeScreenMoveLoop::GrabPointer(gfx::NativeCursor cursor) { argument 256 cursor.platform(), 134 RunMoveLoop(aura::Window* source, gfx::NativeCursor cursor) argument
|
/external/chromium_org/ui/views/widget/ |
H A D | native_widget_aura.cc | 617 void NativeWidgetAura::SetCursor(gfx::NativeCursor cursor) { argument 618 cursor_ = cursor; 622 cursor_client->SetCursor(cursor);
|