/external/chromium_org/third_party/skia/src/utils/ |
SkCullPoints.cpp | 156 SkRect bounds = path.getBounds(); local 158 bool sects = SkRect::Intersects(target, bounds); 167 if (target.contains(bounds)) { 181 matrix.setRectToRect(bounds, limit, SkMatrix::kFill_ScaleToFit);
|
SkGatherPixelRefsAndRects.h | 21 // device bounds to the user provided SkPixelRefContainer-derived object 79 SkRect bounds = SkRect::MakeLTRB(min.x(), min.y(), max.x()+1, max.y()+1); variable 81 this->drawRect(draw, bounds, paint); 169 SkRect bounds; variable 170 paint.measureText(text, len, &bounds); 175 SkScalar h = bounds.fBottom - bounds.fTop; 177 bounds.fTop -= h / 2; 178 bounds.fBottom -= h / 2; 180 bounds.fBottom += metrics.fBottom 234 SkRect bounds = SkRect::MakeLTRB(min.x(), min.y(), max.x(), max.y()); variable 258 SkRect bounds = path.getBounds(); variable [all...] |
/external/chromium_org/third_party/skia/src/views/animated/ |
SkWidgetViews.cpp | 302 SkRect bounds; local 303 fAnim.getInvalBounds(&bounds); 304 this->inval(&bounds);
|
/external/chromium_org/third_party/skia/tests/ |
CanvasStateTest.cpp | 53 // draw a rect within the layer's bounds and again outside the layer's bounds 245 SkRect bounds = SkRect::MakeWH(SkIntToScalar(LAYER_WIDTH), SkIntToScalar(LAYER_HEIGHT)); local 250 canvas.saveLayer(&bounds, NULL, SkCanvas::kARGB_NoClipLayer_SaveFlag); 259 // stack to the layer bounds. 260 canvas.saveLayer(&bounds, NULL, SkCanvas::kARGB_ClipLayer_SaveFlag);
|
/external/chromium_org/tools/telemetry/telemetry/timeline/ |
model.py | 15 from telemetry.timeline import bounds namespace 47 self._bounds = bounds.Bounds() 60 def bounds(self): member in class:TimelineModel 109 if not self.bounds.is_empty: 111 process.AutoCloseOpenSlices(self.bounds.max, 144 self._thread_time_bounds[thread] = bounds.Bounds()
|
/external/chromium_org/ui/gfx/ |
display.h | 21 // |bounds()| and |work_area| will return values in DIP coordinate 43 Display(int64 id, const Rect& bounds); 59 // Gets/Sets the display's bounds in gfx::Screen's coordinates. 60 const Rect& bounds() const { return bounds_; } function in class:gfx::Display 61 void set_bounds(const Rect& bounds) { bounds_ = bounds; } 90 // Sets the device scale factor and display bounds in pixel. This 91 // updates the work are using the same insets between old bounds and 97 // between old bounds and work area. 101 // |work_area_insets| and the bounds [all...] |
screen_win.cc | 30 gfx::Rect bounds = gfx::Rect(monitor_info.rcMonitor); local 31 gfx::Display display(id, bounds); 33 display.SetScaleAndBounds(gfx::win::GetDeviceScaleFactor(), bounds); local
|
/external/chromium_org/ui/keyboard/ |
keyboard_controller_proxy.cc | 56 // point. Otherwise, wrong keyboard bounds is used and may cause problem as 59 gfx::Rect bounds = keyboard->bounds(); variable 61 bounds.set_y(bounds.y() + bounds.height() - new_height); 62 bounds.set_height(new_height); 63 keyboard->SetBounds(bounds); 152 gfx::Rect available_bounds = root_window->bounds(); 153 gfx::Rect keyboard_bounds = keyboard_window->bounds(); [all...] |
/external/chromium_org/ui/message_center/views/ |
message_center_view_unittest.cc | 218 gfx::Rect bounds = view->bounds(); local 219 DVLOG(0) << inset << bounds.width() << " x " << bounds.height() 220 << " @ " << bounds.x() << ", " << bounds.y();
|
/external/chromium_org/ui/views/layout/ |
grid_layout_unittest.cc | 68 gfx::Rect bounds; member in class:views::GridLayoutTest 84 void TestAlignment(GridLayout::Alignment alignment, gfx::Rect* bounds) { 93 *bounds = v1.bounds(); 103 gfx::Rect bounds; local 104 TestAlignment(GridLayout::FILL, &bounds); 105 EXPECT_EQ(gfx::Rect(0, 0, 100, 100), bounds); 109 gfx::Rect bounds; local 110 TestAlignment(GridLayout::LEADING, &bounds); 111 EXPECT_EQ(gfx::Rect(0, 0, 10, 20), bounds); 115 gfx::Rect bounds; local 121 gfx::Rect bounds; local [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
x11_window_event_filter.cc | 158 gfx::Rect bounds = widget->GetWindowBoundsInScreen(); local 160 bounds.set_y(display_work_area.y()); 161 bounds.set_height(display_work_area.height()); 162 widget->SetBounds(bounds); 165 bounds.set_x(display_work_area.x()); 166 bounds.set_width(display_work_area.width()); 167 widget->SetBounds(bounds);
|
/external/chromium_org/ui/wm/core/ |
image_grid.cc | 32 float layer_width = layer->bounds().width() * layer->device_scale_factor(); 40 float layer_height = layer->bounds().height() * layer->device_scale_factor(); 52 // Returns true if |layer|'s bounds don't fit within |size|. 54 return layer->bounds().width() > size.width() || 55 layer->bounds().height() > size.height(); 62 gfx::RectF bounds = layer.bounds(); local 63 layer.transform().TransformRect(&bounds); 64 return bounds; 130 gfx::Rect updated_bounds = layer_->bounds(); [all...] |
/external/skia/experimental/Intersection/ |
CubicReduceOrder_Test.cpp | 143 _Rect bounds = {DBL_MAX, DBL_MAX, -DBL_MAX, -DBL_MAX}; local 144 find_tight_bounds(cubic, bounds); 145 if ( (!AlmostEqualUlps(reduce[0].x, bounds.left) && !AlmostEqualUlps(reduce[0].x, bounds.right)) 146 || (!AlmostEqualUlps(reduce[0].y, bounds.top) && !AlmostEqualUlps(reduce[0].y, bounds.bottom)) 147 || (!AlmostEqualUlps(reduce[1].x, bounds.left) && !AlmostEqualUlps(reduce[1].x, bounds.right)) 148 || (!AlmostEqualUlps(reduce[1].y, bounds.top) && !AlmostEqualUlps(reduce[1].y, bounds.bottom))) [all...] |
/external/skia/gm/ |
aarectmodes.cpp | 150 const SkRect bounds = SkRect::MakeWH(W, H); local 166 canvas->drawRect(bounds, fBGPaint); 167 canvas->saveLayer(&bounds, NULL);
|
complexclip.cpp | 106 SkRect bounds = SkRect::MakeLTRB( local 112 bounds.inset(SkIntToScalar(100), SkIntToScalar(100)); 116 canvas->drawRect(bounds, boundPaint); 117 canvas->saveLayer(&bounds, NULL);
|
cubicpaths.cpp | 35 SkRect bounds = path.getBounds(); local 41 canvas->clipRect(bounds); 46 canvas->translate(bounds.width(), 0); 49 canvas->translate(0, bounds.height());
|
imagefiltersscaled.cpp | 139 SkRect bounds = r; local 140 bounds.outset(margin, margin);
|
rrects.cpp | 127 SkRect bounds = rrect.getBounds(); variable 128 bounds.outset(2.f, 2.f); 130 tt.target()->drawSimpleRect(bounds); variable
|
testimagefilters.cpp | 117 const SkRect bounds = SkRect::MakeWH(FILTER_WIDTH, FILTER_HEIGHT); local 119 const SkScalar dx = bounds.width() * 8 / 7; 120 const SkScalar dy = bounds.height() * 8 / 7; 133 canvas->drawRect(bounds, p); 137 canvas->saveLayer(&bounds, &paint);
|
/external/skia/samplecode/ |
SampleDither.cpp | 47 SkRect bounds = r; local 65 path.arcTo(bounds, 0, sweep, false);
|
SampleDitherBitmap.cpp | 49 SkIRect bounds; local 50 path.getBounds().round(&bounds); 51 SkRegion clip(bounds);
|
SampleStrokePath.cpp | 79 const SkRect& bounds = path->getBounds(); local 80 SkScalar scale = dstWidth / bounds.width(); 119 const SkRect& bounds = fPath.getBounds(); local 120 fPath.offset(-bounds.fLeft, -bounds.fTop);
|
/external/skia/src/core/ |
SkPathRef.cpp | 76 * Here we optimize the bounds computation, by noting if the bounds are 82 * if it is non-finite. In those cases bounds need to stay empty, 226 const SkRect& bounds = this->getBounds(); local 242 buffer->write(&bounds, sizeof(bounds));
|
/external/skia/src/effects/ |
SkGpuBlurUtils.cpp | 54 float bounds[2]) { 58 texture, direction, radius, sigma, useBounds, bounds)); 72 float bounds[2] = { 0.0f, 1.0f }; local 75 direction, radius, sigma, false, bounds); 84 bounds[0] = SkScalarToFloat(srcRect.left()) / texture->width(); 85 bounds[1] = SkScalarToFloat(srcRect.right()) / texture->width(); 94 bounds[0] = SkScalarToFloat(srcRect.top()) / texture->height(); 95 bounds[1] = SkScalarToFloat(srcRect.bottom()) / texture->height(); 105 // Blur radius covers srcRect; use bounds over entire draw 107 direction, radius, sigma, true, bounds); [all...] |
/external/skia/src/pathops/ |
SkIntersectionHelper.h | 63 return bounds().fBottom; 66 const SkPathOpsBounds& bounds() const { function in class:SkIntersectionHelper 67 return fContour->segments()[fIndex].bounds(); 94 return bounds().fLeft; 102 return bounds().fRight; 126 return bounds().fTop; 134 return bounds().fLeft; 142 return bounds().fTop;
|