/external/chromium_org/ui/gfx/ |
H A D | display_change_notifier.cc | 7 #include "ui/gfx/display.h" 16 explicit DisplayComparator(const Display& display) argument 17 : display_id_(display.id()) 20 bool operator()(const Display& display) const { 21 return display.id() == display_id_;
|
H A D | screen_win.cc | 13 #include "ui/gfx/display.h" 30 gfx::Display display(id, bounds); 31 display.set_work_area(gfx::Rect(monitor_info.rcWork)); 32 display.SetScaleAndBounds(gfx::win::GetDeviceScaleFactor(), bounds); 43 display.set_rotation(gfx::Display::ROTATE_0); 46 display.set_rotation(gfx::Display::ROTATE_90); 49 display.set_rotation(gfx::Display::ROTATE_180); 52 display.set_rotation(gfx::Display::ROTATE_270); 59 return display; 71 gfx::Display display local 164 gfx::Display display = GetDisplay(mi); local [all...] |
/external/chromium_org/ui/gfx/x/ |
H A D | x11_error_tracker.cc | 15 int X11ErrorHandler(Display* display, XErrorEvent* error) { argument
|
H A D | x11_types.cc | 16 static XDisplay* display = NULL; local 17 if (!display) 18 display = OpenNewXDisplay(); 19 return display; 32 void PutARGBImage(XDisplay* display, argument 37 PutARGBImage(display, 64 void PutARGBImage(XDisplay* display, argument 74 int pixmap_bpp = BitsPerPixelForPixmapDepth(display, depth); 101 XPutImage(display, pixmap, static_cast<GC>(pixmap_gc), &image, 128 XPutImage(display, pixma [all...] |
/external/chromium_org/ui/gl/ |
H A D | gl_context_glx.cc | 27 XDisplay* GLContextGLX::display() { function in class:gfx::GLContextGLX
|
H A D | gl_egl_api_implementation.cc | 69 EGLDisplay display = eglGetCurrentDisplay(); local 70 const char* vendor = eglQueryString(display, EGL_VENDOR); 71 const char* version = eglQueryString(display, EGL_VERSION); 72 const char* extensions = eglQueryString(display, EGL_EXTENSIONS);
|
H A D | gl_glx_api_implementation.cc | 69 Display* display = glXGetCurrentDisplay(); local 72 glXQueryServerString(display, kDefaultScreen, GLX_VENDOR); 74 glXQueryServerString(display, kDefaultScreen, GLX_VERSION); 76 glXQueryServerString(display, kDefaultScreen, GLX_EXTENSIONS); 84 info->direct_rendering = !!glXIsDirect(display, glXGetCurrentContext());
|
H A D | gl_surface_egl.cc | 311 LOG(ERROR) << "Trying to create surface with invalid display."; 553 EGLDisplay display = GetDisplay(); local 554 if (!display) { 555 LOG(ERROR) << "Trying to create surface with invalid display."; 569 EGLSurface new_surface = eglCreatePbufferSurface(display, 579 eglDestroySurface(display, old_surface);
|
/external/chromium_org/ui/message_center/views/ |
H A D | desktop_popup_alignment_delegate.cc | 7 #include "ui/gfx/display.h" 32 gfx::Display display = screen_->GetPrimaryDisplay(); local 33 display_id_ = display.id(); 34 RecomputeAlignment(display); 63 const gfx::Display& display) { 64 if (work_area_ == display.work_area()) 67 work_area_ = display.work_area(); 72 alignment_ = work_area_.y() > display.bounds().y() ? POPUP_ALIGNMENT_TOP 81 alignment_ |= (work_area_.x() > display.bounds().x() && 82 work_area_.y() == display 62 RecomputeAlignment( const gfx::Display& display) argument 95 OnDisplayMetricsChanged( const gfx::Display& display, uint32_t metrics) argument [all...] |
H A D | message_popup_collection.cc | 471 const gfx::Display& display) { 472 alignment_delegate_->RecomputeAlignment(display); 470 OnDisplayMetricsChanged( const gfx::Display& display) argument
|
/external/chromium_org/ui/ozone/common/chromeos/ |
H A D | display_util.cc | 7 #include "ui/display/types/display_mode.h" 8 #include "ui/display/types/display_snapshot.h" 22 const DisplaySnapshot& display) { 24 params.display_id = display.display_id(); 25 params.has_proper_display_id = display.has_proper_display_id(); 26 params.origin = display.origin(); 27 params.physical_size = display.physical_size(); 28 params.type = display.type(); 29 params.is_aspect_preserving_scaling = display.is_aspect_preserving_scaling(); 30 params.has_overscan = display 21 GetDisplaySnapshotParams( const DisplaySnapshot& display) argument [all...] |
/external/chromium_org/ui/ozone/platform/caca/ |
H A D | caca_window.h | 47 caca_display_t* display() const { return display_.get(); } function in class:ui::CacaWindow
|
/external/chromium_org/ui/ozone/platform/dri/chromeos/ |
H A D | display_message_handler.cc | 7 #include "ui/display/types/display_mode.h" 8 #include "ui/display/types/display_snapshot.h" 22 bool operator()(const DisplaySnapshot_Params& display) const { 23 return display.display_id == display_id_; 96 DisplaySnapshot* display = ndd_->FindDisplaySnapshot(id); local 97 if (!display) { 98 LOG(ERROR) << "There is no display with ID " << id; 103 for (size_t i = 0; i < display->modes().size(); ++i) { 104 if (mode_param.size == display->modes()[i]->size() && 105 mode_param.is_interlaced == display 132 DisplaySnapshot* display = ndd_->FindDisplaySnapshot(id); local [all...] |
H A D | native_display_delegate_dri.cc | 9 #include "ui/display/types/native_display_observer.h" 81 // TODO(dnicoara): Remove when async display configuration is supported. 163 DisplaySnapshotDri* display = new DisplaySnapshotDri( local 165 cached_displays_.push_back(display); 167 display->modes().begin(), 168 display->modes().end()); 300 VLOG(1) << "Got display changed event";
|
/external/chromium_org/ui/snapshot/ |
H A D | snapshot_android.cc | 13 #include "ui/gfx/display.h" 42 const gfx::Display& display = local 44 float device_scale_factor = display.device_scale_factor();
|
/external/chromium_org/ui/views/controls/textfield/ |
H A D | textfield.cc | 20 #include "ui/gfx/display.h" 1044 gfx::Display display = gfx::Screen::GetScreenFor(native_view)-> local 1046 size.SetToMin(gfx::Size(display.size().width(), height()));
|
/external/chromium_org/ui/views/ |
H A D | drag_utils.cc | 8 #include "ui/gfx/display.h" 22 gfx::Display display = gfx::Screen::GetScreenFor(view)-> local 24 device_scale = display.device_scale_factor();
|
/external/chromium_org/ui/views/test/ |
H A D | x11_property_change_waiter.cc | 22 Display* display = gfx::GetXDisplay(); local 28 XGetWindowAttributes(display, x_window_, &attributes); 30 XSelectInput(display, x_window_, old_event_mask_ | PropertyChangeMask); 33 atom_cache_.reset(new ui::X11AtomCache(display, kAtomsToCache));
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
H A D | desktop_cursor_loader_updater_auralinux.cc | 10 #include "ui/gfx/display.h" 62 const gfx::Display& display, 64 LoadImageCursors(display.device_scale_factor(), loader); 61 OnDisplayUpdated( const gfx::Display& display, ui::CursorLoader* loader) argument
|
H A D | desktop_native_cursor_manager.cc | 40 const gfx::Display& display, 43 cursor_loader_->set_rotation(display.rotation()); 44 cursor_loader_->set_scale(display.device_scale_factor()); 47 cursor_loader_updater_->OnDisplayUpdated(display, cursor_loader_.get()); 39 SetDisplay( const gfx::Display& display, wm::NativeCursorManagerDelegate* delegate) argument
|
H A D | desktop_screen_position_client.cc | 8 #include "ui/gfx/display.h" 73 const gfx::Display& display) { 74 // TODO: Use the 3rd parameter, |display|. 71 SetBounds(aura::Window* window, const gfx::Rect& bounds, const gfx::Display& display) argument
|
H A D | desktop_screen_x11.cc | 19 #include "ui/display/util/display_util.h" 20 #include "ui/display/util/x11/edid_parser_x11.h" 22 #include "ui/gfx/display.h" 49 ::XDisplay* display = gfx::GetXDisplay(); local 50 ::Screen* screen = DefaultScreenOfDisplay(display); 122 XDisplay* display = gfx::GetXDisplay(); local 127 XQueryPointer(display, 128 DefaultRootWindow(display), 204 // Fallback to the primary display if there is no matching display [all...] |
H A D | desktop_window_tree_host_x11.cc | 33 #include "ui/gfx/display.h" 736 const gfx::Display display = local 738 bounds_ = display.bounds(); 992 xevent.xany.display = xdisplay_; 1818 XFreeEventData(xev->xgeneric.display, &last_event.xcookie); 1884 while (XPending(xev->xany.display)) { 1886 XPeekEvent(xev->xany.display, &next_event); 1891 XNextEvent(xev->xany.display, &last_event);
|
H A D | desktop_window_tree_host_x11_interactive_uitest.cc | 101 Display* display = gfx::GetXDisplay(); local 104 xev.xmotion.display = display; 106 xev.xmotion.root = DefaultRootWindow(display); 141 // Make X11 synchronous for our display connection. This does not force the
|
H A D | desktop_window_tree_host_x11_unittest.cc | 204 // Make X11 synchronous for our display connection. This does not force the 352 Display* display = gfx::GetXDisplay(); local 353 ui::X11AtomCache atom_cache(display, kAtomsToCache); 366 XSendEvent(display, DefaultRootWindow(display), False, 394 Display* display = gfx::GetXDisplay(); local 404 ui::X11AtomCache atom_cache(display, kAtomsToCache); 415 xevent.xproperty.display = display; 419 XSendEvent(display, DefaultRootWindo [all...] |