Searched refs:bounds (Results 276 - 300 of 592) sorted by relevance

<<11121314151617181920>>

/external/skia/src/utils/
H A DSkPictureUtils.cpp160 virtual int saveLayer(const SkRect* bounds, const SkPaint* paint,
167 if (bounds) {
168 this->INHERITED::clipRectBounds(bounds, flags, NULL);
179 // for speed, just respect the bounds, and disable AA. May give us a few
/external/skia/src/utils/mac/
H A DSkCreateCGImageRef.cpp213 CGRect bounds = CGPDFPageGetBoxRect(page, kCGPDFMediaBox); local
215 int w = (int)CGRectGetWidth(bounds);
216 int h = (int)CGRectGetHeight(bounds);
/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DPlatformGraphicsContextRecording.h159 void appendDrawingOperation(GraphicsOperation::Operation* operation, const FloatRect& bounds);
165 IntRect calculateFinalBounds(FloatRect bounds);
166 IntRect calculateCoveredBounds(FloatRect bounds);
H A DRTree.cpp61 // compute the bounds
104 // The structure works as follow -- elements have bounds, intermediate
105 // nodes will also maintain bounds (the union of their children' bounds).
107 // Searching is simple -- we just traverse the tree comparing the bounds
118 // adding the new element will result in the least growth of its bounds,
151 void RTree::insert(WebCore::IntRect& bounds, WebCore::RecordingData* payload) argument
153 Node* e = Node::create(this, bounds.x(), bounds.y(),
154 bounds
[all...]
/external/webkit/Source/WebKit/android/plugins/
H A DANPCanvasInterface.cpp82 SkRect bounds; local
83 if (canvas->skcanvas->getClipBounds(&bounds)) {
84 SkANP::SetRect(r, bounds);
H A Dandroid_npapi.h339 /** Return the path's bounds in bounds. */
340 void (*getBounds)(const ANPPath*, ANPRectF* bounds);
582 /** Return the width of the text. If bounds is not null, return the bounds
586 ANPRectF* bounds);
591 If bounds is not null, returns the array of bounds for each unichar.
594 float widths[], ANPRectF bounds[]);
631 /** Return the current clip bounds i
[all...]
/external/webkit/WebKitLibraries/win/include/WebKitSystemInterface/
H A DWebKitSystemInterface.h172 bool wkCACFContextBeginUpdate(WKCACFContext*, void* buffer, size_t bufferSize, CFTimeInterval time, const CGRect& bounds, const CGRect dirtyRects[], size_t dirtyRectCount);
230 bool WKHitTestMediaUIPart(int part, int themeStyle, CGRect bounds, CGPoint point);
231 void WKMeasureMediaUIPart(int part, int themeStyle, CGRect *bounds, CGSize *naturalSize);
/external/chromium/chrome/browser/ui/views/bubble/
H A Dbubble_border.cc45 // for shadow between arrow tip and bitmap bounds.
436 gfx::Rect bounds(view->GetContentsBounds());
438 rect.set(SkIntToScalar(bounds.x()), SkIntToScalar(bounds.y()),
439 SkIntToScalar(bounds.right()), SkIntToScalar(bounds.bottom()));
/external/chromium/chrome/browser/ui/views/
H A Dcollected_cookies_win.cc477 gfx::Rect bounds = GetWidget()->GetClientAreaScreenBounds(); local
478 // WidgetWin::GetBounds returns the bounds relative to the parent window,
481 POINT topleft = {bounds.x(), bounds.y()};
484 bounds.SetRect(topleft.x, topleft.y, size.width(), size.height());
485 GetWidget()->SetBounds(bounds);
H A Dcreate_application_shortcut_view.cc162 gfx::Rect bounds = GetLocalBounds(); local
165 SkIntToScalar(bounds.x()),
166 SkIntToScalar(bounds.y()),
167 SkIntToScalar(bounds.right()),
168 SkIntToScalar(bounds.bottom())
/external/skia/legacy/src/core/
H A DSkScan_Hairline.cpp61 const SkIRect& bounds = clip->getBounds();
63 clipR.set(SkIntToFDot6(bounds.fLeft), SkIntToFDot6(bounds.fTop),
64 SkIntToFDot6(bounds.fRight), SkIntToFDot6(bounds.fBottom));
H A DSkDraw.cpp520 SkRect bounds; local
523 bounds.set(pts, count);
524 bounds.inset(-inset, -inset);
525 matrix.mapRect(&bounds);
527 bounds.roundOut(&ibounds);
1062 // set the mask's bounds to the transformed bitmap-bounds,
1232 SkIRect bounds; local
1233 bounds.set(x, y, x + bitmap.width(), y + bitmap.height());
1235 if (fRC->quickReject(bounds)) {
1358 SkIRect* bounds = &mask.fBounds; local
1467 SkIRect bounds; local
2308 SkRect bounds; local
2517 const SkRect& bounds = path.getBounds(); local
2542 compute_bounds(const SkPath& devPath, const SkIRect* clipBounds, SkMaskFilter* filter, const SkMatrix* filterMatrix, SkIRect* bounds) argument
[all...]
/external/skia/src/core/
H A DSkScan_Hairline.cpp86 const SkIRect& bounds = clip->getBounds();
88 clipR.set(SkIntToFDot6(bounds.fLeft), SkIntToFDot6(bounds.fTop),
89 SkIntToFDot6(bounds.fRight), SkIntToFDot6(bounds.fBottom));
H A DSkPath.cpp81 * Path.bounds is defined to be the bounds of all the control points.
82 * If we called bounds.join(r) we would skip r if r was empty, which breaks
129 used when we know the bounds of the amount we are going to add to the path
133 cached bounds), and the if it can, it updates the cache bounds explicitly,
175 // Mark the path's bounds as dirty if (1) they are, or (2) the path
176 // is non-finite, and therefore its bounds are not meaningful
180 // Cannot use fRect for our bounds unless we know it is sorted
185 // Return true if the computed bounds ar
186 compute_pt_bounds(SkRect* bounds, const SkPathRef& ref) argument
992 const SkRect& bounds = rrect.getBounds(); local
2061 const SkRect& bounds = this->getBounds(); local
2191 SkRect bounds; local
[all...]
/external/webkit/Source/WebKit/android/nav/
H A DWebView.cpp373 IntRect bounds = enclosingIntRect(parent->fullContentAreaMapped()); local
375 // Check the parent bounds first; this will clip to within a masking layer's
376 // bounds.
377 if (parent->masksToBounds() && !bounds.contains(x, y))
386 if (bounds.width() < foundBounds->width())
387 foundBounds->fRight = foundBounds->fLeft + bounds.width();
388 if (bounds.height() < foundBounds->height())
389 foundBounds->fBottom = foundBounds->fTop + bounds.height();
395 foundBounds->set(bounds.x(), bounds
402 scrollableLayer(int x, int y, SkIRect* layerRect, SkIRect* bounds) argument
477 postInvalidateDelayed(int64_t delay, const WebCore::IntRect& bounds) argument
1222 nativeScrollableLayer(JNIEnv* env, jobject jwebview, jint nativeView, jint x, jint y, jobject rect, jobject bounds) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11wm.c55 SDL_Rect bounds; local
170 bounds.x = 0;
171 bounds.y = 0;
172 bounds.w = icon->w;
173 bounds.h = icon->h;
174 if ( SDL_LowerBlit(icon, &bounds, sicon, &bounds) < 0 )
/external/skia/legacy/src/views/
H A DSkView.cpp155 SkRect bounds; local
156 view->getLocalBounds(&bounds);
157 if (rect && !bounds.intersect(*rect)) {
160 storage = bounds;
492 void SkView::getLocalBounds(SkRect* bounds) const
494 if (bounds)
495 bounds->set(0, 0, fWidth, fHeight);
/external/skia/src/views/
H A DSkView.cpp158 SkRect bounds; local
159 view->getLocalBounds(&bounds);
160 if (rect && !bounds.intersect(*rect)) {
163 storage = bounds;
512 void SkView::getLocalBounds(SkRect* bounds) const
514 if (bounds)
515 bounds->set(0, 0, fWidth, fHeight);
/external/chromium/chrome/browser/ui/gtk/
H A Dbrowser_window_gtk.cc155 // this to get the initial bounds. After window creation, we pick up the
156 // normal bounds by connecting to the configure-event signal.
629 void BrowserWindowGtk::SetBoundsImpl(const gfx::Rect& bounds, argument
632 gint x = static_cast<gint>(bounds.x());
633 gint y = static_cast<gint>(bounds.y());
634 gint width = static_cast<gint>(bounds.width());
635 gint height = static_cast<gint>(bounds.height());
648 void BrowserWindowGtk::SetBounds(const gfx::Rect& bounds) { argument
651 SetBoundsImpl(bounds, true, true);
1305 gfx::Rect bounds(even
1537 gfx::Rect bounds = browser_->GetSavedWindowBounds(); local
[all...]
/external/webkit/Source/WebCore/platform/chromium/
H A DThemeChromiumMac.mm647 CGRect bounds(rect);
648 // Adjust 'bounds' so that HIThemeDrawButton(bounds,...) draws exactly on 'rect'.
650 HIThemeGetButtonBackgroundBounds(&bounds, &drawInfo, &backgroundBounds);
651 if (bounds.origin.x != backgroundBounds.origin.x)
652 bounds.origin.x += bounds.origin.x - backgroundBounds.origin.x;
653 if (bounds.origin.y != backgroundBounds.origin.y)
654 bounds.origin.y += bounds
[all...]
/external/webkit/Source/WebCore/platform/mac/
H A DThemeMac.mm543 CGRect bounds(rect);
544 // Adjust 'bounds' so that HIThemeDrawButton(bounds,...) draws exactly on 'rect'.
546 HIThemeGetButtonBackgroundBounds(&bounds, &drawInfo, &backgroundBounds);
547 if (bounds.origin.x != backgroundBounds.origin.x)
548 bounds.origin.x += bounds.origin.x - backgroundBounds.origin.x;
549 if (bounds.origin.y != backgroundBounds.origin.y)
550 bounds.origin.y += bounds
[all...]
/external/skia/tests/
H A DClipStackTest.cpp388 SkRect bounds;
390 stack.getBounds(&bounds, &boundsType);
392 REPORTER_ASSERT(reporter, bounds == rect);
737 const SkIRect& bounds,
740 SkRegion boundsRgn(bounds);
771 const SkRect& bounds = element.getBounds(); local
777 bounds.fLeft, bounds.fRight, bounds.fTop, bounds
736 add_elem_to_region(const SkClipStack::Element& element, const SkIRect& bounds, SkRegion* region) argument
[all...]
/external/webkit/Source/WebCore/platform/win/
H A DPopupMenuWin.cpp351 // The popup needs to stay within the bounds of the screen and not overlap any toolbars
914 RECT bounds; local
915 GetClientRect(popupHandle(), &bounds); local
916 if (!::PtInRect(&bounds, mousePoint) && !(wParam & MK_LBUTTON) && client()) {
927 if ((shouldHotTrack || wParam & MK_LBUTTON) && ::PtInRect(&bounds, mousePoint))
948 RECT bounds; local
949 GetClientRect(m_popup, &bounds);
950 if (::PtInRect(&bounds, mousePoint))
973 RECT bounds; local
974 GetClientRect(popupHandle(), &bounds); local
[all...]
/external/webkit/Source/WebKit2/UIProcess/win/
H A DWebPopupMenuProxyWin.cpp398 // The popup needs to stay within the bounds of the screen and not overlap any toolbars
647 RECT bounds; local
648 ::GetClientRect(m_popup, &bounds);
649 if (!::PtInRect(&bounds, mousePoint) && !(wParam & MK_LBUTTON)) {
660 if ((shouldHotTrack || wParam & MK_LBUTTON) && ::PtInRect(&bounds, mousePoint))
685 RECT bounds; local
686 ::GetClientRect(m_popup, &bounds);
687 if (::PtInRect(&bounds, mousePoint))
716 RECT bounds; local
717 ::GetClientRect(m_popup, &bounds);
[all...]
/external/chromium/chrome/browser/extensions/
H A Dextension_tabs_module.cc161 gfx::Rect bounds; local
163 bounds = browser->window()->GetBounds();
165 bounds = browser->window()->GetRestoredBounds();
167 result->SetInteger(keys::kLeftKey, bounds.x());
168 result->SetInteger(keys::kTopKey, bounds.y());
169 result->SetInteger(keys::kWidthKey, bounds.width());
170 result->SetInteger(keys::kHeightKey, bounds.height());
400 // The call offsets the bounds by kWindowTilePixels (defined in WindowSizer to
409 // Calculate popup bounds separately. In ChromiumOS the default is 0x0 which
411 // use the same default bounds a
536 gfx::Rect bounds = browser->window()->GetRestoredBounds(); local
[all...]

Completed in 4331 milliseconds

<<11121314151617181920>>