HomeSort by relevance Sort by last modified time
    Searched full:bounds (Results 301 - 325 of 5192) sorted by null

<<11121314151617181920>>

  /external/chromium_org/ui/views/controls/scrollbar/
native_scroll_bar_views.cc 93 gfx::Rect bounds(GetPreferredSize());
95 GetNativeThemeState(), bounds,
281 gfx::Rect bounds = GetTrackBounds(); local
283 if (bounds.IsEmpty())
286 params_.scrollbar_track.track_x = bounds.x();
287 params_.scrollbar_track.track_y = bounds.y();
288 params_.scrollbar_track.track_width = bounds.width();
289 params_.scrollbar_track.track_height = bounds.height();
292 GetNativeTheme()->Paint(canvas->sk_canvas(), part_, state_, bounds, params_);
354 gfx::Rect bounds = GetLocalBounds() local
    [all...]
  /external/chromium_org/apps/
app_window.cc 82 void SetBoundsProperties(const gfx::Rect& bounds,
90 bounds_properties->SetInteger("left", bounds.x());
91 bounds_properties->SetInteger("top", bounds.y());
92 bounds_properties->SetInteger("width", bounds.width());
93 bounds_properties->SetInteger("height", bounds.height());
146 : bounds(kUnspecifiedPosition, kUnspecifiedPosition, 0, 0) {}
151 bounds.SetRect(kUnspecifiedPosition, kUnspecifiedPosition, 0, 0);
174 // Combine into a single window bounds.
175 gfx::Rect combined_bounds(window_spec.bounds);
176 if (content_spec.bounds.x() != BoundsSpecification::kUnspecifiedPosition
545 gfx::Rect bounds = native_app_window_->GetBounds(); local
678 gfx::Rect bounds = GetClientBounds(); local
1049 gfx::Rect bounds = native_app_window_->GetRestoredBounds(); local
1054 extension_id(), window_key_, bounds, screen_bounds, window_state); local
    [all...]
  /external/chromium_org/ash/wm/panels/
panel_layout_manager.cc 235 params.bounds = ScreenUtil::ConvertRectToScreen(parent, gfx::Rect());
236 params.bounds.set_width(kArrowWidth);
237 params.bounds.set_height(kArrowHeight);
359 // result of bounds change from within the application during a drag.
362 // TODO(varkha): Updating bounds during a drag can cause problems and a more
416 gfx::Rect bounds(requested_bounds);
417 const gfx::Rect& max_bounds = panel_container_->GetRootWindow()->bounds();
420 if (bounds.width() > max_width)
421 bounds.set_width(max_width);
422 if (bounds.height() > max_height
434 const gfx::Rect& bounds = (*new_position).window->bounds(); local
696 gfx::Rect bounds = visible_panels[i].window->GetTargetBounds(); local
778 gfx::Rect bounds = it->window->bounds(); local
820 gfx::Rect bounds = ScreenUtil::ConvertRectToScreen( local
    [all...]
  /external/chromium_org/chrome/browser/ui/cocoa/autofill/
autofill_notification_controller.mm 47 NSRect bounds = [self bounds];
49 path = [NSBezierPath bezierPathWithRect:bounds];
52 NSPoint anchorPoint = NSMakePoint(NSMidX([arrowAnchorView_ bounds]), 0);
54 anchorPoint.y = NSMaxY(bounds);
65 [path moveToPoint:NSMakePoint(NSMinX(bounds), NSMinY(arrowRect))];
69 [path lineToPoint:NSMakePoint(NSMaxX(bounds), NSMinY(arrowRect))];
70 [path lineToPoint:NSMakePoint(NSMaxX(bounds), NSMinY(bounds))];
71 [path lineToPoint:NSMakePoint(NSMinX(bounds), NSMinY(bounds))]
    [all...]
autofill_overlay_controller.mm 51 NSRect bounds = [self bounds];
52 CGFloat y = NSMaxY(bounds) - autofill::kArrowHeight;
55 // Note that we purposely draw slightly outside of |bounds| so that the
57 NSRect arrowBounds = NSInsetRect(bounds, -1, -1);
115 NSWidth([self bounds]), labelHeight)];
174 NSRect bounds = [[self view] bounds];
176 int messageHeight = [messageView_ heightForWidth:NSWidth(bounds)];
177 [messageView_ setFrame:NSMakeRect(0, 0, NSWidth(bounds), messageHeight)]
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/
LetterTileDrawable.java 100 final Rect bounds = getBounds(); local
101 if (!isVisible() || bounds.isEmpty()) {
109 * Draw the bitmap onto the canvas at the current bounds taking into account the current scale.
117 // Crop the destination bounds into a square, scaled and offset as appropriate
125 // Source rectangle remains the entire bounds of the source bitmap.
136 final Rect bounds = getBounds(); local
137 final int minDimension = Math.min(bounds.width(), bounds.height());
140 canvas.drawCircle(bounds.centerX(), bounds.centerY(), minDimension / 2, sPaint)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
ScaleDrawableTest.java 314 Rect bounds = new Rect(2, 2, 26, 32); local
315 mockDrawable.setBounds(bounds);
316 mockScaleDrawable.onBoundsChange(bounds);
318 Gravity.apply(Gravity.LEFT, bounds.width() - (int) (bounds.width() * scaleWidth),
319 bounds.height() - (int) (bounds.height() * scaleHeight), bounds, expected);
330 mockDrawable.setBounds(bounds);
332 mockScaleDrawable.onBoundsChange(bounds);
    [all...]
InsetDrawableTest.java 238 Rect bounds = d.getBounds(); local
239 assertEquals(0, bounds.left);
240 assertEquals(0, bounds.top);
241 assertEquals(0, bounds.right);
242 assertEquals(0, bounds.bottom);
247 assertEquals(10, bounds.left);
248 assertEquals(10, bounds.top);
249 assertEquals(-10, bounds.right);
250 assertEquals(-10, bounds.bottom);
261 Rect bounds = d.getBounds() local
    [all...]
  /external/chromium_org/cc/trees/
layer_tree_impl_unittest.cc 53 gfx::Size bounds(100, 100);
58 bounds,
63 host_impl().SetViewportSize(root->bounds());
105 gfx::Size bounds(100, 100);
110 bounds,
177 gfx::Size bounds(100, 100);
182 bounds,
187 host_impl().SetViewportSize(root->bounds());
243 gfx::Size bounds(100, 100);
248 bounds,
    [all...]
  /external/chromium-trace/trace-viewer/src/tracing/trace_model/
async_slice_group.js 20 this.bounds = new base.Range();
54 * Updates the bounds for this group based on the slices it contains.
57 this.bounds.reset();
59 this.bounds.addValue(this.slices[i].start);
60 this.bounds.addValue(this.slices[i].end);
  /external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
bookmark_bar_toolbar_view.mm 58 NSRect bounds = [self bounds];
64 NSRectFill([self bounds]);
71 NSRectFillUsingOperation(bounds, NSCompositeSourceOver);
94 NSRect strokeRect = bounds;
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
SelectPopupDropdown.java 34 Rect bounds, int[] selected) {
55 renderCoordinates.fromLocalCssToPix(bounds.left));
57 renderCoordinates.fromLocalCssToPix(bounds.top));
59 renderCoordinates.fromLocalCssToPix(bounds.right)) - anchorX;
61 renderCoordinates.fromLocalCssToPix(bounds.bottom)) - anchorY;
  /external/chromium_org/skia/ext/
skia_utils_mac.mm 291 SkIRect bounds;
292 bounds.fTop = 0;
299 bounds.fTop = y;
306 bounds.fBottom = height;
309 while (--y > bounds.fTop) {
312 bounds.fBottom = y + 1;
319 bounds.fLeft = 0;
322 pixels = pixelBase + rowPixels * bounds.fTop;
323 for (y = bounds.fTop; y < bounds.fBottom; ++y)
    [all...]
  /external/chromium_org/ui/compositor/test/
test_compositor_host_x11.cc 24 TestCompositorHostX11(const gfx::Rect& bounds,
47 const gfx::Rect& bounds,
49 : bounds_(bounds),
93 const gfx::Rect& bounds,
95 return new TestCompositorHostX11(bounds, context_factory);
  /external/chromium_org/ui/views/
view_model.h 41 // Variant of Move() that leaves the bounds as is. That is, after invoking
42 // this the bounds of the view at |target_index| (and all other indices) are
43 // exactly the same as the bounds of the view at |target_index| before
59 void set_ideal_bounds(int index, const gfx::Rect& bounds) {
61 entries_[index].ideal_bounds = bounds;
  /external/chromium_org/v8/src/
typing.h 51 void NarrowType(Expression* e, Bounds b) {
52 e->set_bounds(Bounds::Both(e->bounds(), b, zone()));
55 e->set_bounds(Bounds::NarrowLower(e->bounds(), t, zone()));
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
StyledCornersBitmapDrawable.java 39 * {@link #CORNER_STYLE_FLAP} corners have a colored flap drawn within the bounds.
210 protected void onBoundsChange(Rect bounds) {
211 super.onBoundsChange(bounds);
222 final Rect bounds = getBounds(); local
223 if (bounds.isEmpty()) {
240 float left = bounds.left + mBorderWidth / 2;
241 float top = bounds.top + mBorderWidth / 2;
242 float right = bounds.right - mBorderWidth / 2;
243 float bottom = bounds.bottom - mBorderWidth / 2;
282 final Rect bounds = getBounds() local
366 Rect bounds = getBounds(); local
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
BorderCropDrawable.java 57 protected void onBoundsChange(Rect bounds) {
59 bounds.left + mBoundsShift.left,
60 bounds.top + mBoundsShift.top,
61 bounds.right + mBoundsShift.right,
62 bounds.bottom + mBoundsShift.bottom);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
ZoomControlsRuleTest.java 33 .bounds(new Rect(0, 0, 240, 480)).add(
34 TestNode.create("android.widget.Button").id("@+id/Button01").bounds(
36 TestNode.create("android.widget.Button").id("@+id/Button02").bounds(
38 TestNode.create("android.widget.Button").id("@+id/Button03").bounds(
40 TestNode.create("android.widget.Button").id("@+id/Button04").bounds(
  /external/chromium_org/third_party/skia/src/effects/
SkDisplacementMapEffect.cpp 55 const SkIRect& bounds)
66 for (int y = bounds.top(); y < bounds.bottom(); ++y) {
67 const SkPMColor* displPtr = displ->getAddr32(bounds.left() + offset.fX,
69 for (int x = bounds.left(); x < bounds.right(); ++x, ++displPtr) {
88 const SkIRect& bounds)
93 scale, dst, displ, offset, src, bounds);
97 scale, dst, displ, offset, src, bounds);
101 scale, dst, displ, offset, src, bounds);
212 SkIRect bounds; local
258 SkIRect bounds = src; local
368 SkIRect bounds; local
    [all...]
  /external/skia/src/effects/
SkDisplacementMapEffect.cpp 55 const SkIRect& bounds)
66 for (int y = bounds.top(); y < bounds.bottom(); ++y) {
67 const SkPMColor* displPtr = displ->getAddr32(bounds.left() + offset.fX,
69 for (int x = bounds.left(); x < bounds.right(); ++x, ++displPtr) {
88 const SkIRect& bounds)
93 scale, dst, displ, offset, src, bounds);
97 scale, dst, displ, offset, src, bounds);
101 scale, dst, displ, offset, src, bounds);
212 SkIRect bounds; local
258 SkIRect bounds = src; local
368 SkIRect bounds; local
    [all...]
  /external/chromium_org/ash/wm/maximize_mode/
maximize_mode_window_manager_unittest.cc 46 const gfx::Rect& bounds) {
48 type, bounds, gfx::Size(), false, false);
55 const gfx::Rect& bounds,
57 return CreateWindowInWatchedContainer(type, bounds, max_size, false, true);
62 const gfx::Rect bounds) {
64 type, bounds, gfx::Size(), true, true);
68 aura::Window* CreateWindowWithWidget(const gfx::Rect& bounds) {
76 window->SetBounds(bounds);
117 const gfx::Rect& bounds,
129 delegate, type, 0, bounds, NULL)
427 gfx::Rect* bounds = window->GetProperty(ash::kRestoreBoundsOverrideKey); local
    [all...]
  /external/chromium_org/ash/wm/overview/
window_selector_item.h 65 // Sets the bounds of this window selector item to |target_bounds| in the
72 // dispatched when the bounds of a window change.
79 const gfx::Rect& bounds() const { return bounds_; } function in class:ash::WindowSelectorItem
87 // Sets the bounds of this selector's items to |target_bounds| in
94 // Sets the bounds used by the selector item's windows.
95 void set_bounds(const gfx::Rect& bounds) { bounds_ = bounds; }
100 // Creates |close_button_| if it does not exist and updates the bounds based
112 // The target bounds this selector item is fit within.
115 // The actual bounds of the window(s) for this item. The aspect ratio o
    [all...]
  /external/chromium_org/ash/wm/
window_positioner.cc 81 // use window's bounds instead.
83 gfx::Rect work_area = gfx::Rect(window->parent()->bounds().size());
92 // Move the given |bounds| on the available |work_area| in the direction
97 gfx::Rect* bounds) {
99 if (work_area.right() > bounds->right()) {
100 bounds->set_x(work_area.right() - bounds->width());
104 if (work_area.x() < bounds->x()) {
105 bounds->set_x(work_area.x());
112 // Move a |window| to new |bounds|. Animate if desired by user
167 gfx::Rect bounds = window->bounds(); local
342 gfx::Rect bounds = added_window->bounds(); local
    [all...]
  /external/chromium_org/cc/layers/
picture_layer.cc 43 if (layer_impl->bounds().IsEmpty()) {
45 // Using layer_impl because either bounds() or paint_properties().bounds
52 // If update called, then pile size must match bounds pushed to impl layer.
53 DCHECK_EQ(layer_impl->bounds().ToString(),
81 // Clamp invalidation to the layer bounds.
82 rect.Intersect(gfx::Rect(bounds()));
98 gfx::Rect layer_rect = gfx::Rect(paint_properties().bounds);
122 visible_layer_rect = gfx::Rect(bounds());
188 int width = bounds().width()
    [all...]

Completed in 838 milliseconds

<<11121314151617181920>>