/external/chromium_org/ui/views/bubble/ |
H A D | bubble_frame_view.h | 11 #include "ui/gfx/insets.h" 15 namespace gfx { namespace 34 static gfx::Insets GetTitleInsets(); 36 explicit BubbleFrameView(const gfx::Insets& content_margins); 40 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 41 virtual gfx::Rect GetWindowBoundsForClientBounds( 42 const gfx::Rect& client_bounds) const OVERRIDE; 43 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 44 virtual void GetWindowMask(const gfx::Size& size, 45 gfx [all...] |
/external/chromium_org/cc/base/ |
H A D | region_unittest.cc | 13 EXPECT_TRUE(r.Contains(gfx::Point(x, y))); \ 14 EXPECT_TRUE(r.Contains(gfx::Point(x + w - 1, y))); \ 15 EXPECT_TRUE(r.Contains(gfx::Point(x, y + h - 1))); \ 16 EXPECT_TRUE(r.Contains(gfx::Point(x + w - 1, y + h - 1))); \ 17 EXPECT_TRUE(r.Contains(gfx::Point(x, y + h / 2))); \ 18 EXPECT_TRUE(r.Contains(gfx::Point(x + w - 1, y + h / 2))); \ 19 EXPECT_TRUE(r.Contains(gfx::Point(x + w / 2, y))); \ 20 EXPECT_TRUE(r.Contains(gfx::Point(x + w / 2, y + h - 1))); \ 21 EXPECT_TRUE(r.Contains(gfx::Point(x + w / 2, y + h / 2))); \ 24 EXPECT_FALSE(r.Contains(gfx [all...] |
/external/chromium_org/content/renderer/ |
H A D | render_view_linux.cc | 23 case gfx::FontRenderParams::HINTING_NONE: 25 case gfx::FontRenderParams::HINTING_SLIGHT: 26 case gfx::FontRenderParams::HINTING_MEDIUM: 27 case gfx::FontRenderParams::HINTING_FULL: 36 case gfx::FontRenderParams::HINTING_NONE: return SkPaint::kNo_Hinting; 37 case gfx::FontRenderParams::HINTING_SLIGHT: return SkPaint::kSlight_Hinting; 38 case gfx::FontRenderParams::HINTING_MEDIUM: return SkPaint::kNormal_Hinting; 39 case gfx::FontRenderParams::HINTING_FULL: return SkPaint::kFull_Hinting; 49 case gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE: 50 case gfx [all...] |
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/mojo/services/public/cpp/geometry/lib/ |
H A D | geometry_type_converters.cc | 10 PointPtr TypeConverter<PointPtr, gfx::Point>::Convert(const gfx::Point& input) { 18 gfx::Point TypeConverter<gfx::Point, PointPtr>::Convert(const PointPtr& input) { 20 return gfx::Point(); 21 return gfx::Point(input->x, input->y); 25 PointFPtr TypeConverter<PointFPtr, gfx::PointF>::Convert( 26 const gfx::PointF& input) { 34 gfx::PointF TypeConverter<gfx [all...] |
/external/chromium_org/ui/gfx/ |
H A D | interpolated_transform.h | 10 #include "ui/gfx/point.h" 11 #include "ui/gfx/point3_f.h" 12 #include "ui/gfx/transform.h" 13 #include "ui/gfx/transform_util.h" 14 #include "ui/gfx/vector3d_f.h" 38 gfx::Transform Interpolate(float t) const; 53 virtual gfx::Transform InterpolateButDoNotCompose(float t) const = 0; 97 virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE; 114 InterpolatedAxisAngleRotation(const gfx::Vector3dF& axis, 117 InterpolatedAxisAngleRotation(const gfx [all...] |
/external/chromium_org/cc/trees/ |
H A D | layer_tree_host_unittest_occlusion.cc | 39 void set_expected_occlusion(const gfx::Rect& occlusion) { 88 const gfx::Transform& transform, 89 const gfx::PointF& position, 90 const gfx::Size& bounds, 103 settings->minimum_occlusion_tracking_size = gfx::Size(); 112 gfx::Transform identity_matrix_; 124 gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); 127 gfx::PointF(10.f, 10.f), gfx [all...] |
/external/chromium_org/cc/quads/ |
H A D | io_surface_draw_quad.h | 11 #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::Size& io_surface_size, 34 const gfx::Rect& rect, 35 const gfx::Rect& opaque_rect, 36 const gfx::Rect& visible_rect, 38 const gfx::Size& io_surface_size, 42 gfx [all...] |
H A D | stream_video_draw_quad.h | 11 #include "ui/gfx/transform.h" 20 const gfx::Rect& rect, 21 const gfx::Rect& opaque_rect, 22 const gfx::Rect& visible_rect, 24 const gfx::Transform& matrix); 27 const gfx::Rect& rect, 28 const gfx::Rect& opaque_rect, 29 const gfx::Rect& visible_rect, 32 const gfx::Transform& matrix); 35 gfx [all...] |
/external/chromium_org/chrome/browser/chromeos/display/ |
H A D | overscan_calibrator.h | 11 #include "ui/gfx/display.h" 12 #include "ui/gfx/insets.h" 13 #include "ui/gfx/rect.h" 25 OverscanCalibrator(const gfx::Display& target_display, 26 const gfx::Insets& initial_insets); 38 void UpdateInsets(const gfx::Insets& insets); 40 const gfx::Insets& insets() const { return insets_; } 44 virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; 46 const gfx::Rect& damage_rect_in_dip) OVERRIDE; 51 const gfx [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
H A D | gpu_service_test.cc | 28 gfx::SetGLGetProcAddressProc(gfx::MockGLInterface::GetGLProcAddress); 29 gfx::GLSurface::InitializeOneOffWithMockBindingsForTests(); 30 gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); 31 ::gfx::MockGLInterface::SetGLInterface(gl_.get()); 33 context_ = new gfx::GLContextStubWithExtensions; 36 gfx::GLSurface::InitializeDynamicMockBindingsForTests(context_.get()); 46 ::gfx::MockGLInterface::SetGLInterface(NULL); 48 gfx::ClearGLBindings();
|
/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/views/window/ |
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) { 77 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/ui/ozone/platform/dri/ |
H A D | dri_cursor.cc | 8 #include "ui/gfx/geometry/point.h" 9 #include "ui/gfx/geometry/point_conversions.h" 10 #include "ui/gfx/geometry/point_f.h" 22 cursor_window_(gfx::kNullAcceleratedWidget) { 28 void DriCursor::SetCursor(gfx::AcceleratedWidget widget, 30 DCHECK_NE(widget, gfx::kNullAcceleratedWidget); 41 DCHECK_NE(cursor_window_, gfx::kNullAcceleratedWidget); 52 DCHECK_NE(cursor_window_, gfx::kNullAcceleratedWidget); 54 cursor_window_, std::vector<SkBitmap>(), gfx::Point(), 0); 57 void DriCursor::MoveCursorTo(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/chrome/browser/devtools/ |
H A D | devtools_contents_resizing_strategy.h | 9 #include "ui/gfx/insets.h" 10 #include "ui/gfx/rect.h" 11 #include "ui/gfx/size.h" 19 const gfx::Rect& bounds); 24 const gfx::Rect& bounds() const { return bounds_; } 29 gfx::Rect bounds_; 44 const gfx::Size& container_size, 45 gfx::Rect* new_devtools_bounds, 46 gfx::Rect* new_contents_bounds);
|
/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/chrome/browser/ui/views/tabs/ |
H A D | tab_drag_controller.h | 19 #include "ui/gfx/rect.h" 22 namespace gfx { namespace 87 const gfx::Point& mouse_offset, 123 void Drag(const gfx::Point& point_in_screen); 217 const gfx::Rect& new_bounds) OVERRIDE; 228 gfx::Point GetWindowCreatePoint(const gfx::Point& origin) const; 230 void UpdateDockInfo(const gfx::Point& point_in_screen); 242 bool CanStartDrag(const gfx::Point& point_in_screen) const; 246 void ContinueDragging(const gfx [all...] |
/external/chromium_org/content/common/gpu/ |
H A D | gpu_memory_buffer_factory_x11_pixmap.h | 10 #include "ui/gfx/geometry/size.h" 11 #include "ui/gfx/gpu_memory_buffer.h" 12 #include "ui/gfx/x/x11_types.h" 14 namespace gfx { namespace 26 void CreateGpuMemoryBuffer(const gfx::GpuMemoryBufferId& id, XID pixmap); 29 void DestroyGpuMemoryBuffer(const gfx::GpuMemoryBufferId& id); 32 scoped_refptr<gfx::GLImage> CreateImageForGpuMemoryBuffer( 33 const gfx::GpuMemoryBufferId& id, 34 const gfx::Size& size,
|
/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/ui/base/cursor/ |
H A D | cursor_util.h | 13 #include "ui/gfx/display.h" 14 #include "ui/gfx/geometry/point.h" 23 gfx::Display::Rotation rotation, 25 gfx::Point* hotpoint_in_out); 30 gfx::Display::Rotation rotation, 31 gfx::Point* hotspot, 35 gfx::Display::Rotation rotation, 36 gfx::Point* hotspot,
|