/external/chromium_org/ui/ozone/platform/dri/ |
H A D | cursor_factory_evdev_dri.h | 10 #include "ui/gfx/geometry/point.h" 11 #include "ui/gfx/geometry/point_f.h" 12 #include "ui/gfx/geometry/rect_f.h" 13 #include "ui/gfx/native_widget_types.h" 28 virtual gfx::AcceleratedWidget GetCursorWindow() OVERRIDE; 29 virtual void SetBitmapCursor(gfx::AcceleratedWidget widget, 34 virtual void MoveCursorTo(gfx::AcceleratedWidget widget, 35 const gfx::PointF& location) OVERRIDE; 36 virtual void MoveCursor(const gfx::Vector2dF& delta) OVERRIDE; 37 virtual gfx [all...] |
H A D | dri_surface_factory.h | 17 namespace gfx { namespace 33 static const gfx::AcceleratedWidget kDefaultWidgetHandle; 42 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 45 gfx::AcceleratedWidget w) OVERRIDE; 51 gfx::Size GetWidgetSize(gfx::AcceleratedWidget w); 53 void SetHardwareCursor(gfx::AcceleratedWidget window, 55 const gfx::Point& location); 57 void MoveHardwareCursor(gfx::AcceleratedWidget window, 58 const gfx [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
H A D | desktop_screen_win.cc | 11 #include "ui/gfx/display.h" 24 gfx::Display GetDisplay(MONITORINFO& monitor_info) { 26 gfx::Display display(0, gfx::Rect(monitor_info.rcMonitor)); 27 display.set_work_area(gfx::Rect(monitor_info.rcWork)); 45 // DesktopScreenWin, gfx::ScreenWin implementation: 51 gfx::Display DesktopScreenWin::GetDisplayMatching( 52 const gfx::Rect& match_rect) const { 56 HWND DesktopScreenWin::GetHWNDFromNativeView(gfx::NativeView window) const { 61 gfx [all...] |
/external/chromium_org/ui/views/window/ |
H A D | native_frame_view.h | 22 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 23 virtual gfx::Rect GetWindowBoundsForClientBounds( 24 const gfx::Rect& client_bounds) const OVERRIDE; 25 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 26 virtual void GetWindowMask(const gfx::Size& size, 27 gfx::Path* window_mask) OVERRIDE; 33 virtual gfx::Size GetPreferredSize() const OVERRIDE; 34 virtual gfx::Size GetMinimumSize() const OVERRIDE; 35 virtual gfx::Size GetMaximumSize() const OVERRIDE;
|
H A D | native_frame_view.cc | 33 gfx::Rect NativeFrameView::GetBoundsForClientView() const { 34 return gfx::Rect(0, 0, width(), height()); 37 gfx::Rect NativeFrameView::GetWindowBoundsForClientBounds( 38 const gfx::Rect& client_bounds) const { 45 gfx::Rect window_bounds = client_bounds; 47 window_bounds.set_size(gfx::Size(1,1)); 52 int NativeFrameView::NonClientHitTest(const gfx::Point& point) { 56 void NativeFrameView::GetWindowMask(const gfx::Size& size, 57 gfx::Path* window_mask) { 73 gfx [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
H A D | panel_drag_controller.h | 10 #include "ui/gfx/vector2d.h" 15 namespace gfx { namespace 29 void StartDragging(Panel* panel, const gfx::Point& mouse_location); 30 void Drag(const gfx::Point& mouse_location); 59 gfx::Point GetPanelPositionForMouseLocation( 60 const gfx::Point& mouse_location) const; 64 void TryDetach(const gfx::Point& target_position); 65 void TryDock(const gfx::Point& target_position); 66 void TryStack(const gfx::Point& target_position); 67 bool TryUnstackFromTop(const gfx [all...] |
/external/chromium_org/chrome/browser/ui/views/app_list/win/ |
H A D | app_list_win.cc | 10 #include "ui/gfx/screen.h" 30 bool GetTaskbarRect(gfx::Rect* rect) { 39 *rect = gfx::Rect(win_rect); 46 gfx::Point AppListWin::FindAnchorPoint(const gfx::Size& view_size, 47 const gfx::Display& display, 48 const gfx::Point& cursor, 49 const gfx::Rect& taskbar_rect, 67 gfx::Point anchor; 82 gfx [all...] |
/external/chromium_org/content/browser/web_contents/aura/ |
H A D | image_window_delegate.cc | 10 #include "ui/gfx/canvas.h" 11 #include "ui/gfx/image/image.h" 12 #include "ui/gfx/image/image_skia.h" 13 #include "ui/gfx/rect.h" 14 #include "ui/gfx/size.h" 25 void ImageWindowDelegate::SetImage(const gfx::Image& image) { 31 gfx::Size ImageWindowDelegate::GetMinimumSize() const { 32 return gfx::Size(); 35 gfx::Size ImageWindowDelegate::GetMaximumSize() const { 36 return gfx [all...] |
/external/chromium_org/ui/gfx/ |
H A D | screen_win.h | 9 #include "ui/gfx/gfx_export.h" 10 #include "ui/gfx/screen.h" 12 namespace gfx { namespace 14 class GFX_EXPORT ScreenWin : public gfx::Screen { 20 // Overridden from gfx::Screen: 22 virtual gfx::Point GetCursorScreenPoint() OVERRIDE; 23 virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE; 24 virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) 27 virtual std::vector<gfx [all...] |
/external/chromium_org/ash/display/ |
H A D | screen_ash.cc | 19 #include "ui/gfx/display.h" 20 #include "ui/gfx/screen.h" 30 gfx::Display FindDisplayNearestPoint(const std::vector<gfx::Display>& displays, 31 const gfx::Point& point) { 33 const gfx::Display* nearest_display = NULL; 34 for (std::vector<gfx::Display>::const_iterator iter = displays.begin(); 36 const gfx::Display& display = *iter; 48 const gfx::Display* FindDisplayMatching( 49 const std::vector<gfx [all...] |
H A D | shared_display_edge_indicator.h | 11 #include "ui/gfx/animation/animation_delegate.h" 12 #include "ui/gfx/display.h" 14 namespace gfx { namespace 28 class ASH_EXPORT SharedDisplayEdgeIndicator : public gfx::AnimationDelegate { 36 void Show(const gfx::Rect& src_bounds, const gfx::Rect& dst_bounds); 39 // gfx::AnimationDelegate overrides: 40 virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; 50 scoped_ptr<gfx::ThrobAnimation> animation_;
|
/external/chromium_org/mojo/services/public/cpp/geometry/lib/ |
H A D | geometry_type_converters.cc | 10 PointPtr TypeConverter<PointPtr, gfx::Point>::ConvertFrom( 11 const gfx::Point& input) { 19 gfx::Point TypeConverter<PointPtr, gfx::Point>::ConvertTo( 22 return gfx::Point(); 23 return gfx::Point(input->x, input->y); 27 SizePtr TypeConverter<SizePtr, gfx::Size>::ConvertFrom(const gfx::Size& input) { 35 gfx::Size TypeConverter<SizePtr, gfx [all...] |
/external/chromium_org/ash/host/ |
H A D | transformer_helper.h | 10 namespace gfx { namespace 29 gfx::Insets GetHostInsets() const; 32 void SetTransform(const gfx::Transform& transform); 38 gfx::Transform GetTransform() const; 39 gfx::Transform GetInverseTransform() const; 43 void UpdateWindowSize(const gfx::Size& host_size);
|
/external/chromium_org/cc/test/ |
H A D | mock_quad_culler.cc | 18 gfx::Rect MockQuadCuller::UnoccludedContentRect( 19 const gfx::Rect& content_rect, 20 const gfx::Transform& draw_transform) { 25 gfx::Rect MockQuadCuller::UnoccludedContributingSurfaceContentRect( 26 const gfx::Rect& content_rect, 27 const gfx::Transform& draw_transform) {
|
/external/chromium_org/chrome/browser/ui/views/app_list/linux/ |
H A D | app_list_linux.h | 14 namespace gfx { namespace 18 } // namespace gfx 28 const gfx::Display& display); 35 static gfx::Point FindAnchorPoint(const gfx::Size& view_size, 36 const gfx::Display& display, 37 const gfx::Point& cursor,
|
/external/chromium_org/content/common/ |
H A D | text_input_client_messages.h | 8 #include "ui/gfx/range/range.h" 9 #include "ui/gfx/rect.h" 26 gfx::Point) 30 gfx::Range) 34 gfx::Range) 38 IPC_MESSAGE_ROUTED1(TextInputClientMsg_StringAtPoint, gfx::Point) 52 gfx::Rect /* frame rectangle */) 62 gfx::Point)
|
/external/chromium_org/content/renderer/ |
H A D | disambiguation_popup_helper_unittest.cc | 10 #include "ui/gfx/rect.h" 11 #include "ui/gfx/size.h" 12 #include "ui/gfx/size_conversions.h" 29 const gfx::Size kScreenSize_; 30 const gfx::Size kVisibleContentSize_; 35 gfx::Rect tap_rect(1000, 1000, 10, 10); 37 target_rects[0] = gfx::Rect(-20, -20, 10, 10); 39 gfx::Rect zoom_rect; 44 EXPECT_TRUE(gfx::Rect(kVisibleContentSize_).Contains(zoom_rect)); 47 gfx [all...] |
/external/chromium_org/ui/views/ |
H A D | drag_utils.cc | 7 #include "ui/gfx/canvas.h" 8 #include "ui/gfx/display.h" 9 #include "ui/gfx/screen.h" 10 #include "ui/gfx/size.h" 21 gfx::NativeView view = widget->GetNativeView(); 22 gfx::Display display = gfx::Screen::GetScreenFor(view)-> 33 gfx::Canvas* GetCanvasForDragImage(views::Widget* widget, 34 const gfx::Size& canvas_size) { 36 return new gfx [all...] |
/external/chromium_org/cc/trees/ |
H A D | occlusion_tracker_unittest.cc | 25 #include "ui/gfx/transform.h" 38 return gfx::IntersectRects(opaque_contents_rect_, visible_content_rect()); 41 void SetOpaqueContentsRect(const gfx::Rect& opaque_contents_rect) { 50 gfx::Rect opaque_contents_rect_; 62 return gfx::IntersectRects(opaque_contents_rect_, visible_content_rect()); 65 void SetOpaqueContentsRect(const gfx::Rect& opaque_contents_rect) { 72 gfx::Rect opaque_contents_rect_; 78 explicit TestOcclusionTrackerWithClip(const gfx::Rect& viewport_rect) 82 const gfx::Rect& content_rect) const { 90 gfx [all...] |
H A D | damage_tracker.h | 12 #include "ui/gfx/rect.h" 16 namespace gfx { namespace 34 void DidDrawDamagedArea() { current_damage_rect_ = gfx::Rect(); } 35 void AddDamageNextUpdate(const gfx::Rect& dmg) { 42 const gfx::Rect& target_surface_content_rect, 46 gfx::Rect current_damage_rect() { return current_damage_rect_; } 51 gfx::Rect TrackDamageFromActiveLayers(const LayerImplList& layer_list, 53 gfx::Rect TrackDamageFromSurfaceMask(LayerImpl* target_surface_mask_layer); 54 gfx::Rect TrackDamageFromLeftoverRects(); 59 void ExtendDamageForLayer(LayerImpl* layer, gfx [all...] |
/external/chromium_org/cc/quads/ |
H A D | render_pass_unittest.cc | 16 #include "ui/gfx/transform.h" 29 gfx::Transform transform_to_root_target; 30 gfx::Rect output_rect; 31 gfx::Rect damage_rect; 67 gfx::Rect output_rect(45, 22, 120, 13); 68 gfx::Transform transform_to_root = 69 gfx::Transform(1.0, 0.5, 0.5, -0.5, -1.0, 0.0); 70 gfx::Rect damage_rect(56, 123, 19, 43); 83 shared_state->SetAll(gfx::Transform(), 84 gfx [all...] |
H A D | picture_draw_quad.h | 13 #include "ui/gfx/rect.h" 14 #include "ui/gfx/rect_f.h" 15 #include "ui/gfx/size.h" 26 const gfx::Rect& rect, 27 const gfx::Rect& opaque_rect, 28 const gfx::Rect& visible_rect, 29 const gfx::RectF& tex_coord_rect, 30 const gfx::Size& texture_size, 32 const gfx::Rect& content_rect, 37 const gfx [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | popup_controller_common_unittest.cc | 10 #include "ui/gfx/display.h" 11 #include "ui/gfx/rect.h" 29 gfx::Display display(0, 30 gfx::Rect(0, 0, 2 * desired_width, 2 * desired_height)); 34 std::vector<gfx::RectF> element_bounds; 35 std::vector<gfx::Rect> expected_popup_bounds; 38 element_bounds.push_back(gfx::RectF(0, 0, 0, 0)); 40 gfx::Rect(0, 0, desired_width, desired_height)); 43 element_bounds.push_back(gfx::RectF(2 * desired_width, 0, 0, 0)); 45 gfx [all...] |
/external/chromium_org/ui/compositor/ |
H A D | transform_animation_curve_adapter.h | 11 #include "ui/gfx/animation/tween.h" 12 #include "ui/gfx/transform.h" 13 #include "ui/gfx/transform_util.h" 20 TransformAnimationCurveAdapter(gfx::Tween::Type tween_type, 21 gfx::Transform intial_value, 22 gfx::Transform target_value, 30 virtual gfx::Transform GetValue(double t) const OVERRIDE; 31 virtual bool AnimatedBoundsForBox(const gfx::BoxF& box, 32 gfx::BoxF* bounds) const OVERRIDE; 38 gfx [all...] |
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | simple_thumbnail_crop.h | 19 explicit SimpleThumbnailCrop(const gfx::Size& target_size); 21 virtual ClipResult GetCanvasCopyInfo(const gfx::Size& source_size, 23 gfx::Rect* clipping_rect, 24 gfx::Size* target_size) const OVERRIDE; 47 static gfx::Size GetCopySizeForThumbnail(ui::ScaleFactor scale_factor, 48 const gfx::Size& thumbnail_size); 49 static gfx::Rect GetClippingRect(const gfx::Size& source_size, 50 const gfx::Size& desired_size, 57 static gfx [all...] |