HomeSort by relevance Sort by last modified time
    Searched full:rect (Results 501 - 525 of 5422) sorted by null

<<21222324252627282930>>

  /external/chromium_org/ash/wm/workspace/
workspace_layout_manager_unittest.cc 28 MaximizeDelegateView(const gfx::Rect& initial_bounds)
34 gfx::Rect* bounds,
42 const gfx::Rect initial_bounds_;
56 CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 3, 4)));
57 gfx::Rect bounds(10, 15, 25, 35);
60 SetRestoreBoundsInScreen(window.get(), gfx::Rect(0, 0, 100, 100));
70 window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100),
75 SetRestoreBoundsInScreen(window.get(), gfx::Rect(0, 0, 100, 100));
93 CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 30, 40)));
96 SetRestoreBoundsInScreen(window.get(), gfx::Rect(-100, -100, 30, 40))
    [all...]
  /external/chromium_org/chrome/browser/ui/views/notifications/
balloon_view_views.cc 150 gfx::Rect(screen_location, options_menu_button_->size()),
183 gfx::Rect contents_rect = GetContentsRectangle();
203 gfx::Rect contents_rect = GetContentsRectangle();
235 gfx::Rect frame_position(animation_->CurrentValueBetween(
240 gfx::Rect contents_rect = GetContentsRectangle();
252 gfx::Rect BalloonViewImpl::GetCloseButtonBounds() const {
253 gfx::Rect bounds(GetContentsBounds());
262 gfx::Rect BalloonViewImpl::GetOptionsButtonBounds() const {
263 gfx::Rect bounds(GetContentsBounds());
273 gfx::Rect BalloonViewImpl::GetLabelBounds() const
497 gfx::Rect rect = GetContentsBounds(); local
    [all...]
  /external/chromium_org/ui/gfx/
canvas_skia.cc 15 #include "ui/gfx/rect.h"
117 void UpdateRenderText(const Rect& rect,
127 Rect display_rect = rect;
192 Rect rect(*width, INT_MAX);
194 ui::ElideRectangleText(adjusted_text, font, rect.width(), rect.height(),
197 UpdateRenderText(rect, base::string16(), font, flags, 0, render_text.get())
439 Rect rect = display_rect; local
    [all...]
  /external/chromium_org/cc/layers/
scrollbar_layer.cc 171 gfx::Rect content_rect,
217 gfx::Rect rect,
225 resource->texture()->size() == rect.size() &&
235 gfx::Rect painted_opaque_rect;
236 painter->PrepareToUpdate(rect,
237 rect.size(),
255 resource->Update(queue, rect, dest_offset, partial_updates_allowed);
259 gfx::Rect ScrollbarLayer::ScrollbarLayerRectToContentRect(
260 gfx::Rect layer_rect) const
    [all...]
  /external/chromium_org/cc/output/
software_renderer_unittest.cc 46 void set_viewport(gfx::Rect viewport) {
55 virtual gfx::Rect DeviceViewport() const OVERRIDE {
81 gfx::Rect viewport_;
89 gfx::Rect outer_rect(outer_size);
90 gfx::Rect inner_rect(gfx::Point(1, 1), inner_size);
91 set_viewport(gfx::Rect(outer_size));
132 gfx::Rect outer_rect(outer_size);
133 gfx::Rect inner_rect(gfx::Point(1, 1), inner_size);
134 set_viewport(gfx::Rect(outer_size));
159 gfx::Rect(outer_size)
    [all...]
  /external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
constrained_window_alert.mm 196 NSRect rect = [button frame];
197 rect.origin.x = curX - NSWidth(rect);
198 rect.origin.y = chrome_style::kClientBottomPadding;
199 [button setFrameOrigin:rect.origin];
200 curX = NSMinX(rect) - kButtonGap;
222 NSRect rect;
223 rect.origin.y = yPos + chrome_style::kRowPadding;
224 rect.origin.x = chrome_style::kHorizontalPadding;
225 rect.size.width = windowWidth
    [all...]
  /external/chromium_org/ui/app_list/views/
page_switcher.cc 65 gfx::Rect rect(GetContentsBounds());
66 rect.ClampToCenteredSize(gfx::Size(button_width_, kButtonHeight));
69 path.addRoundRect(gfx::RectToSkRect(rect),
82 selected_width = selected_range_ * rect.width();
84 selected_width = -selected_range_ * rect.width();
85 selected_start_x = rect.right() - selected_width;
89 gfx::Rect selected_rect(rect);
177 gfx::Rect rect(GetContentsBounds())
    [all...]
  /frameworks/base/core/java/android/view/
IWindowSession.aidl 22 import android.graphics.Rect;
39 in int viewVisibility, out Rect outContentInsets,
42 in int viewVisibility, in int layerStackId, out Rect outContentInsets,
45 in int viewVisibility, out Rect outContentInsets);
47 in int viewVisibility, in int layerStackId, out Rect outContentInsets);
65 * @param outFrame Rect in which is placed the new position/size on
67 * @param outOverscanInsets Rect in which is placed the offsets from
70 * @param outContentInsets Rect in which is placed the offsets from
75 * @param outVisibleInsets Rect in which is placed the offsets from
91 int flags, out Rect outFrame, out Rect outOverscanInsets
    [all...]
  /external/chromium/chrome/browser/chromeos/login/
rounded_rect_painter.cc 32 SkRect rect; local
33 rect.set(
38 rect, SkIntToScalar(corner_radius), SkIntToScalar(corner_radius));
59 // Expand rect by 0.5px so resulting stroke will take the whole pixel.
60 rect.set(
70 rect,
90 SkRect rect; local
91 rect.set(
95 rect,
139 // screens. It draws a rect with padding, shadow and rounded corners
199 SkRect rect; local
    [all...]
user_input.h 8 #include "ui/gfx/rect.h"
28 virtual gfx::Rect GetMainInputScreenBounds() const = 0;
  /external/chromium_org/chrome/browser/android/
chrome_web_contents_delegate_android.cc 20 #include "ui/gfx/rect.h"
35 const gfx::RectF& rect) {
38 rect.x(),
39 rect.y(),
40 rect.right(),
41 rect.bottom()));
46 const gfx::Rect& rect) {
50 static_cast<int>(rect.x()),
51 static_cast<int>(rect.y())
    [all...]
  /external/chromium_org/chrome/browser/ui/views/frame/
opaque_browser_frame_view.h 36 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
51 virtual gfx::Rect GetBoundsForReservedArea() const;
59 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
60 virtual gfx::Rect GetWindowBoundsForClientBounds(
61 const gfx::Rect& client_bounds) const OVERRIDE;
72 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
125 gfx::Rect IconBounds() const;
128 gfx::Rect GetBoundsForTabStripAndAvatarArea(views::View* tabstrip) const;
150 gfx::Rect CalculateClientAreaBounds(int width, int height) const
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/page/
SpatialNavigation.cpp 77 rect = virtualRectForAreaElementAndDirection(area, direction);
83 rect = nodeRectInAbsoluteCoordinates(node, true /* ignore border */);
116 static inline LayoutUnit start(FocusDirection direction, const LayoutRect& rect)
118 return isHorizontalMove(direction) ? rect.y() : rect.x();
121 static inline LayoutUnit middle(FocusDirection direction, const LayoutRect& rect)
123 LayoutPoint center(rect.center());
127 static inline LayoutUnit end(FocusDirection direction, const LayoutRect& rect)
129 return isHorizontalMove(direction) ? rect.maxY() : rect.maxX()
485 LayoutRect rect = frame->view()->visibleContentRect(ScrollableArea::IncludeScrollbars); local
504 LayoutRect rect = initialRect; local
730 LayoutRect rect = virtualRectForDirection(direction, rectToAbsoluteCoordinates(area->document()->frame(), area->computeRect(area->imageElement()->renderer())), 1); local
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/page/actions/
scroll.js 66 var rect = { top: bound.top,
70 var outsideHeight = (rect.top + rect.height) - window.innerHeight;
71 var outsideWidth = (rect.left + rect.width) - window.innerWidth;
74 rect.height -= outsideHeight;
77 rect.width -= outsideWidth;
79 return rect;
87 var rect = getBoundingVisibleRect(this.options_.element_);
89 rect.left + rect.width * this.options_.left_start_percentage_
    [all...]
  /external/chromium_org/ui/base/win/
hwnd_util.cc 11 #include "ui/gfx/rect.h"
19 void AdjustWindowToFit(HWND hwnd, const RECT& bounds, bool fit_to_monitor) {
27 gfx::Rect window_rect(bounds);
28 gfx::Rect monitor_rect(mi.rcWork);
29 gfx::Rect new_window_rect = window_rect;
121 RECT window_bounds;
122 RECT center_bounds = {0};
129 // No parent or no parent rect. Center over the monitor the window is on.
177 RECT rect; local
    [all...]
  /frameworks/base/cmds/wm/src/com/android/commands/wm/
Wm.java 23 import android.graphics.Rect;
173 Rect rect = new Rect(); local
176 rect.set(0, 0, 0, 0);
185 rect.left = Integer.parseInt(matcher.group(1));
186 rect.top = Integer.parseInt(matcher.group(2));
187 rect.right = Integer.parseInt(matcher.group(3));
188 rect.bottom = Integer.parseInt(matcher.group(4));
192 mWm.setOverscan(Display.DEFAULT_DISPLAY, rect.left, rect.top, rect.right, rect.bottom)
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgeWindowSession.java 21 import android.graphics.Rect;
41 public int add(IWindow arg0, int seq, LayoutParams arg1, int arg2, Rect arg3,
50 Rect arg3, InputChannel outInputchannel)
58 Rect arg3)
66 int displayId, Rect arg3)
90 int arg4_5, Rect arg5Z, Rect arg5, Rect arg6, Rect arg7, Configuration arg7b,
107 public void getDisplayFrame(IWindow window, Rect outDisplayFrame)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
RenderingRequest.java 21 import android.graphics.Rect;
36 private Rect mBounds = null;
37 private Rect mDestination = null;
38 private Rect mIconBounds = null;
56 RenderingRequestCaller caller, Rect bounds, Rect destination) {
110 request.setIconBounds(new Rect(0, 0, w, h));
166 public Rect getBounds() {
170 public void setBounds(Rect bounds) {
182 public Rect getDestination()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/tests/
PaintAggregatorTest.cpp 51 IntRect rect(2, 4, 10, 16);
52 greg.invalidateRect(rect);
61 EXPECT_EQ(rect, update.paintRects[0]);
115 IntRect rect(1, 2, 3, 4);
117 greg.scrollRect(delta.x(), delta.y(), rect);
126 EXPECT_EQ(rect, update.scrollRect);
140 IntRect rect(1, 2, 3, 4);
143 greg.scrollRect(delta1.x(), delta1.y(), rect);
144 greg.scrollRect(delta2.x(), delta2.y(), rect);
153 EXPECT_EQ(rect, update.scrollRect)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
EclipseControl.java 25 import android.graphics.Rect;
61 private Rect mImageBounds;
102 public void setScrImageInfo(Matrix scrToImg, Rect imageBounds) {
104 mImageBounds = new Rect(imageBounds);
231 RectF rect = new RectF(cx - rx, cy - ry, cx + rx, cy + ry); local
236 paintOvallines(canvas, rect, paint, cx, cy, rx, ry);
240 paintOvallines(canvas, rect, paint, cx, cy, rx, ry);
244 Canvas canvas, RectF rect, Paint paint, float cx, float cy, float rx, float ry) {
245 canvas.drawOval(rect, paint);
254 rect.left = cx - dx
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkRRect.cpp 12 void SkRRect::setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) {
13 if (rect.isEmpty()) {
20 this->setRect(rect);
24 if (rect.width() < xRad+xRad || rect.height() < yRad+yRad) {
25 SkScalar scale = SkMinScalar(SkScalarDiv(rect.width(), xRad + xRad),
26 SkScalarDiv(rect.height(), yRad + yRad));
32 fRect = rect;
45 void SkRRect::setRectRadii(const SkRect& rect, const SkVector radii[4]) {
46 if (rect.isEmpty())
    [all...]
  /external/qemu/android/skin/
file.c 67 background->rect.pos.x = x;
68 background->rect.pos.y = y;
69 background->rect.size.w = skin_image_w( background->image );
70 background->rect.size.h = skin_image_h( background->image );
89 display->rect.pos.x = aconfig_int(node, "x", 0);
90 display->rect.pos.y = aconfig_int(node, "y", 0);
91 display->rect.size.w = aconfig_int(node, "width", 0);
92 display->rect.size.h = aconfig_int(node, "height", 0);
96 display->valid = ( display->rect.size.w > 0 && display->rect.size.h > 0 )
    [all...]
  /external/skia/src/core/
SkRRect.cpp 12 void SkRRect::setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) {
13 if (rect.isEmpty()) {
20 this->setRect(rect);
24 if (rect.width() < xRad+xRad || rect.height() < yRad+yRad) {
25 SkScalar scale = SkMinScalar(SkScalarDiv(rect.width(), xRad + xRad),
26 SkScalarDiv(rect.height(), yRad + yRad));
32 fRect = rect;
45 void SkRRect::setRectRadii(const SkRect& rect, const SkVector radii[4]) {
46 if (rect.isEmpty())
    [all...]
  /external/chromium_org/content/common/gpu/client/
gl_helper.cc 25 #include "ui/gfx/rect.h"
137 const gfx::Rect& src_subrect,
144 const gfx::Rect& src_rect,
160 const gfx::Rect& dst_subrect,
172 const gfx::Rect& src_subrect,
174 const gfx::Rect& dst_subrect,
227 const gfx::Rect& src_subrect,
229 const gfx::Rect& dst_subrect,
246 gfx::Rect dst_subrect_;
265 const gfx::Rect& src_subrect
672 const SkIRect& rect = it.rect(); local
    [all...]
  /external/chromium/chrome/browser/
ntp_background_util.h 11 class Rect;
26 const gfx::Rect& area, int tab_contents_height);

Completed in 1536 milliseconds

<<21222324252627282930>>