/external/chromium_org/ui/gfx/geometry/ |
H A D | insets_unittest.cc | 5 #include "ui/gfx/geometry/insets.h" 10 gfx::Insets insets; local 11 EXPECT_EQ(0, insets.top()); 12 EXPECT_EQ(0, insets.left()); 13 EXPECT_EQ(0, insets.bottom()); 14 EXPECT_EQ(0, insets.right()); 15 EXPECT_EQ(0, insets.width()); 16 EXPECT_EQ(0, insets.height()); 17 EXPECT_TRUE(insets.empty()); 21 gfx::Insets insets( 32 gfx::Insets insets; local 41 gfx::Insets insets; local [all...] |
H A D | insets_base.h | 12 // An insets represents the borders of a container (the space the container must 22 // Returns the total width taken up by the insets, which is the sum of the 23 // left and right insets. 26 // Returns the total height taken up by the insets, which is the sum of the 27 // top and bottom insets. 30 // Returns true if the insets are empty. 40 bool operator==(const Class& insets) const { 41 return top_ == insets.top_ && left_ == insets.left_ && 42 bottom_ == insets 49 operator +=(const Class& insets) argument [all...] |
/external/chromium_org/apps/ |
H A D | app_window_browsertest.cc | 30 gfx::Insets insets = native_window->GetFrameInsets(); local 34 EXPECT_GT(insets.top(), insets.bottom()); 54 gfx::Insets insets = native_window->GetFrameInsets(); local 58 EXPECT_GT(insets.top(), insets.bottom()); 68 gfx::Insets insets = native_window->GetFrameInsets(); local 70 // All insets must be zero. 71 EXPECT_EQ(0, insets.top()); 72 EXPECT_EQ(0, insets [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
H A D | display_overscan_handler.cc | 155 gfx::Insets insets = overscan_calibrator_->insets(); 157 insets.Set(insets.top(), insets.left() + length, 158 insets.bottom(), insets.right() - length); 160 insets.Set(insets.top() + length, insets [all...] |
/external/chromium_org/chrome/browser/devtools/ |
H A D | devtools_contents_resizing_strategy.cc | 13 const gfx::Insets& insets, const gfx::Size& min_size) 14 : insets_(insets), 26 insets_ = strategy.insets(); 33 return insets_ == strategy.insets() && min_size_ == strategy.min_size() && 47 const gfx::Insets& insets = strategy.insets(); local 60 int width = std::max(0, container_size.width() - insets.width()); 61 int left = insets.left(); 62 if (width < min_size.width() && insets.width() > 0) { 65 int insets_decrease = insets 12 DevToolsContentsResizingStrategy( const gfx::Insets& insets, const gfx::Size& min_size) argument [all...] |
H A D | devtools_contents_resizing_strategy.h | 9 #include "ui/gfx/insets.h" 19 const gfx::Insets& insets, 26 const gfx::Insets& insets() const { return insets_; } function in class:DevToolsContentsResizingStrategy 37 // Contents bounds. When non-empty, used instead of insets.
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
H A D | back_button.cc | 7 #include "ui/gfx/insets.h" 45 // Adjust border insets to follow the margin change, 48 const gfx::Insets insets(border->GetInsets()); 49 border->set_insets(gfx::Insets(insets.top(), insets.left() + margin_leading_, 50 insets.bottom(), insets.right()));
|
/external/chromium_org/chrome/browser/ui/views/apps/ |
H A D | app_window_desktop_window_tree_host_win.cc | 30 gfx::Insets* insets) const { 31 // Use the default client insets for an opaque frame or a glass popup/app 44 insets->Set(0, border_thickness, border_thickness, border_thickness); 76 gfx::Insets insets = app_window_->glass_frame_view()->GetGlassInsets(); local 77 margins.cxLeftWidth = insets.left(); 78 margins.cxRightWidth = insets.right(); 79 margins.cyBottomHeight = insets.bottom(); 80 margins.cyTopHeight = insets.top();
|
H A D | glass_app_window_frame_view_win.cc | 33 // Also make sure the insets don't go below 1, as bad things happen when they 46 gfx::Insets insets = GetGlassInsets(); 47 return gfx::Rect(insets.left(), 48 insets.top(), 49 std::max(0, width() - insets.left() - insets.right()), 50 std::max(0, height() - insets.top() - insets.bottom())); 55 gfx::Insets insets = GetGlassInsets(); local 56 return gfx::Rect(client_bounds.x() - insets [all...] |
H A D | app_window_desktop_window_tree_host_win.h | 29 virtual bool GetClientAreaInsets(gfx::Insets* insets) const OVERRIDE;
|
/external/chromium_org/ui/views/controls/button/ |
H A D | blue_button.cc | 26 // Inherit STYLE_BUTTON insets, minimum size, alignment, etc. 57 const gfx::Insets insets(5, 5, 5, 5); 61 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_NORMAL), insets)); 63 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_HOVER), insets)); 65 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_PRESSED), insets)); 67 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_DISABLED), insets)); 69 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_FOCUSED_NORMAL), insets)); 71 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_FOCUSED_HOVER), insets)); 73 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_FOCUSED_PRESSED), insets)); 75 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_DISABLED), insets)); [all...] |
H A D | label_button_border.cc | 55 const gfx::Insets insets(kButtonInsets, 64 *rb.GetImageSkiaNamed(IDR_BUTTON_NORMAL), insets)); 67 *rb.GetImageSkiaNamed(IDR_BUTTON_HOVER), insets)); 70 *rb.GetImageSkiaNamed(IDR_BUTTON_PRESSED), insets)); 73 *rb.GetImageSkiaNamed(IDR_BUTTON_DISABLED), insets)); 76 *rb.GetImageSkiaNamed(IDR_BUTTON_FOCUSED_NORMAL), insets)); 79 *rb.GetImageSkiaNamed(IDR_BUTTON_FOCUSED_HOVER), insets)); 82 *rb.GetImageSkiaNamed(IDR_BUTTON_FOCUSED_PRESSED), insets)); 85 *rb.GetImageSkiaNamed(IDR_BUTTON_DISABLED), insets));
|
H A D | label_button_border.h | 11 #include "ui/gfx/insets.h" 31 void set_insets(const gfx::Insets& insets) { insets_ = insets; } argument
|
/external/chromium_org/ui/views/layout/ |
H A D | fill_layout.cc | 36 const gfx::Insets insets = host->GetInsets(); local 37 return host->child_at(0)->GetHeightForWidth(width - insets.width()) + 38 insets.height();
|
/external/chromium_org/ash/wm/ |
H A D | resize_handle_window_targeter.cc | 56 gfx::Insets insets; local 66 insets = gfx::Insets(kImmersiveFullscreenTopEdgeInset, 0, 0, 0); 70 insets = frame_border_inset_; 73 if (!insets.empty()) { 75 bounds.Inset(insets);
|
/external/chromium_org/chrome/browser/chromeos/display/ |
H A D | overscan_calibrator.h | 12 #include "ui/gfx/insets.h" 29 // Commits the current insets data to the system. 32 // Reset the overscan insets to default value. If the display has 37 // Updates the insets and redraw the visual feedback. 38 void UpdateInsets(const gfx::Insets& insets); 40 const gfx::Insets& insets() const { return insets_; } function in class:chromeos::OverscanCalibrator 51 // The current insets. 54 // The insets initially given. Stored so we can undo the insets later. 57 // Whether the current insets ar [all...] |
/external/proguard/src/proguard/gui/ |
H A D | MemberSpecificationDialog.java | 87 constraints.insets = new Insets(1, 2, 1, 2); 93 constraintsStretch.insets = constraints.insets; 98 constraintsLast.insets = constraints.insets; 105 constraintsLastStretch.insets = constraints.insets; 113 panelConstraints.insets = constraints.insets; 121 stretchPanelConstraints.insets [all...] |
H A D | OptimizationsDialog.java | 64 constraintsLast.insets = new Insets(1, 2, 1, 2); 71 constraintsLastStretch.insets = constraintsLast.insets; 79 panelConstraints.insets = constraintsLast.insets; 84 selectButtonConstraints.insets = new Insets(4, 4, 8, 4); 90 okButtonConstraints.insets = selectButtonConstraints.insets; 96 cancelButtonConstraints.insets = selectButtonConstraints.insets; [all...] |
H A D | FilterDialog.java | 77 textConstraints.insets = new Insets(10, 10, 10, 10); 81 labelConstraints.insets = new Insets(1, 2, 1, 2); 88 textFieldConstraints.insets = labelConstraints.insets; 96 panelConstraints.insets = labelConstraints.insets; 102 okButtonConstraints.insets = new Insets(4, 4, 8, 4); 108 cancelButtonConstraints.insets = okButtonConstraints.insets;
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
H A D | generated_credit_card_bubble_views.cc | 12 #include "ui/gfx/insets.h" 103 gfx::Insets insets = views::BubbleFrameView::GetTitleInsets(); local 104 set_margins(gfx::Insets(0, insets.left(), insets.top(), insets.left()));
|
/external/chromium_org/ash/system/tray/ |
H A D | fixed_sized_scroll_view.cc | 31 gfx::Insets insets = GetInsets(); local 32 size.Enlarge(insets.width(), insets.height());
|
/external/chromium_org/ui/views/ |
H A D | painter.cc | 15 #include "ui/gfx/insets.h" 29 explicit DashedFocusPainter(const gfx::Insets& insets); 42 DashedFocusPainter::DashedFocusPainter(const gfx::Insets& insets) argument 43 : insets_(insets) { 63 SolidFocusPainter(SkColor color, const gfx::Insets& insets); 78 const gfx::Insets& insets) 80 insets_(insets) { 172 // Constructs an ImagePainter with the specified image and insets. 173 ImagePainter(const gfx::ImageSkia& image, const gfx::Insets& insets); 192 const gfx::Insets& insets) 77 SolidFocusPainter(SkColor color, const gfx::Insets& insets) argument 191 ImagePainter(const gfx::ImageSkia& image, const gfx::Insets& insets) argument 263 CreateImagePainter(const gfx::ImageSkia& image, const gfx::Insets& insets) argument 279 CreateDashedFocusPainterWithInsets( const gfx::Insets& insets) argument 285 CreateSolidFocusPainter( SkColor color, const gfx::Insets& insets) argument [all...] |
H A D | painter.h | 60 // are rendered at the size specified in insets (eg. the upper-left corner is 61 // rendered at 0 x 0 with a size of insets.left() x insets.top()). The center 64 const gfx::Insets& insets); 76 const gfx::Insets& insets); 78 const gfx::Insets& insets);
|
/external/chromium_org/ui/views/controls/ |
H A D | image_view.cc | 12 #include "ui/gfx/insets.h" 95 gfx::Insets insets = GetInsets(); local 99 image_size.Enlarge(insets.width(), insets.height()); 102 return gfx::Size(image_.width() + insets.width(), 103 image_.height() + insets.height()); 118 gfx::Insets insets = GetInsets(); local 129 case LEADING: x = insets.left(); break; 130 case TRAILING: x = width() - insets.right() - image_size.width(); break; 137 case LEADING: y = insets [all...] |
/external/chromium_org/ui/gfx/ |
H A D | nine_image_painter.h | 21 NineImagePainter(const ImageSkia& image, const Insets& insets);
|