/external/chromium_org/third_party/webrtc/base/ |
H A D | win32.cc | 121 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 D | desktop_and_cursor_composer.cc | 60 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 D | mouse_cursor.cc | 31 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 D | cursor.cc | 11 #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 D | file.c | 77 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 D | scanner.c | 18 #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 D | scanio.c | 1 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 D | scanner.c | 18 #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 D | test_cursor_client.cc | 26 void TestCursorClient::SetCursor(gfx::NativeCursor cursor) { argument
|
/external/chromium_org/ui/aura/ |
H A D | window_tree_host.cc | 141 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 D | window_tree_host_ozone.cc | 102 void WindowTreeHostOzone::SetCursorNative(gfx::NativeCursor cursor) { argument 103 platform_window_->SetCursor(cursor.platform());
|
H A D | window_tree_host_x11.cc | 31 #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 D | cursor.cc | 5 #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 D | cursor.h | 90 // 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 D | cursor_loader_ozone.cc | 5 #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 D | cursor_loader_win.cc | 5 #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 D | cursor_loader_x11.cc | 5 #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 D | cursors_aura.cc | 5 #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 D | image_cursors.cc | 5 #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 D | bitmap_cursor_factory_ozone.cc | 5 #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 D | imm32_manager.cc | 322 // 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 D | x11_util.cc | 167 // 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 D | event_factory_evdev.cc | 53 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 D | gesture_interpreter_libevdev_cros.cc | 83 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 D | render_text.cc | 39 // 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...] |