/external/mesa3d/src/gallium/state_trackers/vega/ |
polygon.c | 264 VGfloat bounds[4]; local 268 polygon_bounding_rect(poly, bounds); 269 min_x = bounds[0]; 270 min_y = bounds[1]; 271 max_x = bounds[0] + bounds[2]; 272 max_y = bounds[1] + bounds[3]; 275 debug_printf("Poly bounds are [%f, %f], [%f, %f]\n", 317 debug_printf("%s: Poly bounds are [%f, %f], [%f, %f]\n" [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_bmp.c | 411 SDL_Rect bounds; local 423 bounds.x = 0; 424 bounds.y = 0; 425 bounds.w = saveme->w; 426 bounds.h = saveme->h; 427 if ( SDL_LowerBlit(saveme, &bounds, surface, 428 &bounds) < 0 ) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
SDL_sysvideo.cc | 265 BRect bounds; local 302 bounds.top = 0; bounds.left = 0; 303 bounds.right = BEOS_HIDDEN_SIZE; 304 bounds.bottom = BEOS_HIDDEN_SIZE; 305 SDL_Win = new SDL_BWin(bounds); 461 BRect bounds = bscreen.Frame(); local 462 bounds.PrintToStream(); 463 int32 cx = (bounds.IntegerWidth() - width)/2; 464 int32 cy = (bounds.IntegerHeight() - height)/2 503 BRect bounds; local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowDrawable.java | 30 private Rect bounds = new Rect(0, 0, 0, 0); field in class:ShadowDrawable 76 return bounds; 81 this.bounds = rect; 86 bounds = new Rect(left, top, right, bottom); 91 Rect bounds = new Rect(); local 92 copyBounds(bounds); 93 return bounds; 97 public void copyBounds(Rect bounds) { 98 bounds.set(getBounds()); 162 if (bounds != null ? !bounds.equals(that.bounds) : that.bounds != null) return false [all...] |
/external/skia/bench/ |
AAClipBench.cpp | 239 SkIRect bounds; local 240 path.getBounds().roundOut(&bounds); 241 fRegion.setPath(path, SkRegion(bounds));
|
bench_graph_svg.py | 259 def bounds(lines): function 828 (global_min_x, _), (global_max_x, global_max_y) = bounds(lines) [all...] |
/external/skia/gm/ |
aaclip.cpp | 105 static SkCanvas* MakeCanvas(const SkIRect& bounds) { 107 bm.setConfig(SkBitmap::kARGB_8888_Config, bounds.width(), bounds.height()); 112 canvas->translate(-SkIntToScalar(bounds.fLeft), -SkIntToScalar(bounds.fTop)); 153 SkIRect bounds; local 154 path.getBounds().roundOut(&bounds); 159 SkAutoTUnref<SkCanvas> path_canvas(MakeCanvas(bounds)); 162 SkAutoTUnref<SkCanvas> rect_canvas(MakeCanvas(bounds)); 258 SkRect bounds; variable [all...] |
dashing.cpp | 97 static void make_path_line(SkPath* path, const SkRect& bounds) { 98 path->moveTo(bounds.left(), bounds.top()); 99 path->lineTo(bounds.right(), bounds.bottom()); 102 static void make_path_rect(SkPath* path, const SkRect& bounds) { 103 path->addRect(bounds); 106 static void make_path_oval(SkPath* path, const SkRect& bounds) { 107 path->addOval(bounds); 110 static void make_path_star(SkPath* path, const SkRect& bounds) { 145 SkRect bounds = SkRect::MakeWH(SkIntToScalar(120), SkIntToScalar(120)); local [all...] |
strokes.cpp | 147 static void make0(SkPath* path, const SkRect& bounds, SkString* title) { 148 path->addRect(bounds, SkPath::kCW_Direction); 149 path->addRect(inset(bounds), SkPath::kCW_Direction); 153 static void make1(SkPath* path, const SkRect& bounds, SkString* title) { 154 path->addRect(bounds, SkPath::kCW_Direction); 155 path->addRect(inset(bounds), SkPath::kCCW_Direction); 159 static void make2(SkPath* path, const SkRect& bounds, SkString* title) { 160 path->addOval(bounds, SkPath::kCW_Direction); 161 path->addOval(inset(bounds), SkPath::kCW_Direction); 165 static void make3(SkPath* path, const SkRect& bounds, SkString* title) 214 SkRect bounds = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(50)); local [all...] |
techtalk1.cpp | 300 SkRect bounds[256]; local 302 int count = paint.getTextWidths(text, len, widths, bounds); 305 bounds[j].offset(adv, 0); 306 show_mesh(canvas, bounds[j]);
|
/external/skia/src/core/ |
SkClipStack.cpp | 101 // occur w/in the intersection of the two finite bounds 131 // lie within the union of the two finite bounds 142 // union of the two bounds. If the two clips exactly overlapped 192 // occur in the union of the two finite bounds 488 SkRect bounds; local 490 this->getBounds(&bounds, &bt); 492 if (bounds.contains(*rect)) { 500 return rect->intersect(bounds);
|
/external/skia/src/effects/ |
SkDashPathEffect.cpp | 53 // watch out for values that might make us go out of bounds 116 SkRect bounds = *cullRect; local 117 outset_for_stroke(&bounds, rec); 130 if (maxX < bounds.fLeft || minX > bounds.fRight) { 139 // right of the bounds (keeping our new line "in phase" with the dash, 142 if (minX < bounds.fLeft) { 143 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, 146 if (maxX > bounds.fRight) [all...] |
/external/skia/src/gpu/ |
GrDefaultPathRenderer.cpp | 463 SkRect bounds; local 467 // draw over the dev bounds (which will be the whole dst surface for inv fill). 468 bounds = devBounds; 473 vmi.mapRect(&bounds); 478 bounds = path.getBounds(); 481 target->drawSimpleRect(bounds, NULL);
|
/external/skia/src/gpu/effects/ |
GrConvolutionEffect.cpp | 75 kVec2f_GrSLType, "Bounds"); 97 const char* bounds = builder->getUniformCStr(fBoundsUni); local 100 component, bounds, component, bounds); 131 const float* bounds = conv.bounds(); local 134 uman.set2f(fBoundsUni, 1.0f - bounds[1], 1.0f - bounds[0]); 136 uman.set2f(fBoundsUni, bounds[0], bounds[1]) 238 float bounds[2]; local [all...] |
/external/skia/src/pathops/ |
SkOpContour.h | 87 const SkPathOpsBounds& bounds() const { function in class:SkOpContour
|
SkOpSegment.h | 31 const SkPathOpsBounds& bounds() const { function in class:SkOpSegment 371 void subDivideBounds(int start, int end, SkPathOpsBounds* bounds) const;
|
/external/skia/src/utils/debugger/ |
SkDrawCommand.cpp | 92 void xlate_and_scale_to_bounds(SkCanvas* canvas, const SkRect& bounds) { 98 if (bounds.width() > bounds.height()) { 99 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.width()), 100 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.width())); 102 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.height()), 103 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.height())); 105 canvas->translate(-bounds.centerX(), -bounds.centerY()); 113 const SkRect& bounds = path.getBounds() local 161 const SkRect& bounds = rrect.getBounds(); local 515 SkRect bounds; local [all...] |
/external/skia/tests/ |
FontHostTest.cpp | 239 SkRect bounds; local 245 // Requesting the bounds forces a generateMetrics call. 246 SkScalar width2 = paint.measureText(txt, strlen(txt), &bounds);
|
PathOpsCubicReduceOrderTest.cpp | 43 static void find_tight_bounds(const SkDCubic& cubic, SkDRect& bounds) { 46 find_tight_bounds(cubicPair.first(), bounds); 48 bounds.add(cubicPair.first()[0]); 49 bounds.add(cubicPair.first()[3]); 52 find_tight_bounds(cubicPair.second(), bounds); 54 bounds.add(cubicPair.second()[0]); 55 bounds.add(cubicPair.second()[3]); 220 SkDRect bounds = {DBL_MAX, DBL_MAX, -DBL_MAX, -DBL_MAX}; local 221 find_tight_bounds(cubic, bounds); 222 if ( (!AlmostEqualUlps(reducer.fLine[0].fX, bounds.fLeft [all...] |
/external/stlport/test/unit/ |
set_test.cpp | 25 CPPUNIT_TEST(bounds); 42 void bounds(); 123 void SetTest::bounds() function in class:SetTest
|
/frameworks/av/services/audioflinger/ |
FastMixer.cpp | 87 uint32_t bounds = 0; local 197 bounds = 0; 583 // advance the FIFO queue bounds 584 size_t i = bounds & (dumpState->mSamplingN - 1); 585 bounds = (bounds & 0xFFFF0000) | ((bounds + 1) & 0xFFFF); 587 bounds += 0x10000; 588 } else if (!(bounds & (dumpState->mSamplingN - 1))) { 634 dumpState->mBounds = bounds; [all...] |
/frameworks/base/core/java/android/gesture/ |
Gesture.java | 235 final RectF bounds = new RectF(); local 236 path.computeBounds(bounds, true); 238 final float sx = (width - 2 * inset) / bounds.width(); 239 final float sy = (height - 2 * inset) / bounds.height(); 243 path.offset(-bounds.left + (width - bounds.width() * scale) / 2.0f, 244 -bounds.top + (height - bounds.height() * scale) / 2.0f);
|
/frameworks/base/core/java/android/transition/ |
Crossfade.java | 55 private static final String PROPNAME_BOUNDS = "android:crossfade:bounds"; 195 // a reveal of the end scene over time. Also, animate the bounds of both drawables 243 Animator anim2 = ObjectAnimator.ofObject(startDrawable, "bounds", 249 Animator anim3 = ObjectAnimator.ofObject(endDrawable, "bounds", 262 Rect bounds = new Rect(0, 0, view.getWidth(), view.getHeight()); local 264 bounds.offset(view.getLeft(), view.getTop()); 266 transitionValues.values.put(PROPNAME_BOUNDS, bounds); 269 Log.d(LOG_TAG, "Captured bounds " + transitionValues.values.get(PROPNAME_BOUNDS)); 283 drawable.setBounds(bounds);
|
/frameworks/base/libs/hwui/ |
LayerRenderer.cpp | 456 Rect bounds; local 457 bounds.set(0.0f, 0.0f, bitmap->width(), bitmap->height()); 458 renderer.drawTextureLayer(layer, bounds);
|
PathCache.cpp | 92 const SkRect& bounds = path->getBounds(); local 93 PathCache::computeBounds(bounds, paint, left, top, offset, width, height); 96 void PathCache::computeBounds(const SkRect& bounds, const SkPaint* paint, 98 const float pathWidth = fmax(bounds.width(), 1.0f); 99 const float pathHeight = fmax(bounds.height(), 1.0f); 101 left = bounds.fLeft; 102 top = bounds.fTop;
|