/external/chromium_org/ash/wm/panels/ |
panel_window_resizer.h | 45 // Checks if the provided window bounds should attach to the launcher. If true 47 bool AttachToLauncher(const gfx::Rect& bounds, gfx::Point* offset); 71 // Set to true once Drag() is invoked and the bounds of the window change.
|
/external/chromium_org/ash/wm/ |
screen_dimmer_unittest.cc | 68 EXPECT_EQ(gfx::Rect(root_layer->bounds().size()).ToString(), 69 dimming_layer->bounds().ToString()); 75 EXPECT_EQ(kNewBounds.ToString(), dimming_layer->bounds().ToString());
|
window_animations.h | 49 // should be at the target bounds. |old_layer_owner| contains the previous layer 72 // Returns the approximate bounds to which |window| will be animated when it 73 // is minimized. The bounds are approximate because the minimize animation
|
window_state_unittest.cc | 148 EXPECT_EQ(minimum_size.ToString(), window->bounds().size().ToString()); 153 EXPECT_EQ(bigger_bounds.ToString(), window->bounds().ToString()); 159 EXPECT_EQ(minimum_size.ToString(), window->bounds().size().ToString()); 181 EXPECT_EQ(work_area_size.ToString(), window->bounds().size().ToString()); 186 EXPECT_EQ(work_area_size.ToString(), window->bounds().size().ToString()); 191 EXPECT_EQ(work_area_size.ToString(), window->bounds().size().ToString()); 194 // Test that setting the bounds of a snapped window keeps its snapped. 222 // Test that snapping left/right preserves the restore bounds. 230 // 1) Start with restored window with restore bounds set. 244 // 2) Start with restored bounds set as a result of maximizing the window [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
popup_controller_common_unittest.cc | 32 // Store the possible element bounds and the popup bounds they should result 81 "Popup bounds failed to match for test " << i;
|
/external/chromium_org/chrome/browser/ui/cocoa/applescript/ |
window_applescript.h | 53 // Called by applescript which takes care of bounds checking, make sure of it 58 // Called by applescript which takes care of bounds checking, make sure of it 68 // For standard window functions like zoomable, bounds etc, we dont handle it
|
/external/chromium_org/chrome/browser/ui/cocoa/apps/ |
native_app_window_cocoa.mm | 81 NSRect GfxToCocoaBounds(gfx::Rect bounds) { 87 if (bounds.x() == BoundsSpecification::kUnspecifiedPosition) 88 bounds.set_x(floor((NSWidth(main_screen_rect) - bounds.width()) / 2)); 89 if (bounds.y() == BoundsSpecification::kUnspecifiedPosition) 90 bounds.set_y(floor((NSHeight(main_screen_rect) - bounds.height()) / 2)); 93 NSRect cocoa_bounds = NSRectFromCGRect(bounds.ToCGRect()); 282 [[NSBezierPath bezierPathWithRoundedRect:[view bounds] 372 // Estimate the initial bounds of the window. Once the frame insets are known [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
browser_action_test_util_mac.mm | 71 NSRect bounds = [[[ExtensionPopupController popup] view] bounds]; 72 return gfx::Rect(NSRectToCGRect(bounds));
|
/external/chromium_org/chrome/browser/ui/cocoa/wrench_menu/ |
menu_tracked_button.mm | 22 trackingTag_ = [self addTrackingRect:NSInsetRect([self bounds], 1, 1) 96 // Returns the bounds of the receiver slightly inset to avoid highlighting both 99 return NSInsetRect([self bounds], 2, 1);
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
browser_header_painter_ash.cc | 42 const gfx::Rect& bounds, 46 SkRect rect = gfx::RectToSkRect(bounds); 65 const gfx::Rect& bounds, 79 TileRoundRect(canvas, frame_image, paint, bounds, corner_radius, 83 // Adjust |bounds| such that |frame_overlay_image| is not tiled. 84 gfx::Rect overlay_bounds = bounds; 86 gfx::Rect(bounds.origin(), frame_overlay_image.size())); 89 if (overlay_bounds.width() < bounds.width() - corner_radius) 95 gfx::Canvas temporary_canvas(bounds.size(), canvas->image_scale(), false); 99 bounds.width(), bounds.height()) [all...] |
/external/chromium_org/chrome/browser/ui/views/importer/ |
import_lock_dialog_view.cc | 60 gfx::Rect bounds(GetLocalBounds()); 61 bounds.Inset(views::kButtonHEdgeMargin, views::kPanelVertMargin); 62 description_label_->SetBoundsRect(bounds);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
DisplayList.cpp | 41 DisplayList::DisplayList(const FloatRect& bounds) 42 : m_bounds(bounds) 50 const FloatRect& DisplayList::bounds() const function in class:WebCore::DisplayList
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleMeasure.cpp | 52 SkRect bounds; local 61 SkScalar w = p.measureText(text, len, &bounds, scale); 65 canvas->drawRect(bounds, p);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkTileImageFilter.cpp | 45 SkIRect bounds; local 46 source.getBounds(&bounds); 48 if (!srcIRect.intersect(bounds)) {
|
/external/chromium_org/third_party/skia/src/utils/ |
SkDashPath.cpp | 42 // watch out for values that might make us go out of bounds 104 SkRect bounds = *cullRect; local 105 outset_for_stroke(&bounds, rec); 118 if (maxX < bounds.fLeft || minX > bounds.fRight) { 127 // right of the bounds (keeping our new line "in phase" with the dash, 130 if (minX < bounds.fLeft) { 131 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, 134 if (maxX > bounds.fRight) [all...] |
/external/chromium_org/third_party/skia/src/utils/debugger/ |
SkDrawCommand.cpp | 96 void xlate_and_scale_to_bounds(SkCanvas* canvas, const SkRect& bounds) { 102 if (bounds.width() > bounds.height()) { 103 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.width()), 104 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.width())); 106 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.height()), 107 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.height())); 109 canvas->translate(-bounds.centerX(), -bounds.centerY()); 117 const SkRect& bounds = path.getBounds() local 165 const SkRect& bounds = rrect.getBounds(); local 181 const SkRect& bounds = outer.getBounds(); local 521 SkRect bounds = SkRect::MakeWH(SkIntToScalar(fPicture->width()), local 556 SkRect bounds; local [all...] |
/external/chromium_org/third_party/skia/src/views/animated/ |
SkProgressBarView.cpp | 41 SkRect bounds; local 42 fAnim.getInvalBounds(&bounds); 43 this->inval(&bounds);
|
SkScrollBarView.cpp | 95 SkRect bounds; local 96 fAnim.getInvalBounds(&bounds); 97 this->inval(&bounds);
|
/external/chromium_org/ui/app_list/views/ |
folder_background_view.cc | 42 const gfx::Rect bounds(layer()->bounds().size()); 44 gfx::GetScaleTransform(bounds.CenterPoint(), kFolderInkBubbleScale);
|
/external/chromium_org/ui/aura/bench/ |
bench_main.cc | 179 gfx::Rect bounds(width, height); 180 webgl_.SetBounds(bounds); 218 bounds.size()); 236 webgl_.SchedulePaint(gfx::Rect(webgl_.bounds().size())); 276 layer_->SchedulePaint(gfx::Rect(layer_->bounds().size())); 325 background.SetBounds(host->window()->bounds()); 329 window.SetBounds(gfx::Rect(background.bounds().size())); 337 gfx::Rect bounds(window.bounds().size()); 338 bounds.Inset(0, 30, 0, 0) [all...] |
/external/chromium_org/ui/events/gesture_detection/ |
snap_scroll_controller.cc | 20 if (display.bounds().IsEmpty()) 24 std::abs(hypot(static_cast<float>(display.bounds().width()), 25 static_cast<float>(display.bounds().height())));
|
/external/chromium_org/ui/views/ |
mouse_watcher.h | 50 // mouse moves outside the bounds of a MouseWatcherHost. 65 // Starts watching mouse movements. When the mouse moves outside the bounds of 67 // times. If the mouse moves outside the bounds of the host the listener is
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
proc-llist.c | 54 newnode->bounds = node->bounds; 78 free(cur->bounds);
|
/external/skia/samplecode/ |
SampleMeasure.cpp | 52 SkRect bounds; local 61 SkScalar w = p.measureText(text, len, &bounds, scale); 65 canvas->drawRect(bounds, p);
|
/external/skia/src/effects/ |
SkTileImageFilter.cpp | 45 SkIRect bounds; local 46 source.getBounds(&bounds); 48 if (!srcIRect.intersect(bounds)) {
|