Searched defs:cursor (Results 151 - 175 of 439) sorted by path

1234567891011>>

/external/chromium_org/ui/gfx/
H A Drender_text_pango.cc37 // 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 Drender_text_unittest.cc67 // 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 Drender_text_win.cc568 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 Dcaca_window.cc134 void CacaWindow::SetCursor(PlatformCursor cursor) {} argument
/external/chromium_org/ui/ozone/platform/dri/
H A Ddri_cursor.cc7 #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 Ddri_surface_factory.cc28 // 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 Ddri_surface_factory_unittest.cc140 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 Ddri_window.cc61 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 Ddri_window_manager.h40 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 Dozone_platform_egltest.cc71 virtual void SetCursor(PlatformCursor cursor) OVERRIDE;
144 void EgltestWindow::SetCursor(PlatformCursor cursor) { argument
/external/chromium_org/ui/ozone/platform/test/
H A Dtest_window.cc74 void TestWindow::SetCursor(PlatformCursor cursor) { argument
/external/chromium_org/ui/ozone/public/
H A Dcursor_factory_ozone.cc49 void CursorFactoryOzone::RefImageCursor(PlatformCursor cursor) { argument
53 void CursorFactoryOzone::UnrefImageCursor(PlatformCursor cursor) { argument
/external/chromium_org/ui/platform_window/win/
H A Dwin_window.cc105 void WinWindow::SetCursor(PlatformCursor cursor) {} argument
/external/chromium_org/ui/platform_window/x11/
H A Dx11_window.cc248 void X11Window::SetCursor(PlatformCursor cursor) {} argument
/external/chromium_org/ui/views/controls/button/
H A Dcustom_button_unittest.cc63 // 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 Dtextfield_model.cc130 // 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 Dtextfield_model_unittest.cc31 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 Dcursor_height_provider_win.cc75 // 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 Ddesktop_drag_drop_client_aurax11_unittest.cc90 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 Ddesktop_native_cursor_manager.cc9 #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 Ddesktop_native_widget_aura.cc341 // 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 Ddesktop_window_tree_host_win.cc15 #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 Ddesktop_window_tree_host_x11.cc973 void DesktopWindowTreeHostX11::SetCursorNative(gfx::NativeCursor cursor) { argument
974 XDefineCursor(xdisplay_, xwindow_, cursor.platform());
H A Dx11_whole_screen_move_loop.cc135 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 Dnative_widget_aura.cc617 void NativeWidgetAura::SetCursor(gfx::NativeCursor cursor) { argument
618 cursor_ = cursor;
622 cursor_client->SetCursor(cursor);

Completed in 585 milliseconds

1234567891011>>