/external/chromium_org/content/browser/renderer_host/ |
dip_util.cc | 9 #include "ui/gfx/display.h" 10 #include "ui/gfx/point.h" 11 #include "ui/gfx/point_conversions.h" 12 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect_conversions.h" 14 #include "ui/gfx/screen.h" 15 #include "ui/gfx/size.h" 16 #include "ui/gfx/size_conversions.h" 24 gfx::Point ConvertViewPointToDIP(const RenderWidgetHostView* view, 25 const gfx::Point& point_in_pixel) [all...] |
dip_util.h | 10 namespace gfx { namespace 14 } // namespace gfx 25 CONTENT_EXPORT gfx::Point ConvertViewPointToDIP( 26 const RenderWidgetHostView* view, const gfx::Point& point_in_pixel); 27 CONTENT_EXPORT gfx::Size ConvertViewSizeToPixel( 28 const RenderWidgetHostView* view, const gfx::Size& size_in_dip); 29 CONTENT_EXPORT gfx::Rect ConvertViewRectToPixel( 30 const RenderWidgetHostView* view, const gfx::Rect& rect_in_dip); 32 CONTENT_EXPORT gfx::Size ConvertSizeToDIP( 33 float scale_factor, const gfx::Size& size_in_pixel) [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
async_pixel_transfer_manager_mac.cc | 15 gfx::GLContext* context) { 17 switch (gfx::GetGLImplementation()) { 18 case gfx::kGLImplementationOSMesaGL: 19 case gfx::kGLImplementationDesktopGL: 20 case gfx::kGLImplementationAppleGL: 22 case gfx::kGLImplementationMockGL:
|
async_pixel_transfer_manager_win.cc | 15 gfx::GLContext* context) { 17 switch (gfx::GetGLImplementation()) { 18 case gfx::kGLImplementationOSMesaGL: 19 case gfx::kGLImplementationDesktopGL: 20 case gfx::kGLImplementationEGLGLES2: 22 case gfx::kGLImplementationMockGL:
|
/external/chromium_org/ui/aura/test/ |
test_screen.h | 10 #include "ui/gfx/display.h" 11 #include "ui/gfx/screen.h" 13 namespace gfx { namespace 22 // A minimal, testing Aura implementation of gfx::Screen. 23 class TestScreen : public gfx::Screen, 26 // Creates a gfx::Screen of the specified size. If no size is specified, then 28 static TestScreen* Create(const gfx::Size& size); 36 void SetDisplayRotation(gfx::Display::Rotation rotation); 40 gfx::Transform GetRotationTransform() const; 41 gfx::Transform GetUIScaleTransform() const [all...] |
/external/chromium_org/ui/gfx/ |
screen_android.cc | 5 #include "ui/gfx/screen.h" 8 #include "ui/gfx/android/device_display_info.h" 9 #include "ui/gfx/display.h" 10 #include "ui/gfx/size_conversions.h" 12 namespace gfx { namespace 20 virtual gfx::Point GetCursorScreenPoint() OVERRIDE { return gfx::Point(); } 22 virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE { 27 virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point [all...] |
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::Display> GetAllDisplays() const OVERRIDE [all...] |
/external/chromium_org/ui/views/ |
rect_based_targeting_utils.h | 10 namespace gfx { namespace 18 VIEWS_EXPORT bool UsePointBasedTargeting(const gfx::Rect& rect); 21 VIEWS_EXPORT float PercentCoveredBy(const gfx::Rect& rect_1, 22 const gfx::Rect& rect_2); 25 VIEWS_EXPORT int DistanceSquaredFromCenterToPoint(const gfx::Point& point, 26 const gfx::Rect& rect);
|
rect_based_targeting_utils_unittest.cc | 8 #include "ui/gfx/rect.h" 13 gfx::Rect rect_1(gfx::Point(-22, 30), gfx::Size(1, 1)); 14 gfx::Rect rect_2(gfx::Point(0, 0), gfx::Size(34, 55)); 15 gfx::Rect rect_3(gfx::Point(12, 12), gfx::Size(1, 0)) [all...] |
/external/chromium_org/ui/views/window/ |
frame_background.h | 12 namespace gfx { namespace 34 void set_theme_image(const gfx::ImageSkia* image) { theme_image_ = image; } 39 void set_theme_overlay_image(gfx::ImageSkia* image) { 52 void SetSideImages(const gfx::ImageSkia* left, 53 const gfx::ImageSkia* top, 54 const gfx::ImageSkia* right, 55 const gfx::ImageSkia* bottom); 59 void SetCornerImages(const gfx::ImageSkia* top_left, 60 const gfx::ImageSkia* top_right, 61 const gfx::ImageSkia* bottom_left [all...] |
/external/chromium_org/ui/compositor/ |
dip_util.h | 10 #include "ui/gfx/point_f.h" 12 namespace gfx { namespace 16 } // namespace gfx 25 COMPOSITOR_EXPORT gfx::Point ConvertPointToDIP( 27 const gfx::Point& point_in_pixel); 28 COMPOSITOR_EXPORT gfx::PointF ConvertPointToDIP( 30 const gfx::PointF& point_in_pixel); 31 COMPOSITOR_EXPORT gfx::Size ConvertSizeToDIP( 33 const gfx::Size& size_in_pixel); 34 COMPOSITOR_EXPORT gfx::Rect ConvertRectToDIP [all...] |
/external/chromium_org/ui/display/util/ |
display_util_unittest.cc | 12 EXPECT_TRUE(IsDisplaySizeBlackListed(gfx::Size(10, 10))); 13 EXPECT_TRUE(IsDisplaySizeBlackListed(gfx::Size(40, 30))); 14 EXPECT_TRUE(IsDisplaySizeBlackListed(gfx::Size(50, 40))); 15 EXPECT_TRUE(IsDisplaySizeBlackListed(gfx::Size(160, 90))); 16 EXPECT_TRUE(IsDisplaySizeBlackListed(gfx::Size(160, 100))); 18 EXPECT_FALSE(IsDisplaySizeBlackListed(gfx::Size(50, 60))); 19 EXPECT_FALSE(IsDisplaySizeBlackListed(gfx::Size(100, 70))); 20 EXPECT_FALSE(IsDisplaySizeBlackListed(gfx::Size(272, 181))); 26 gfx::Size(256, 144), gfx::Size(1366, 768))) [all...] |
/external/chromium_org/cc/base/ |
tiling_data_unittest.cc | 16 int NumTiles(const gfx::Size& max_texture_size, 17 const gfx::Rect& tiling_rect, 30 int XIndex(const gfx::Size& max_texture_size, 31 const gfx::Rect& tiling_rect, 38 int YIndex(const gfx::Size& max_texture_size, 39 const gfx::Rect& tiling_rect, 46 int MinBorderXIndex(const gfx::Size& max_texture_size, 47 const gfx::Rect& tiling_rect, 54 int MinBorderYIndex(const gfx::Size& max_texture_size, 55 const gfx::Rect& tiling_rect [all...] |
/external/chromium_org/chrome/browser/devtools/ |
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::Insets& insets, 20 const gfx::Size& min_size); 21 explicit DevToolsContentsResizingStrategy(const gfx::Rect& bounds); 26 const gfx::Insets& insets() const { return insets_; } 27 const gfx::Size& min_size() const { return min_size_; } 28 const gfx::Rect& bounds() const { return bounds_; } 32 gfx::Insets insets_ [all...] |
devtools_contents_resizing_strategy_unittest.cc | 11 gfx::Size container_size(100, 200); 12 gfx::Rect old_devtools_bounds(0, 0, 100, 200); 13 gfx::Rect old_contents_bounds(20, 20, 60, 140); 14 gfx::Rect new_devtools_bounds; 15 gfx::Rect new_contents_bounds; 20 EXPECT_EQ(gfx::Rect(0, 0, 100, 200), new_devtools_bounds); 21 EXPECT_EQ(gfx::Rect(0, 0, 100, 200), new_contents_bounds); 26 gfx::Insets(10, 20, 30, 40), gfx::Size(0, 0)); 27 gfx::Size container_size(100, 200) [all...] |
/external/chromium_org/ui/app_list/views/ |
app_list_drag_and_drop_host.h | 10 namespace gfx { namespace 13 } // namespace gfx 28 const gfx::Point& location_in_screen_coordinates, 29 const gfx::ImageSkia& icon, 31 const gfx::Vector2d& cursor_offset_from_center, 36 const gfx::Point& location_in_screen_coordinates) = 0; 46 const gfx::Point& location_in_screen_coordinates) = 0; 53 virtual bool Drag(const gfx::Point& location_in_screen_coordinates) = 0;
|
/external/chromium_org/ui/gfx/image/ |
canvas_image_source.h | 10 #include "ui/gfx/gfx_export.h" 11 #include "ui/gfx/image/image_skia_source.h" 12 #include "ui/gfx/size.h" 14 namespace gfx { namespace 19 // a scale factor using gfx::Canvas. It creates a new Canvas 22 class GFX_EXPORT CanvasImageSource : public gfx::ImageSkiaSource { 24 CanvasImageSource(const gfx::Size& size, bool is_opaque); 27 virtual void Draw(gfx::Canvas* canvas) = 0; 30 const gfx::Size& size() const { return size_; }; 32 // Overridden from gfx::ImageSkiaSource [all...] |
/external/chromium_org/ui/gl/ |
scoped_make_current.h | 12 namespace gfx { namespace 21 ScopedMakeCurrent(gfx::GLContext* context, gfx::GLSurface* surface); 27 scoped_refptr<gfx::GLContext> previous_context_; 28 scoped_refptr<gfx::GLSurface> previous_surface_; 29 scoped_refptr<gfx::GLContext> context_; 30 scoped_refptr<gfx::GLSurface> surface_;
|
/external/chromium_org/ui/message_center/views/ |
proportional_image_view.h | 8 #include "ui/gfx/image/image_skia.h" 16 ProportionalImageView(const gfx::ImageSkia& image, const gfx::Size& max_size); 20 virtual gfx::Size GetPreferredSize() const OVERRIDE; 22 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 25 gfx::Size GetImageDrawingSize(); 27 gfx::ImageSkia image_; 28 gfx::Size max_size_;
|
/external/chromium_org/chrome/browser/ui/window_sizer/ |
window_sizer_common_unittest.h | 13 #include "ui/gfx/rect.h" 16 static const gfx::Rect p1024x768(0, 0, 1024, 768); 17 static const gfx::Rect p1280x1024(0, 0, 1280, 1024); 18 static const gfx::Rect p1600x1200(0, 0, 1600, 1200); 19 static const gfx::Rect p1680x1050(0, 0, 1680, 1050); 20 static const gfx::Rect p1920x1200(0, 0, 1920, 1200); 24 static const gfx::Rect left_s1024x768(-1024, 0, 1024, 768); 28 static const gfx::Rect right_s1024x768(1024, 0, 1024, 768); 32 static const gfx::Rect top_s1024x768(0, -768, 1024, 768); 36 static const gfx::Rect bottom_s1024x768(0, 768, 1024, 768) [all...] |
/external/chromium_org/content/common/ |
drag_messages.h | 14 #include "ui/gfx/point.h" 15 #include "ui/gfx/vector2d.h" 23 gfx::Point /* client_pt */, 24 gfx::Point /* screen_pt */, 29 gfx::Point /* client_pt */, 30 gfx::Point /* screen_pt */, 37 gfx::Point /* client_pt */, 38 gfx::Point /* screen_pt */, 43 gfx::Point /* client_pt */, 44 gfx::Point /* screen_pt */ [all...] |
/external/chromium_org/mojo/services/public/cpp/geometry/ |
geometry_type_converters.h | 10 #include "ui/gfx/geometry/rect.h" 15 class MOJO_GEOMETRY_EXPORT TypeConverter<PointPtr, gfx::Point> { 17 static PointPtr ConvertFrom(const gfx::Point& input); 18 static gfx::Point ConvertTo(const PointPtr& input); 22 class MOJO_GEOMETRY_EXPORT TypeConverter<SizePtr, gfx::Size> { 24 static SizePtr ConvertFrom(const gfx::Size& input); 25 static gfx::Size ConvertTo(const SizePtr& input); 29 class MOJO_GEOMETRY_EXPORT TypeConverter<RectPtr, gfx::Rect> { 31 static RectPtr ConvertFrom(const gfx::Rect& input); 32 static gfx::Rect ConvertTo(const RectPtr& input) [all...] |
/external/chromium_org/ui/ozone/platform/dri/ |
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::PointF location() OVERRIDE [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
test_popup_controller_common.h | 10 #include "ui/gfx/display.h" 16 explicit TestPopupControllerCommon(const gfx::RectF& element_bounds); 19 void set_display(const gfx::Display& display) { display_ = display; } 23 virtual gfx::Display GetDisplayNearestPoint( 24 const gfx::Point& point) const OVERRIDE; 27 gfx::Display display_;
|
/external/chromium_org/content/common/gpu/client/ |
gpu_memory_buffer_factory_host.h | 10 namespace gfx { namespace 19 typedef base::Callback<void(const gfx::GpuMemoryBufferHandle& handle)> 23 const gfx::GpuMemoryBufferHandle& handle, 24 const gfx::Size& size, 28 virtual void DestroyGpuMemoryBuffer(const gfx::GpuMemoryBufferHandle& handle,
|