/external/chromium_org/chrome/browser/ui/ |
H A D | elide_url.h | 16 namespace gfx { namespace 35 const gfx::FontList& font_list, 45 const gfx::FontList& font_list,
|
H A D | ntp_background_util.h | 8 namespace gfx { namespace 24 ui::ThemeProvider* tp, gfx::Canvas* canvas, 25 const gfx::Rect& area, int tab_contents_height);
|
/external/chromium_org/chrome/common/extensions/api/notifications/ |
H A D | notification_style.cc | 12 gfx::Size(message_center::kNotificationPreferredImageWidth, 14 sizes.icon_size = gfx::Size(message_center::kNotificationIconSize, 17 gfx::Size(message_center::kNotificationButtonIconSize,
|
/external/chromium_org/components/favicon_base/ |
H A D | favicon_util.h | 12 namespace gfx { namespace 29 void SetFaviconColorSpace(gfx::Image* image); 31 // Takes a vector of PNG-encoded frames, and converts it to a gfx::Image of 32 // size |favicon_size| in DIPS. The result gfx::Image has a gfx::ImageSkia with 33 // gfx::ImageSkiaReps for each |favicon_scales|. 34 gfx::Image SelectFaviconFramesFromPNGs(
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | gl_context_virtual.h | 15 namespace gfx { namespace 27 class GPU_EXPORT GLContextVirtual : public gfx::GLContext { 30 gfx::GLShareGroup* share_group, 31 gfx::GLContext* shared_context, 34 gfx::Display* display(); 38 gfx::GLSurface* compatible_surface, 39 gfx::GpuPreference gpu_preference) OVERRIDE; 41 virtual bool MakeCurrent(gfx::GLSurface* surface) OVERRIDE; 42 virtual void ReleaseCurrent(gfx::GLSurface* surface) OVERRIDE; 43 virtual bool IsCurrent(gfx [all...] |
/external/chromium_org/ui/app_list/views/ |
H A D | cached_label.h | 8 #include "ui/gfx/image/image_skia.h" 12 namespace gfx { namespace 31 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 36 gfx::ImageSkia image_;
|
/external/chromium_org/ui/base/cursor/ |
H A D | cursor_util.cc | 9 #include "ui/gfx/point_conversions.h" 10 #include "ui/gfx/size_conversions.h" 11 #include "ui/gfx/skbitmap_operations.h" 12 #include "ui/gfx/skia_util.h" 17 gfx::Display::Rotation rotation, 19 gfx::Point* hotpoint) { 21 case gfx::Display::ROTATE_0: 23 case gfx::Display::ROTATE_90: 28 case gfx::Display::ROTATE_180: 34 case gfx [all...] |
/external/chromium_org/ui/gfx/ |
H A D | canvas_paint.h | 8 #include "ui/gfx/gfx_export.h" 9 #include "ui/gfx/native_widget_types.h" 11 namespace gfx { namespace 20 GFX_EXPORT static CanvasPaint* CreateCanvasPaint(gfx::NativeView view); 28 virtual gfx::Rect GetInvalidRect() const = 0; 34 } // namespace gfx
|
H A D | screen.h | 11 #include "ui/gfx/display.h" 12 #include "ui/gfx/gfx_export.h" 13 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/point.h" 15 #include "ui/gfx/screen_type_delegate.h" 17 namespace gfx { namespace 57 virtual gfx::Point GetCursorScreenPoint() = 0; 60 virtual gfx::NativeWindow GetWindowUnderCursor() = 0; 63 virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx [all...] |
H A D | screen_unittest.cc | 5 #include "ui/gfx/screen.h" 13 const gfx::Size size = 14 gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().size(); 21 EXPECT_GE(gfx::Screen::GetNativeScreen()->GetNumDisplays(), 1);
|
H A D | screen_win.cc | 5 #include "ui/gfx/screen_win.h" 13 #include "ui/gfx/display.h" 14 #include "ui/gfx/win/dpi.h" 26 gfx::Display GetDisplay(MONITORINFOEX& monitor_info) { 30 gfx::Rect bounds = gfx::Rect(monitor_info.rcMonitor); 31 gfx::Display display(id, bounds); 32 display.set_work_area(gfx::Rect(monitor_info.rcWork)); 33 display.SetScaleAndBounds(gfx::win::GetDeviceScaleFactor(), bounds); 41 std::vector<gfx 53 namespace gfx { namespace [all...] |
/external/chromium_org/ui/ozone/platform/dri/ |
H A D | cursor_factory_evdev_dri.cc | 7 #include "ui/gfx/geometry/point_conversions.h" 17 cursor_location_ = gfx::PointF(2560 / 2, 1700 / 2); // TODO(spang): Argh! 23 gfx::AcceleratedWidget widget, 36 void CursorFactoryEvdevDri::MoveCursorTo(gfx::AcceleratedWidget widget, 37 const gfx::PointF& location) { 44 gfx::Size size = dri_->GetWidgetSize(cursor_window_); 45 cursor_location_.SetToMax(gfx::PointF(0, 0)); 46 cursor_location_.SetToMin(gfx::PointF(size.width(), size.height())); 52 void CursorFactoryEvdevDri::MoveCursor(const gfx::Vector2dF& delta) { 56 gfx [all...] |
/external/chromium_org/ui/ozone/public/ |
H A D | surface_ozone_egl.h | 12 namespace gfx { namespace 33 virtual bool ResizeNativeWindow(const gfx::Size& viewport_size) = 0; 39 // Returns a gfx::VsyncProvider for this surface. Note that this may be 44 virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() = 0;
|
/external/chromium_org/ui/views/controls/table/ |
H A D | table_view_row_background_painter.h | 10 namespace gfx { namespace 23 const gfx::Rect& row_bounds, 24 gfx::Canvas* canvas) = 0;
|
/external/chromium_org/ash/host/ |
H A D | transformer_helper.cc | 12 #include "ui/gfx/geometry/insets.h" 13 #include "ui/gfx/geometry/rect.h" 14 #include "ui/gfx/geometry/rect_f.h" 15 #include "ui/gfx/geometry/size.h" 16 #include "ui/gfx/size_conversions.h" 17 #include "ui/gfx/transform.h" 26 const gfx::Transform& transform) 30 virtual gfx::Transform GetTransform() const OVERRIDE { return transform_; } 32 virtual gfx::Transform GetInverseTransform() const OVERRIDE { 33 gfx [all...] |
/external/chromium_org/cc/layers/ |
H A D | render_surface_impl.h | 17 #include "ui/gfx/rect.h" 18 #include "ui/gfx/rect_f.h" 19 #include "ui/gfx/transform.h" 38 gfx::PointF ContentRectCenter() const { 39 return gfx::RectF(content_rect_).CenterPoint(); 44 gfx::RectF DrawableContentRect() const; 61 void SetDrawTransform(const gfx::Transform& draw_transform) { 64 const gfx::Transform& draw_transform() const { return draw_transform_; } 66 void SetScreenSpaceTransform(const gfx::Transform& screen_space_transform) { 69 const gfx [all...] |
H A D | nine_patch_layer_impl_unittest.cc | 19 #include "ui/gfx/rect_conversions.h" 20 #include "ui/gfx/safe_integer_conversions.h" 21 #include "ui/gfx/transform.h" 26 gfx::Rect ToRoundedIntRect(const gfx::RectF& rect_f) { 27 return gfx::Rect(gfx::ToRoundedInt(rect_f.x()), 28 gfx::ToRoundedInt(rect_f.y()), 29 gfx::ToRoundedInt(rect_f.width()), 30 gfx [all...] |
/external/chromium_org/ui/native_theme/ |
H A D | native_theme_aura.h | 12 namespace gfx { namespace 30 const gfx::Size& size, 35 const gfx::Rect& rect, 38 const gfx::Rect& rect, 46 const gfx::Rect& rect) const OVERRIDE; 50 const gfx::Rect& rect) const OVERRIDE; 53 const gfx::Rect& rect) const OVERRIDE; 59 const gfx::Rect& rect) const 65 gfx::NineImagePainter* GetOrCreatePainter( 68 scoped_ptr<gfx [all...] |
/external/chromium_org/ash/ |
H A D | screen_util.cc | 17 #include "ui/gfx/display.h" 18 #include "ui/gfx/screen.h" 29 gfx::Display ScreenUtil::FindDisplayContainingPoint(const gfx::Point& point) { 34 gfx::Rect ScreenUtil::GetMaximizedWindowBoundsInParent(aura::Window* window) { 42 gfx::Rect ScreenUtil::GetDisplayBoundsInParent(aura::Window* window) { 49 gfx::Rect ScreenUtil::GetDisplayWorkAreaBoundsInParent(aura::Window* window) { 56 gfx::Rect ScreenUtil::ConvertRectToScreen(aura::Window* window, 57 const gfx::Rect& rect) { 58 gfx [all...] |
/external/chromium_org/printing/ |
H A D | printed_page_unittest.cc | 12 gfx::Rect page_content; 16 1, NULL, gfx::Size(1200, 1200), gfx::Rect(0, 0, 400, 1100)); 17 page->GetCenteredPageContentRect(gfx::Size(1000, 1000), &page_content); 25 1, NULL, gfx::Size(500, 1200), gfx::Rect(0, 0, 400, 1100)); 26 page->GetCenteredPageContentRect(gfx::Size(1000, 1000), &page_content); 34 1, NULL, gfx::Size(1200, 500), gfx::Rect(0, 0, 400, 1100)); 35 page->GetCenteredPageContentRect(gfx [all...] |
/external/chromium_org/ui/views/ |
H A D | painter.h | 15 namespace gfx { namespace 37 static void PaintPainterAt(gfx::Canvas* canvas, 39 const gfx::Rect& rect); 44 gfx::Canvas* canvas, 63 static Painter* CreateImagePainter(const gfx::ImageSkia& image, 64 const gfx::Insets& insets); 76 const gfx::Insets& insets); 78 const gfx::Insets& insets); 82 virtual gfx::Size GetMinimumSize() const = 0; 85 virtual void Paint(gfx [all...] |
/external/chromium_org/ash/desktop_background/ |
H A D | wallpaper_resizer_unittest.cc | 11 #include "ui/gfx/image/image_skia_rep.h" 26 gfx::ImageSkia CreateTestImage(const gfx::Size& size) { 43 gfx::ImageSkia image = gfx::ImageSkia::CreateFrom1xBitmap(src); 47 bool IsColor(const gfx::ImageSkia& image, const uint32_t expect) { 67 gfx::ImageSkia Resize(const gfx::ImageSkia& image, 68 const gfx::Size& target_size, 106 gfx [all...] |
/external/chromium_org/cc/output/ |
H A D | direct_renderer.h | 35 const gfx::Rect& device_viewport_rect, 36 const gfx::Rect& device_clip_rect, 47 gfx::Rect root_damage_rect; 48 gfx::Rect device_viewport_rect; 49 gfx::Rect device_clip_rect; 51 gfx::Transform projection_matrix; 52 gfx::Transform window_matrix; 59 void SetEnlargePassTextureAmountForTesting(const gfx::Vector2d& amount); 67 static gfx::RectF QuadVertexRect(); 68 static void QuadRectTransform(gfx [all...] |
/external/chromium_org/ui/aura/ |
H A D | window_tree_host.h | 15 #include "ui/gfx/native_widget_types.h" 17 namespace gfx { namespace 47 static WindowTreeHost* Create(const gfx::Rect& bounds); 51 static WindowTreeHost* GetForAcceleratedWidget(gfx::AcceleratedWidget widget); 74 virtual gfx::Transform GetRootTransform() const; 75 virtual void SetRootTransform(const gfx::Transform& transform); 76 virtual gfx::Transform GetInverseRootTransform() const; 80 virtual void UpdateRootWindowSize(const gfx::Size& host_size); 83 // (gfx::Screen only reports on the virtual desktop exposed by Aura.) 84 static gfx [all...] |
/external/chromium_org/android_webview/browser/ |
H A D | browser_view_renderer_client.h | 9 #include "ui/gfx/geometry/point.h" 10 #include "ui/gfx/geometry/size_f.h" 11 #include "ui/gfx/geometry/vector2d_f.h" 35 virtual gfx::Point GetLocationOnScreen() = 0; 38 virtual void ScrollContainerViewTo(gfx::Vector2d new_value) = 0; 48 virtual void UpdateScrollState(gfx::Vector2d max_scroll_offset, 49 gfx::SizeF contents_size_dip, 55 virtual void DidOverscroll(gfx::Vector2d overscroll_delta) = 0;
|