/external/chromium_org/ash/wm/overview/ |
window_grid.cc | 106 const gfx::Rect& bounds) { 110 vector.set_y(bounds.width()); 113 vector.set_x(bounds.height()); 116 vector.set_y(-bounds.width()); 119 vector.set_x(-bounds.height()); 336 // Immediately finish any active bounds animation. 338 ui::LayerAnimationElement::BOUNDS); 392 direction, old_selection->GetNativeWindow()->bounds()); 408 old_selection->GetNativeWindow()->bounds() + fade_out_direction);
|
/external/chromium_org/third_party/skia/src/core/ |
SkEdgeClipper.cpp | 13 static bool quick_reject(const SkRect& bounds, const SkRect& clip) { 14 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop; 201 SkRect bounds; local 202 bounds.set(srcPts, 3); 204 if (!quick_reject(bounds, clip)) { 409 SkRect bounds; 410 bounds.set(srcPts, 4); 412 if (!quick_reject(bounds, clip)) {
|
/external/chromium_org/ui/aura/ |
remote_window_tree_host_win.cc | 223 void RemoteWindowTreeHostWin::SetBounds(const gfx::Rect& bounds) { 224 window_size_ = bounds.size(); 225 OnHostResized(bounds.size()); 301 metro_viewer::CharacterBounds bounds; local 302 bounds.left = rect.x(); 303 bounds.top = rect.y(); 304 bounds.right = rect.right(); 305 bounds.bottom = rect.bottom(); 306 character_bounds.push_back(bounds);
|
/external/chromium_org/ui/compositor/ |
layer.h | 138 // The bounds, relative to the parent. 139 void SetBounds(const gfx::Rect& bounds); 140 const gfx::Rect& bounds() const { return bounds_; } function in class:ui::Layer 142 // The offset from our parent (stored in bounds.origin()) is an integer but we 146 // Return the target bounds if animator is running, or the current bounds 151 // bounds of this layer. 252 // Set to true if this layer always paints completely within its bounds. If so 357 virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) OVERRIDE;
|
layer.cc | 173 // Current bounds are used to calculate offsets when layers are reparented. 174 // Stop (and complete) an ongoing animation to update the bounds immediately. 177 child_animator->StopAnimatingProperty(ui::LayerAnimationElement::BOUNDS); 242 void Layer::SetBounds(const gfx::Rect& bounds) { 243 GetAnimator()->SetBounds(bounds); 253 LayerAnimationElement::BOUNDS)) { 448 translation.Translate(static_cast<float>(p->bounds().x()), 449 static_cast<float>(p->bounds().y())); 767 void Layer::SetBoundsFromAnimation(const gfx::Rect& bounds) { 768 if (bounds == bounds_ [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
desktop_window_tree_host_x11.cc | 253 if (sanitized_params.bounds.width() == 0) 254 sanitized_params.bounds.set_width(100); 255 if (sanitized_params.bounds.height() == 0) 256 sanitized_params.bounds.set_height(100); 405 // If |window_|'s transient parent bounds are big enough to contain |size|, 429 gfx::Rect* bounds, 431 *bounds = GetRestoredBounds(); 463 // We can't reliably track the restored bounds of a window, but we can get 465 // or restoring bounds, we can record the current bounds before we reques [all...] |
/external/libcap-ng/libcap-ng-0.7/utils/ |
netcap.c | 62 char *tmp, cmd[16], state, *text, *bounds; local 137 bounds = strdup("+"); 139 bounds = strdup(""); 141 bounds = strdup(""); 157 free(bounds); 200 node.bounds = strdup(bounds); 206 free(bounds); 245 printf(" %s %s\n", n->capabilities, n->bounds);
|
/external/skia/src/core/ |
SkEdgeClipper.cpp | 13 static bool quick_reject(const SkRect& bounds, const SkRect& clip) { 14 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop; 201 SkRect bounds; local 202 bounds.set(srcPts, 3); 204 if (!quick_reject(bounds, clip)) { 409 SkRect bounds; 410 bounds.set(srcPts, 4); 412 if (!quick_reject(bounds, clip)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtilsTest.java | 251 for (Rectangle bounds : rectangles) { 252 int dx1 = bounds.x - boundingBox.x; 253 int dy1 = bounds.y - boundingBox.y; 254 int dx2 = dx1 + bounds.width; 255 int dy2 = dy1 + bounds.height; 262 int sx1 = bounds.x; 263 int sy1 = bounds.y; 264 int sx2 = sx1 + bounds.width; 265 int sy2 = sy1 + bounds.height;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
LayerDrawableTest.java | 634 // the children's bounds before call onBoundsChange 644 Rect bounds = new Rect(10, 20, 30, 40); local 645 layerDrawable.onBoundsChange(bounds); 647 // all children's bounds will be changed after call onBoundsChange 648 assertEquals(bounds.left + inset1.left, mockDrawable1.getBounds().left); 649 assertEquals(bounds.top + inset1.top, mockDrawable1.getBounds().top); 650 assertEquals(bounds.right - inset1.right, mockDrawable1.getBounds().right); 651 assertEquals(bounds.bottom - inset1.bottom, mockDrawable1.getBounds().bottom); 652 assertEquals(bounds.left + inset2.left + padding1.left, mockDrawable2.getBounds().left); 653 assertEquals(bounds.top + inset2.top + padding1.top, mockDrawable2.getBounds().top) [all...] |
/external/chromium_org/content/browser/web_contents/ |
web_contents_view_mac.mm | 114 // Convert bounds to window coordinate space. 115 NSRect bounds = 116 [cocoa_view_.get() convertRect:[cocoa_view_.get() bounds] toView:nil]; 118 // Convert bounds to screen coordinate space. 120 bounds.origin = [window convertBaseToScreen:bounds.origin]; 124 bounds.origin.y = [screen frame].size.height - bounds.origin.y 125 - bounds.size.height; 126 *out = gfx::Rect(NSRectToCGRect(bounds)); [all...] |
touch_editable_impl_aura_browsertest.cc | 153 gfx::Rect bounds = content->GetBoundsInRootWindow(); local 160 generator.GestureTapAt(gfx::Point(bounds.x() + 10, bounds.y() + 10)); 338 gfx::Rect bounds = content->GetBoundsInRootWindow(); local 346 generator.GestureTapAt(gfx::Point(bounds.x() + 50, bounds.y() + 40));
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
image.c | 582 * region is entirely within the window and scissor bounds. 653 * so that the image region is entirely within the window bounds. 655 * scissor box is ignored, and we use the bounds of the current readbuffer 658 * \return GL_TRUE if region to read is in bounds 659 * GL_FALSE if region is completely out of bounds (nothing to read) 706 * bounds. Clip the source region against the framebuffer bounds and 735 * Clip the rectangle defined by (x, y, width, height) against the bounds 843 * The dest rect is clipped against both the buffer bounds and scissor bounds [all...] |
/external/mesa3d/src/mesa/main/ |
image.c | 582 * region is entirely within the window and scissor bounds. 653 * so that the image region is entirely within the window bounds. 655 * scissor box is ignored, and we use the bounds of the current readbuffer 658 * \return GL_TRUE if region to read is in bounds 659 * GL_FALSE if region is completely out of bounds (nothing to read) 706 * bounds. Clip the source region against the framebuffer bounds and 735 * Clip the rectangle defined by (x, y, width, height) against the bounds 843 * The dest rect is clipped against both the buffer bounds and scissor bounds [all...] |
/external/chromium_org/chrome/browser/ui/views/panels/ |
panel_view.cc | 257 const gfx::Rect& bounds, 259 return new PanelView(panel, bounds, always_on_top); 266 PanelView::PanelView(Panel* panel, const gfx::Rect& bounds, bool always_on_top) 268 bounds_(bounds), 289 params.bounds = bounds; 360 void PanelView::SetPanelBounds(const gfx::Rect& bounds) { 361 SetBoundsInternal(bounds, true); 364 void PanelView::SetPanelBoundsInstantly(const gfx::Rect& bounds) { 365 SetBoundsInternal(bounds, false) 1128 gfx::Rect bounds = window_->GetWindowBoundsInScreen(); local [all...] |
/external/chromium_org/content/shell/renderer/test_runner/ |
web_ax_object_proxy.cc | 794 // Get the bounds for each character and union them into one large rectangle. 796 blink::WebRect bounds = BoundsForCharacter(accessibility_object(), start); local 799 int right = std::max(bounds.x + bounds.width, next.x + next.width); 800 int bottom = std::max(bounds.y + bounds.height, next.y + next.height); 801 bounds.x = std::min(bounds.x, next.x); 802 bounds.y = std::min(bounds.y, next.y) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
LinearLayoutRule.java | 304 // *dragged* bounds 308 // IDragElement, by comparing their bounds. 340 // We still have to count this position even if it has no bounds, or 432 // all dropped elements with valid bounds, offset at the drop 447 Rect bounds = element.getBounds(); 448 if (bounds.isValid() && (bounds.w > b.w || bounds.h > b.h) && 450 // The bounds of the child does not fully fit inside the target. 451 // Limit the bounds to the layout bounds (but only when ther [all...] |
/external/chromium_org/ash/display/ |
display_manager.h | 88 // Updates the bounds of the display given by |secondary_display_id| 109 // even if the display's bounds didn't change. Used to swap primary 158 // display's bounds change. 271 // Update the bounds of the display given by |display_id|. 318 // Updates the bounds of the secondary display in |display_list| 321 // if the secondary display's bounds has been changed from current
|
/external/chromium_org/chrome/browser/chromeos/options/ |
network_config_view.cc | 240 // Get the new bounds with desired size at the same center point. 241 gfx::Rect bounds = GetWidget()->GetWindowBoundsInScreen(); local 242 int horiz_padding = bounds.width() - size.width(); 243 int vert_padding = bounds.height() - size.height(); 244 bounds.Inset(horiz_padding / 2, vert_padding / 2, 246 GetWidget()->SetBoundsConstrained(bounds);
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
autofill_main_container.mm | 173 NSRect bounds = [[self view] bounds]; 178 [self preferredLegalDocumentSizeForWidth:NSWidth(bounds)]]; 204 NSWidth(bounds)]; 209 NSHeight(bounds) - currentY - NSHeight(notificationFrame); 211 NSMakeRect(0, currentY, NSWidth(bounds), remainingHeight);
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
core_oobe_handler.cc | 224 void CoreOobeHandler::SetKeyboardState(bool shown, const gfx::Rect& bounds) { 225 CallJS("setKeyboardState", shown, bounds.width(), bounds.height()); 370 gfx::Rect bounds = keyboard_controller->current_keyboard_bounds(); local 371 SetKeyboardState(!bounds.IsEmpty(), bounds);
|
/external/chromium_org/media/base/ |
video_util.cc | 259 gfx::Rect ComputeLetterboxRegion(const gfx::Rect& bounds, 266 int64 x = static_cast<int64>(content.width()) * bounds.height(); 267 int64 y = static_cast<int64>(content.height()) * bounds.width(); 269 gfx::Size letterbox(bounds.width(), bounds.height()); 274 gfx::Rect result = bounds;
|
/external/chromium_org/ppapi/utility/graphics/ |
paint_aggregator.cc | 73 Rect bounds; local 75 bounds = bounds.Union(paint_rects[i]); 76 return bounds; 260 Rect bounds = update_.GetPaintBounds(); local 262 update_.paint_rects.push_back(bounds);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
WidthIterator.cpp | 144 FloatRect bounds; local 250 bounds = fontData->boundsForGlyph(glyph); 252 m_firstGlyphOverflow = max<float>(0, -bounds.x()); 295 m_maxGlyphBoundingBoxY = max(m_maxGlyphBoundingBoxY, bounds.maxY()); 296 m_minGlyphBoundingBoxY = min(m_minGlyphBoundingBoxY, bounds.y()); 297 m_lastGlyphOverflow = max<float>(0, bounds.maxX() - width);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
trnserr.cpp | 76 errln("FAIL: Out of bounds check failed (1)."); 83 errln("FAIL: Out of bounds check failed (2)."); 92 errln("FAIL: Start offset is out of bounds, error not reported.\n"); 99 errln("FAIL: Limit offset is out of bounds, error not reported.\n"); 132 errln("FAIL: Out of bounds check failed (3)."); 134 errln("FAIL: The input string was modified though the offsets were out of bounds.");
|