/external/chromium_org/ui/views/bubble/ |
bubble_frame_view_unittest.cc | 5 #include "ui/gfx/insets.h" 24 : BubbleFrameView(gfx::Insets(kMargin, kMargin, kMargin, kMargin)), 50 gfx::Insets insets = frame.bubble_border()->GetInsets(); local 51 EXPECT_EQ(insets.left() + margin_x, frame.GetBoundsForClientView().x()); 52 EXPECT_EQ(insets.top() + margin_y, frame.GetBoundsForClientView().y()); 60 gfx::Insets insets = frame.bubble_border()->GetInsets(); local 61 int xposition = 95 - insets.width();
|
tray_bubble_view.cc | 20 #include "ui/gfx/insets.h" 118 gfx::Insets insets = GetInsets(); variable 119 border_size.Enlarge(insets.width(), insets.height()); 124 insets.height() - kBubbleSpacing; 330 set_margins(gfx::Insets()); 387 gfx::Insets TrayBubbleView::GetBorderInsets() const {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
NinePatchDrawable.java | 25 import android.graphics.Insets; 60 private Insets mOpticalInsets = Insets.NONE; 186 private static Insets scaleFromDensity(Insets insets, int sdensity, int tdensity) { 187 int left = Bitmap.scaleFromDensity(insets.left, sdensity, tdensity); 188 int top = Bitmap.scaleFromDensity(insets.top, sdensity, tdensity); 189 int right = Bitmap.scaleFromDensity(insets.right, sdensity, tdensity); 190 int bottom = Bitmap.scaleFromDensity(insets.bottom, sdensity, tdensity) [all...] |
/external/chromium_org/ui/views/controls/combobox/ |
combobox.cc | 348 gfx::Insets insets = GetInsets(); local 412 gfx::Insets insets = GetInsets(); local 414 insets.width() + GetDisclosureArrowLeftPadding() + 416 return gfx::Size(total_width, content_size_.height() + insets.height()); 627 gfx::Insets insets = GetInsets(); local 632 int x = insets.left(); 633 int y = insets.top() [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Cling.java | 369 public void setInsets(Rect insets) { 370 mInsets.set(insets); 371 setPadding(insets.left, insets.top, insets.right, insets.bottom);
|
/external/chromium_org/ash/shelf/ |
shelf_tooltip_manager.cc | 20 #include "ui/gfx/insets.h" 79 gfx::Insets insets = gfx::Insets(kArrowOffsetTopBottom, local 86 insets += anchor->border()->GetInsets(); 88 set_anchor_view_insets(insets); 93 set_margins(gfx::Insets(kTooltipTopBottomMargin, kTooltipLeftRightMargin,
|
/external/chromium_org/ui/views/controls/ |
progress_bar.cc | 187 gfx::Insets insets = GetInsets(); 188 pref_size.Enlarge(insets.width(), insets.height());
|
/external/proguard/src/proguard/gui/ |
ClassPathPanel.java | 339 jarNameLabelConstraints.insets = new Insets(1, 2, 1, 2); 346 filterLabelConstraints.insets = jarNameLabelConstraints.insets;
|
ListPanel.java | 57 listConstraints.insets = new Insets(0, 2, 0, 2); 177 buttonConstraints.insets = new Insets(0, 2, 0, 2);
|
/external/chromium/chrome/browser/ui/views/bubble/ |
bubble_border.h | 103 virtual void GetInsets(gfx::Insets* insets) const;
|
/external/chromium/chrome/browser/ui/views/ |
wrench_menu.cc | 70 gfx::Insets insets; local 72 border()->GetInsets(&insets); 73 pref.Enlarge(insets.width(), insets.height()); 82 // insets, the actual painting is done in MenuButtonBackground. 91 virtual void GetInsets(gfx::Insets* insets) const { 92 insets->Set(MenuConfig::instance().item_top_margin, 515 gfx::Insets insets local [all...] |
sad_tab_view.cc | 128 gfx::Insets insets = learn_more_link_->GetInsets(); local 131 insets.top(), sz.width(), sz.height());
|
/external/chromium_org/ash/display/ |
display_controller.h | 36 class Insets; 133 // Gets/Sets/Clears the overscan insets for the specified |display_id|. See 135 gfx::Insets GetOverscanInsets(int64 display_id) const; 136 void SetOverscanInsets(int64 display_id, const gfx::Insets& insets_in_dip); 142 // Sets the work area's |insets| to the display assigned to |window|. 144 const gfx::Insets& insets);
|
/external/chromium_org/ash/wm/caption_buttons/ |
maximize_bubble_controller_bubble.cc | 177 gfx::Insets inset = GetInsets(); 197 gfx::Insets insets = GetInsets(); local 198 border_size.Enlarge(insets.width(), insets.height()); 203 int y = anchor_size_.height() - insets.top(); 212 gfx::Insets inset = GetInsets(); 319 set_margins(gfx::Insets());
|
/external/chromium_org/ui/aura/ |
root_window_host_ozone.cc | 72 gfx::Insets RootWindowHostOzone::GetInsets() const { return gfx::Insets(); } 74 void RootWindowHostOzone::SetInsets(const gfx::Insets& insets) {
|
root_window_host_win.h | 27 virtual gfx::Insets GetInsets() const OVERRIDE; 28 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE;
|
root_window_host_x11.h | 22 #include "ui/gfx/insets.h" 55 virtual gfx::Insets GetInsets() const OVERRIDE; 56 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; 123 // The insets that specifies the effective area within the |window_|. 124 gfx::Insets insets_;
|
/external/chromium_org/ui/message_center/views/ |
bounded_label.cc | 107 gfx::Insets insets = owner_->GetInsets(); local 109 std::max(width - insets.width(), 0); 116 size.set_width(text_width + insets.width()); 117 size.set_height(text_height + insets.height());
|
/external/chromium_org/ui/views/win/ |
hwnd_message_handler_delegate.h | 12 class Insets; 69 // Returns true if the delegate modifies |insets| to define a custom client 71 // false is returned, |insets| is not modified. 72 virtual bool GetClientAreaInsets(gfx::Insets* insets) const = 0;
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
autofill_dialog_views.cc | 187 gfx::Insets insets = GetInsets(); variable 188 return gfx::Size(width + insets.width(), height + insets.height()); 317 virtual gfx::Insets GetInsets() const OVERRIDE { 321 return gfx::Insets(vertical_padding, kDialogEdgePadding, 479 gfx::Insets insets = GetInsets(); local 481 views::Painter::CreateDashedFocusPainterWithInsets(insets)); 603 gfx::Insets AutofillDialogViews::OverlayView::GetInsets() const 945 gfx::Insets insets = GetInsets(); local 958 const gfx::Insets insets = GetInsets(); local 971 const gfx::Insets insets = GetInsets(); local 1799 gfx::Insets insets = GetInsets(); local [all...] |
/external/chromium/chrome/browser/ui/views/infobars/ |
infobar_button_border.cc | 51 void InfoBarButtonBorder::GetInsets(gfx::Insets* insets) const { 54 insets->Set(kPreferredPaddingVertical, kPreferredPaddingHorizontal,
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
browser_desktop_root_window_host_win.cc | 135 gfx::Insets* insets) const { 136 // Use the default client insets for an opaque frame or a glass popup/app 150 insets->Set(0, border_thickness, border_thickness, border_thickness);
|
/external/chromium_org/ui/views/controls/button/ |
menu_button.cc | 255 gfx::Insets insets = GetInsets(); local 261 gfx::Rect arrow_bounds(width() - insets.right() -
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardHostView.java | 1382 Rect insets = new Rect(); field in class:KeyguardHostView.SavedState [all...] |
/external/chromium_org/ui/app_list/views/ |
apps_grid_view_unittest.cc | 138 gfx::Insets insets(apps_grid_view_->GetInsets()); 139 gfx::Rect rect(gfx::Point(insets.left(), insets.top()),
|