/external/chromium_org/ui/app_list/views/ |
search_box_view.cc | 98 gfx::Rect rect(GetContentsBounds()); 99 if (rect.IsEmpty()) 102 gfx::Rect icon_frame(rect); 106 gfx::Rect menu_button_frame(rect); 109 menu_button_frame.set_x(rect.right() - menu_button_frame.width() - kPadding); 117 gfx::Rect edit_frame(rect); [all...] |
/external/chromium_org/ui/gfx/ |
quad_f.h | 18 // axis-aligned, unlike a Rect. 28 explicit QuadF(const RectF& rect) 29 : p1_(rect.x(), rect.y()), 30 p2_(rect.right(), rect.y()), 31 p3_(rect.right(), rect.bottom()), 32 p4_(rect.x(), rect.bottom()) { [all...] |
rect_f.h | 19 // A floating version of gfx::Rect. 56 // Rect. When it is false, some dimension of the RectF is outside the bounds 57 // of what an integer can represent, and converting it to a Rect will require 101 // This could also be thought of as "the smallest rect that contains both 103 // rect to be outside the rect. So technically one or both points will not be 104 // contained within the rect, because they will appear on one of these edges.
|
/external/chromium_org/ui/keyboard/ |
keyboard_controller.cc | 15 #include "ui/gfx/rect.h" 22 gfx::Rect KeyboardBoundsFromWindowBounds(const gfx::Rect& window_bounds) { 24 return gfx::Rect( 44 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 45 const gfx::Rect& new_bounds) OVERRIDE { 68 gfx::Rect keyboard_bounds = KeyboardBoundsFromWindowBounds(bounds_); 73 gfx::Rect bounds_; 107 const gfx::Rect& requested_bounds) OVERRIDE { 185 gfx::Rect new_bounds [all...] |
/external/chromium_org/ui/views/bubble/ |
bubble_border.h | 52 NONE = 16, // No arrow. Positioned under the supplied rect. 53 FLOAT = 17, // No arrow. Centered over the supplied rect. 140 void set_client_bounds(const gfx::Rect& bounds) { client_bounds_ = bounds; } 141 const gfx::Rect& client_bounds() const { return client_bounds_; } 153 // Get the desired widget bounds (in screen coordinates) given the anchor rect 155 virtual gfx::Rect GetBounds(const gfx::Rect& anchor_rect, 173 gfx::Rect GetArrowRect(const gfx::Rect& bounds) const; 174 void DrawArrow(gfx::Canvas* canvas, const gfx::Rect& arrow_bounds) const [all...] |
/frameworks/base/libs/hwui/ |
Snapshot.h | 30 #include "Rect.h" 94 bool clipTransformed(const Rect& r, SkRegion::Op op = SkRegion::kIntersect_Op); 108 * Returns the current clip in local coordinates. The clip rect is 111 const Rect& getLocalClip(); 114 * Resets the clip to the specified rect. 173 Rect viewport; 195 * Current clip rect. The clip is stored in canvas-space coordinates, 198 * This is a reference to a rect owned by this snapshot or another 201 Rect* clipRect; 240 Rect mClipRectRoot [all...] |
/frameworks/native/services/surfaceflinger/ |
DisplayDevice.h | 111 void setProjection(int orientation, const Rect& viewport, const Rect& frame); 116 const Rect getViewport() const { return mViewport; } 117 const Rect getFrame() const { return mFrame; } 118 const Rect& getScissor() const { return mScissor; } 135 Rect getBounds() const { 136 return Rect(mDisplayWidth, mDisplayHeight); 138 inline Rect bounds() const { return getBounds(); } 210 Rect mViewport; 212 Rect mFrame [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Regions.java | 34 private final Rect mRect1 = new Rect(); 35 private final Rect mRect2 = new Rect(); 74 Rect r = new Rect(); 84 private static void drawCentered(Canvas c, Rect r, Paint p) {
|
/external/chromium/chrome/browser/ui/cocoa/ |
base_view.mm | 134 - (gfx::Rect)flipNSRectToRect:(NSRect)rect { 135 gfx::Rect new_rect(NSRectToCGRect(rect)); 140 - (NSRect)flipRectToNSRect:(gfx::Rect)rect { 141 NSRect new_rect(NSRectFromCGRect(rect.ToCGRect()));
|
/external/chromium_org/apps/ |
shell_window_geometry_cache.h | 22 #include "ui/gfx/rect.h" 71 const gfx::Rect& bounds, 72 const gfx::Rect& screen_bounds, 80 gfx::Rect* bounds, 81 gfx::Rect* screen_bounds, 103 gfx::Rect bounds; 104 gfx::Rect screen_bounds;
|
/external/chromium_org/ash/wm/workspace/ |
snap_sizer.h | 13 #include "ui/gfx/rect.h" 53 const gfx::Rect& target_bounds() const { return target_bounds_; } 57 gfx::Rect GetSnapBounds(const gfx::Rect& bounds); 64 gfx::Rect GetTargetBoundsForSize(size_t size_index) const; 79 gfx::Rect GetTargetBounds() const; 90 gfx::Rect target_bounds_;
|
/external/chromium_org/cc/debug/ |
debug_rect_history.h | 12 #include "ui/gfx/rect.h" 60 : type(new_type), rect(new_rect) {} 63 gfx::RectF rect; member in struct:cc::DebugRect 80 const std::vector<gfx::Rect>& occluding_screen_space_rects, 81 const std::vector<gfx::Rect>& non_occluding_screen_space_rects, 97 const std::vector<gfx::Rect>& occluding_screen_space_rects); 99 const std::vector<gfx::Rect>& non_occluding_screen_space_rects);
|
/external/chromium_org/cc/layers/ |
draw_properties.h | 9 #include "ui/gfx/rect.h" 69 // This rect is in the layer's content space. 70 gfx::Rect visible_content_rect; 72 // In target surface space, the rect that encloses the clipped, drawable 74 gfx::Rect drawable_content_rect; 76 // In target surface space, the original rect that clipped this layer. This 78 gfx::Rect clip_rect;
|
/external/chromium_org/cc/resources/ |
picture_pile_impl.h | 50 gfx::Rect canvas_rect, 59 gfx::Rect canvas_rect, 67 gfx::Rect canvas_rect, 82 void AnalyzeInRect(gfx::Rect content_rect, 88 PixelRefIterator(gfx::Rect content_rect, 103 gfx::Rect layer_rect_; 138 gfx::Rect canvas_rect,
|
/external/chromium_org/chrome/browser/ui/gtk/ |
gtk_window_util.h | 10 #include "ui/gfx/rect.h" 43 bool BoundsMatchMonitorSize(GtkWindow* window, gfx::Rect bounds); 46 const gfx::Rect& bounds, 52 const gfx::Rect& bounds, 53 const gfx::Rect& restored_bounds); 67 gfx::Rect* bounds, 68 gfx::Rect* restored_bounds);
|
/external/chromium_org/chrome/browser/ui/panels/ |
display_settings_provider.h | 10 #include "ui/gfx/rect.h" 76 virtual gfx::Rect GetPrimaryDisplayArea() const; 79 virtual gfx::Rect GetPrimaryWorkArea() const; 83 virtual gfx::Rect GetDisplayAreaMatching(const gfx::Rect& bounds) const; 87 virtual gfx::Rect GetWorkAreaMatching(const gfx::Rect& bounds) const;
|
/external/chromium_org/content/renderer/ |
disambiguation_popup_helper.cc | 64 gfx::Rect CropZoomArea(const gfx::Rect& zoom_rect, 80 return gfx::Rect(touch_point.x() - left, 91 const gfx::Rect& tap_rect, 96 gfx::Rect* zoom_rect) { 99 zoom_rect->Union(gfx::Rect(target_rects[i])); 102 zoom_rect->Intersect(gfx::Rect(visible_content_size));
|
/external/chromium_org/ppapi/tests/ |
test_graphics_2d.h | 19 class Rect; 39 const pp::Rect& rect, 51 const pp::Rect& rc1, 53 const pp::Rect& rc2) const; 59 const pp::Rect& square, uint32_t square_color) const; 64 const pp::Rect& square, uint32_t square_color) const;
|
/external/chromium_org/ui/base/cocoa/ |
base_view.mm | 123 - (gfx::Rect)flipNSRectToRect:(NSRect)rect { 124 gfx::Rect new_rect(NSRectToCGRect(rect)); 129 - (NSRect)flipRectToNSRect:(gfx::Rect)rect { 130 NSRect new_rect(NSRectFromCGRect(rect.ToCGRect()));
|
/external/chromium_org/ui/snapshot/ |
snapshot_win.cc | 12 #include "ui/gfx/rect.h" 18 gfx::Rect GetWindowBounds(HWND window_handle) { 19 RECT content_rect = {0, 0, 0, 0}; 32 return gfx::Rect(content_rect.right - content_rect.left, 43 const gfx::Rect& snapshot_bounds, 108 const gfx::Rect& snapshot_bounds) { 114 const gfx::Rect& snapshot_bounds) {
|
/external/chromium_org/ui/views/controls/button/ |
checkbox.cc | 83 gfx::Rect rect = label()->GetMirroredBounds(); local 84 rect.Inset(-2, 3); 86 rect.x(), rect.y(), width() - rect.right(), height() - rect.bottom()));
|
/external/chromium_org/ui/views/controls/native/ |
native_view_host_win.cc | 94 gfx::Rect bounds = ui::win::DIPToScreenRect(gfx::Rect(x,y,w,h)); 102 RECT win_rect; 104 gfx::Rect rect(win_rect); 106 rect.width(), rect.height(),
|
/external/chromium_org/ui/views/controls/ |
single_split_view.h | 76 void CalculateChildrenBounds(const gfx::Rect& bounds, 77 gfx::Rect* leading_bounds, 78 gfx::Rect* trailing_bounds) const; 87 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; 99 const gfx::Rect& previous_bounds, 100 const gfx::Rect& new_bounds) const; 104 int NormalizeDividerOffset(int divider_offset, const gfx::Rect& bounds) const;
|
/external/chromium_org/ui/views/ |
view_model_utils_unittest.cc | 18 gfx::Rect v1_bounds(1, 2, 3, 4); 31 model.set_ideal_bounds(0, gfx::Rect(0, 0, 10, 10)); 32 model.set_ideal_bounds(1, gfx::Rect(10, 0, 1000, 10)); 33 model.set_ideal_bounds(2, gfx::Rect(1010, 0, 2, 10)); 54 model.set_ideal_bounds(0, gfx::Rect(0, 0, 10, 10)); 55 model.set_ideal_bounds(1, gfx::Rect(0, 10, 10, 1000)); 56 model.set_ideal_bounds(2, gfx::Rect(0, 1010, 10, 2));
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
desktop_screen_position_client_unittest.cc | 20 init_params.bounds = gfx::Rect(10, 11, 200, 200); 33 dialog->SetBounds(gfx::Rect(11, 12, 200, 200)); 57 params1.bounds = gfx::Rect(origin, gfx::Size(700, 600)); 64 params2.bounds = gfx::Rect(origin, gfx::Size(600, 500)); 75 params3.bounds = gfx::Rect(origin, gfx::Size(500, 400)); 80 gfx::Rect expected_bounds(expected_origin, gfx::Size(500, 400)); 81 gfx::Rect actual_bounds(widget3.GetWindowBoundsInScreen());
|