Searched defs:display (Results 251 - 275 of 425) sorted by last modified time

<<11121314151617

/external/chromium_org/ui/aura/
H A Dwindow_tree_host.cc19 #include "ui/gfx/display.h"
33 gfx::Display display = gfx::Screen::GetScreenFor(window)-> local
35 DCHECK(display.is_valid());
36 return display.device_scale_factor();
236 // Get the latest scale from display because it might have been changed.
271 const gfx::Display& display = local
273 cursor_client->SetDisplay(display);
H A Dwindow_tree_host_x11.cc70 void SelectXInput2EventsForRootWindow(XDisplay* display, ::Window root_window) { argument
81 XISelectEvents(display, root_window, &evmask, 1);
95 XISelectEvents(display, root_window, &evmask, 1);
335 while (XPending(xev->xany.display)) {
337 XPeekEvent(xev->xany.display, &next_event);
342 XNextEvent(xev->xany.display, &last_event);
385 const gfx::Display display = gfx::Screen::GetScreenFor( local
387 cursor_client->SetDisplay(display);
580 xevent.xany.display = xdisplay_;
704 XFreeEventData(xev->xgeneric.display,
[all...]
/external/chromium_org/ui/base/cursor/
H A Dimage_cursors.cc14 #include "ui/gfx/display.h"
89 bool ImageCursors::SetDisplay(const gfx::Display& display, argument
93 } else if (cursor_loader_->rotation() == display.rotation() &&
98 cursor_loader_->set_rotation(display.rotation());
/external/chromium_org/ui/base/
H A Dlayout.cc17 #include "ui/gfx/display.h"
126 gfx::Display display = screen->GetDisplayNearestWindow(view); local
127 return display.device_scale_factor();
/external/chromium_org/ui/base/resource/
H A Dresource_bundle.cc603 const gfx::Display display = local
605 const float display_density = display.device_scale_factor();
610 gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); local
611 if (display.device_scale_factor() > 2.0) {
612 DCHECK_EQ(3.0, display.device_scale_factor());
614 } else if (display.device_scale_factor() > 1.0) {
615 DCHECK_EQ(2.0, display.device_scale_factor());
/external/chromium_org/ui/base/x/
H A Dselection_owner.cc48 size_t GetMaxRequestSize(XDisplay* display) { argument
49 long extended_max_size = XExtendedMaxRequestSize(display);
51 (extended_max_size ? extended_max_size : XMaxRequestSize(display)) - 100;
H A Dx11_util.cc172 XDisplay* display = gfx::GetXDisplay(); local
173 it.first->second = XCreateFontCursor(display, cursor_shape);
179 XDisplay* display = gfx::GetXDisplay(); local
182 XFreeCursor(display, it->second);
430 XDisplay* display = xev->xany.display; local
435 while (XPending(display)) {
437 XPeekEvent(display, &next_event);
440 if (!XGetEventData(next_event.xgeneric.display, &next_event.xcookie))
448 XFreeEventData(display,
580 XDisplay* display = gfx::GetXDisplay(); local
992 SetWindowClassHint(XDisplay* display, XID window, const std::string& res_name, const std::string& res_class) argument
1005 SetWindowRole(XDisplay* display, XID window, const std::string& role) argument
1052 GetX11ErrorString(XDisplay* display, int err) argument
1355 XScopedCursor(::Cursor cursor, XDisplay* display) argument
[all...]
/external/chromium_org/ui/compositor/test/
H A Dtest_compositor_host_x11.cc57 XDisplay* display = gfx::GetXDisplay(); local
62 display,
63 RootWindow(display, DefaultScreen(display)), // parent
70 XMapWindow(display, window_);
74 XNextEvent(display, &event);
/external/chromium_org/ui/display/chromeos/
H A Ddisplay_configurator.cc5 #include "ui/display/chromeos/display_configurator.h"
14 #include "ui/display/display_switches.h"
15 #include "ui/display/types/display_mode.h"
16 #include "ui/display/types/display_snapshot.h"
17 #include "ui/display/types/native_display_delegate.h"
29 // The delay spent before reading the display configuration after coming out of
30 // suspend. While coming out of suspend the display state may be updating. This
31 // is used to wait until the hardware had a chance to update the display state
82 display_states[i].display->type() == DISPLAY_CONNECTION_TYPE_INTERNAL;
105 : display(NUL
120 FindDisplayModeMatchingSize( const DisplaySnapshot& display, const gfx::Size& size) argument
[all...]
H A Ddisplay_configurator.h19 #include "ui/display/display_export.h"
20 #include "ui/display/types/display_constants.h"
21 #include "ui/display/types/native_display_observer.h"
34 // This class interacts directly with the system display configurator.
43 DisplaySnapshot* display; // Not owned. member in struct:ui::DisplayConfigurator::DisplayState
45 // User-selected mode for the display.
58 // Called after the display mode has been changed. |display| contains the
65 // Called after a display mode change attempt failed. |failed_new_state| is
71 // Interface for classes that make decisions about which display stat
[all...]
/external/chromium_org/ui/events/gesture_detection/
H A Dgesture_config_helper_android.cc25 const gfx::Display& display) {
35 const float px_to_dp = 1.f / display.device_scale_factor();
49 const gfx::Display& display) {
52 const float px_to_dp = 1.f / display.device_scale_factor();
67 config.display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay();
68 config.gesture_detector_config = DefaultGestureDetectorConfig(config.display);
70 DefaultScaleGestureDetectorConfig(config.display);
24 DefaultGestureDetectorConfig( const gfx::Display& display) argument
48 DefaultScaleGestureDetectorConfig( const gfx::Display& display) argument
H A Dgesture_provider.h16 #include "ui/gfx/display.h"
33 gfx::Display display; member in struct:ui::GestureProvider::Config
H A Dsnap_scroll_controller.cc10 #include "ui/gfx/display.h"
19 float CalculateChannelDistance(const gfx::Display& display) { argument
20 if (display.bounds().IsEmpty())
24 std::abs(hypot(static_cast<float>(display.bounds().width()),
25 static_cast<float>(display.bounds().height())));
35 SnapScrollController::SnapScrollController(const gfx::Display& display) argument
36 : channel_distance_(CalculateChannelDistance(display)),
/external/chromium_org/ui/events/keycodes/
H A Dkeyboard_code_conversion_x.cc1316 xkeyevent->xkey.display = xievent->display;
1332 XDisplay* display) {
1353 return XKeysymToKeycode(display, XKeysymForWindowsKeyCode(key_code, false));
1330 XKeyCodeForWindowsKeyCode(ui::KeyboardCode key_code, int flags, XDisplay* display) argument
/external/chromium_org/ui/events/platform/x11/
H A Dx11_event_source.cc25 bool InitializeXInput2(XDisplay* display) { argument
26 if (!display)
32 if (!XQueryExtension(display, "XInputExtension", &xiopcode, &event, &err)) {
44 if (XIQueryVersion(display, &major, &minor) == BadRequest) {
59 bool InitializeXkb(XDisplay* display) { argument
60 if (!display)
66 if (!XkbQueryExtension(display, &opcode, &event, &error, &major, &minor)) {
74 if (!XkbSetDetectableAutoRepeat(display, True, &supported_return)) {
84 X11EventSource::X11EventSource(XDisplay* display) argument
85 : display_(display),
[all...]
H A Dx11_event_source.h26 explicit X11EventSource(XDisplay* display);
47 XDisplay* display() { return display_; } function in class:ui::X11EventSource
H A Dx11_event_source_glib.cc17 XDisplay* display; member in struct:ui::__anon16782::GLibX11Source
23 if (XPending(gxsource->display))
32 return XPending(gxsource->display);
52 explicit X11EventSourceGlib(XDisplay* display) argument
53 : X11EventSource(display),
55 InitXSource(ConnectionNumber(display));
66 CHECK(display()) << "Unable to get connection to X server";
75 glib_x_source->display = display();
H A Dx11_event_source_libevent.cc19 explicit X11EventSourceLibevent(XDisplay* display) argument
20 : X11EventSource(display),
35 int fd = ConnectionNumber(display());
/external/chromium_org/ui/events/test/
H A Devents_test_utils_x11.cc152 XDisplay* display = gfx::GetXDisplay(); local
159 event_->xkey.display = display;
169 event_->xkey.keycode = XKeyCodeForWindowsKeyCode(key_code, flags, display);
182 XDisplay* display = gfx::GetXDisplay(); local
183 event_->xgeneric.display = display;
184 xievent->display = display;
186 xievent->detail = XKeyCodeForWindowsKeyCode(key_code, flags, display);
[all...]
/external/chromium_org/ui/events/x/
H A Ddevice_data_manager_x11.cc19 #include "ui/gfx/display.h"
197 void DeviceDataManagerX11::UpdateDeviceList(Display* display) { argument
212 ui::DeviceListCacheX::GetInstance()->GetXDeviceList(display);
213 Atom xi_touchpad = XInternAtom(display, XI_TOUCHPAD, false);
223 ui::DeviceListCacheX::GetInstance()->GetXI2DeviceList(display);
H A Ddevice_list_cache_x.cc47 void DeviceListCacheX::UpdateDeviceList(Display* display) { argument
48 XDeviceList& new_x_dev_list = x_dev_list_map_[display];
51 new_x_dev_list.devices = XListInputDevices(display, &new_x_dev_list.count);
53 XIDeviceList& new_xi_dev_list = xi_dev_list_map_[display];
57 XIQueryDevice(display, XIAllDevices, &new_xi_dev_list.count) : NULL;
60 const XDeviceList& DeviceListCacheX::GetXDeviceList(Display* display) { argument
61 XDeviceList& x_dev_list = x_dev_list_map_[display];
64 x_dev_list.devices = XListInputDevices(display, &x_dev_list.count);
68 const XIDeviceList& DeviceListCacheX::GetXI2DeviceList(Display* display) { argument
69 XIDeviceList& xi_dev_list = xi_dev_list_map_[display];
[all...]
H A Devents_x.cc23 #include "ui/gfx/display.h"
208 XkbKeycodeToKeysym(xievent->display, xievent->detail, 0, 0))
360 XDisplay* display = gfx::GetXDisplay(); local
361 DeviceListCacheX::GetInstance()->UpdateDeviceList(display);
362 TouchFactory::GetInstance()->UpdateDeviceList(display);
363 DeviceDataManagerX11::GetInstance()->UpdateDeviceList(display);
H A Devents_x_unittest.cc51 void InitKeyEvent(Display* display, argument
61 key_event->display = display;
69 bool HasFunctionKeyFlagSetIfSupported(Display* display, int x_keysym) { argument
71 int x_keycode = XKeysymToKeycode(display, x_keysym);
74 InitKeyEvent(display, &event, true, x_keycode, 0);
357 Display* display = gfx::GetXDisplay(); local
453 int x_keycode = XKeysymToKeycode(display, keys[k].x_keysym);
456 InitKeyEvent(display, &event, true, x_keycode, 0);
467 Display* display local
604 Display* display = gfx::GetXDisplay(); local
[all...]
H A Dhotplug_event_handler_x11.cc124 Display* display = gfx::GetXDisplay(); local
125 Atom valuator_x = XInternAtom(display, "Abs MT Position X", False);
126 Atom valuator_y = XInternAtom(display, "Abs MT Position Y", False);
173 IsTouchscreenInternal(display, x11_devices[i].deviceid);
H A Dtouch_factory_x11.cc40 XDisplay* display = gfx::GetXDisplay();
41 UpdateDeviceList(display);
82 void TouchFactory::UpdateDeviceList(Display* display) { argument
98 DeviceListCacheX::GetInstance()->GetXDeviceList(display);
99 Atom xi_touchscreen = XInternAtom(display, XI_TOUCHSCREEN, false);
126 DeviceListCacheX::GetInstance()->GetXI2DeviceList(display);
161 CacheTouchscreenIds(display, devinfo->deviceid);
206 XDisplay* display = gfx::GetXDisplay(); local
230 XISelectEvents(display, window, &evmask, 1);
231 XFlush(display);
[all...]

Completed in 393 milliseconds

<<11121314151617