Searched refs:bounds (Results 26 - 50 of 350) sorted by relevance

1234567891011>>

/external/valgrind/none/tests/x86/
H A Dint.stderr.exp4 GPF (Pointer out of bounds?)
/external/skia/gm/
H A Dlerpmode.cpp15 SkRect r, bounds = { 10, 10, 110, 110 }; local
17 r = bounds;
18 r.fRight = bounds.centerX();
21 canvas->saveLayer(&bounds, NULL);
24 r = bounds;
29 r = bounds;
H A Dstrokes.cpp148 static void make0(SkPath* path, const SkRect& bounds, SkString* title) { argument
149 path->addRect(bounds, SkPath::kCW_Direction);
150 path->addRect(inset(bounds), SkPath::kCW_Direction);
154 static void make1(SkPath* path, const SkRect& bounds, SkString* title) { argument
155 path->addRect(bounds, SkPath::kCW_Direction);
156 path->addRect(inset(bounds), SkPath::kCCW_Direction);
160 static void make2(SkPath* path, const SkRect& bounds, SkString* title) { argument
161 path->addOval(bounds, SkPath::kCW_Direction);
162 path->addOval(inset(bounds), SkPath::kCW_Direction);
166 static void make3(SkPath* path, const SkRect& bounds, SkStrin argument
172 make4(SkPath* path, const SkRect& bounds, SkString* title) argument
180 make5(SkPath* path, const SkRect& bounds, SkString* title) argument
216 SkRect bounds = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(50)); variable
[all...]
H A Dcolorfilters.cpp13 static SkShader* make_shader(const SkRect& bounds) { argument
15 { bounds.left(), bounds.top() },
16 { bounds.right(), bounds.bottom() },
/external/skia/src/pathops/
H A DSkPathOpsCurve.cpp12 double tStart, double tEnd, SkPathOpsBounds* bounds) {
17 bounds->set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop),
22 double tStart, double tEnd, SkPathOpsBounds* bounds) {
27 bounds->set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop),
32 double tStart, double tEnd, SkPathOpsBounds* bounds) {
37 bounds->set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop),
11 setConicBounds(const SkPoint curve[3], SkScalar curveWeight, double tStart, double tEnd, SkPathOpsBounds* bounds) argument
21 setCubicBounds(const SkPoint curve[4], SkScalar , double tStart, double tEnd, SkPathOpsBounds* bounds) argument
31 setQuadBounds(const SkPoint curve[3], SkScalar , double tStart, double tEnd, SkPathOpsBounds* bounds) argument
/external/skia/src/effects/
H A DSkRectShaderImageFilter.cpp56 SkIRect bounds; local
57 if (!this->applyCropRect(ctx, source, SkIPoint::Make(0, 0), &bounds)) {
61 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(),
62 bounds.height()));
70 matrix.postTranslate(SkIntToScalar(-bounds.left()), SkIntToScalar(-bounds.top()));
73 SkRect rect = SkRect::MakeWH(SkIntToScalar(bounds.width()), SkIntToScalar(bounds.height()));
77 offset->fX = bounds.fLeft;
78 offset->fY = bounds
[all...]
H A DSkOffsetImageFilter.cpp44 SkIRect bounds; local
45 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) {
49 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height()));
56 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft),
57 SkIntToScalar(srcOffset.fY - bounds.fTop));
62 offset->fX = bounds.fLeft;
63 offset->fY = bounds.fTop;
84 SkIRect bounds = src; local
85 bounds
[all...]
H A DSkColorFilterImageFilter.cpp68 SkIRect bounds; local
69 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) {
73 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height()));
82 canvas.drawSprite(src, srcOffset.fX - bounds.fLeft, srcOffset.fY - bounds.fTop, &paint);
85 offset->fX = bounds.fLeft;
86 offset->fY = bounds.fTop;
H A DSkDropShadowImageFilter.cpp65 SkIRect bounds;
66 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) {
70 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height()));
89 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft),
90 SkIntToScalar(srcOffset.fY - bounds.fTop));
96 offset->fX = bounds.fLeft;
97 offset->fY = bounds.fTop;
121 SkIRect bounds = src; local
124 bounds
[all...]
H A DSkMagnifierImageFilter.cpp28 const SkRect& bounds,
36 bounds,
53 const SkRect& bounds() const { return fBounds; } // Bounds of source image. function in class:GrMagnifierEffect
58 // Scale to apply to zoomed pixels (srcRect size / bounds size).
62 // 1/radius over which to transition from unzoomed to zoomed pixels (bounds size / inset).
68 const SkRect& bounds,
76 , fBounds(bounds)
161 const char* bounds = builder->getUniformCStr(fBoundsVar); local
162 fsBuilder->codeAppendf("\t\tvec2 delta = (coord - %s.xy) * %s.zw;\n", bounds, bounds);
27 Create(GrTexture* texture, const SkRect& bounds, float xOffset, float yOffset, float xInvZoom, float yInvZoom, float xInvInset, float yInvInset) argument
67 GrMagnifierEffect(GrTexture* texture, const SkRect& bounds, float xOffset, float yOffset, float xInvZoom, float yInvZoom, float xInvInset, float yInvInset) argument
[all...]
/external/skia/samplecode/
H A DSampleLayerMask.cpp42 SkRect bounds = r; local
43 bounds.offset(-bounds.fLeft, -bounds.fTop);
44 c.drawOval(bounds, paint);
/external/skia/bench/
H A DSKPAnimationBench.cpp32 SkIRect bounds; local
33 SkAssertResult(canvas->getClipDeviceBounds(&bounds));
35 fCenter.set((bounds.fRight - bounds.fLeft) / 2.0f,
36 (bounds.fBottom - bounds.fTop) / 2.0f);
H A DSKPBench.cpp44 SkIRect bounds; local
45 SkAssertResult(canvas->getClipDeviceBounds(&bounds));
47 int tileW = SkTMin(FLAGS_benchTileW, bounds.width());
48 int tileH = SkTMin(FLAGS_benchTileH, bounds.height());
50 int xTiles = SkScalarCeilToInt(bounds.width() / SkIntToScalar(tileW));
51 int yTiles = SkScalarCeilToInt(bounds.height() / SkIntToScalar(tileH));
58 for (int y = bounds.fTop; y < bounds.fBottom; y += tileH) {
59 for (int x = bounds.fLeft; x < bounds
[all...]
/external/skia/src/animator/
H A DSkBoundable.h23 void setBounds(SkIRect& bounds) { fBounds = bounds; } argument
25 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
/external/skia/src/gpu/
H A DSkGrPixelRef.cpp159 SkIRect bounds; local
161 bounds = *subset;
163 bounds = SkIRect::MakeWH(this->info().width(), this->info().height());
167 if(!SkBitmapCache::Find(this->getGenerationID(), bounds, dst)) {
171 cachedBitmap.setInfo(this->info().makeWH(bounds.width(), bounds.height()));
180 bool readPixelsOk = fSurface->readPixels(bounds.fLeft, bounds.fTop,
181 bounds.width(), bounds
[all...]
/external/skia/src/gpu/effects/
H A DGrConvolutionEffect.cpp92 const char* bounds = builder->getUniformCStr(fBoundsUni); local
95 component, bounds, component, bounds);
126 const float* bounds = conv.bounds(); local
129 pdman.set2f(fBoundsUni, 1.0f - bounds[1], 1.0f - bounds[0]);
131 pdman.set2f(fBoundsUni, bounds[0], bounds[1]);
156 float bounds[
151 GrConvolutionEffect(GrTexture* texture, Direction direction, int radius, const float* kernel, bool useBounds, float bounds[2]) argument
168 GrConvolutionEffect(GrTexture* texture, Direction direction, int radius, float gaussianSigma, bool useBounds, float bounds[2]) argument
233 float bounds[2]; local
[all...]
H A DGrMatrixConvolutionEffect.h22 const SkIRect& bounds,
31 bounds,
42 const SkIRect& bounds,
54 const SkIRect& bounds() const { return fBounds; } function in class:GrMatrixConvolutionEffect
71 const SkIRect& bounds,
21 Create(GrTexture* texture, const SkIRect& bounds, const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, GrTextureDomain::Mode tileMode, bool convolveAlpha) argument
/external/skia/include/effects/
H A DSkMatrixConvolutionImageFilter.h87 const SkIRect& bounds) const override;
104 const SkIRect& bounds) const;
109 const SkIRect& bounds) const;
113 const SkIRect& bounds) const;
117 const SkIRect& bounds) const;
/external/v8/src/compiler/
H A Dschedule.cc54 Bounds bounds = NodeProperties::GetBounds(node); local
56 bounds.lower->PrintTo(os);
57 if (!bounds.upper->Is(bounds.lower)) {
59 bounds.upper->PrintTo(os);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowDrawable.java30 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();
92 copyBounds(bounds);
93 return bounds;
97 public void copyBounds(Rect bounds) { argument
98 bounds.set(getBounds());
162 if (bounds !
[all...]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
H A DResizableDialog.java68 // track the current dialog bounds
105 Rectangle bounds = loadBounds();
106 if (bounds != null) {
107 int x = bounds.x;
108 int y = bounds.y;
137 * Loads bounds from {@link IDialogSettings}.
152 * Saves bounds to {@link IDialogSettings}.
154 private void saveBounds(Rectangle bounds) { argument
156 settings.put(X, bounds.x);
157 settings.put(Y, bounds
[all...]
/external/skia/src/core/
H A DSkImageFilter.cpp217 SkRect bounds; local
218 input->computeFastBounds(src, &bounds);
219 dst->join(bounds);
246 SkIRect bounds; local
247 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &bounds, &input)) {
250 SkRect srcRect = SkRect::Make(bounds);
256 desc.fWidth = bounds.width();
257 desc.fHeight = bounds.height();
270 offset->fX = bounds.left();
271 offset->fY = bounds
309 applyCropRect(const Context& ctx, Proxy* proxy, const SkBitmap& src, SkIPoint* srcOffset, SkIRect* bounds, SkBitmap* dst) const argument
350 SkIRect bounds; local
[all...]
/external/skia/include/core/
H A DSkTextBlob.h28 const SkRect& bounds() const { return fBounds; } function in class:SkTextBlob
80 SkTextBlob(int runCount, const SkRect& bounds);
147 * @param bounds Optional run bounding box. If known in advance (!= NULL), it will
148 * be used when computing the blob bounds, to avoid re-measuring.
154 const SkRect* bounds = NULL);
163 * @param bounds Optional run bounding box. If known in advance (!= NULL), it will
164 * be used when computing the blob bounds, to avoid re-measuring.
170 const SkRect* bounds = NULL);
178 * @param bounds Optional run bounding box. If known in advance (!= NULL), it will
179 * be used when computing the blob bounds, t
[all...]
/external/skia/tests/
H A DPathOpsCubicReduceOrderTest.cpp44 static void find_tight_bounds(const SkDCubic& cubic, SkDRect& bounds) {
47 find_tight_bounds(cubicPair.first(), bounds);
49 bounds.add(cubicPair.first()[0]);
50 bounds.add(cubicPair.first()[3]);
53 find_tight_bounds(cubicPair.second(), bounds);
55 bounds.add(cubicPair.second()[0]);
56 bounds.add(cubicPair.second()[3]);
226 SkDRect bounds = {DBL_MAX, DBL_MAX, -DBL_MAX, -DBL_MAX};
227 find_tight_bounds(cubic, bounds);
228 if ( (!AlmostEqualUlps(reducer.fLine[0].fX, bounds
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dbezier.h69 float *bounds/*x/y/width/height*/);
71 float *bounds/*x/y/width/height*/);

Completed in 1345 milliseconds

1234567891011>>