/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
MockNodeProxy.java | 37 * @param bounds The bounds of a the view in the canvas. Must be either: <br/> 40 * to the model. We never store a null bounds rectangle in the node, a null rectangle 44 public MockNodeProxy(String fqcn, Rectangle bounds, NodeFactory factory) { 45 super(makeUiViewNode(fqcn), bounds, factory); local
|
/external/chromium_org/ash/wm/ |
system_modal_container_layout_manager_unittest.cc | 189 if (keyboard->proxy()->GetKeyboardWindow()->bounds().height() == 0) { 192 keyboard->GetContainerWindow()->bounds(), 100)); 405 view->SetBoundsRect(widget->GetContentsView()->bounds()); 426 // We set now the bounds of the root window to something new which will 430 gfx::Rect bounds = main->bounds(); local 431 EXPECT_EQ(bounds, gfx::Rect(700, 500, 100, 100)); 443 // We set now the bounds of the root window to something new which will 448 gfx::Rect bounds = main->bounds(); local [all...] |
system_modal_container_layout_manager.cc | 61 // Note: we have to set the entire bounds with the screen offset. 63 Shell::GetScreen()->GetDisplayNearestWindow(container_).bounds()); 168 params.bounds = Shell::GetScreen()->GetDisplayNearestWindow( 169 container_).bounds(); 234 gfx::Rect target_bounds = window->bounds(); 260 gfx::Rect valid_bounds = container_->bounds(); 264 gfx::Rect bounds = keyboard_controller->current_keyboard_bounds(); local 265 if (!bounds.IsEmpty()) { 267 0, valid_bounds.height() - bounds.height())); 280 target_bounds.ClampToCenteredSize(window->bounds().size()) [all...] |
/external/chromium_org/chrome/browser/ui/views/panels/ |
panel_view.h | 39 PanelView(Panel* panel, const gfx::Rect& bounds, bool always_on_top); 46 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; 47 virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE; 111 // PanelStackView might want to update the stored bounds directly since it 112 // has already taken care of updating the window bounds directly. 113 void set_cached_bounds_directly(const gfx::Rect& bounds) { bounds_ = bounds; } 168 void SetBoundsInternal(const gfx::Rect& bounds, bool animate); 171 // Sets the bounds of the underlying window to |new_bounds|. Note that this 234 // Used to animate the bounds change [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
SkiaUtils.cpp | 133 SkRect bounds = originalPath.getBounds(); local 136 // rect. We don't use bounds.contains() here, since it would exclude 141 if (fX < bounds.fLeft || fX > bounds.fRight || fY < bounds.fTop || fY > bounds.fBottom) 148 SkScalar biggestCoord = std::max(std::max(std::max(bounds.fRight, bounds.fBottom), -bounds.fLeft), -bounds.fTop) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
polygon.c | 264 VGfloat bounds[4]; local 268 polygon_bounding_rect(poly, bounds); 269 min_x = bounds[0]; 270 min_y = bounds[1]; 271 max_x = bounds[0] + bounds[2]; 272 max_y = bounds[1] + bounds[3]; 275 debug_printf("Poly bounds are [%f, %f], [%f, %f]\n", 317 debug_printf("%s: Poly bounds are [%f, %f], [%f, %f]\n" [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
BoundsChecking.cpp | 1 //===- BoundsChecking.cpp - Instrumentation for run-time bounds checking --===// 11 // bounds checking on loads, stores, and other memory intrinsics. 30 #define DEBUG_TYPE "bounds-checking" 32 static cl::opt<bool> SingleTrapBB("bounds-checking-single-trap", 35 STATISTIC(ChecksAdded, "Bounds checks added"); 36 STATISTIC(ChecksSkipped, "Bounds checks skipped"); 37 STATISTIC(ChecksUnable, "Bounds checks unable to add"); 71 INITIALIZE_PASS(BoundsChecking, "bounds-checking", "Run-time bounds checking", 123 /// instrument - adds run-time bounds checks to memory accessing instructions [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
polygon.c | 264 VGfloat bounds[4]; local 268 polygon_bounding_rect(poly, bounds); 269 min_x = bounds[0]; 270 min_y = bounds[1]; 271 max_x = bounds[0] + bounds[2]; 272 max_y = bounds[1] + bounds[3]; 275 debug_printf("Poly bounds are [%f, %f], [%f, %f]\n", 317 debug_printf("%s: Poly bounds are [%f, %f], [%f, %f]\n" [all...] |
/frameworks/base/libs/hwui/ |
OpenGLRenderer.cpp | 658 void OpenGLRenderer::calculateLayerBoundsAndClip(Rect& bounds, Rect& clip, bool fboLayer) { 659 const Rect untransformedBounds(bounds); 661 currentTransform()->mapRect(bounds); 663 // Layers only make sense if they are in the framebuffer's bounds 664 if (bounds.intersect(*currentClipRect())) { 666 bounds.snapToPixelBoundaries(); 669 // need to make sure the layer does not extend outside the bounds 673 if (!bounds.intersect(previousViewport)) { 674 bounds.setEmpty(); 676 clip.set(bounds); 1334 Rect* bounds = mLayers.itemAt(i); local 2326 const Rect& bounds = mesh->quads.itemAt(i); local 2480 const Rect& bounds = buffer.getBounds(); local 2498 const Rect& bounds = buffer.getBounds(); local [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
stacked_panel_collection.cc | 87 gfx::Rect bounds = panel->GetBounds(); local 88 if (bounds.origin() != start_position) { 89 bounds.set_origin(start_position); 90 panel->SetPanelBounds(bounds); 95 // We do not update bounds for affected panels one by one. Instead, all 113 gfx::Rect bounds = panel->GetBounds(); local 115 y += bounds.height(); 124 // Recompute the bounds. 125 bounds.SetRect( 132 GetStackWindowForPanel(panel)->AddPanelBoundsForBatchUpdate(panel, bounds); 393 gfx::Rect bounds = current_panel->GetBounds(); local 596 gfx::Rect bounds = panel->GetBounds(); local [all...] |
base_panel_browser_test.cc | 71 const gfx::Rect& bounds) const OVERRIDE; 73 const gfx::Rect& bounds) const OVERRIDE; 122 const gfx::Rect& bounds) const { 127 gfx::IntersectRects(bounds, primary_display_area_); 132 gfx::IntersectRects(bounds, secondary_display_area_); 141 const gfx::Rect& bounds) const { 146 gfx::IntersectRects(bounds, primary_work_area_); 151 gfx::IntersectRects(bounds, secondary_work_area_); 341 const gfx::Rect& bounds, 344 bounds(bounds) [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkMorphologyImageFilter.cpp | 125 static void callProcX(SkMorphologyImageFilter::Proc procX, const SkBitmap& src, SkBitmap* dst, int radiusX, const SkIRect& bounds) 127 procX(src.getAddr32(bounds.left(), bounds.top()), dst->getAddr32(0, 0), 128 radiusX, bounds.width(), bounds.height(), 132 static void callProcY(SkMorphologyImageFilter::Proc procY, const SkBitmap& src, SkBitmap* dst, int radiusY, const SkIRect& bounds) 134 procY(src.getAddr32(bounds.left(), bounds.top()), dst->getAddr32(0, 0), 135 radiusY, bounds.height(), bounds.width() 156 SkIRect bounds; local 248 SkIRect bounds = src; local 544 SkIRect bounds; local [all...] |
/external/skia/src/effects/ |
SkMorphologyImageFilter.cpp | 125 static void callProcX(SkMorphologyImageFilter::Proc procX, const SkBitmap& src, SkBitmap* dst, int radiusX, const SkIRect& bounds) 127 procX(src.getAddr32(bounds.left(), bounds.top()), dst->getAddr32(0, 0), 128 radiusX, bounds.width(), bounds.height(), 132 static void callProcY(SkMorphologyImageFilter::Proc procY, const SkBitmap& src, SkBitmap* dst, int radiusY, const SkIRect& bounds) 134 procY(src.getAddr32(bounds.left(), bounds.top()), dst->getAddr32(0, 0), 135 radiusY, bounds.height(), bounds.width() 156 SkIRect bounds; local 248 SkIRect bounds = src; local 544 SkIRect bounds; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/system_display/ |
display_info_provider_chromeos.cc | 20 using api::system_display::Bounds; 29 // Maximum allowed bounds origin absolute value. 82 // part of the bounds with the |reference|, the |rectangle| position in set to 210 // The bounds cannot be changed for the primary display and should be inside 211 // a reasonable bounds. Note that the display is considered primary if the 212 // info has 'isPrimary' parameter set, as this will be applied before bounds 216 *error = "Bounds origin not allowed for the primary display."; 222 *error = "Bounds origin x out of bounds."; 228 *error = "Bounds origin y out of bounds." [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/image_editor/ |
image_transform.js | 210 // The bounds are not held in a regular rectangle (with width/height). 235 // Static members to simplify reflective access to the bounds. 315 var bounds = this.bounds_; 322 var xBetween = ImageUtil.between(bounds.left, x, bounds.right); 323 var yBetween = ImageUtil.between(bounds.top, y, bounds.bottom); 325 if (circle.inside(bounds.left, bounds.top)) { 328 } else if (circle.inside(bounds.left, bounds.bottom)) [all...] |
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
image_transform.js | 210 // The bounds are not held in a regular rectangle (with width/height). 235 // Static members to simplify reflective access to the bounds. 315 var bounds = this.bounds_; 322 var xBetween = ImageUtil.between(bounds.left, x, bounds.right); 323 var yBetween = ImageUtil.between(bounds.top, y, bounds.bottom); 325 if (circle.inside(bounds.left, bounds.top)) { 328 } else if (circle.inside(bounds.left, bounds.bottom)) [all...] |
/external/chromium_org/ui/views/bubble/ |
bubble_frame_view.cc | 107 if (!bounds().Contains(point)) 118 if (point.y() < title_->bounds().bottom()) 188 gfx::Rect bounds(GetContentsBounds()); 189 bounds.Inset(GetTitleInsets()); 190 if (bounds.IsEmpty()) 194 close_->SetPosition(gfx::Point(bounds.right() - close_->width(), 195 bounds.y() - 5)); 198 const int title_width = std::max(0, close_->x() - bounds.x()); 200 bounds.set_size(title_size); 201 title_->SetBoundsRect(bounds); [all...] |
/external/chromium_org/ash/wm/maximize_mode/ |
maximize_mode_window_state.cc | 51 // Returns the centered bounds of the given bounds in the work area. 60 // Returns the maximized/full screen and/or centered bounds of a window. 76 bounds_in_parent = state_object->window()->bounds(); 88 if (bounds_in_parent == window_state->window()->bounds()) 148 // mode. As such we set the restore bounds to the requested bounds. 157 // requested bounds and center it to a fully visible area on the screen. 161 if (bounds_in_parent != window_state->window()->bounds()) { 202 gfx::Rect bounds = widget->GetRestoredBounds() local [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_button.mm | 112 point.y += [self bounds].size.height - dragMouseOffset_.y; 118 NSRect bounds = [self bounds]; 119 point = NSMakePoint(NSMidX(bounds), NSMidY(bounds)); 213 CGFloat yAt = [self bounds].size.height; 284 BOOL isInside = [self mouse:mouseLoc inRect:[self bounds]]; 435 area_ = [[NSTrackingArea alloc] initWithRect:[self bounds] 444 NSRect bounds = [self bounds]; [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
x11_topmost_window_finder_unittest.cc | 119 // Creates and shows a Widget with |bounds|. The caller takes ownership of 121 scoped_ptr<Widget> CreateAndShowWidget(const gfx::Rect& bounds) { 126 params.bounds = bounds; 133 // Creates and shows an X window with |bounds|. 134 XID CreateAndShowXWindow(const gfx::Rect& bounds) { 144 ShowAndSetXWindowBounds(xid, bounds); 148 // Shows |xid| and sets its bounds. 149 void ShowAndSetXWindowBounds(XID xid, const gfx::Rect& bounds) { 153 changes.x = bounds.x() [all...] |
desktop_native_widget_aura_unittest.cc | 31 params.bounds = gfx::Rect(0, 0, 200, 200); 39 // bounds after the widget is resized. 57 gfx::Rect bounds(0, 0, 100, 100); 58 widget.SetBounds(bounds); 61 EXPECT_EQ(bounds.ToString(), 62 widget.GetNativeView()->GetRootWindow()->bounds().ToString()); 63 EXPECT_EQ(bounds.ToString(), widget.GetNativeView()->bounds().ToString()); 64 EXPECT_EQ(bounds.ToString(), 65 widget.GetNativeView()->parent()->bounds().ToString()) [all...] |
/external/chromium_org/ui/views/window/ |
dialog_client_view.cc | 217 gfx::Rect bounds = GetContentsBounds(); local 221 const int height = footnote_view_->GetHeightForWidth(bounds.width()); 222 footnote_view_->SetBounds(bounds.x(), bounds.bottom() - height, 223 bounds.width(), height); 225 bounds.Inset(0, 0, 0, height); 230 bounds.Inset(GetButtonRowInsets()); 232 gfx::Rect row_bounds(bounds.x(), bounds.bottom() - height, 233 bounds.width(), height) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElement.java | 60 * @param bounds The canvas bounds of the originating canvas node of the element. 62 * @param parentBounds The canvas bounds of the parent of this element. Can be null. 64 public SimpleElement(String fqcn, String parentFqcn, Rect bounds, Rect parentBounds) { 67 mBounds = bounds == null ? new Rect() : bounds.copy(); 81 * Returns the bounds of the element's node, if it originated from an existing 101 * Returns the bounds of the element's parent, absolute for the canvas, or null if there 240 Rect bounds = null; local 267 // Parse the canvas bounds [all...] |
/external/chromium_org/ui/aura/ |
window_tree_host_x11.cc | 144 // expanding it from |bounds| to (|bounds| + bezels). 149 void Calibrate(ui::TouchEvent* event, const gfx::Rect& bounds) { 157 const int resolution_x = bounds.width(); 158 const int resolution_y = bounds.height(); 239 WindowTreeHostX11::WindowTreeHostX11(const gfx::Rect& bounds) 245 bounds_(bounds), 254 bounds.x(), bounds.y(), bounds.width(), bounds.height() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridDropHandler.java | 76 * bounds and the drag baseline 83 Rect bounds = mGrid.layout.getBounds(); local 101 if (x2 < bounds.x || y2 < bounds.y || x1 > bounds.x2() || y1 > bounds.y2()) { 112 addCenterColumnMatch(bounds, x1, y1, x2, y2, columnMatches, max); 126 addColumnGapMatch(bounds, x1, x2, columnMatches, max); 127 addRowGapMatch(bounds, y1, y2, rowMatches, max); 131 x1 = ((x1 - MARGIN_SIZE - bounds.x) / GRID_SIZE) * GRID_SIZ 475 Rect bounds = element.getBounds(); local [all...] |