/external/chromium_org/ash/system/user/ |
rounded_image_view.h | 9 #include "ui/gfx/geometry/size.h" 10 #include "ui/gfx/image/image_skia.h" 27 void SetImage(const gfx::ImageSkia& img, const gfx::Size& size); 37 virtual gfx::Size GetPreferredSize() const OVERRIDE; 38 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 40 gfx::ImageSkia image_; 41 gfx::ImageSkia resized_; 42 gfx::Size image_size_;
|
/external/chromium_org/cc/base/ |
math_util_unittest.cc | 12 #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::PointF(-100, -100), gfx::SizeF(90, 90)), result, 0.15f) [all...] |
/external/chromium_org/cc/output/ |
output_surface_client.h | 14 #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,
|
software_output_device.h | 14 #include "ui/gfx/rect.h" 15 #include "ui/gfx/size.h" 16 #include "ui/gfx/vector2d.h" 21 namespace gfx { namespace 39 virtual void Resize(const gfx::Size& pixel_size, float scale_factor); 45 virtual SkCanvas* BeginPaint(const gfx::Rect& damage_rect); 54 virtual void CopyToPixels(const gfx::Rect& rect, void* pixels); 58 virtual void Scroll(const gfx::Vector2d& delta, const gfx::Rect& clip_rect); 74 virtual gfx::VSyncProvider* GetVSyncProvider() [all...] |
compositor_frame_metadata.h | 12 #include "ui/gfx/size_f.h" 13 #include "ui/gfx/vector2d_f.h" 27 gfx::Vector2dF root_scroll_offset; 32 gfx::SizeF viewport_size; 33 gfx::SizeF root_layer_size; 39 gfx::Vector2dF location_bar_offset; 40 gfx::Vector2dF location_bar_content_translation;
|
/external/chromium_org/chrome/browser/ |
platform_util.h | 11 #include "ui/gfx/native_widget_types.h" 38 gfx::NativeWindow GetTopLevel(gfx::NativeView view); 41 gfx::NativeView GetParent(gfx::NativeView view); 44 bool IsWindowActive(gfx::NativeWindow window); 47 void ActivateWindow(gfx::NativeWindow window); 52 bool IsVisible(gfx::NativeView view);
|
platform_util_android.cc | 25 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 30 gfx::NativeView GetParent(gfx::NativeView view) { 35 bool IsWindowActive(gfx::NativeWindow window) { 40 void ActivateWindow(gfx::NativeWindow window) { 44 bool IsVisible(gfx::NativeView view) {
|
platform_util_aura.cc | 16 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 20 gfx::NativeView GetParent(gfx::NativeView view) { 24 bool IsWindowActive(gfx::NativeWindow window) { 33 void ActivateWindow(gfx::NativeWindow window) { 41 bool IsVisible(gfx::NativeView view) {
|
native_window_notification_source.h | 9 #include "ui/gfx/native_widget_types.h" 18 class Source<gfx::NativeWindow> : public content::NotificationSource { 20 explicit Source(gfx::NativeWindow wnd) : content::NotificationSource(wnd) {} 25 gfx::NativeWindow operator->() const { return ptr(); } 26 gfx::NativeWindow ptr() const { 27 return static_cast<gfx::NativeWindow>(const_cast<void*>(ptr_));
|
/external/chromium_org/chrome/browser/ui/views/message_center/ |
message_center_frame_view.h | 25 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 26 virtual gfx::Rect GetWindowBoundsForClientBounds( 27 const gfx::Rect& client_bounds) const OVERRIDE; 28 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 29 virtual void GetWindowMask(const gfx::Size& size, 30 gfx::Path* window_mask) OVERRIDE; 36 virtual gfx::Insets GetInsets() const OVERRIDE;
|
/external/chromium_org/chrome/utility/importer/ |
favicon_reencode.cc | 10 #include "ui/gfx/codec/png_codec.h" 11 #include "ui/gfx/favicon_size.h" 21 gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize), 26 if (decoded.width() != gfx::kFaviconSize || 27 decoded.height() != gfx::kFaviconSize) { 31 gfx::CalculateFaviconTargetSize(&new_width, &new_height); 37 gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data);
|
/external/chromium_org/content/public/browser/android/ |
synchronous_compositor_client.h | 9 #include "ui/gfx/geometry/size_f.h" 10 #include "ui/gfx/vector2d_f.h" 29 virtual gfx::Vector2dF GetTotalRootLayerScrollOffset() = 0; 30 virtual void UpdateRootLayerState(const gfx::Vector2dF& total_scroll_offset, 31 const gfx::Vector2dF& max_scroll_offset, 32 const gfx::SizeF& scrollable_size, 38 virtual void DidOverscroll(gfx::Vector2dF accumulated_overscroll, 39 gfx::Vector2dF latest_overscroll_delta, 40 gfx::Vector2dF current_fling_velocity) = 0;
|
/external/chromium_org/cc/quads/ |
tile_draw_quad.h | 18 const gfx::Rect& rect, 19 const gfx::Rect& opaque_rect, 20 const gfx::Rect& visible_rect, 22 const gfx::RectF& tex_coord_rect, 23 const gfx::Size& texture_size, 27 const gfx::Rect& rect, 28 const gfx::Rect& opaque_rect, 29 const gfx::Rect& visible_rect, 32 const gfx::RectF& tex_coord_rect, 33 const gfx::Size& texture_size [all...] |
/external/chromium_org/chrome/browser/ui/views/apps/ |
glass_app_window_frame_view_win.h | 8 #include "ui/gfx/geometry/insets.h" 24 gfx::Insets GetGlassInsets() const; 28 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 29 virtual gfx::Rect GetWindowBoundsForClientBounds( 30 const gfx::Rect& client_bounds) const OVERRIDE; 31 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 32 virtual void GetWindowMask(const gfx::Size& size, 33 gfx::Path* window_mask) OVERRIDE; 39 virtual gfx::Size GetPreferredSize() const OVERRIDE; 41 virtual gfx::Size GetMinimumSize() const OVERRIDE [all...] |
/external/chromium_org/ui/base/touch/ |
touch_editing_controller.h | 9 #include "ui/gfx/point.h" 10 #include "ui/gfx/rect.h" 24 virtual void SelectRect(const gfx::Point& start, const gfx::Point& end) = 0; 27 virtual void MoveCaretTo(const gfx::Point& point) = 0; 39 virtual void GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) = 0; 42 virtual gfx::Rect GetBounds() = 0; 45 virtual gfx::NativeView GetNativeView() const = 0; 48 virtual void ConvertPointToScreen(gfx::Point* point) = 0 [all...] |
/external/chromium_org/ui/gfx/ |
path.h | 10 #include "ui/gfx/gfx_export.h" 11 #include "ui/gfx/native_widget_types.h" 13 namespace gfx { namespace 42 static gfx::NativeRegion IntersectRegions(gfx::NativeRegion r1, 43 gfx::NativeRegion r2); 46 static gfx::NativeRegion CombineRegions(gfx::NativeRegion r1, 47 gfx::NativeRegion r2); 51 static gfx::NativeRegion SubtractRegion(gfx::NativeRegion r1 [all...] |
color_profile_win_unittest.cc | 5 #include "ui/gfx/color_profile.h" 11 bool TestColorProfileUsingScreenBounds(const gfx::Rect& bounds) { 13 return gfx::GetDisplayColorProfile(bounds, &color_profile); 17 const gfx::Rect in_screen_bounds(10, 10, 100, 100); 22 const gfx::Rect off_screen_bounds(-100, -100, 10, 10); 27 const gfx::Rect empty_screen_bounds(10, 10, 0, 0);
|
/external/chromium_org/ui/views/controls/ |
glow_hover_controller.h | 8 #include "ui/gfx/animation/animation_delegate.h" 9 #include "ui/gfx/animation/slide_animation.h" 12 namespace gfx { namespace 30 class VIEWS_EXPORT GlowHoverController : public gfx::AnimationDelegate { 41 void SetAnimationContainer(gfx::AnimationContainer* container); 45 void SetLocation(const gfx::Point& location); 65 void Draw(gfx::Canvas* canvas, const gfx::ImageSkia& mask_image) const; 67 // gfx::AnimationDelegate overrides: 68 virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE [all...] |
/external/chromium_org/android_webview/browser/ |
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;
|
/external/chromium_org/ash/shelf/ |
overflow_button.h | 11 #include "ui/gfx/image/image_skia.h" 25 void PaintBackground(gfx::Canvas* canvas, int alpha); 28 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 32 gfx::ImageSkia left_image_; 33 gfx::ImageSkia right_image_; 35 const gfx::ImageSkia* bottom_image_;
|
/external/chromium_org/ash/system/tray/ |
fixed_sized_scroll_view.h | 24 void SetFixedSize(const gfx::Size& size); 26 void set_fixed_size(const gfx::Size& size) { fixed_size_ = size; } 29 virtual gfx::Size GetPreferredSize() const OVERRIDE; 34 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; 37 gfx::Size fixed_size_;
|
/external/chromium_org/ash/wm/ |
coordinate_conversion.h | 12 } // namespace gfx 14 namespace gfx { namespace 17 } // namespace gfx 25 ASH_EXPORT aura::Window* GetRootWindowAt(const gfx::Point& point); 29 ASH_EXPORT aura::Window* GetRootWindowMatching(const gfx::Rect& rect); 34 gfx::Point* point); 39 gfx::Point* point_in_screen);
|
/external/chromium_org/chrome/browser/ui/panels/ |
panel_bounds_animation.h | 8 #include "ui/gfx/animation/linear_animation.h" 10 namespace gfx { namespace 15 class PanelBoundsAnimation : public gfx::LinearAnimation { 17 PanelBoundsAnimation(gfx::AnimationDelegate* target, 19 const gfx::Rect& initial_bounds, 20 const gfx::Rect& final_bounds);
|
/external/chromium_org/ui/gfx/image/ |
image_skia_util_ios.h | 8 #include "ui/gfx/gfx_export.h" 16 namespace gfx { namespace 21 GFX_EXPORT gfx::ImageSkia ImageSkiaFromUIImage(UIImage* image); 26 GFX_EXPORT gfx::ImageSkiaRep ImageSkiaRepOfScaleFromUIImage( 33 GFX_EXPORT UIImage* UIImageFromImageSkia(const gfx::ImageSkia& image_skia); 37 const gfx::ImageSkiaRep& image_skia_rep); 39 } // namespace gfx
|
/external/chromium_org/ui/views/ |
drag_controller.h | 10 namespace gfx { namespace 28 const gfx::Point& press_pt, 34 const gfx::Point& p) = 0; 40 const gfx::Point& press_pt, 41 const gfx::Point& p) = 0;
|