/external/chromium_org/ui/views/ |
drag_utils.h | 9 #include "ui/gfx/native_widget_types.h" 12 namespace gfx { namespace 26 VIEWS_EXPORT void RunShellDrag(gfx::NativeView view, 28 const gfx::Point& location, 34 VIEWS_EXPORT gfx::Canvas* GetCanvasForDragImage(Widget* widget, 35 const gfx::Size& canvas_size);
|
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::Canvas* canvas, const gfx::Size& size) = 0 [all...] |
/external/chromium_org/ui/views/widget/ |
tooltip_manager.cc | 7 #include "ui/gfx/rect.h" 8 #include "ui/gfx/screen.h" 9 #include "ui/gfx/text_elider.h" 19 int TooltipManager::GetMaxWidth(int x, int y, gfx::NativeView context) { 20 return GetMaxWidth(gfx::Screen::GetScreenFor(context)->GetDisplayNearestPoint( 21 gfx::Point(x, y))); 25 int TooltipManager::GetMaxWidth(const gfx::Display& display) { 33 *text = gfx::TruncateString(*text, kMaxTooltipLength);
|
/external/chromium_org/chrome/browser/profiles/ |
profile_avatar_icon_util_unittest.cc | 11 #include "ui/gfx/canvas.h" 12 #include "ui/gfx/image/image_skia.h" 13 #include "ui/gfx/image/image_skia_rep.h" 14 #include "ui/gfx/image/image_unittest_util.h" 20 void VerifyScaling(gfx::Image& image, gfx::Size& size) { 21 gfx::Size canvas_size(100, 100); 22 gfx::Canvas canvas(canvas_size, 1.0f, false); 23 gfx::Canvas canvas2(canvas_size, 2.0f, false); 25 ASSERT_FALSE(gfx::test::IsEmpty(image)) [all...] |
/external/chromium_org/ui/aura/test/ |
test_screen.cc | 12 #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" 20 TestScreen* TestScreen::Create(const gfx::Size& size) { 21 const gfx::Size kDefaultSize(800, 600); 24 return new TestScreen(gfx::Rect(size.IsEmpty() ? kDefaultSize : size)); 29 return new TestScreen(gfx::Rect(WindowTreeHost::GetNativeScreenSize())); 37 host_ = WindowTreeHost::Create(gfx::Rect(display_.GetSizeInPixel())); 44 gfx::Rect bounds_in_pixel(display_.GetSizeInPixel()) [all...] |
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
omnibox_result_view.h | 13 #include "ui/gfx/animation/animation_delegate.h" 14 #include "ui/gfx/animation/slide_animation.h" 15 #include "ui/gfx/font_list.h" 16 #include "ui/gfx/rect.h" 23 namespace gfx { namespace 29 private gfx::AnimationDelegate { 52 const gfx::FontList& font_list); 67 virtual gfx::Size GetPreferredSize() const OVERRIDE; 82 gfx::RenderText* contents, 83 gfx::RenderText* description [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
popup_controller_common.h | 9 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/rect.h" 11 #include "ui/gfx/rect_f.h" 19 namespace gfx { namespace 30 PopupControllerCommon(const gfx::RectF& element_bounds, 31 gfx::NativeView container_view, 35 const gfx::RectF& element_bounds() const { return element_bounds_; } 36 gfx::NativeView container_view() { return container_view_; } 40 const gfx::Rect RoundedElementBounds() const; 45 gfx::Rect GetPopupBounds(int desired_height, int desired_width) const [all...] |
/external/chromium_org/chrome/browser/ui/window_sizer/ |
window_sizer.h | 12 #include "ui/gfx/rect.h" 16 namespace gfx { namespace 38 // and will use the platforms's gfx::Screen. 47 gfx::Screen* screen, 62 virtual bool GetPersistentState(gfx::Rect* bounds, 63 gfx::Rect* work_area, 72 gfx::Rect* bounds, 81 virtual gfx::Display GetTargetDisplay(const gfx::Screen* screen, 82 const gfx::Rect& bounds) const = 0 [all...] |
/external/chromium_org/ui/views/animation/ |
bounds_animator.h | 13 #include "ui/gfx/animation/animation_container_observer.h" 14 #include "ui/gfx/animation/animation_delegate.h" 15 #include "ui/gfx/animation/tween.h" 16 #include "ui/gfx/rect.h" 19 namespace gfx { namespace 38 class VIEWS_EXPORT BoundsAnimator : public gfx::AnimationDelegate, 39 public gfx::AnimationContainerObserver { 48 void AnimateViewTo(View* view, const gfx::Rect& target); 53 void SetTargetBounds(View* view, const gfx::Rect& target); 57 gfx::Rect GetTargetBounds(View* view) [all...] |
/external/chromium_org/cc/base/ |
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::Point(x - 1, y))); [all...] |
/external/chromium_org/cc/layers/ |
render_surface.h | 15 #include "ui/gfx/rect.h" 16 #include "ui/gfx/rect_f.h" 17 #include "ui/gfx/transform.h" 32 gfx::RectF DrawableContentRect() const; 34 void SetContentRect(const gfx::Rect& content_rect) { 37 gfx::Rect content_rect() const { return content_rect_; } 47 void SetDrawTransform(const gfx::Transform& draw_transform) { 50 const gfx::Transform& draw_transform() const { return draw_transform_; } 52 void SetScreenSpaceTransform(const gfx::Transform& screen_space_transform) { 55 const gfx::Transform& screen_space_transform() const [all...] |
/external/chromium_org/ui/views/window/ |
custom_frame_view.h | 15 namespace gfx { namespace 42 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 43 virtual gfx::Rect GetWindowBoundsForClientBounds( 44 const gfx::Rect& client_bounds) const OVERRIDE; 45 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 46 virtual void GetWindowMask(const gfx::Size& size, 47 gfx::Path* window_mask) OVERRIDE; 53 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 55 virtual gfx::Size GetPreferredSize() const OVERRIDE; 56 virtual gfx::Size GetMinimumSize() const OVERRIDE [all...] |
native_frame_view.h | 22 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 23 virtual gfx::Rect GetWindowBoundsForClientBounds( 24 const gfx::Rect& client_bounds) const OVERRIDE; 25 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 26 virtual void GetWindowMask(const gfx::Size& size, 27 gfx::Path* window_mask) OVERRIDE; 33 virtual gfx::Size GetPreferredSize() const OVERRIDE; 34 virtual gfx::Size GetMinimumSize() const OVERRIDE; 35 virtual gfx::Size GetMaximumSize() const OVERRIDE;
|
/external/chromium_org/ui/gfx/ |
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::Vector3dF& axis [all...] |
/external/chromium_org/cc/trees/ |
layer_tree_host_unittest_occlusion.cc | 87 const gfx::Transform& transform, 88 const gfx::PointF& position, 89 const gfx::Size& bounds, 102 settings->minimum_occlusion_tracking_size = gfx::Size(); 111 gfx::Transform identity_matrix_; 123 gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); 126 gfx::PointF(10.f, 10.f), gfx::Size(500, 500), false); 129 gfx::PointF(-10.f, -10.f), gfx::Size(20, 500), true) [all...] |
/external/chromium_org/cc/quads/ |
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::Size io_surface_size [all...] |
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::Transform matrix [all...] |
yuv_video_draw_quad.h | 29 const gfx::Rect& rect, 30 const gfx::Rect& opaque_rect, 31 const gfx::Rect& visible_rect, 32 const gfx::RectF& tex_coord_rect, 40 const gfx::Rect& rect, 41 const gfx::Rect& opaque_rect, 42 const gfx::Rect& visible_rect, 44 const gfx::RectF& tex_coord_rect, 51 gfx::RectF tex_coord_rect;
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
add_to_app_launcher_view.h | 9 #include "ui/gfx/animation/animation_delegate.h" 10 #include "ui/gfx/animation/slide_animation.h" 20 namespace gfx { namespace 31 class AddToAppLauncherView : public gfx::AnimationDelegate, public views::View { 34 const gfx::FontList& font_list, 43 // gfx::AnimationDelegate: 44 virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; 45 virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; 46 virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; 49 virtual gfx::Size GetPreferredSize() const OVERRIDE [all...] |
/external/chromium_org/content/browser/renderer_host/ |
compositing_iosurface_transformer_mac.h | 12 #include "ui/gfx/size.h" 14 namespace gfx { namespace 16 } // namespace gfx 53 bool ResizeBilinear(GLuint src_texture, const gfx::Rect& src_subrect, 54 const gfx::Size& dst_size, GLuint* texture); 81 GLuint src_texture, const gfx::Rect& src_subrect, 82 const gfx::Size& dst_size, 84 gfx::Size* packed_y_size, gfx::Size* packed_uv_size); 97 void PrepareTexture(CachedTexture which, const gfx::Size& size) [all...] |
/external/chromium_org/content/browser/web_contents/ |
web_contents_view.h | 13 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/rect.h" 15 #include "ui/gfx/size.h" 31 virtual gfx::NativeView GetNativeView() const = 0; 36 virtual gfx::NativeView GetContentNativeView() const = 0; 40 virtual gfx::NativeWindow GetTopLevelNativeWindow() const = 0; 44 virtual void GetContainerBounds(gfx::Rect* out) const = 0; 54 virtual void SizeContents(const gfx::Size& size) = 0; 74 virtual gfx::Rect GetViewBounds() const = 0; 77 const gfx::Size& initial_size, gfx::NativeView context) = 0 [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
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_); 46 ::gfx::MockGLInterface::SetGLInterface(NULL); 48 gfx::ClearGLBindings();
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
desktop_screen_win.cc | 11 #include "ui/gfx/display.h" 24 gfx::Display GetDisplay(MONITORINFO& monitor_info) { 26 gfx::Display display(0, gfx::Rect(monitor_info.rcMonitor)); 27 display.set_work_area(gfx::Rect(monitor_info.rcWork)); 45 // DesktopScreenWin, gfx::ScreenWin implementation: 51 gfx::Display DesktopScreenWin::GetDisplayMatching( 52 const gfx::Rect& match_rect) const { 56 HWND DesktopScreenWin::GetHWNDFromNativeView(gfx::NativeView window) const { 61 gfx::NativeWindow DesktopScreenWin::GetNativeWindowFromHWND(HWND hwnd) const [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
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::Point& target_position) [all...] |
/external/chromium_org/chrome/browser/ui/views/app_list/win/ |
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::Point cursor = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint() [all...] |