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

1 2 3

  /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...]
ScreenViewer.java 19 import java.awt.Insets;
90 new Insets(0, 0, 0, 0), 0, 0));
95 new Insets(0, 0, 0, 0), 0, 0));
138 new Insets(0, 0, 0, 0), 0, 0));
170 new Insets(0, 0, 0, 0), 0, 0));
200 new Insets(0, 0, 0, 0), 0, 0));
218 new Insets(0, 0, 0, 6), 0, 0));
229 new Insets(0, 0, 0, 0), 0, 0));
373 new Insets(0, 0, 0, 12), 0, 0 ));
379 new Insets(0, 0, 0, 12), 0, 0 ))
622 private final Insets insets = new Insets(0, 0, 0, 0); field in class:ScreenViewer.CrosshairPanel
650 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/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 {
  /packages/apps/Gallery2/src/com/android/camera/ui/
CameraRootView.java 48 protected boolean fitSystemWindows(Rect insets) {
49 super.fitSystemWindows(insets);
50 mCurrentInsets = insets;
51 // insets include status bar, navigation bar, etc
55 if (insets.bottom > 0) {
56 mOffset = insets.bottom;
57 } else if (insets.right > 0) {
58 mOffset = insets.right;
  /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...]
border_contents.h 71 gfx::Insets* offscreen_insets);
73 // Convenience method that returns the height of |insets| if |vertical| is
75 static int GetInsetsLength(const gfx::Insets& insets, bool vertical);
  /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...]
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)
    [all...]
ClassSpecificationDialog.java 88 constraints.insets = new Insets(1, 2, 1, 2);
94 constraintsStretch.insets = constraints.insets;
99 constraintsLast.insets = constraints.insets;
106 constraintsLastStretch.insets = constraints.insets;
114 panelConstraints.insets = constraints.insets;
    [all...]
ProGuardGUI.java 177 constraints.insets = new Insets(0, 4, 0, 4);
183 constraintsStretch.insets = constraints.insets;
188 constraintsLast.insets = constraints.insets;
195 constraintsLastStretch.insets = constraints.insets;
203 //splashPanelConstraints.insets = constraints.insets;
    [all...]
  /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;
  /frameworks/base/core/java/com/android/internal/widget/
ActionBarOverlayLayout.java 94 // and the application has asked for stable content insets, then
144 private boolean applyInsets(View view, Rect insets, boolean left, boolean top,
148 if (left && lp.leftMargin != insets.left) {
150 lp.leftMargin = insets.left;
152 if (top && lp.topMargin != insets.top) {
154 lp.topMargin = insets.top;
156 if (right && lp.rightMargin != insets.right) {
158 lp.rightMargin = insets.right;
160 if (bottom && lp.bottomMargin != insets.bottom) {
162 lp.bottomMargin = insets.bottom
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SelectionHandles.java 95 Margins insets = canvas.getInsets(mItem.getNode().getFqcn()); local
96 if (insets != null) {
97 x1 += insets.left;
98 x2 -= insets.right;
99 y1 += insets.top;
100 y2 -= insets.bottom;
SelectionOverlay.java 203 Margins insets = mCanvas.getInsets(selectedNode.getFqcn()); local
209 if (insets != null) {
210 x1 += insets.left;
211 x2 -= insets.right;
212 y1 += insets.top;
213 y2 -= insets.bottom;
  /external/chromium/chrome/browser/
aeropeek_manager.h 14 #include "ui/gfx/insets.h"
47 virtual void GetContentInsets(gfx::Insets* insets) = 0;
103 void SetContentInsets(const gfx::Insets& insets);
133 virtual void GetContentInsets(gfx::Insets* insets);
196 gfx::Insets content_insets_;
  /external/chromium/chrome/browser/ui/views/infobars/
infobar_button_border.h 29 virtual void GetInsets(gfx::Insets* insets) const;
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
CommonControllerOverlay.java 242 // | Action Bar | insets.top
245 // | Content Area | insets.right = insets.left = 0
248 // | Navigation Bar | insets.bottom
254 protected boolean fitSystemWindows(Rect insets) {
257 mWindowInsets.set(insets);
263 Rect insets = mWindowInsets; local
264 int pl = insets.left; // the left paddings
265 int pr = insets.right;
266 int pt = insets.top
    [all...]
  /external/chromium/chrome/browser/chromeos/login/
rounded_rect_painter.cc 165 virtual void GetInsets(gfx::Insets* insets) const;
175 // Don't paint anything. RoundedRectBorder is used to provide insets only.
178 void RoundedRectBorder::GetInsets(gfx::Insets* insets) const {
179 DCHECK(insets);
182 insets->Set(inset - shadow / 3, inset, inset + shadow / 3, inset);
new_user_view.cc 365 gfx::Insets insets = GetInsets(); local
369 this->width() - insets.right() -
371 int y = insets.top() + kLanguagesMenuPad;
372 int width = std::min(this->width() - insets.width() - 2 * kColumnPad,
378 width = std::min(this->width() - insets.width() - 2 * kColumnPad,
380 x = insets.left() + kLeftPad;
381 int max_width = this->width() - x - std::max(insets.right(), x);
401 y = this->height() - insets.bottom() - kBottomPad;
  /external/chromium/chrome/browser/ui/views/autocomplete/
autocomplete_popup_contents_view.cc 25 #include "ui/gfx/insets.h"
95 virtual void GetInsets(gfx::Insets* insets) const {
96 insets->Set(3, 8, 3, 8);
110 gfx::Insets insets(h, w, h, w);
111 return views::Painter::CreateImagePainter(*image, insets, true);
656 gfx::Insets insets; local
657 border->GetInsets(&insets);
    [all...]

Completed in 417 milliseconds

1 2 3