/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...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
glass_browser_frame_view.cc | 150 // Account for the client area insets. 151 gfx::Insets insets = GetClientAreaInsets(); local 152 min_size.Enlarge(insets.width(), insets.height()); 153 // Client area insets do not include the shadow thickness. 157 // width at its usual insets. 190 gfx::Insets insets = GetClientAreaInsets(); local 191 return gfx::Rect(std::max(0, client_bounds.x() - insets.left()) [all...] |
/external/chromium_org/ui/views/controls/ |
label.cc | 23 #include "ui/gfx/insets.h" 195 gfx::Insets Label::GetInsets() const { 196 gfx::Insets insets = View::GetInsets(); local 198 insets += gfx::Insets(kFocusBorderPadding, kFocusBorderPadding, 201 return insets; 218 gfx::Insets insets = GetInsets(); local 219 prefsize.Enlarge(insets.width(), insets.height()) 399 gfx::Insets insets = GetInsets(); local [all...] |
/external/chromium_org/ui/views/controls/button/ |
text_button.cc | 80 gfx::Insets TextButtonBorder::GetInsets() const { 84 void TextButtonBorder::SetInsets(const gfx::Insets& insets) { 85 insets_ = insets; 106 SetInsets(gfx::Insets(vertical_padding_, kPreferredPaddingHorizontal, 158 SetInsets(gfx::Insets(kPreferredNativeThemePaddingVertical, 306 gfx::Insets insets = GetInsets(); local 312 text_size_.width()) + insets.width(), 314 text_size_.height()) + insets.height()) 420 gfx::Insets insets = GetInsets(); local 676 gfx::Insets insets = GetInsets(); local [all...] |
/external/chromium_org/ash/launcher/ |
launcher_tooltip_manager.cc | 20 #include "ui/gfx/insets.h" 80 gfx::Insets insets = gfx::Insets(kArrowOffsetTopBottom, local 87 insets += anchor->border()->GetInsets(); 89 set_anchor_view_insets(insets); 94 set_margins(gfx::Insets(kTooltipTopBottomMargin, kTooltipLeftRightMargin,
|
/external/chromium_org/ui/aura/ |
root_window_host_win.cc | 19 #include "ui/gfx/insets.h" 150 gfx::Insets RootWindowHostWin::GetInsets() const { 151 return gfx::Insets(); 154 void RootWindowHostWin::SetInsets(const gfx::Insets& insets) {
|
/external/chromium_org/ui/views/controls/menu/ |
menu_scroll_view_container.cc | 227 gfx::Insets insets = GetInsets(); local 228 int x = insets.left(); 229 int y = insets.top(); 230 int width = View::width() - insets.width(); 231 int content_height = height() - insets.height(); 245 scroll_down_button_->SetBounds(x, height() - pref.height() - insets.top(), 255 gfx::Insets insets = GetInsets(); local 256 prefsize.Enlarge(insets.width(), insets.height()) [all...] |
/external/chromium_org/ui/views/ |
painter.cc | 15 #include "ui/gfx/insets.h" 101 // Constructs an ImagePainter with the specified image and insets. 102 ImagePainter(const gfx::ImageSkia& image, const gfx::Insets& insets); 140 const gfx::Insets& insets) { 141 DCHECK_GE(image.width(), insets.width()); 142 DCHECK_GE(image.height(), insets.height()); 146 { 0, insets.left(), image.width() - insets.right(), image.width() } [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
desktop_root_window_host_win.h | 110 virtual gfx::Insets GetInsets() const OVERRIDE; 111 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; 152 virtual bool GetClientAreaInsets(gfx::Insets* insets) const OVERRIDE;
|
/external/chromium/chrome/browser/extensions/ |
extension_icon_manager.cc | 26 const gfx::Insets& padding) {
|
/external/chromium/chrome/browser/ui/views/autocomplete/ |
autocomplete_popup_contents_view.h | 34 class Insets;
|
/external/chromium/chrome/browser/ui/views/bubble/ |
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...] |
bubble_border.h | 103 virtual void GetInsets(gfx::Insets* insets) const;
|
/external/chromium_org/chrome/browser/chromeos/ui/ |
focus_ring_layer.cc | 70 gfx::Insets(kShadowRadius, kShadowRadius, kShadowRadius, kShadowRadius))); 104 // The insets here must be consistent with the ones used in OnPaintFocusBorder
|
/external/chromium_org/chrome/browser/extensions/api/system_display/ |
display_info_provider_chromeos.cc | 24 using api::system_display::Insets; 81 const gfx::Insets overscan_insets = 312 const gfx::Insets overscan = 383 gfx::Insets(info.overscan->top, info.overscan->left,
|
display_info_provider_chromeos_unittest.cc | 72 const api::system_display::Insets& insets) const { 73 // Order to match gfx::Insets::ToString(). 75 insets.top, insets.left, insets.bottom, insets.right); 225 gfx::Insets(20, 30, 50, 60)); 236 // Set insets for the primary screen. Note that it has 2x scale. 245 gfx::Insets(10, 20, 30, 40)) [all...] |
/external/chromium_org/chrome/browser/ui/gtk/apps/ |
native_app_window_gtk.h | 72 virtual gfx::Insets GetFrameInsets() const OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/views/ |
avatar_label.cc | 48 SetInsets(gfx::Insets(kVerticalInsetTop + addToTop,
|
first_run_bubble.cc | 82 gfx::Insets(kAnchorVerticalInset, 0, kAnchorVerticalInset, 0));
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
shell_window_frame_view.cc | 115 gfx::Insets mouse_insets = gfx::Insets(-ash::kResizeOutsideBoundsSize, 119 gfx::Insets touch_insets = mouse_insets.Scale( 132 gfx::Insets(resize_inside_bounds_size, resize_inside_bounds_size,
|
/external/chromium_org/ui/views/bubble/ |
tray_bubble_view.h | 133 // Returns the border insets. Called by TrayEventFilter. 134 gfx::Insets GetBorderInsets() const;
|
/external/chromium_org/ui/views/controls/textfield/ |
textfield.cc | 20 #include "ui/gfx/insets.h" 435 gfx::Insets insets = GetTextInsets(); local 438 return insets.top() + baseline; 442 gfx::Insets insets = GetTextInsets(); local 448 + insets.width(), 449 font_height + insets.height()); 561 gfx::Insets Textfield::GetTextInsets() const { 562 gfx::Insets insets = GetInsets() local [all...] |
/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...] |
TabbedPane.java | 163 component.setMargin(new Insets(0, 0, 0, 0));
|
/external/chromium_org/ash/wm/workspace/ |
workspace_window_resizer_unittest.cc | 29 #include "ui/gfx/insets.h" 87 Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); 162 gfx::Insets mouse_insets = gfx::Insets(-ash::kResizeOutsideBoundsSize, 166 gfx::Insets touch_insets = mouse_insets.Scale( 430 Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); 655 Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 10, 0)); 680 Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 10, 0)); 717 Shell::GetPrimaryRootWindow(), gfx::Insets(10, 0, 0, 0)); 730 Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 50, 0)) [all...] |