HomeSort by relevance Sort by last modified time
    Searched refs:Insets (Results 51 - 75 of 261) sorted by null

1 23 4 5 6 7 8 91011

  /external/chromium_org/ui/gfx/
display.cc 12 #include "ui/gfx/insets.h"
81 Insets Display::GetWorkAreaInsets() const {
82 return gfx::Insets(work_area_.y() - bounds_.y(),
91 Insets insets = bounds_.InsetsFrom(work_area_); local
106 UpdateWorkAreaFromInsets(insets);
119 void Display::UpdateWorkAreaFromInsets(const gfx::Insets& insets) {
121 work_area_.Inset(insets);
  /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/chromium_org/ui/views/layout/
box_layout.h 10 #include "ui/gfx/insets.h"
63 gfx::Insets inside_border_insets_;
  /external/chromium_org/ash/system/tray/
tray_popup_label_button_border.cc 101 gfx::Insets TrayPopupLabelButtonBorder::GetInsets() const {
102 return gfx::Insets(kTrayPopupLabelButtonPaddingVertical,
tray_details_view.cc 52 virtual gfx::Insets GetInsets() const OVERRIDE {
53 return gfx::Insets(0, 0, 1, 0);
fixed_sized_scroll_view.cc 32 gfx::Insets insets = GetInsets(); local
33 size.Enlarge(insets.width(), insets.height());
  /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()));
new_credit_card_bubble_views.cc 12 #include "ui/gfx/insets.h"
117 gfx::Insets insets = views::BubbleFrameView::GetTitleInsets(); local
118 set_margins(gfx::Insets(0, insets.left(), insets.top(), insets.left()));
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
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/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/bubble/
bubble_border.cc 151 const gfx::Insets insets = GetInsets();
152 size.Enlarge(insets.width(), insets.height());
226 gfx::Insets BubbleBorder::GetInsets() const {
227 // The insets contain the stroke and shadow pixels outside the bubble fill.
230 return gfx::Insets(inset, inset, inset, inset);
234 return gfx::Insets(inset_with_arrow, inset, inset, inset);
235 return gfx::Insets(inset, inset, inset_with_arrow, inset);
238 return gfx::Insets(inset, inset_with_arrow, inset, inset)
    [all...]
bubble_frame_view.cc 58 gfx::Insets BubbleFrameView::GetTitleInsets() {
59 return gfx::Insets(kTitleTopInset, kTitleLeftInset, kTitleBottomInset, 0);
62 BubbleFrameView::BubbleFrameView(const gfx::Insets& content_margins)
132 const gfx::Insets border_insets = bubble_border_->GetInsets();
161 gfx::Insets BubbleFrameView::GetInsets() const {
162 gfx::Insets insets = content_margins_; local
166 insets += gfx::Insets(std::max(title_height, close_height), 0, 0, 0);
167 return insets;
    [all...]
  /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/ash/display/
root_window_transformers.cc 21 #include "ui/gfx/insets.h"
110 gfx::Transform CreateInsetsAndScaleTransform(const gfx::Insets& insets,
114 if (insets.top() != 0 || insets.left() != 0) {
115 float x_offset = insets.left() / device_scale_factor;
116 float y_offset = insets.top() / device_scale_factor;
171 // Ignore the origin because RootWindow's insets are handled by
179 virtual gfx::Insets GetHostInsets() const OVERRIDE {
204 gfx::Insets host_insets_
    [all...]
display_info.cc 112 display_info.SetOverscanInsets(gfx::Insets(height, width, height, width));
172 // Don't copy insets as it may be given by preference. |rotation_|
186 gfx::Insets insets_in_pixel =
201 void DisplayInfo::SetOverscanInsets(const gfx::Insets& insets_in_dip) {
205 gfx::Insets DisplayInfo::GetOverscanInsetsInPixel() const {
  /external/chromium_org/ui/views/controls/button/
label_button_border.cc 22 // Insets for the unified button images. This assumes that the images
67 const gfx::Insets insets(kButtonInsets,
73 set_insets(gfx::Insets(8, 13, 8, 13));
76 *rb.GetImageSkiaNamed(IDR_BUTTON_NORMAL), insets));
79 *rb.GetImageSkiaNamed(IDR_BUTTON_HOVER), insets));
82 *rb.GetImageSkiaNamed(IDR_BUTTON_PRESSED), insets));
85 *rb.GetImageSkiaNamed(IDR_BUTTON_DISABLED), insets));
88 *rb.GetImageSkiaNamed(IDR_BUTTON_FOCUSED_NORMAL), insets));
91 *rb.GetImageSkiaNamed(IDR_BUTTON_FOCUSED_HOVER), insets));
    [all...]
  /external/chromium_org/chrome/browser/chromeos/display/
overscan_calibrator.cc 66 const gfx::Display& target_display, const gfx::Insets& initial_insets)
74 display_.id(), gfx::Insets());
111 void OverscanCalibrator::UpdateInsets(const gfx::Insets& insets) {
112 insets_.Set(std::max(insets.top(), 0),
113 std::max(insets.left(), 0),
114 std::max(insets.bottom(), 0),
115 std::max(insets.right(), 0));
  /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/ash/shelf/
shelf_layout_manager.cc 698 gfx::Insets(0, 0, inset, 0),
699 gfx::Insets(0, inset, 0, 0),
700 gfx::Insets(0, 0, 0, inset),
701 gfx::Insets(inset, 0, 0, 0)));
763 gfx::Insets(0, 0, GetWorkAreaSize(state, shelf_height), 0),
764 gfx::Insets(0, GetWorkAreaSize(state, shelf_width), 0, 0),
765 gfx::Insets(0, 0, 0, GetWorkAreaSize(state, shelf_width)),
766 gfx::Insets(GetWorkAreaSize(state, shelf_height), 0, 0, 0));
768 // TODO(varkha): The functionality of managing insets for display areas
774 gfx::Insets keyboard_insets(0, 0, keyboard_bounds_.height(), 0)
    [all...]
  /external/chromium_org/chrome/browser/ui/views/
dropdown_bar_view.cc 104 set_clip_insets(gfx::Insets(animation_offset_, 0, 0, 0));
140 new views::HorizontalPainter(border_image_ids), gfx::Insets()));
  /external/chromium_org/ui/aura/
root_window_host_win.h 28 virtual gfx::Insets GetInsets() const OVERRIDE;
29 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE;
  /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/chrome/browser/ui/views/frame/
browser_frame_win.h 46 virtual gfx::Insets GetClientAreaInsets() const OVERRIDE;
  /external/chromium/chrome/browser/ui/views/location_bar/
content_setting_image_view.h 74 gfx::Insets saved_insets_;
  /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;

Completed in 791 milliseconds

1 23 4 5 6 7 8 91011