Searched defs:cursor (Results 126 - 150 of 439) sorted by path

1234567891011>>

/external/chromium_org/third_party/webrtc/base/
H A Dwin32.cc121 char* cursor = dst; local
127 *cursor++ = ':';
128 *cursor++ = ':';
130 cursor += rtc::sprintfn(cursor, INET6_ADDRSTRLEN - 2, "ffff:");
134 inet_ntop_v4(as_v4, cursor,
135 static_cast<socklen_t>(INET6_ADDRSTRLEN - (cursor - dst)));
139 cursor += rtc::sprintfn(cursor,
140 INET6_ADDRSTRLEN - (cursor
[all...]
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_and_cursor_composer.cc60 const MouseCursor& cursor,
74 const MouseCursor& cursor,
83 DesktopVector image_pos = position.subtract(cursor.hotspot());
84 DesktopRect target_rect = DesktopRect::MakeSize(cursor.image()->size());
92 // Copy original screen content under cursor to |restore_frame_|.
98 // Blit the cursor.
104 cursor.image()->data() +
105 origin_shift.y() * cursor.image()->stride() +
107 cursor.image()->stride(),
163 void DesktopAndCursorComposer::OnMouseCursor(MouseCursor* cursor) { argument
73 DesktopFrameWithCursor(DesktopFrame* frame, const MouseCursor& cursor, const DesktopVector& position) argument
[all...]
H A Dmouse_cursor.cc31 MouseCursor* MouseCursor::CopyOf(const MouseCursor& cursor) { argument
32 return cursor.image()
33 ? new MouseCursor(BasicDesktopFrame::CopyOf(*cursor.image()),
34 cursor.hotspot())
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
H A Dcursor.cc11 #include "webrtc/modules/desktop_capture/win/cursor.h"
48 // Pixel colors used when generating cursor outlines.
56 // Expands the cursor shape to add a white outline for visibility against
114 MouseCursor* CreateMouseCursorFromHCursor(HDC dc, HCURSOR cursor) { argument
116 if (!GetIconInfo(cursor, &iinfo)) {
117 LOG_F(LS_ERROR) << "Unable to get cursor icon info. Error = "
219 // with black. In this case, we also add an outline around the cursor
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dfile.c77 yasm_fill_helper(yasm_scanner *s, unsigned char **cursor, argument
93 *cursor -= cnt;
103 *cursor = &buf[*cursor - s->bot];
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/bootstrap/
H A Dscanner.c18 #define YYCURSOR cursor
21 #define YYFILL(n) {cursor = fill(s, cursor);}
23 #define RETURN(i) {s->cur = cursor; return i;}
38 fill(Scanner *s, unsigned char *cursor) argument
46 cursor -= cnt;
55 cursor = &buf[cursor - s->bot];
68 return cursor;
77 unsigned char *cursor local
216 unsigned char *cursor = s->cur; local
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/examples/rexx/
H A Dscanio.c1 uchar *ScanFill(uchar *cursor){ argument
3 s->pos += cursor - s->mrk;
9 if((len = s->lim - cursor) != 0)
10 memcpy(s->eot, cursor, len);
11 cursor = s->eot;
12 s->lim = &cursor[len];
15 cursor -= cnt;
28 cursor = &buf[cursor - s->bot];
34 s->mrk = cursor;
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dscanner.c18 #define YYCURSOR cursor
21 #define YYFILL(n) {cursor = fill(s, cursor);}
23 #define RETURN(i) {s->cur = cursor; return i;}
38 fill(Scanner *s, unsigned char *cursor) argument
46 cursor -= cnt;
55 cursor = &buf[cursor - s->bot];
68 return cursor;
77 unsigned char *cursor local
216 unsigned char *cursor = s->cur; local
[all...]
/external/chromium_org/ui/aura/test/
H A Dtest_cursor_client.cc26 void TestCursorClient::SetCursor(gfx::NativeCursor cursor) { argument
/external/chromium_org/ui/aura/
H A Dwindow_tree_host.cc141 void WindowTreeHost::SetCursor(gfx::NativeCursor cursor) { argument
142 last_cursor_ = cursor;
145 SetCursorNative(cursor);
149 // Clear any existing mouse hover effects when the cursor becomes invisible.
150 // Note we do not need to dispatch a mouse enter when the cursor becomes
H A Dwindow_tree_host_ozone.cc102 void WindowTreeHostOzone::SetCursorNative(gfx::NativeCursor cursor) { argument
103 platform_window_->SetCursor(cursor.platform());
H A Dwindow_tree_host_x11.cc31 #include "ui/base/cursor/cursor.h"
609 void WindowTreeHostX11::SetCursorNative(gfx::NativeCursor cursor) { argument
610 if (cursor == current_cursor_)
612 current_cursor_ = cursor;
613 SetCursorInternal(cursor);
707 void WindowTreeHostX11::SetCursorInternal(gfx::NativeCursor cursor) { argument
708 XDefineCursor(xdisplay_, xwindow_, cursor.platform());
/external/chromium_org/ui/base/cursor/
H A Dcursor.cc5 #include "ui/base/cursor/cursor.h"
21 Cursor::Cursor(const Cursor& cursor) argument
22 : native_type_(cursor.native_type_),
23 platform_cursor_(cursor.platform_cursor_),
24 device_scale_factor_(cursor.device_scale_factor_) {
42 void Cursor::Assign(const Cursor& cursor) { argument
43 if (*this == cursor)
47 native_type_ = cursor.native_type_;
48 platform_cursor_ = cursor
[all...]
H A Dcursor.h90 // Ref-counted cursor that supports both default and custom cursors.
99 Cursor(const Cursor& cursor);
118 bool operator==(const Cursor& cursor) const {
119 return native_type_ == cursor.native_type_ &&
120 platform_cursor_ == cursor.platform_cursor_ &&
121 device_scale_factor_ == cursor.device_scale_factor_;
124 bool operator!=(const Cursor& cursor) const {
125 return native_type_ != cursor.native_type_ ||
126 platform_cursor_ != cursor.platform_cursor_ ||
127 device_scale_factor_ != cursor
130 operator =(const Cursor& cursor) argument
[all...]
H A Dcursor_loader_ozone.cc5 #include "ui/base/cursor/cursor_loader_ozone.h"
9 #include "ui/base/cursor/cursor.h"
10 #include "ui/base/cursor/cursor_util.h"
53 void CursorLoaderOzone::SetPlatformCursor(gfx::NativeCursor* cursor) { argument
54 int native_type = cursor->native_type();
58 // An image cursor is loaded for this type.
61 // The platform cursor was already set via WebCursor::GetPlatformCursor.
62 platform = cursor->platform();
64 // Use default cursor o
[all...]
H A Dcursor_loader_win.cc5 #include "ui/base/cursor/cursor_loader_win.h"
9 #include "ui/base/cursor/cursor.h"
145 void CursorLoaderWin::SetPlatformCursor(gfx::NativeCursor* cursor) { argument
146 if (cursor->native_type() != kCursorCustom) {
147 if (cursor->platform()) {
148 cursor->SetPlatformCursor(cursor->platform());
150 const wchar_t* cursor_id = GetCursorId(*cursor);
157 cursor
[all...]
H A Dcursor_loader_x11.cc5 #include "ui/base/cursor/cursor_loader_x11.h"
13 #include "ui/base/cursor/cursor.h"
14 #include "ui/base/cursor/cursor_util.h"
24 // Returns X font cursor shape from an Aura cursor.
201 void CursorLoaderX11::SetPlatformCursor(gfx::NativeCursor* cursor) { argument
202 DCHECK(cursor);
205 if (IsImageCursor(*cursor))
206 xcursor = ImageCursorFromNative(*cursor);
[all...]
H A Dcursors_aura.cc5 #include "ui/base/cursor/cursors_aura.h"
82 // cursor assets (64x64) are internally enlarged to the double size (128x128)
195 // Falls back to the default cursor set.
216 // Falls back to the default cursor set.
224 bool GetCursorBitmap(const Cursor& cursor, argument
230 cursor.native_type(),
231 cursor.device_scale_factor(),
H A Dimage_cursors.cc5 #include "ui/base/cursor/image_cursors.h"
11 #include "ui/base/cursor/cursor.h"
12 #include "ui/base/cursor/cursor_loader.h"
13 #include "ui/base/cursor/cursors_aura.h"
146 void ImageCursors::SetPlatformCursor(gfx::NativeCursor* cursor) { argument
147 cursor_loader_->SetPlatformCursor(cursor);
/external/chromium_org/ui/base/cursor/ozone/
H A Dbitmap_cursor_factory_ozone.cc5 #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h"
9 #include "ui/base/cursor/cursors_aura.h"
15 BitmapCursorOzone* ToBitmapCursorOzone(PlatformCursor cursor) { argument
16 return static_cast<BitmapCursorOzone*>(cursor);
19 PlatformCursor ToPlatformCursor(BitmapCursorOzone* cursor) { argument
20 return static_cast<PlatformCursor>(cursor);
83 BitmapCursorOzone* cursor = new BitmapCursorOzone(bitmap, hotspot); local
84 cursor->AddRef(); // Balanced by UnrefImageCursor.
85 return ToPlatformCursor(cursor);
93 BitmapCursorOzone* cursor local
99 RefImageCursor(PlatformCursor cursor) argument
103 UnrefImageCursor(PlatformCursor cursor) argument
115 scoped_refptr<BitmapCursorOzone> cursor = CreateDefaultBitmapCursor(type); local
[all...]
/external/chromium_org/ui/base/ime/win/
H A Dimm32_manager.cc322 // that means the cursor should not be moved, then we just place the caret at
330 int cursor = ::ImmGetCompositionString(imm_context, GCS_CURSORPOS, NULL, 0); local
331 composition->selection = gfx::Range(cursor);
/external/chromium_org/ui/base/x/
H A Dx11_util.cc167 // Lookup cursor by attempting to insert a null value, which avoids
188 // Maps X11 font cursor shapes to Cursor IDs.
205 ::Cursor xcursor = custom_cursor->cursor();
210 void Ref(::Cursor cursor) { argument
211 cache_[cursor]->Ref();
214 void Unref(::Cursor cursor) { argument
215 if (cache_[cursor]->Unref())
216 cache_.erase(cursor);
223 const XcursorImage* GetXcursorImage(::Cursor cursor) const {
224 return cache_.find(cursor)
244 ::Cursor cursor() const { return cursor_; } function in class:ui::__anon16685::XCustomCursorCache::XCustomCursor
375 RefCustomXCursor(::Cursor cursor) argument
379 UnrefCustomXCursor(::Cursor cursor) argument
1355 XScopedCursor(::Cursor cursor, XDisplay* display) argument
1368 reset(::Cursor cursor) argument
1381 GetCachedXcursorImage(::Cursor cursor) argument
[all...]
/external/chromium_org/ui/events/ozone/evdev/
H A Devent_factory_evdev.cc53 CursorDelegateEvdev* cursor) {
59 new GestureInterpreterLibevdevCros(modifiers, cursor, dispatch));
89 CursorDelegateEvdev* cursor,
116 CreateConverter(fd, path, devinfo, dispatch, modifiers, cursor);
135 CursorDelegateEvdev* cursor,
138 cursor_(cursor),
47 CreateConverter( int fd, const base::FilePath& path, const EventDeviceInfo& devinfo, const EventDispatchCallback& dispatch, EventModifiersEvdev* modifiers, CursorDelegateEvdev* cursor) argument
86 OpenInputDevice( const base::FilePath& path, EventModifiersEvdev* modifiers, CursorDelegateEvdev* cursor, scoped_refptr<base::TaskRunner> reply_runner, const EventDispatchCallback& dispatch, base::Callback<void(scoped_ptr<EventConverterEvdev>)> reply_callback) argument
134 EventFactoryEvdev( CursorDelegateEvdev* cursor, DeviceManager* device_manager) argument
/external/chromium_org/ui/events/ozone/evdev/libgestures_glue/
H A Dgesture_interpreter_libevdev_cros.cc83 CursorDelegateEvdev* cursor,
86 cursor_(cursor),
209 return; // No cursor!
231 return; // No cursor!
255 return; // No cursor!
257 // HACK for disabling TTC (actually, all clicks) on hidden cursor.
296 return; // No cursor!
324 return; // No cursor!
345 return; // No cursor!
369 return; // No cursor!
81 GestureInterpreterLibevdevCros( EventModifiersEvdev* modifiers, CursorDelegateEvdev* cursor, const EventDispatchCallback& callback) argument
[all...]
/external/chromium_org/ui/gfx/
H A Drender_text.cc39 // Default color used for the text and cursor.
525 SelectionModel cursor(cursor_position(), selection_model_.caret_affinity());
530 int cursor_x = GetCursorBounds(cursor, true).x();
534 cursor = selection_start;
537 cursor = GetAdjacentSelectionModel(cursor, break_type, direction);
538 // Use an adjacent selection model if the cursor is not at a valid position.
539 if (!IsValidCursorIndex(cursor.caret_pos()))
540 cursor = GetAdjacentSelectionModel(cursor, CHARACTER_BREA
1144 size_t cursor = std::min(position, text().length()); local
[all...]

Completed in 1996 milliseconds

1234567891011>>