/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
H A D | CCPluginLayerImpl.cpp | 68 bounds().width(), bounds().height(), drawOpacity(),
|
/external/skia/legacy/src/core/ |
H A D | SkCanvas.cpp | 50 // Helpers for computing fast bounds for quickReject tests 64 by the device's XY offset and bitmap-bounds. 350 done accumulating bounds for that draw. 524 /* Now we update our initial region to have the bounds of the new device, 525 and then intersect all of the clips in our stack with these bounds, 526 to ensure that we can't draw outside of the device's bounds (and trash 535 accurately take advantage of the new device bounds. 545 // compute our total bounds for all devices 546 SkIRect bounds; local 548 bounds 581 SkIRect bounds; local 674 resolve_config(SkCanvas* canvas, const SkIRect& bounds, SkCanvas::SaveFlags flags, bool* isOpaque) argument 714 clipRectBounds(const SkRect* bounds, SaveFlags flags, SkIRect* intersection) argument 751 saveLayer(const SkRect* bounds, const SkPaint* paint, SaveFlags flags) argument 802 saveLayerAlpha(const SkRect* bounds, U8CPU alpha, SaveFlags flags) argument 1224 getClipBounds(SkRect* bounds, EdgeType et) const argument 1394 const SkRect& bounds = path.getBounds(); local 1421 SkRect bounds = { local 1449 const SkRect* bounds = &dst; local 1523 const SkRect* bounds = &dst; local [all...] |
H A D | SkRegion.cpp | 31 bool SkRegion::ComputeRunBounds(const SkRegion::RunType runs[], int count, SkIRect* bounds) 46 bounds->set(runs[2], runs[0], runs[3], runs[1]); 54 bounds->fTop = *runs++; 68 bounds->fLeft = left; 69 bounds->fRight = rite; 70 bounds->fBottom = bot; 322 void SkRegion::BuildRectRuns(const SkIRect& bounds, 325 runs[0] = bounds.fTop; 326 runs[1] = bounds.fBottom; 327 runs[2] = bounds [all...] |
H A D | SkAAClip.cpp | 94 static RunHead* AllocRect(const SkIRect& bounds) { argument 95 SkASSERT(!bounds.isEmpty()); 96 int width = bounds.width(); 100 yoff->fY = bounds.height() - 1; 649 bool SkAAClip::setRect(const SkIRect& bounds) { argument 650 if (bounds.isEmpty()) { 658 r.set(bounds); 664 fBounds = bounds; 665 fRunHead = RunHead::AllocRect(bounds); 716 const SkIRect& bounds local 874 Builder(const SkIRect& bounds) argument 1384 RowIter(const uint8_t* row, const SkIRect& bounds) argument [all...] |
/external/chromium/chrome/browser/ui/views/extensions/ |
H A D | browser_action_overflow_menu_controller.cc | 61 gfx::Rect bounds = menu_button_->bounds(); local 64 bounds.set_x(screen_loc.x()); 65 bounds.set_y(screen_loc.y()); 70 menu_->RunMenuForDropAt(window, bounds, anchor); 72 menu_->RunMenuAt(window, menu_button_, bounds, anchor, false);
|
/external/chromium/chrome/browser/ui/views/infobars/ |
H A D | before_translate_infobar.cc | 46 label_1_->bounds().right() + kButtonInLabelSpacing, 52 language_menu_button_->bounds().right() + kButtonInLabelSpacing, 57 accept_button_->SetBounds(label_2_->bounds().right() + kEndOfLabelSpacing, 63 accept_button_->bounds().right() + kButtonButtonSpacing, 70 deny_button_->bounds().right() + kButtonButtonSpacing, 78 deny_button_->bounds().right() + kButtonButtonSpacing,
|
H A D | after_translate_infobar.cc | 51 first_button->SetBounds(label_1_->bounds().right() + kButtonInLabelSpacing, 56 label_2_->SetBounds(first_button->bounds().right() + kButtonInLabelSpacing, 62 second_button->SetBounds(label_2_->bounds().right() + kButtonInLabelSpacing, 67 label_3_->SetBounds(second_button->bounds().right() + kButtonInLabelSpacing, 72 revert_button_->SetBounds(label_3_->bounds().right() + kButtonInLabelSpacing,
|
/external/skia/legacy/src/ports/ |
H A D | SkHarfBuzzFont.cpp | 119 SkRect bounds; local 121 paint.getTextWidths(&glyph16, sizeof(glyph16), &width, &bounds); 123 metrics->x = SkScalarToHarfbuzzFixed(bounds.fLeft); 124 metrics->y = SkScalarToHarfbuzzFixed(bounds.fTop); 125 metrics->width = SkScalarToHarfbuzzFixed(bounds.width()); 126 metrics->height = SkScalarToHarfbuzzFixed(bounds.height());
|
/external/skia/src/ports/ |
H A D | SkHarfBuzzFont.cpp | 119 SkRect bounds; local 121 paint.getTextWidths(&glyph16, sizeof(glyph16), &width, &bounds); 123 metrics->x = SkScalarToHarfbuzzFixed(bounds.fLeft); 124 metrics->y = SkScalarToHarfbuzzFixed(bounds.fTop); 125 metrics->width = SkScalarToHarfbuzzFixed(bounds.width()); 126 metrics->height = SkScalarToHarfbuzzFixed(bounds.height());
|
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | WidthIterator.cpp | 88 FloatRect bounds; local 197 bounds = fontData->boundsForGlyph(glyph); 199 m_firstGlyphOverflow = max<float>(0, -bounds.x()); 215 m_maxGlyphBoundingBoxY = max(m_maxGlyphBoundingBoxY, bounds.maxY()); 216 m_minGlyphBoundingBoxY = min(m_minGlyphBoundingBoxY, bounds.y()); 217 m_lastGlyphOverflow = max<float>(0, bounds.maxX() - width);
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
H A D | HarfbuzzSkia.cpp | 160 SkRect bounds; local 161 paint.getTextWidths(&glyph16, sizeof(glyph16), &width, &bounds); 163 metrics->x = SkiaScalarToHarfbuzzFixed(bounds.fLeft); 164 metrics->y = SkiaScalarToHarfbuzzFixed(bounds.fTop); 165 metrics->width = SkiaScalarToHarfbuzzFixed(bounds.width()); 166 metrics->height = SkiaScalarToHarfbuzzFixed(bounds.height());
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | HarfbuzzSkia.cpp | 177 SkRect bounds; local 178 paint.getTextWidths(&glyph16, sizeof(glyph16), &width, &bounds); 180 metrics->x = SkiaScalarToHarfbuzzFixed(bounds.fLeft); 181 metrics->y = SkiaScalarToHarfbuzzFixed(bounds.fTop); 182 metrics->width = SkiaScalarToHarfbuzzFixed(bounds.width()); 183 metrics->height = SkiaScalarToHarfbuzzFixed(bounds.height());
|
H A D | LayerRendererChromium.cpp | 355 if (layer->bounds().isEmpty()) 515 // bounds into clip space. 517 renderMatrix.scale3d(layer->bounds().width(), layer->bounds().height(), 1); 574 IntSize bounds = drawLayer->bounds(); local 579 float centerOffsetX = (0.5 - anchorPoint.x()) * bounds.width(); 580 float centerOffsetY = (0.5 - anchorPoint.y()) * bounds.height(); 593 FloatRect layerRect(-0.5 * drawLayer->bounds().width(), -0.5 * drawLayer->bounds() [all...] |
/external/webkit/Source/WebCore/rendering/ |
H A D | RenderThemeWin.cpp | 813 IntRect bounds = r; local 816 bounds.setHeight(trackWidth); 817 bounds.setY(r.y() + r.height() / 2 - trackWidth / 2); 819 bounds.setWidth(trackWidth); 820 bounds.setX(r.x() + r.width() / 2 - trackWidth / 2); 823 drawControl(i.context, o, sliderTheme(), getThemeData(o), bounds); 871 IntRect bounds = r; local 881 bounds.setHeight(min(parentBox.width(), min(parentBox.height(), bounds.height()))); 882 bounds 922 IntRect bounds = r; local 956 IntRect bounds = r; local [all...] |
/external/webkit/Source/WebKit/mac/Carbon/ |
H A D | HIWebView.mm | 310 HIRect bounds; 329 HIViewGetBounds( inView->fViewRef, &bounds ); 337 OffsetRect( &drawRect, (SInt16)-bounds.origin.x, (SInt16)-bounds.origin.y ); 340 hiRect.origin.y = bounds.size.height - drawRect.bottom; // flip y 400 HIRect bounds; 402 HIViewGetBounds( view->fViewRef, &bounds ); 404 if ( CGRectContainsPoint( bounds, *where ) ) 426 HIRect bounds; 429 HIViewGetBounds( inView->fViewRef, &bounds ); [all...] |
/external/chromium/chrome/browser/ui/views/ |
H A D | find_bar_view.cc | 249 // toolbar background image. First, get the widget bounds. 250 gfx::Rect bounds = GetWidget()->GetWindowScreenBounds(); local 252 gfx::Point origin(bounds.origin()); 255 bounds.set_origin(origin); 266 origin.y(), 0, 0, bounds.width(), bounds.height()); 280 bounds.width() - kDialog_left->width() - kDialog_right->width(), 283 canvas->DrawBitmapInt(*kDialog_right, bounds.width() - kDialog_right->width(), 289 gfx::Point back_button_origin = find_previous_button_->bounds().origin(); 305 canvas->TileImageInt(*kDialog_left, bounds [all...] |
/external/skia/src/gpu/ |
H A D | GrAAHairLinePathRenderer.cpp | 43 // Each quadratic is rendered as a five sided polygon. This poly bounds 208 GrRect bounds; local 222 bounds.setBounds(devPts, 2); 223 bounds.outset(SK_Scalar1, SK_Scalar1); 224 bounds.roundOut(&ibounds); 233 bounds.setBounds(devPts, 3); 234 bounds.outset(SK_Scalar1, SK_Scalar1); 235 bounds.roundOut(&ibounds); 259 bounds.setBounds(devPts, 4); 260 bounds [all...] |
/external/skia/src/core/ |
H A D | SkAAClip.cpp | 94 static RunHead* AllocRect(const SkIRect& bounds) { argument 95 SkASSERT(!bounds.isEmpty()); 96 int width = bounds.width(); 100 yoff->fY = bounds.height() - 1; 663 bool SkAAClip::setRect(const SkIRect& bounds) { argument 664 if (bounds.isEmpty()) { 672 r.set(bounds); 678 fBounds = bounds; 679 fRunHead = RunHead::AllocRect(bounds); 730 const SkIRect& bounds local 890 Builder(const SkIRect& bounds) argument 1397 RowIter(const uint8_t* row, const SkIRect& bounds) argument 1467 operatorX(SkAAClip::Builder& builder, int lastY, RowIter& iterA, RowIter& iterB, AlphaProc proc, const SkIRect& bounds) argument 1539 const SkIRect& bounds = builder.getBounds(); local 1587 SkASSERT(top < bot); if (!rowA && !rowB) { builder.addRun(bounds.fLeft, bot - 1, 0, bounds.width()); } else if (top >= bounds.fTop) argument 1622 SkIRect bounds; local [all...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
H A D | tab_strip_gtk.cc | 75 // we pick up the normal bounds by connecting to the configure-event signal. 427 gfx::Rect bounds(Round(new_x), start_tab_a_bounds_.y(), tab_a_->width(), 429 tabstrip_->SetTabBounds(tab_a_, bounds); 435 bounds = gfx::Rect(Round(new_x), start_tab_b_bounds_.y(), tab_b_->width(), 437 tabstrip_->SetTabBounds(tab_b_, bounds); 449 // ...and their bounds. 673 // Initial bounds of tab_. 676 // Target bounds. 803 const gfx::Rect& bounds = tab_data_.at(i).ideal_bounds; local 807 SetTabBounds(tab, bounds); 819 SetBounds(const gfx::Rect& bounds) argument 1539 gfx::Rect bounds = tab->GetNonMirroredBounds(tabstrip_.get()); local 1547 gfx::Rect bounds = last_tab->GetNonMirroredBounds(tabstrip_.get()); local 1577 gfx::Rect bounds = tab->GetNonMirroredBounds(tabstrip_.get()); local 1926 gfx::Rect bounds = gfx::Rect(allocation->x, allocation->y, local 2020 SetTabBounds(TabGtk* tab, const gfx::Rect& bounds) argument [all...] |
/external/chromium/chrome/browser/ui/views/frame/ |
H A D | browser_view_layout.cc | 100 gfx::Rect bounding_box(contents_container_->bounds()); 145 // See if the mouse pointer is within the bounds of the TabStrip. 169 // within the bounds of this view, the point is considered to be within the 171 gfx::Rect bv_bounds = browser_view_->bounds(); 187 bv_bounds = browser_view_->bounds(); 266 // TabContentsContainer's bounds being up to date. 337 top = std::max(toolbar_->bounds().bottom(), LayoutBookmarkBar(top)); 408 // The ultimate idea is to calcualte bounds and reserved areas for all 430 contents_split_bounds.x() - contents_split_->bounds().x(), 431 contents_split_bounds.y() - contents_split_->bounds() 455 gfx::Rect bounds = browser_view_->GetContentsBounds(); local [all...] |
/external/chromium/chrome/browser/automation/ |
H A D | ui_controls_linux.cc | 265 gfx::Rect bounds = gtk_util::GetWidgetScreenBounds(widget); local 266 SendMouseMoveNotifyWhenDone(bounds.x() + bounds.width() / 2, 267 bounds.y() + bounds.height() / 2,
|
/external/chromium/chrome/browser/ui/touch/frame/ |
H A D | touch_browser_frame_view.cc | 81 gfx::Rect bounds = GetBoundsForReservedArea(); local 84 // same bounds as when the keyboard is visible. But 87 bounds.set_y(bounds.y() - kKeyboardHeight); 88 bounds.set_height(kKeyboardHeight); 90 keyboard_->SetBoundsRect(bounds);
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
H A D | location_bar_view.cc | 389 gfx::Point origin(location_entry_view_->bounds().origin()); 597 offset = location_icon_view_->bounds().right() + kItemEditPadding; 602 offset = ev_bubble_view_->bounds().right() + kItemEditPadding; 688 gfx::Rect bounds(GetContentsBounds()); 689 bounds.Inset(0, kVerticalEdgeThickness); 699 bounds.Inset(kNormalHorizontalEdgeThickness, 0); 700 canvas->AsCanvasSkia()->drawRoundRect(gfx::RectToSkRect(bounds), radius, 703 canvas->FillRectInt(color, bounds.x(), bounds.y(), bounds 861 LayoutView(views::View* view, int padding, int available_width, bool leading, gfx::Rect* bounds) argument [all...] |
/external/chromium/chrome/common/extensions/ |
H A D | extension_action.cc | 106 const gfx::Rect& bounds, 145 rect.fBottom = SkIntToScalar(bounds.bottom() - kBottomMargin); 149 SkScalarFloor(SkIntToScalar(bounds.x()) + 150 SkIntToScalar(bounds.width() / 2.0) - 154 rect.fRight = SkIntToScalar(bounds.right()); 105 PaintBadge(gfx::Canvas* canvas, const gfx::Rect& bounds, int tab_id) argument
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ca/win/ |
H A D | LayerTreeHostCAWin.cpp | 132 CGRect bounds = m_webPage->bounds(); local 133 WKCACFViewUpdate(m_view.get(), dummyWindow, &bounds); 215 CGRect bounds = CGRectMake(0, 0, newSize.width(), newSize.height()); local 216 WKCACFViewUpdate(m_view.get(), dummyWindow, &bounds);
|