HomeSort by relevance Sort by last modified time
    Searched refs:insets (Results 1 - 25 of 182) sorted by null

1 2 3 4 5 6 7 8

  /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);
WallpaperRootView.java 35 protected boolean fitSystemWindows(Rect insets) {
36 a.setWallpaperStripYOffset(insets.bottom);
  /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/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;
30 void set_insets(const gfx::Insets& insets) { insets_ = insets; }
44 gfx::Insets insets_;
  /external/chromium_org/chrome/browser/ui/views/infobars/
infobar_button_border.cc 20 gfx::Insets insets = GetInsets(); local
21 SetInsets(gfx::Insets(browser_defaults::kInfoBarBorderPaddingVertical,
22 insets.left(),
24 insets.right()));
infobar_label_button_border.cc 32 gfx::Insets InfoBarLabelButtonBorder::GetInsets() const{
33 gfx::Insets insets = views::LabelButtonBorder::GetInsets(); local
34 return gfx::Insets(browser_defaults::kInfoBarBorderPaddingVertical,
35 insets.left(),
37 insets.right());
  /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...]
  /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/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...]
  /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_org/ui/views/controls/
image_view.cc 12 #include "ui/gfx/insets.h"
71 gfx::Insets insets = GetInsets(); local
75 image_size.Enlarge(insets.width(), insets.height());
78 return gfx::Size(image_.width() + insets.width(),
79 image_.height() + insets.height());
83 gfx::Insets insets = GetInsets(); local
94 case LEADING: x = insets.left(); break
    [all...]
  /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...]
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;
    [all...]
  /external/chromium_org/chrome/browser/ui/views/autofill/
generated_credit_card_bubble_views.cc 12 #include "ui/gfx/insets.h"
104 gfx::Insets insets = views::BubbleFrameView::GetTitleInsets(); local
105 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());
  /packages/apps/Camera2/src/com/android/camera/ui/
CameraRootView.java 55 protected boolean fitSystemWindows(Rect insets) {
56 // insets include status bar, navigation bar, etc
58 if (mCurrentInsets.equals(insets)) {
59 // Local copy of the insets is up to date. No need to do anything.
64 if (insets.bottom > 0) {
65 mOffset = insets.bottom;
66 } else if (insets.right > 0) {
67 mOffset = insets.right;
70 mCurrentInsets.set(insets);
71 // Make sure onMeasure will be called to adapt to the new insets
    [all...]

Completed in 309 milliseconds

1 2 3 4 5 6 7 8