Home
last modified time | relevance | path

Searched refs:gfx (Results 1 – 25 of 988) sorted by relevance

12345678910>>...40

/external/chromium/chrome/browser/ui/
Dwindow_sizer_unittest.cc12 static const gfx::Rect tentwentyfour(0, 0, 1024, 768);
13 static const gfx::Rect twelveeighty(0, 0, 1280, 1024);
14 static const gfx::Rect sixteenhundred(0, 0, 1600, 1200);
15 static const gfx::Rect sixteeneighty(0, 0, 1680, 1050);
16 static const gfx::Rect nineteentwenty(0, 0, 1920, 1200);
20 static const gfx::Rect left_nonprimary(-1024, 0, 1024, 768);
24 static const gfx::Rect right_nonprimary(1024, 0, 1024, 768);
28 static const gfx::Rect top_nonprimary(0, -768, 1024, 768);
32 static const gfx::Rect bottom_nonprimary(0, 768, 1024, 768);
35 static const gfx::Rect taskbar_bottom_work_area(0, 0, 1024, 734);
[all …]
Dwindow_sizer.h49 virtual gfx::Rect GetPrimaryMonitorWorkArea() const = 0;
52 virtual gfx::Rect GetPrimaryMonitorBounds() const = 0;
56 virtual gfx::Rect GetMonitorWorkAreaMatching(
57 const gfx::Rect& match_rect) const = 0;
61 virtual gfx::Point GetBoundsOffsetMatching(
62 const gfx::Rect& match_rect) const = 0;
76 gfx::Rect GetWorkAreaAt(size_t index) const { in GetWorkAreaAt()
81 std::vector<gfx::Rect> work_areas_;
92 virtual bool GetPersistentState(gfx::Rect* bounds,
94 gfx::Rect* work_area) const = 0;
[all …]
Dwindow_sizer_win.cc22 virtual gfx::Rect GetPrimaryMonitorWorkArea() const { in GetPrimaryMonitorWorkArea()
23 return gfx::Rect(GetMonitorInfoForMonitor(MonitorFromWindow(NULL, in GetPrimaryMonitorWorkArea()
27 virtual gfx::Rect GetPrimaryMonitorBounds() const { in GetPrimaryMonitorBounds()
28 return gfx::Rect(GetMonitorInfoForMonitor(MonitorFromWindow(NULL, in GetPrimaryMonitorBounds()
32 virtual gfx::Rect GetMonitorWorkAreaMatching( in GetMonitorWorkAreaMatching()
33 const gfx::Rect& match_rect) const { in GetMonitorWorkAreaMatching()
37 return gfx::Rect(monitor_info.rcWork); in GetMonitorWorkAreaMatching()
40 virtual gfx::Point GetBoundsOffsetMatching( in GetBoundsOffsetMatching()
41 const gfx::Rect& match_rect) const { in GetBoundsOffsetMatching()
45 return gfx::Point(monitor_info.rcWork.left - monitor_info.rcMonitor.left, in GetBoundsOffsetMatching()
[all …]
/external/chromium/chrome/browser/ui/tabs/
Ddock_info_unittest.cc21 gfx::Point screen_loc[] = { in TEST()
22 gfx::Point(0, 0), in TEST()
23 gfx::Point(kPopupWidth/2 - 1, kPopupHeight/2 - 1), in TEST()
24 gfx::Point(kPopupWidth/2, kPopupHeight/2), in TEST()
25 gfx::Point(kHotSpotDeltaX - 1, kHotSpotDeltaY - 1), in TEST()
26 gfx::Point(kHotSpotDeltaX, kHotSpotDeltaY), in TEST()
27 gfx::Point(-kHotSpotDeltaX, -kHotSpotDeltaY) in TEST()
29 gfx::Point hotspot[] = { in TEST()
30 gfx::Point(0, 0), in TEST()
31 gfx::Point(0, 0), in TEST()
[all …]
Ddock_info.h30 const gfx::Point& screen_point,
31 const std::set<gfx::NativeView>& ignore) = 0;
33 virtual gfx::NativeWindow GetLocalProcessWindowAtPoint(
34 const gfx::Point& screen_point,
35 const std::set<gfx::NativeView>& ignore) = 0;
67 static bool IsCloseToPoint(const gfx::Point& screen_loc,
73 static bool IsCloseToMonitorPoint(const gfx::Point& screen_loc,
95 static DockInfo GetDockInfoAtPoint(const gfx::Point& screen_point,
96 const std::set<gfx::NativeView>& ignore);
105 static gfx::NativeWindow GetLocalProcessWindowAtPoint(
[all …]
/external/chromium/webkit/glue/
Dwebthemeengine_impl_win.cc30 static gfx::NativeTheme::State WebButtonStateToGfx( in WebButtonStateToGfx()
33 gfx::NativeTheme::ButtonExtraParams* extra) { in WebButtonStateToGfx()
34 gfx::NativeTheme::State gfx_state = gfx::NativeTheme::kNormal; in WebButtonStateToGfx()
39 gfx_state = gfx::NativeTheme::kNormal; in WebButtonStateToGfx()
45 gfx_state = gfx::NativeTheme::kHovered; in WebButtonStateToGfx()
51 gfx_state = gfx::NativeTheme::kPressed; in WebButtonStateToGfx()
57 gfx_state = gfx::NativeTheme::kDisabled; in WebButtonStateToGfx()
63 gfx_state = gfx::NativeTheme::kNormal; in WebButtonStateToGfx()
69 gfx_state = gfx::NativeTheme::kNormal; in WebButtonStateToGfx()
80 gfx_state = gfx::NativeTheme::kNormal; in WebButtonStateToGfx()
[all …]
Dwebthemeengine_impl_linux.cc18 static gfx::Rect WebRectToRect(const WebRect& rect) { in WebRectToRect()
19 return gfx::Rect(rect.x, rect.y, rect.width, rect.height); in WebRectToRect()
22 static gfx::NativeTheme::Part NativeThemePart( in NativeThemePart()
26 return gfx::NativeTheme::kScrollbarDownArrow; in NativeThemePart()
28 return gfx::NativeTheme::kScrollbarLeftArrow; in NativeThemePart()
30 return gfx::NativeTheme::kScrollbarRightArrow; in NativeThemePart()
32 return gfx::NativeTheme::kScrollbarUpArrow; in NativeThemePart()
34 return gfx::NativeTheme::kScrollbarHorizontalThumb; in NativeThemePart()
36 return gfx::NativeTheme::kScrollbarVerticalThumb; in NativeThemePart()
38 return gfx::NativeTheme::kScrollbarHorizontalTrack; in NativeThemePart()
[all …]
/external/chromium/chrome/browser/ui/views/bubble/
Dborder_contents_unittest.cc14 void set_monitor_bounds(const gfx::Rect& bounds) { in set_monitor_bounds()
21 virtual gfx::Rect GetMonitorBounds(const gfx::Rect& rect) { in GetMonitorBounds()
26 gfx::Rect monitor_bounds_;
38 gfx::Rect contents_bounds; in TEST_F()
39 gfx::Rect window_bounds; in TEST_F()
40 border_contents.set_monitor_bounds(gfx::Rect(0, 0, 1000, 1000)); in TEST_F()
42 gfx::Rect(100, 100, 50, 50), // |position_relative_to| in TEST_F()
45 gfx::Size(500, 500), // |contents_size| in TEST_F()
59 gfx::Rect(100, 100, 50, 50), // |position_relative_to| in TEST_F()
62 gfx::Size(500, 500), // |contents_size| in TEST_F()
[all …]
Dborder_contents.h32 const gfx::Rect& position_relative_to, // In screen coordinates
35 const gfx::Size& contents_size,
36 gfx::Rect* contents_bounds, // Returned in window coordinates
37 gfx::Rect* window_bounds); // Returned in screen coordinates
44 virtual gfx::Rect GetMonitorBounds(const gfx::Rect& rect);
59 const gfx::Rect& position_relative_to,
60 const gfx::Rect& monitor_bounds,
61 const gfx::Size& local_contents_size,
63 gfx::Rect* window_bounds);
69 static bool ComputeOffScreenInsets(const gfx::Rect& monitor_bounds,
[all …]
Dborder_contents.cc30 const gfx::Rect& position_relative_to, in SizeAndGetBounds()
33 const gfx::Size& contents_size, in SizeAndGetBounds()
34 gfx::Rect* contents_bounds, in SizeAndGetBounds()
35 gfx::Rect* window_bounds) { in SizeAndGetBounds()
43 gfx::Size local_contents_size(contents_size); in SizeAndGetBounds()
51 gfx::Rect monitor_bounds = GetMonitorBounds(position_relative_to); in SizeAndGetBounds()
68 *contents_bounds = gfx::Rect(gfx::Point(), window_bounds->size()); in SizeAndGetBounds()
69 gfx::Insets insets; in SizeAndGetBounds()
75 gfx::Rect BorderContents::GetMonitorBounds(const gfx::Rect& rect) { in GetMonitorBounds()
83 const gfx::Rect& position_relative_to, in MirrorArrowIfOffScreen()
[all …]
/external/quake/quake/src/QW/progs/
Dfiles.dat210 1 gfx.wad
218 1 gfx/palette.lmp
219 1 gfx/colormap.lmp
220 2 gfx/pop.lmp
221 1 gfx/complete.lmp
222 1 gfx/inter.lmp
223 1 gfx/ranking.lmp
224 1 gfx/vidmodes.lmp
225 1 gfx/finale.lmp
226 1 gfx/conback.lmp
[all …]
Dworld.qc12 precache_file ("gfx.wad");
26 precache_file ("gfx/palette.lmp");
27 precache_file ("gfx/colormap.lmp");
29 precache_file2 ("gfx/pop.lmp");
31 precache_file ("gfx/complete.lmp");
32 precache_file ("gfx/inter.lmp");
34 precache_file ("gfx/ranking.lmp");
35 precache_file ("gfx/vidmodes.lmp");
36 precache_file ("gfx/finale.lmp");
37 precache_file ("gfx/conback.lmp");
[all …]
/external/chromium/chrome/browser/ui/views/frame/
Dopaque_browser_frame_view.h16 namespace gfx {
34 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
37 virtual gfx::Size GetMinimumSize() OVERRIDE;
49 virtual gfx::Rect GetBoundsForReservedArea() const;
73 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
76 virtual gfx::Rect GetWindowBoundsForClientBounds(
77 const gfx::Rect& client_bounds) const OVERRIDE;
78 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
79 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask)
86 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
[all …]
Dapp_panel_browser_frame_view.h17 namespace gfx {
36 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
39 virtual gfx::Size GetMinimumSize() OVERRIDE;
43 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
46 virtual gfx::Rect GetWindowBoundsForClientBounds(
47 const gfx::Rect& client_bounds) const OVERRIDE;
48 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
49 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask)
56 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
88 gfx::Rect IconBounds() const;
[all …]
Dglass_browser_frame_view.h35 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
40 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
42 virtual gfx::Rect GetWindowBoundsForClientBounds(
43 const gfx::Rect& client_bounds) const OVERRIDE;
44 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
45 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) in GetWindowMask()
52 virtual void RunMenu(views::View* source, const gfx::Point& pt) OVERRIDE;
56 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
58 virtual bool HitTest(const gfx::Point& l) const OVERRIDE;
77 void PaintToolbarBackground(gfx::Canvas* canvas);
[all …]
Dbrowser_view_layout.cc58 gfx::Size BrowserViewLayout::GetMinimumSize() { in GetMinimumSize()
61 gfx::Size tabstrip_size( in GetMinimumSize()
63 tabstrip_->GetMinimumSize() : gfx::Size()); in GetMinimumSize()
64 gfx::Size toolbar_size( in GetMinimumSize()
67 toolbar_->GetMinimumSize() : gfx::Size()); in GetMinimumSize()
70 gfx::Size bookmark_bar_size; in GetMinimumSize()
78 gfx::Size contents_size(contents_split_->GetMinimumSize()); in GetMinimumSize()
85 return gfx::Size(min_width, min_height); in GetMinimumSize()
88 gfx::Rect BrowserViewLayout::GetFindBarBoundingBox() const { in GetFindBarBoundingBox()
100 gfx::Rect bounding_box(contents_container_->bounds()); in GetFindBarBoundingBox()
[all …]
/external/chromium/chrome/browser/ui/views/tabs/
Dtab.h41 void set_background_offset(const gfx::Point& offset) { in set_background_offset()
46 static gfx::Size GetMinimumUnselectedSize();
50 static gfx::Size GetMinimumSelectedSize();
53 static gfx::Size GetStandardSize();
60 virtual const gfx::Rect& GetTitleBounds() const OVERRIDE;
61 virtual const gfx::Rect& GetIconBounds() const OVERRIDE;
66 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
71 virtual void GetHitTestMask(gfx::Path* path) const OVERRIDE;
72 virtual bool GetTooltipTextOrigin(const gfx::Point& p,
73 gfx::Point* origin) OVERRIDE;
[all …]
Ddragged_tab_view.h24 const std::vector<gfx::Rect>& renderer_bounds,
25 const gfx::Point& mouse_tab_offset,
26 const gfx::Size& contents_size,
32 void MoveTo(const gfx::Point& screen_point);
35 void set_mouse_tab_offset(const gfx::Point& offset) { in set_mouse_tab_offset()
44 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
46 virtual gfx::Size GetPreferredSize() OVERRIDE;
49 void PaintDetachedView(gfx::Canvas* canvas);
52 void PaintFocusRect(gfx::Canvas* canvas);
55 gfx::Size PreferredContainerSize();
[all …]
Ddragged_tab_controller.h59 const gfx::Point& mouse_offset,
86 typedef std::set<gfx::NativeView> DockWindows;
141 const gfx::Rect& initial_pos,
148 const gfx::Rect& pos) OVERRIDE;
172 gfx::Point GetWindowCreatePoint() const;
174 void UpdateDockInfo(const gfx::Point& screen_point);
193 void MoveAttached(const gfx::Point& screen_point);
196 void MoveDetached(const gfx::Point& screen_point);
200 BaseTabStrip* GetTabStripForPoint(const gfx::Point& screen_point);
202 DockInfo GetDockInfoAtPoint(const gfx::Point& screen_point);
[all …]
Ddragged_tab_view.cc30 const std::vector<gfx::Rect>& renderer_bounds, in DraggedTabView()
31 const gfx::Point& mouse_tab_offset, in DraggedTabView()
32 const gfx::Size& contents_size, in DraggedTabView()
57 gfx::Size container_size(PreferredContainerSize()); in DraggedTabView()
58 container_->Init(NULL, gfx::Rect(gfx::Point(), container_size)); in DraggedTabView()
61 container_->SetBounds(gfx::Rect(gfx::Point(), container_size)); in DraggedTabView()
70 void DraggedTabView::MoveTo(const gfx::Point& screen_point) { in MoveTo()
76 gfx::Size ps = GetPreferredSize(); in MoveTo()
89 gfx::Rect bounds = container_->GetWindowScreenBounds(); in MoveTo()
90 container_->SetBounds(gfx::Rect(x, y, bounds.width(), bounds.height())); in MoveTo()
[all …]
/external/chromium/chrome/browser/ui/gtk/tabs/
Ddragged_tab_controller_gtk.h35 void CaptureDragInfo(const gfx::Point& mouse_offset);
83 const gfx::Rect& initial_pos,
89 virtual void MoveContents(TabContents* source, const gfx::Rect& pos);
104 gfx::Point GetWindowCreatePoint() const;
114 void MoveTab(const gfx::Point& screen_point);
118 TabStripGtk* GetTabStripForPoint(const gfx::Point& screen_point);
123 const gfx::Point& screen_point) const;
126 void Attach(TabStripGtk* attached_tabstrip, const gfx::Point& screen_point);
132 gfx::Point ConvertScreenPointToTabStripPoint(TabStripGtk* tabstrip,
133 const gfx::Point& screen_point);
[all …]
Dtab_renderer_gtk.h25 namespace gfx {
145 virtual void Paint(gfx::Canvas* canvas);
162 virtual void SetBounds(const gfx::Rect& bounds);
181 static gfx::Size GetMinimumUnselectedSize();
185 static gfx::Size GetMinimumSelectedSize();
188 static gfx::Size GetStandardSize();
200 static gfx::Font* title_font() { return title_font_; } in title_font()
208 gfx::Rect bounds() const { return bounds_; } in bounds()
210 gfx::Rect favicon_bounds() const { return favicon_bounds_; } in favicon_bounds()
213 gfx::Rect GetNonMirroredBounds(GtkWidget* parent) const;
[all …]
/external/chromium/chrome/browser/notifications/
Dballoon.h42 virtual gfx::Size GetSize() const = 0;
59 gfx::Point GetPosition() const { in GetPosition()
62 void SetPosition(const gfx::Point& upper_left, bool reposition);
64 const gfx::Point& offset() { return offset_;} in offset()
65 void set_offset(const gfx::Point& offset) { offset_ = offset; } in set_offset()
66 void add_offset(const gfx::Point& offset) { offset_ = offset_.Add(offset); } in add_offset()
68 const gfx::Size& content_size() const { return content_size_; } in content_size()
69 void set_content_size(const gfx::Size& size) { content_size_ = size; } in set_content_size()
73 const gfx::Size& min_scrollbar_size() const { return min_scrollbar_size_; } in min_scrollbar_size()
74 void set_min_scrollbar_size(const gfx::Size& size) { in set_min_scrollbar_size()
[all …]
/external/chromium/chrome/browser/ui/views/autocomplete/
Dautocomplete_popup_contents_view.h32 namespace gfx {
43 AutocompletePopupContentsView(const gfx::Font& font,
52 gfx::Rect GetPopupBounds() const;
60 virtual gfx::Rect GetTargetBounds() OVERRIDE;
75 const gfx::Point& point) OVERRIDE;
85 virtual void PaintResultViews(gfx::CanvasSkia* canvas);
92 const gfx::Font& font,
93 const gfx::Font& bold_font);
96 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
101 virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE;
[all …]
/external/chromium/chrome/browser/ui/views/notifications/
Dballoon_view.h64 virtual gfx::Size GetSize() const OVERRIDE;
69 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
70 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE;
71 virtual gfx::Size GetPreferredSize() OVERRIDE;
74 virtual void RunMenu(views::View* source, const gfx::Point& pt) OVERRIDE;
93 void RunOptionsMenu(const gfx::Point& pt);
99 void GetContentsMask(const gfx::Rect& contents_rect, gfx::Path* path) const;
102 void GetFrameMask(const gfx::Rect&, gfx::Path* path) const;
120 gfx::Rect GetCloseButtonBounds() const;
121 gfx::Rect GetOptionsButtonBounds() const;
[all …]

12345678910>>...40