/external/chromium_org/chrome/browser/ui/views/panels/ |
panel_view.cc | 235 const gfx::Rect& bounds, 237 return new PanelView(panel, bounds, always_on_top); 244 PanelView::PanelView(Panel* panel, const gfx::Rect& bounds, bool always_on_top) 246 bounds_(bounds), 266 params.bounds = bounds; 319 void PanelView::SetPanelBounds(const gfx::Rect& bounds) { 320 SetBoundsInternal(bounds, true); 323 void PanelView::SetPanelBoundsInstantly(const gfx::Rect& bounds) { 324 SetBoundsInternal(bounds, false) 1092 gfx::Rect bounds = window_->GetWindowBoundsInScreen(); local [all...] |
/external/chromium_org/content/renderer/ |
render_view_browsertest.cc | 1758 std::vector<gfx::Rect> bounds; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AccessibilityObject.cpp | 282 LayoutRect bounds = elementRect(); local 283 if (bounds.size().width() > bounds.size().height()) 285 if (bounds.size().height() > bounds.size().width()) 447 // Normalize the point for the widget's bounds.
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
path.c | 326 VGfloat bounds[4]; local 339 polygon_bounding_rect((((struct polygon**)polys->data)[0]), bounds); 340 min_x = bounds[0]; 341 min_y = bounds[1]; 342 max_x = bounds[0] + bounds[2]; 343 max_y = bounds[1] + bounds[3]; 346 polygon_bounding_rect(p, bounds); 347 min_x = MIN2(min_x, bounds[0]) 1717 VGfloat bounds[4]; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkPictureRecord.cpp | 159 int SkPictureRecord::saveLayer(const SkRect* bounds, const SkPaint* paint, 165 // op + bool for 'bounds' 167 if (NULL != bounds) { 168 size += sizeof(*bounds); // + rect 176 addRectPtr(bounds); 193 this->clipRectBounds(bounds, flags, NULL); 419 * SAVE_LAYER (with NULL == bounds) 966 SkRect bounds; local [all...] |
SkRegion.cpp | 49 SkIRect* bounds) { 64 bounds->set(runs[3], runs[0], runs[4], runs[1]); 305 void SkRegion::BuildRectRuns(const SkIRect& bounds, 307 runs[0] = bounds.fTop; 308 runs[1] = bounds.fBottom; 310 runs[3] = bounds.fLeft; 311 runs[4] = bounds.fRight; 1003 SkIRect bounds; local 1025 || !bounds.intersect(rgna->fBounds, rgnb->fBounds)) { 1029 return setRectCheck(result, bounds); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrAAHairLinePathRenderer.cpp | 53 // Each quadratic is rendered as a five sided polygon. This poly bounds 323 SkRect bounds; local 342 bounds.setBounds(devPts, 3); 343 bounds.outset(SK_Scalar1, SK_Scalar1); 344 bounds.roundOut(&ibounds); 369 bounds.setBounds(devPts, 2); 370 bounds.outset(SK_Scalar1, SK_Scalar1); 371 bounds.roundOut(&ibounds); 389 bounds.setBounds(devPts, 3); 390 bounds.outset(SK_Scalar1, SK_Scalar1) [all...] |
/external/chromium_org/ui/aura/ |
root_window.cc | 114 gfx::Rect bounds(host_size); 115 gfx::RectF new_bounds(ui::ConvertRectToDIP(root_window_->layer(), bounds)); 244 gfx::Rect bounds = host_->GetBounds(); local 245 bounds.set_size(size_in_pixel); 246 host_->SetBounds(bounds); 305 // being used in fullscreen mode, so root_window bounds = window bounds. 506 DCHECK(bounds().Contains(source_bounds)); [all...] |
window.cc | 267 return bounds(); 268 gfx::Point origin = bounds().origin(); 270 return gfx::Rect(origin, bounds().size()); 274 gfx::Rect bounds(GetBoundsInRootWindow()); 280 gfx::Point origin = bounds.origin(); 282 bounds.set_origin(origin); 285 return bounds; 335 const gfx::Rect& Window::bounds() const { function in class:aura::Window 336 return layer_->bounds(); 534 return gfx::Rect(bounds().size()).Contains(local_point) [all...] |
/external/chromium_org/ui/gfx/ |
render_text_win.cc | 370 // Return edge bounds if the index is invalid or beyond the layout text size. 386 std::vector<Rect> bounds; local 388 return bounds; 391 // TODO(msw): The bounds should probably not always be leading the range ends. 402 if (!bounds.empty() && rect.SharesEdgeWith(bounds.back())) { 403 rect.Union(bounds.back()); 404 bounds.pop_back(); 406 bounds.push_back(rect); 409 return bounds; [all...] |
/external/chromium_org/ui/native_theme/ |
native_theme_base.cc | 697 SkRect bounds; local 698 bounds.set(rect.x(), rect.y(), rect.right() - 1, rect.bottom() - 1); 703 canvas->drawRect(bounds, fill_paint); 710 canvas->drawRect(bounds, fill_paint); [all...] |
/external/chromium_org/ui/views/widget/ |
native_widget_aura.cc | 63 void SetRestoreBounds(aura::Window* window, const gfx::Rect& bounds) { 64 window->SetProperty(aura::client::kRestoreBoundsKey, new gfx::Rect(bounds)); 121 gfx::Rect window_bounds = params.bounds; 137 // If a parent is specified but no bounds are given, 140 gfx::Rect bounds = gfx::Screen::GetScreenFor(parent)-> local 141 GetDisplayNearestWindow(parent).bounds(); 142 window_bounds.set_origin(bounds.origin()); 153 // Wait to set the bounds until we have a parent. That way we can know our 154 // true state/bounds (the LayoutManager may enforce a particular 155 // state/bounds) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/ |
ConfigTab.java | 247 Rectangle bounds = tableItem.getBounds(col); local 249 int max = bounds.x + bounds.width + this.table.getGridLineWidth(); 256 bounds = tableItem.getBounds(col);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
path.c | 326 VGfloat bounds[4]; local 339 polygon_bounding_rect((((struct polygon**)polys->data)[0]), bounds); 340 min_x = bounds[0]; 341 min_y = bounds[1]; 342 max_x = bounds[0] + bounds[2]; 343 max_y = bounds[1] + bounds[3]; 346 polygon_bounding_rect(p, bounds); 347 min_x = MIN2(min_x, bounds[0]) 1717 VGfloat bounds[4]; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/ |
SDL_os2fslib.c | 1636 SDL_Rect bounds; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/windib/ |
SDL_dibvideo.c | 525 RECT bounds; local 554 bounds.left = SDL_windowX; 555 bounds.top = SDL_windowY; 556 bounds.right = SDL_windowX+width; 557 bounds.bottom = SDL_windowY+height; 559 AdjustWindowRectEx(&bounds, GetWindowLong(SDL_Window, GWL_STYLE), (GetMenu(SDL_Window) != NULL), 0); 562 AdjustWindowRectEx(&bounds, GetWindowLong(SDL_Window, GWL_STYLE), 0, 0); 564 width = bounds.right-bounds.left; 565 height = bounds.bottom-bounds.top [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
SDL_dx5video.c | 1194 RECT bounds; local 1297 RECT bounds; local 1600 RECT bounds; local [all...] |
/external/skia/src/core/ |
SkPictureRecord.cpp | 159 int SkPictureRecord::saveLayer(const SkRect* bounds, const SkPaint* paint, 165 // op + bool for 'bounds' 167 if (NULL != bounds) { 168 size += sizeof(*bounds); // + rect 176 addRectPtr(bounds); 193 this->clipRectBounds(bounds, flags, NULL); 419 * SAVE_LAYER (with NULL == bounds) 966 SkRect bounds; local [all...] |
SkRegion.cpp | 49 SkIRect* bounds) { 64 bounds->set(runs[3], runs[0], runs[4], runs[1]); 305 void SkRegion::BuildRectRuns(const SkIRect& bounds, 307 runs[0] = bounds.fTop; 308 runs[1] = bounds.fBottom; 310 runs[3] = bounds.fLeft; 311 runs[4] = bounds.fRight; 1003 SkIRect bounds; local 1025 || !bounds.intersect(rgna->fBounds, rgnb->fBounds)) { 1029 return setRectCheck(result, bounds); [all...] |
/external/skia/src/gpu/ |
GrAAHairLinePathRenderer.cpp | 53 // Each quadratic is rendered as a five sided polygon. This poly bounds 323 SkRect bounds; local 342 bounds.setBounds(devPts, 3); 343 bounds.outset(SK_Scalar1, SK_Scalar1); 344 bounds.roundOut(&ibounds); 369 bounds.setBounds(devPts, 2); 370 bounds.outset(SK_Scalar1, SK_Scalar1); 371 bounds.roundOut(&ibounds); 389 bounds.setBounds(devPts, 3); 390 bounds.outset(SK_Scalar1, SK_Scalar1) [all...] |
/external/skia/tests/ |
CanvasTest.cpp | 534 const SkRect* bounds = NULL; // null means include entire bounds local 537 canvas->saveLayer(bounds, paint); 544 canvas->saveLayer(bounds, paint); 545 canvas->saveLayer(bounds, paint); [all...] |
/frameworks/base/core/jni/android/graphics/ |
Canvas.cpp | 138 static int saveLayer(JNIEnv* env, jobject, SkCanvas* canvas, jobject bounds, 142 if (bounds != NULL) { 143 GraphicsJNI::jrectf_to_rect(env, bounds, &storage); 152 SkRect bounds; local 153 bounds.set(SkFloatToScalar(l), SkFloatToScalar(t), SkFloatToScalar(r), 155 return canvas->saveLayer(&bounds, paint, (SkCanvas::SaveFlags)flags); 159 jobject bounds, int alpha, int flags) { 162 if (bounds != NULL) { 163 GraphicsJNI::jrectf_to_rect(env, bounds, &storage); 173 SkRect bounds; local [all...] |
/frameworks/base/core/jni/ |
android_view_GLES20Canvas.cpp | 220 android::uirenderer::Rect bounds; local 221 status_t status = renderer->invokeFunctors(bounds); 224 int(bounds.left), int(bounds.top), int(bounds.right), int(bounds.bottom)); 277 const android::uirenderer::Rect& bounds(renderer->getClipBounds()); 278 return renderer->saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom 777 android::uirenderer::Rect bounds; local [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
LayerDrawable.java | 289 Rect bounds = layers[i].mDrawable.getBounds(); local 290 drawable.setBounds(bounds); 305 /** Specify modifiers to the bounds for the drawable[index]. 517 protected void onBoundsChange(Rect bounds) { 523 r.mDrawable.setBounds(bounds.left + r.mInsetL + padL, 524 bounds.top + r.mInsetT + padT, 525 bounds.right - r.mInsetR - padR, 526 bounds.bottom - r.mInsetB - padB);
|
/frameworks/base/libs/hwui/ |
PathTessellator.cpp | 60 void PathTessellator::expandBoundsForStroke(SkRect& bounds, const SkPaint* paint, 65 bounds.outset(outset, outset); 726 SkRect bounds = path.getBounds(); local 727 if (!bounds.isEmpty()) { 728 threshInvScaleX *= bounds.width() / (bounds.width() + paint->getStrokeWidth()); 729 threshInvScaleY *= bounds.height() / (bounds.height() + paint->getStrokeWidth()); 788 const float* points, int count, SkRect& bounds) { 789 bounds.set(points[0], points[1], points[0], points[1]) [all...] |