Searched refs:bounds (Results 251 - 275 of 974) sorted by relevance

<<11121314151617181920>>

/external/skqp/src/gpu/ops/
H A DGrCopySurfaceOp.h46 SkRect bounds = local
49 this->setBounds(bounds, HasAABloat::kNo, IsZeroArea::kNo);
/external/skqp/tools/lua/
H A Dgradients.lua17 function bounds(rect) function
41 width, height = bounds(t.rect)
43 width, height = bounds(t.rrect:rect())
45 width, height = bounds(t.path:getBounds())
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ios/
H A DARDAppDelegate.m27 _window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
/external/skia/src/gpu/
H A DGrRenderTargetOpList.cpp53 const SkRect& bounds = fRecordedOps[i].fOp->bounds(); local
54 SkDebugf("ClippedBounds: [L: %.2f, T: %.2f, R: %.2f, B: %.2f]\n", bounds.fLeft,
55 bounds.fTop, bounds.fRight, bounds.fBottom);
339 op->bounds().fLeft, op->bounds().fTop,
340 op->bounds().fRight, op->bounds()
[all...]
H A DGrTextureOpList.cpp43 const SkRect& clippedBounds = fRecordedOps[i]->bounds();
189 op->bounds().fLeft, op->bounds().fRight,
190 op->bounds().fTop, op->bounds().fBottom);
/external/skqp/src/gpu/
H A DGrRenderTargetOpList.cpp53 const SkRect& bounds = fRecordedOps[i].fOp->bounds(); local
54 SkDebugf("ClippedBounds: [L: %.2f, T: %.2f, R: %.2f, B: %.2f]\n", bounds.fLeft,
55 bounds.fTop, bounds.fRight, bounds.fBottom);
339 op->bounds().fLeft, op->bounds().fTop,
340 op->bounds().fRight, op->bounds()
[all...]
H A DGrTextureOpList.cpp43 const SkRect& clippedBounds = fRecordedOps[i]->bounds();
189 op->bounds().fLeft, op->bounds().fRight,
190 op->bounds().fTop, op->bounds().fBottom);
/external/skia/bench/
H A DPathTextBench.cpp60 const SkRect& bounds = glyph.getBounds(); variable
61 float glyphSize = SkTMax(bounds.width(), bounds.height());
73 fXforms[i].preTranslate(-scale/2 * bounds.width(), -scale/2 * bounds.height());
/external/skia/gm/
H A Dlcdblendmodes.cpp26 static sk_sp<SkShader> make_shader(const SkRect& bounds) { argument
28 { bounds.left(), bounds.top() },
29 { bounds.right(), bounds.bottom() },
/external/skia/src/core/
H A DSkRegionPriv.h155 * value is already known to be contained within the bounds of the region,
163 // if the top-check fails, we didn't do a quick check on the bounds
169 // If we hit this, we've walked off the region, and our bounds check
180 // Copy src runs into us, computing interval counts and bounds along the way
181 void computeRunBounds(SkIRect* bounds) {
183 bounds->fTop = *runs++;
237 bounds->fLeft = left;
238 bounds->fRight = rite;
239 bounds->fBottom = bot;
H A DSkTextBlob.cpp308 SkTextBlob::SkTextBlob(const SkRect& bounds) argument
309 : fBounds(bounds)
435 SkRect bounds; local
440 paint.measureText(run.glyphBuffer(), run.glyphCount() * sizeof(uint16_t), &bounds);
441 return bounds.makeOffset(run.offset().x(), run.offset().y());
463 bounds.setEmpty();
465 bounds.join(glyphBounds[i].makeOffset(*glyphPosX, *glyphPosY));
472 return bounds.makeOffset(run.offset().x(), run.offset().y());
484 // Empty font bounds are likely a font bug. TightBounds has a better chance of
490 SkRect bounds; local
628 allocInternal(const SkPaint &font, SkTextBlob::GlyphPositioning positioning, int count, int textSize, SkPoint offset, const SkRect* bounds) argument
677 allocRunText(const SkPaint& font, int count, SkScalar x, SkScalar y, int textByteCount, SkString lang, const SkRect* bounds) argument
686 allocRunTextPosH(const SkPaint& font, int count, SkScalar y, int textByteCount, SkString lang, const SkRect* bounds) argument
697 allocRunTextPos(const SkPaint& font, int count, int textByteCount, SkString lang, const SkRect *bounds) argument
793 SkRect bounds; local
[all...]
H A DSkGlyphCache.cpp219 static bool quad_in_bounds(const SkScalar* pts, const SkScalar bounds[2]) { argument
221 if (bounds[1] < min) {
225 return bounds[0] < max;
228 static bool cubic_in_bounds(const SkScalar* pts, const SkScalar bounds[2]) { argument
230 if (bounds[1] < min) {
234 return bounds[0] < max;
253 void SkGlyphCache::AddPoints(const SkPoint* pts, int ptCount, const SkScalar bounds[2], argument
257 if (bounds[0] < val && val < bounds[1]) {
300 const SkScalar bounds[
299 MatchBounds(const SkGlyph* glyph, const SkScalar bounds[2]) argument
314 findIntercepts(const SkScalar bounds[2], SkScalar scale, SkScalar xPos, bool yAxis, SkGlyph* glyph, SkScalar* array, int* count) argument
[all...]
H A DSkPaint.cpp703 static void set_bounds(const SkGlyph& g, SkRect* bounds) { argument
704 bounds->set(SkIntToScalar(g.fLeft),
710 static void join_bounds_x(const SkGlyph& g, SkRect* bounds, SkScalar dx) { argument
711 bounds->join(SkIntToScalar(g.fLeft) + dx,
717 static void join_bounds_y(const SkGlyph& g, SkRect* bounds, SkScalar dy) { argument
718 bounds->join(SkIntToScalar(g.fLeft),
734 int* count, SkRect* bounds) const {
738 if (bounds) {
739 bounds->setEmpty();
746 nullptr != bounds);
945 set_bounds(const SkGlyph& g, SkRect* bounds, SkScalar scale) argument
1115 GetTextIntercepts(const SkPaint& paint, const void* text, size_t length, const SkScalar bounds[2], SkScalar* array, Func posMaker) argument
1123 SkTextInterceptsIter iter(static_cast<const char*>(text), length, paint, bounds, local
1138 getTextIntercepts(const void* textData, size_t length, SkScalar x, SkScalar y, const SkScalar bounds[2], SkScalar* array) const argument
[all...]
H A DSkBlitter.cpp51 SkIRect bounds = rect.roundOut(); local
52 SkASSERT(bounds.width() >= 3 && bounds.height() >= 3);
54 int runSize = bounds.width() + 1; // +1 so we can set runs[bounds.width()] = 0
60 runs[1] = bounds.width() - 2;
61 runs[bounds.width() - 1] = 1;
62 runs[bounds.width()] = 0;
64 SkScalar partialL = bounds.fLeft + 1 - rect.fLeft;
65 SkScalar partialR = rect.fRight - (bounds
[all...]
/external/skqp/bench/
H A DPathTextBench.cpp60 const SkRect& bounds = glyph.getBounds(); variable
61 float glyphSize = SkTMax(bounds.width(), bounds.height());
73 fXforms[i].preTranslate(-scale/2 * bounds.width(), -scale/2 * bounds.height());
/external/skqp/gm/
H A Dlcdblendmodes.cpp26 static sk_sp<SkShader> make_shader(const SkRect& bounds) { argument
28 { bounds.left(), bounds.top() },
29 { bounds.right(), bounds.bottom() },
/external/skqp/src/core/
H A DSkRegionPriv.h155 * value is already known to be contained within the bounds of the region,
163 // if the top-check fails, we didn't do a quick check on the bounds
169 // If we hit this, we've walked off the region, and our bounds check
180 // Copy src runs into us, computing interval counts and bounds along the way
181 void computeRunBounds(SkIRect* bounds) {
183 bounds->fTop = *runs++;
237 bounds->fLeft = left;
238 bounds->fRight = rite;
239 bounds->fBottom = bot;
H A DSkTextBlob.cpp308 SkTextBlob::SkTextBlob(const SkRect& bounds) argument
309 : fBounds(bounds)
435 SkRect bounds; local
440 paint.measureText(run.glyphBuffer(), run.glyphCount() * sizeof(uint16_t), &bounds);
441 return bounds.makeOffset(run.offset().x(), run.offset().y());
463 bounds.setEmpty();
465 bounds.join(glyphBounds[i].makeOffset(*glyphPosX, *glyphPosY));
472 return bounds.makeOffset(run.offset().x(), run.offset().y());
484 // Empty font bounds are likely a font bug. TightBounds has a better chance of
490 SkRect bounds; local
628 allocInternal(const SkPaint &font, SkTextBlob::GlyphPositioning positioning, int count, int textSize, SkPoint offset, const SkRect* bounds) argument
677 allocRunText(const SkPaint& font, int count, SkScalar x, SkScalar y, int textByteCount, SkString lang, const SkRect* bounds) argument
686 allocRunTextPosH(const SkPaint& font, int count, SkScalar y, int textByteCount, SkString lang, const SkRect* bounds) argument
697 allocRunTextPos(const SkPaint& font, int count, int textByteCount, SkString lang, const SkRect *bounds) argument
793 SkRect bounds; local
[all...]
H A DSkGlyphCache.cpp219 static bool quad_in_bounds(const SkScalar* pts, const SkScalar bounds[2]) { argument
221 if (bounds[1] < min) {
225 return bounds[0] < max;
228 static bool cubic_in_bounds(const SkScalar* pts, const SkScalar bounds[2]) { argument
230 if (bounds[1] < min) {
234 return bounds[0] < max;
253 void SkGlyphCache::AddPoints(const SkPoint* pts, int ptCount, const SkScalar bounds[2], argument
257 if (bounds[0] < val && val < bounds[1]) {
300 const SkScalar bounds[
299 MatchBounds(const SkGlyph* glyph, const SkScalar bounds[2]) argument
314 findIntercepts(const SkScalar bounds[2], SkScalar scale, SkScalar xPos, bool yAxis, SkGlyph* glyph, SkScalar* array, int* count) argument
[all...]
H A DSkPaint.cpp703 static void set_bounds(const SkGlyph& g, SkRect* bounds) { argument
704 bounds->set(SkIntToScalar(g.fLeft),
710 static void join_bounds_x(const SkGlyph& g, SkRect* bounds, SkScalar dx) { argument
711 bounds->join(SkIntToScalar(g.fLeft) + dx,
717 static void join_bounds_y(const SkGlyph& g, SkRect* bounds, SkScalar dy) { argument
718 bounds->join(SkIntToScalar(g.fLeft),
734 int* count, SkRect* bounds) const {
738 if (bounds) {
739 bounds->setEmpty();
746 nullptr != bounds);
945 set_bounds(const SkGlyph& g, SkRect* bounds, SkScalar scale) argument
1115 GetTextIntercepts(const SkPaint& paint, const void* text, size_t length, const SkScalar bounds[2], SkScalar* array, Func posMaker) argument
1123 SkTextInterceptsIter iter(static_cast<const char*>(text), length, paint, bounds, local
1138 getTextIntercepts(const void* textData, size_t length, SkScalar x, SkScalar y, const SkScalar bounds[2], SkScalar* array) const argument
[all...]
/external/ImageMagick/coders/
H A Dps2.c443 bounds;
492 (void) ResetMagickMemory(&bounds,0,sizeof(bounds));
580 bounds.x1=(double) geometry.x;
581 bounds.y1=(double) geometry.y;
582 bounds.x2=(double) geometry.x+geometry.width;
583 bounds.y2=(double) geometry.y+geometry.height+text_size;
591 "%%%%BoundingBox: %.20g %.20g %.20g %.20g\n",ceil(bounds.x1-0.5),
592 ceil(bounds.y1-0.5),floor(bounds
437 bounds; local
[all...]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
H A Dmarkermanager.js62 * @event changed (Parameters: shown bounds, shown markers) Notify listeners when the state of what is displayed changes.
220 * Used for expanding a bounds to include an extra padding
221 * of pixels surrounding the bounds.
275 * Returns whether or not the given point is visible in the shown bounds. This
281 * shown bounds.
290 // than grid width, only test shifted minX .. 0 part of the shown bounds.
324 // the shown bounds are added to the map. This also lets us keep the count
481 * Helper class to create a bounds of INT ranges.
482 * @param bounds Array.<Object.<string, number>> Bounds object.
485 function GridBounds(bounds) {
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DFauxveridesTest.java244 final List<Type> bounds; field in class:FauxveridesTest.TypeParameterSignature
248 bounds = Arrays.asList(typeParameter.getBounds());
258 return bounds.equals(other.bounds);
265 return bounds.hashCode();
269 return (bounds.equals(ImmutableList.of(Object.class)))
271 : name + " extends " + getTypesString(bounds);
/external/webrtc/webrtc/modules/desktop_capture/mac/
H A Dfull_screen_chrome_window_detector.cc60 CGRect bounds; local
62 CGRectMakeWithDictionaryRepresentation(bounds_ref, &bounds)) {
66 if (it->bounds.equals(DesktopRect::MakeXYWH(bounds.origin.x,
67 bounds.origin.y,
68 bounds.size.width,
69 bounds.size.height))) {
/external/libcap-ng/libcap-ng-0.7/utils/
H A Dnetcap.c62 char *tmp, cmd[16], state, *text, *bounds; local
137 bounds = strdup("+");
139 bounds = strdup("");
141 bounds = strdup("");
157 free(bounds);
200 node.bounds = strdup(bounds);
206 free(bounds);
245 printf(" %s %s\n", n->capabilities, n->bounds);

Completed in 713 milliseconds

<<11121314151617181920>>