Searched refs:gfx (Results 276 - 300 of 5206) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_screen_win.cc11 #include "ui/gfx/display.h"
27 // DesktopScreenWin, gfx::ScreenWin implementation:
33 gfx::Display DesktopScreenWin::GetDisplayMatching(
34 const gfx::Rect& match_rect) const {
38 HWND DesktopScreenWin::GetHWNDFromNativeView(gfx::NativeView window) const {
43 gfx::NativeWindow DesktopScreenWin::GetNativeWindowFromHWND(HWND hwnd) const {
50 gfx::Screen* CreateDesktopScreen() {
H A Ddesktop_screen_win.h8 #include "ui/gfx/screen_win.h"
13 class VIEWS_EXPORT DesktopScreenWin : public gfx::ScreenWin {
19 // Overridden from gfx::ScreenWin:
21 virtual gfx::Display GetDisplayMatching(
22 const gfx::Rect& match_rect) const OVERRIDE;
23 virtual HWND GetHWNDFromNativeView(gfx::NativeView window) const OVERRIDE;
24 virtual gfx::NativeWindow GetNativeWindowFromHWND(HWND hwnd) const OVERRIDE;
/external/chromium_org/ui/views/window/
H A Dnon_client_view.h11 namespace gfx { namespace
58 int GetHTComponentForFrame(const gfx::Point& point,
67 virtual gfx::Rect GetBoundsForClientView() const = 0;
69 virtual gfx::Rect GetWindowBoundsForClientBounds(
70 const gfx::Rect& client_bounds) const = 0;
76 virtual int NonClientHitTest(const gfx::Point& point) = 0;
77 virtual void GetWindowMask(const gfx::Size& size,
78 gfx::Path* window_mask) = 0;
89 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE;
96 const gfx
[all...]
/external/chromium_org/ash/display/
H A Droot_window_transformers.cc20 #include "ui/gfx/display.h"
21 #include "ui/gfx/insets.h"
22 #include "ui/gfx/size_conversions.h"
23 #include "ui/gfx/transform.h"
24 #include "ui/gfx/transform.h"
26 DECLARE_WINDOW_PROPERTY_TYPE(gfx::Display::Rotation);
32 DEFINE_WINDOW_PROPERTY_KEY(gfx::Display::Rotation, kRotationPropertyKey,
33 gfx::Display::ROTATE_0);
37 void RoundNearZero(gfx::Transform* transform) {
52 gfx
[all...]
H A Dcursor_window_controller.h10 #include "ui/gfx/display.h"
41 void SetDisplay(const gfx::Display& display);
45 void SetCursor(gfx::NativeCursor cursor);
57 void SetBoundsInScreen(const gfx::Rect& bounds);
66 gfx::Rect bounds_in_screen_;
72 gfx::Display::Rotation cursor_rotation_;
73 gfx::Point hot_point_;
77 gfx::Display display_;
/external/chromium_org/cc/base/
H A Dmath_util_unittest.cc12 #include "ui/gfx/rect.h"
13 #include "ui/gfx/rect_f.h"
14 #include "ui/gfx/transform.h"
23 gfx::Transform transform;
27 gfx::RectF rect = gfx::RectF(0, 0, 1, 1);
28 gfx::RectF projected_rect = MathUtil::ProjectClippedRect(transform, rect);
45 gfx::RectF result = MathUtil::ComputeEnclosingClippedRect(h1, h2, h3, h4);
50 gfx::RectF(gfx
[all...]
/external/chromium_org/ui/aura/test/
H A Dtest_screen.cc12 #include "ui/gfx/geometry/size_conversions.h"
13 #include "ui/gfx/native_widget_types.h"
14 #include "ui/gfx/rect_conversions.h"
15 #include "ui/gfx/screen.h"
21 bool IsRotationPortrait(gfx::Display::Rotation rotation) {
22 return rotation == gfx::Display::ROTATE_90 ||
23 rotation == gfx::Display::ROTATE_270;
29 TestScreen* TestScreen::Create(const gfx::Size& size) {
30 const gfx::Size kDefaultSize(800, 600);
33 return new TestScreen(gfx
[all...]
/external/chromium_org/cc/output/
H A Dbsp_tree_unittest.cc93 std::vector<gfx::Point3F> vertices_a;
94 vertices_a.push_back(gfx::Point3F(0.0f, 10.0f, 0.0f));
95 vertices_a.push_back(gfx::Point3F(0.0f, 0.0f, 0.0f));
96 vertices_a.push_back(gfx::Point3F(10.0f, 0.0f, 0.0f));
97 vertices_a.push_back(gfx::Point3F(10.0f, 10.0f, 0.0f));
98 std::vector<gfx::Point3F> vertices_b;
99 vertices_b.push_back(gfx::Point3F(0.0f, 10.0f, -5.0f));
100 vertices_b.push_back(gfx::Point3F(0.0f, 0.0f, -5.0f));
101 vertices_b.push_back(gfx::Point3F(10.0f, 0.0f, -5.0f));
102 vertices_b.push_back(gfx
[all...]
H A Doutput_surface_client.h14 #include "ui/gfx/rect.h"
16 namespace gfx { namespace
35 virtual void SetNeedsRedrawRect(const gfx::Rect& damage_rect) = 0;
42 const gfx::Transform& transform,
43 const gfx::Rect& viewport,
44 const gfx::Rect& clip,
45 const gfx::Rect& viewport_rect_for_tile_priority,
46 const gfx::Transform& transform_for_tile_priority,
/external/chromium_org/cc/layers/
H A Dnine_patch_layer_impl_unittest.cc18 #include "ui/gfx/rect_conversions.h"
19 #include "ui/gfx/safe_integer_conversions.h"
20 #include "ui/gfx/transform.h"
25 gfx::Rect ToRoundedIntRect(const gfx::RectF& rect_f) {
26 return gfx::Rect(gfx::ToRoundedInt(rect_f.x()),
27 gfx::ToRoundedInt(rect_f.y()),
28 gfx::ToRoundedInt(rect_f.width()),
29 gfx
[all...]
H A Dscrollbar_theme_painter.h12 namespace gfx { namespace
23 const gfx::Rect& rect) = 0;
25 const gfx::Rect& rect) = 0;
27 const gfx::Rect& rect) = 0;
29 const gfx::Rect& rect) = 0;
31 const gfx::Rect& rect) = 0;
33 const gfx::Rect& rect) = 0;
35 const gfx::Rect& rect) = 0;
37 const gfx::Rect& rect) = 0;
38 virtual void PaintTickmarks(SkCanvas* canvas, const gfx
[all...]
/external/chromium_org/ash/system/tray/
H A Dfixed_sized_scroll_view.cc18 view->SetBoundsRect(gfx::Rect(view->GetPreferredSize()));
21 void FixedSizedScrollView::SetFixedSize(const gfx::Size& size) {
28 gfx::Size FixedSizedScrollView::GetPreferredSize() const {
29 gfx::Size size = fixed_size_.IsEmpty() ?
31 gfx::Insets insets = GetInsets();
37 gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize());
43 gfx::Rect bounds = contents()->bounds();
49 void FixedSizedScrollView::OnBoundsChanged(const gfx::Rect& previous_bounds) {
50 gfx
[all...]
/external/chromium_org/ash/system/web_notification/
H A Dash_popup_alignment_delegate.h13 #include "ui/gfx/display_observer.h"
14 #include "ui/gfx/geometry/rect.h"
21 namespace gfx { namespace
37 public gfx::DisplayObserver {
43 void StartObserving(gfx::Screen* screen, const gfx::Display& display);
50 virtual int GetToastOriginX(const gfx::Rect& toast_bounds) const OVERRIDE;
55 virtual void RecomputeAlignment(const gfx::Display& display) OVERRIDE;
75 // Overridden from gfx::DisplayObserver:
76 virtual void OnDisplayAdded(const gfx
[all...]
/external/chromium_org/athena/main/
H A Dathena_frame_view.cc40 gfx::Rect AthenaFrameView::GetBoundsForClientView() const {
41 gfx::Rect client_bounds = bounds();
46 gfx::Rect AthenaFrameView::GetWindowBoundsForClientBounds(
47 const gfx::Rect& client_bounds) const {
48 gfx::Rect window_bounds = client_bounds;
53 int AthenaFrameView::NonClientHitTest(const gfx::Point& point) {
64 gfx::Size AthenaFrameView::GetPreferredSize() const {
65 gfx::Size pref = frame_->client_view()->GetPreferredSize();
66 gfx::Rect bounds(0, 0, pref.width(), pref.height());
76 gfx
[all...]
/external/chromium_org/cc/quads/
H A Drender_pass_draw_quad.h24 const gfx::Rect& rect,
25 const gfx::Rect& visible_rect,
28 const gfx::RectF& mask_uv_rect,
30 const gfx::Vector2dF& filters_scale,
34 const gfx::Rect& rect,
35 const gfx::Rect& opaque_rect,
36 const gfx::Rect& visible_rect,
40 const gfx::RectF& mask_uv_rect,
42 const gfx::Vector2dF& filters_scale,
47 gfx
[all...]
/external/chromium_org/cc/resources/
H A Dlayer_quad_unittest.cc8 #include "ui/gfx/quad_f.h"
14 gfx::PointF p1(-0.5f, -0.5f);
15 gfx::PointF p2(0.5f, -0.5f);
16 gfx::PointF p3(0.5f, 0.5f);
17 gfx::PointF p4(-0.5f, 0.5f);
19 gfx::QuadF quad_cw(p1, p2, p3, p4);
23 gfx::QuadF quad_ccw(p1, p4, p3, p2);
29 gfx::PointF p1(-0.5f, -0.5f);
30 gfx::PointF p2(0.5f, -0.5f);
31 gfx
[all...]
/external/chromium_org/chrome/browser/thumbnails/
H A Dcontent_based_thumbnailing_algorithm.h18 explicit ContentBasedThumbnailingAlgorithm(const gfx::Size& target_size);
20 virtual ClipResult GetCanvasCopyInfo(const gfx::Size& source_size,
22 gfx::Rect* clipping_rect,
23 gfx::Size* target_size) const OVERRIDE;
33 const gfx::Size& thumbnail_size,
41 const gfx::Size& thumbnail_size,
49 static gfx::Rect GetClippingRect(const gfx::Size& source_size,
50 const gfx::Size& thumbnail_size,
51 gfx
[all...]
/external/chromium_org/chrome/browser/ui/app_list/
H A Dapp_list_positioner.cc10 #include "ui/gfx/point.h"
11 #include "ui/gfx/rect.h"
13 AppListPositioner::AppListPositioner(const gfx::Display& display,
14 const gfx::Size& window_size,
20 void AppListPositioner::WorkAreaSubtract(const gfx::Rect& rect) {
21 gfx::Rect work_area = display_.work_area();
30 gfx::Rect work_area = display_.work_area();
35 gfx::Point AppListPositioner::GetAnchorPointForScreenCenter() const {
39 gfx::Point AppListPositioner::GetAnchorPointForScreenCorner(
41 const gfx
[all...]
/external/chromium_org/content/renderer/pepper/
H A Dgfx_conversion.h11 #include "ui/gfx/point.h"
12 #include "ui/gfx/rect.h"
13 #include "ui/gfx/rect_f.h"
14 #include "ui/gfx/size.h"
16 // Conversions for graphics types between our gfx library and PPAPI.
21 inline gfx::Point PP_ToGfxPoint(const PP_Point& p) {
22 return gfx::Point(p.x, p.y);
25 inline PP_Point PP_FromGfxPoint(const gfx::Point& p) {
29 inline gfx::Rect PP_ToGfxRect(const PP_Rect& r) {
30 return gfx
[all...]
/external/chromium_org/printing/
H A Dpage_setup.h9 #include "ui/gfx/rect.h"
46 void Init(const gfx::Size& physical_size, const gfx::Rect& printable_area,
58 const gfx::Size& physical_size() const { return physical_size_; }
59 const gfx::Rect& overlay_area() const { return overlay_area_; }
60 const gfx::Rect& content_area() const { return content_area_; }
61 const gfx::Rect& printable_area() const { return printable_area_; }
73 void CalculateSizesWithinRect(const gfx::Rect& bounds, int text_height);
76 gfx::Size physical_size_;
80 gfx
[all...]
/external/chromium_org/ui/aura/
H A Dwindow_delegate.h13 #include "ui/gfx/native_widget_types.h"
15 namespace gfx { namespace
38 virtual gfx::Size GetMinimumSize() const = 0;
41 virtual gfx::Size GetMaximumSize() const = 0;
44 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
45 const gfx::Rect& new_bounds) = 0;
49 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) = 0;
53 virtual int GetNonClientComponent(const gfx::Point& point) const = 0;
59 const gfx
[all...]
/external/chromium_org/ui/base/ime/
H A Ddummy_text_input_client.cc6 #include "ui/gfx/rect.h"
35 gfx::NativeWindow DummyTextInputClient::GetAttachedWindow() const {
51 gfx::Rect DummyTextInputClient::GetCaretBounds() const {
52 return gfx::Rect();
57 gfx::Rect* rect) const {
65 bool DummyTextInputClient::GetTextRange(gfx::Range* range) const {
69 bool DummyTextInputClient::GetCompositionTextRange(gfx::Range* range) const {
73 bool DummyTextInputClient::GetSelectionRange(gfx::Range* range) const {
77 bool DummyTextInputClient::SetSelectionRange(const gfx::Range& range) {
81 bool DummyTextInputClient::DeleteRange(const gfx
[all...]
H A Dtext_input_client.h15 #include "ui/gfx/native_widget_types.h"
16 #include "ui/gfx/range/range.h"
18 namespace gfx { namespace
61 virtual gfx::NativeWindow GetAttachedWindow() const = 0;
81 virtual gfx::Rect GetCaretBounds() const = 0;
93 gfx::Rect* rect) const = 0;
103 virtual bool GetTextRange(gfx::Range* range) const = 0;
107 virtual bool GetCompositionTextRange(gfx::Range* range) const = 0;
111 virtual bool GetSelectionRange(gfx::Range* range) const = 0;
116 virtual bool SetSelectionRange(const gfx
[all...]
/external/chromium_org/ui/gfx/
H A Ddisplay_unittest.cc5 #include "ui/gfx/display.h"
8 #include "ui/gfx/insets.h"
13 gfx::Display display(0, gfx::Rect(0, 0, 100, 100));
17 display.set_work_area(gfx::Rect(3, 4, 90, 80));
21 display.SetScaleAndBounds(1.0f, gfx::Rect(10, 20, 50, 50));
25 display.SetSize(gfx::Size(200, 200));
28 display.UpdateWorkAreaFromInsets(gfx::Insets(3, 4, 5, 6));
33 gfx::Display display(0, gfx
[all...]
/external/chromium_org/ui/views/
H A Dshadow_border.cc7 #include "ui/gfx/canvas.h"
8 #include "ui/gfx/insets.h"
9 #include "ui/gfx/rect.h"
10 #include "ui/gfx/shadow_value.h"
11 #include "ui/gfx/skia_util.h"
30 void ShadowBorder::Paint(const views::View& view, gfx::Canvas* canvas) {
32 std::vector<gfx::ShadowValue> shadows;
33 shadows.push_back(gfx::ShadowValue(gfx::Point(), blur_, color_));
34 skia::RefPtr<SkDrawLooper> looper = gfx
[all...]

Completed in 1290 milliseconds

<<11121314151617181920>>