/external/chromium_org/ui/gfx/ |
insets_unittest.cc | 5 #include "ui/gfx/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()) 32 gfx::Insets insets; local 41 gfx::Insets insets; local [all...] |
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.bottom_ && right_ == insets.right_ [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Insettable.java | 23 void setInsets(Rect insets);
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
display_overscan_handler.cc | 154 gfx::Insets insets = overscan_calibrator_->insets(); 156 insets.Set(insets.top(), insets.left() + length, 157 insets.bottom(), insets.right() - length); 159 insets.Set(insets.top() + length, insets.left() [all...] |
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
back_button.cc | 7 #include "ui/gfx/insets.h" 27 // Adjust border insets to follow the margin change, 30 gfx::Insets insets(border()->GetInsets()); 32 gfx::Insets(insets.top(), insets.left() + margin - margin_leading_, 33 insets.bottom(), insets.right())); 41 gfx::Insets(kFocusRectInset, kFocusRectInset + margin [all...] |
/external/chromium_org/ui/views/controls/button/ |
blue_button.cc | 15 // Insets for the unified blue_button images. This assumes that the images 32 // Inherit STYLE_BUTTON insets, minimum size, alignment, etc. 36 const gfx::Insets insets(kBlueButtonInsets, 44 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_NORMAL), insets)); 47 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_HOVER), insets)); 50 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_PRESSED), insets)); 53 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_DISABLED), insets)); 56 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_FOCUSED_NORMAL), insets)); 59 *rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_FOCUSED_HOVER), insets)); [all...] |
label_button_border.h | 11 #include "ui/gfx/insets.h" 28 virtual gfx::Insets GetInsets() const OVERRIDE; 31 void set_insets(const gfx::Insets& insets) { insets_ = insets; } 45 gfx::Insets insets_;
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
LayoutRenderer.java | 27 import java.awt.Insets; 69 Insets insets = getInsets(); local 70 g.clipRect(insets.left, insets.top, 71 getWidth() - insets.left - insets.right, 72 getHeight() - insets.top - insets.bottom); 83 int x = (getWidth() - insets.left - insets.right - root.width) / 2 144 Insets insets = getInsets(); local [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarOverlayLayout.java | 69 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, 73 if (left && lp.leftMargin != insets.left) { 75 lp.leftMargin = insets.left; 77 if (top && lp.topMargin != insets.top) { 79 lp.topMargin = insets.top; 81 if (right && lp.rightMargin != insets.right) { 83 lp.rightMargin = insets.right; 85 if (bottom && lp.bottomMargin != insets.bottom) { 87 lp.bottomMargin = insets.bottom;
|
/external/chromium/chrome/browser/chromeos/frame/ |
bubble_frame_view.cc | 14 #include "ui/gfx/insets.h" 100 gfx::Insets insets = GetInsets(); local 112 int top_height = insets.top(); 120 return gfx::Rect(std::max(0, client_bounds.x() - insets.left()), 122 client_bounds.width() + insets.width(), 123 client_bounds.height() + top_height + insets.bottom()); 143 gfx::Insets BubbleFrameView::GetInsets() const { 144 gfx::Insets border_insets; 147 gfx::Insets insets(kTitleTopPadding 163 gfx::Insets insets = GetInsets(); local [all...] |
/external/chromium_org/ui/message_center/views/ |
proportional_image_view.cc | 20 gfx::Insets insets = GetInsets(); local 22 rect.Inset(-insets); 29 gfx::Insets insets = GetInsets(); local 30 int inset_width = width - insets.width(); 31 return GetImageSizeForWidth(inset_width).height() + insets.height();
|
group_view.cc | 211 gfx::Insets insets = GetInsets(); local 212 int content_width = width() - insets.width(); 213 int content_right = width() - insets.right(); 216 background_view_->SetBounds(insets.left(), insets.top(), 217 content_width, height() - insets.height()); 221 top_view_->SetBounds(insets.left(), insets.top(), content_width, top_height); 224 icon_view_->SetBounds(insets.left(), insets.top(), kIconSize, kIconSize) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Insets.java | 20 * An Insets instance holds four integer offsets which describe changes to the four 24 * Insets are immutable so may be treated as values. 28 public class Insets { 29 public static final Insets NONE = new Insets(0, 0, 0, 0); 36 private Insets(int left, int top, int right, int bottom) { 46 * Return an Insets instance with the appropriate values. 53 * @return Insets instance with the appropriate values 55 public static Insets of(int left, int top, int right, int bottom) { 59 return new Insets(left, top, right, bottom) [all...] |
/external/chromium_org/ui/views/layout/ |
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/chrome/browser/chromeos/display/ |
overscan_calibrator.h | 12 #include "ui/gfx/insets.h" 26 const gfx::Insets& initial_insets); 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 [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
WallpaperRootView.java | 35 protected boolean fitSystemWindows(Rect insets) { 36 a.setWallpaperStripYOffset(insets.bottom);
|
/external/chromium/chrome/browser/chromeos/status/ |
status_area_button.cc | 87 gfx::Insets insets = views::MenuButton::GetInsets(); local 88 gfx::Size prefsize(icon_width() + insets.width(), 89 icon_height() + insets.height()); 101 insets_.Set(insets.top() + 1, insets.left(), 102 insets.bottom(), insets.right()); 112 gfx::Insets StatusAreaButton::GetInsets() const {
|
/external/chromium/chrome/browser/ui/views/bubble/ |
border_contents.cc | 69 gfx::Insets insets; local 70 bubble_border_->GetInsets(&insets); 71 contents_bounds->Inset(insets.left() + kLeftMargin, insets.top() + kTopMargin, 72 insets.right() + kRightMargin, insets.bottom() + kBottomMargin); 90 gfx::Insets offscreen_insets; 103 gfx::Insets new_offscreen_insets; 120 gfx::Insets* offscreen_insets) [all...] |
bubble_border.cc | 38 gfx::Insets insets; local 39 GetInsets(&insets); 40 border_size.Enlarge(insets.left() + insets.right(), 41 insets.top() + insets.bottom()); 116 void BubbleBorder::GetInsets(gfx::Insets* insets) const { 147 insets->Set(top, left, bottom, right) 152 gfx::Insets insets; local 213 gfx::Insets insets; local [all...] |
/external/chromium_org/ui/oak/ |
oak_pretty_print.cc | 11 #include "ui/gfx/insets.h" 38 const gfx::Insets& insets) { 39 return ASCIIToUTF16(prefix + insets.ToString());
|
/external/proguard/src/proguard/gui/ |
MemberSpecificationDialog.java | 84 constraints.insets = new Insets(1, 2, 1, 2); 90 constraintsStretch.insets = constraints.insets; 95 constraintsLast.insets = constraints.insets; 102 constraintsLastStretch.insets = constraints.insets; 110 panelConstraints.insets = constraints.insets; [all...] |
/external/chromium_org/chrome/browser/ui/views/autofill/ |
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/chrome/browser/ui/views/ |
pinned_contents_info_bubble.cc | 20 gfx::Insets insets; local 21 bubble_border_->GetInsets(&insets); 22 offset += kLeftMargin + insets.left() + 1;
|
/external/chromium_org/ash/system/tray/ |
fixed_sized_scroll_view.cc | 32 gfx::Insets insets = GetInsets(); local 33 size.Enlarge(insets.width(), insets.height());
|
/external/chromium_org/ui/views/ |
painter.cc | 15 #include "ui/gfx/insets.h" 28 explicit DashedFocusPainter(const gfx::Insets& insets); 36 const gfx::Insets insets_; 41 DashedFocusPainter::DashedFocusPainter(const gfx::Insets& insets) 42 : insets_(insets) { 62 SolidFocusPainter(SkColor color, const gfx::Insets& insets); 71 const gfx::Insets insets_ [all...] |