Home
last modified time | relevance | path

Searched refs:bounds (Results 1 – 25 of 2049) sorted by relevance

12345678910>>...82

/external/fonttools/Lib/fontTools/pens/
DboundsPen.py29 self.bounds = None
40 bounds = self.bounds
41 if bounds:
42 self.bounds = updateBounds(bounds, self._start)
45 self.bounds = (x, y, x, y)
50 self.bounds = updateBounds(self.bounds, pt)
54 bounds = self.bounds
55 bounds = updateBounds(bounds, bcp1)
56 bounds = updateBounds(bounds, bcp2)
57 bounds = updateBounds(bounds, pt)
[all …]
/external/ImageMagick/MagickCore/
Dlayer.c101 static void ClearBounds(Image *image,RectangleInfo *bounds, in ClearBounds() argument
107 if (bounds->x < 0) in ClearBounds()
111 for (y=0; y < (ssize_t) bounds->height; y++) in ClearBounds()
119 q=GetAuthenticPixels(image,bounds->x,bounds->y+y,bounds->width,1,exception); in ClearBounds()
122 for (x=0; x < (ssize_t) bounds->width; x++) in ClearBounds()
167 const Image *image2,RectangleInfo *bounds,ExceptionInfo *exception) in IsBoundsCleared() argument
179 if (bounds->x < 0) in IsBoundsCleared()
181 for (y=0; y < (ssize_t) bounds->height; y++) in IsBoundsCleared()
183 p=GetVirtualPixels(image1,bounds->x,bounds->y+y,bounds->width,1,exception); in IsBoundsCleared()
184 q=GetVirtualPixels(image2,bounds->x,bounds->y+y,bounds->width,1,exception); in IsBoundsCleared()
[all …]
/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeVariableName.java36 public final List<TypeName> bounds; field in TypeVariableName
38 private TypeVariableName(String name, List<TypeName> bounds) { in TypeVariableName() argument
39 this(name, bounds, new ArrayList<>()); in TypeVariableName()
42 private TypeVariableName(String name, List<TypeName> bounds, List<AnnotationSpec> annotations) { in TypeVariableName() argument
45 this.bounds = bounds; in TypeVariableName()
47 for (TypeName bound : this.bounds) { in TypeVariableName()
53 return new TypeVariableName(name, bounds, annotations); in annotated()
57 return new TypeVariableName(name, bounds); in withoutAnnotations()
60 public TypeVariableName withBounds(Type... bounds) { in withBounds() argument
61 return withBounds(TypeName.list(bounds)); in withBounds()
[all …]
/external/skia/docs/examples/
DCanvas_getLocalClipBounds.cpp9 SkRect bounds = canvas->getLocalClipBounds(); in draw() local
11 bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom); in draw()
16 bounds = canvas->getLocalClipBounds(); in draw()
18 bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom); in draw()
20 bounds = canvas->getLocalClipBounds(); in draw()
22 bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom); in draw()
DCanvas_getDeviceClipBounds.cpp9 SkIRect bounds = canvas->getDeviceClipBounds(); in draw() local
11 bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom); in draw()
17 bounds = canvas->getDeviceClipBounds(); in draw()
19 bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom); in draw()
23 bounds = canvas->getDeviceClipBounds(); in draw()
25 bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom); in draw()
DgetLocalBounds_broken.cpp8 SkRect bounds = canvas->getLocalClipBounds(); in draw() local
9 SkDebugf("left:%g top:%g right:%g bottom:%g\n", bounds.fLeft, bounds.fTop, bounds.fRight, in draw()
10 bounds.fBottom); in draw()
15 bounds = canvas->getLocalClipBounds(); in draw()
16 SkDebugf("left:%g top:%g right:%g bottom:%g\n", bounds.fLeft, bounds.fTop, bounds.fRight, in draw()
17 bounds.fBottom); in draw()
DgetLocalBounds_working.cpp8 SkRect bounds = canvas->getLocalClipBounds(); in draw() local
9 SkDebugf("left:%g top:%g right:%g bottom:%g\n", bounds.fLeft, bounds.fTop, bounds.fRight, in draw()
10 bounds.fBottom); in draw()
15 bounds = canvas->getLocalClipBounds(); in draw()
16 SkDebugf("left:%g top:%g right:%g bottom:%g\n", bounds.fLeft, bounds.fTop, bounds.fRight, in draw()
17 bounds.fBottom); in draw()
/external/skqp/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.cpp83 const char* bounds = uniformHandler->getUniformCStr(fBoundsUni); in emitCode() local
89 component, component, bounds, bounds); in emitCode()
95 component, component, bounds, bounds, bounds, bounds); in emitCode()
100 component, bounds, component, bounds); in emitCode()
140 float bounds[2] = {0}; in onSetData() local
141 bounds[0] = conv.bounds()[0]; in onSetData()
142 bounds[1] = conv.bounds()[1]; in onSetData()
144 bounds[0] += SK_ScalarHalf; in onSetData()
145 bounds[1] -= SK_ScalarHalf; in onSetData()
149 bounds[0] *= inv; in onSetData()
[all …]
/external/skqp/gm/
Dmixedtextblobs.cpp55 SkRect bounds; in onOnceBeforeDraw() local
56 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw()
58 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw()
60 SkScalar corruptedAx = bounds.width(); in onOnceBeforeDraw()
63 const SkScalar boundsHalfWidth = bounds.width() * SK_ScalarHalf; in onOnceBeforeDraw()
64 const SkScalar boundsHalfHeight = bounds.height() * SK_ScalarHalf; in onOnceBeforeDraw()
74 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw()
75 sk_tool_utils::add_to_text_blob(&builder, text, font, xOffset - bounds.width() * 0.25f, in onOnceBeforeDraw()
76 yOffset - bounds.height() * 0.5f); in onOnceBeforeDraw()
77 yOffset += bounds.height(); in onOnceBeforeDraw()
[all …]
/external/llvm-project/llvm/test/Transforms/IRCE/
Dunsigned_comparisons_ult.ll4 … test_01: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
5 … test_02: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
6 … test_03: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
7 … test_04: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
8 … test_05: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
9 … test_06: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
10 … test_07: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
11 … test_08: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
12 … test_09: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
23 ; CHECK-NEXT: %idx = phi i32 [ %idx.next, %in.bounds ], [ 0, %loop.preheader ]
[all …]
Dunsigned_comparisons_ugt.ll4 … test_01: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
5 … test_02: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
6 … test_03: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
7 … test_04: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
8 … test_05: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
9 … test_06: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
20 ; CHECK-NEXT: %idx = phi i32 [ %idx.next, %in.bounds ], [ 0, %loop.preheader ]
23 ; CHECK-NEXT: br i1 true, label %in.bounds, label %out.of.bounds.loopexit1
26 …: %idx.postloop = phi i32 [ %idx.copy, %postloop ], [ %idx.next.postloop, %in.bounds.postloop ]
29 ; CHECK-NEXT: br i1 %abc.postloop, label %in.bounds.postloop, label %out.of.bounds.loopexit
[all …]
Deq_ne.ll4 … test_01: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
5 …test_01u: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
6 … test_02: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
7 … test_03: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
8 … test_04: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
9 … test_05: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
10 … test_06: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
11 … test_07: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
12 … test_08: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
20 ; CHECK-NEXT: [[PSEUDO_PHI:%[^ ]+]] = phi i32 [ %idx.next, %in.bounds ]
[all …]
Dwith-parent-loops.ll9 …ner_loop: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
16 loop: ; preds = %in.bounds, %entry
17 %idx = phi i32 [ 0, %entry ], [ %idx.next, %in.bounds ]
20 br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1
22 in.bounds: ; preds = %loop
28 out.of.bounds: ; preds = %loop
31 exit: ; preds = %in.bounds, %entry
37 …rent: constrained Loop at depth 2 containing: %loop.i<header><exiting>,%in.bounds.i<latch><exiting>
50 loop.i: ; preds = %in.bounds.i, %loop
51 %idx.i = phi i32 [ 0, %loop ], [ %idx.next.i, %in.bounds.i ]
[all …]
Dstride_more_than_1.ll4 … test_01: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
5 … test_02: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
6 … test_03: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
7 … test_04: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
8 … test_05: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
9 … test_06: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
10 … test_07: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
11 … test_08: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
24 ; CHECK-NEXT: %idx = phi i32 [ %idx.next, %in.bounds ], [ 0, %loop.preheader ]
27 ; CHECK-NEXT: br i1 true, label %in.bounds, label %out.of.bounds.loopexit1
[all …]
Dsingle-access-no-preloop.ll11 %idx = phi i32 [ 0, %entry ] , [ %idx.next, %in.bounds ]
14 br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1
16 in.bounds:
22 out.of.bounds:
32 ; CHECK: br i1 true, label %in.bounds, label %out.of.bounds
35 ; CHECK-NEXT: %idx.next.lcssa = phi i32 [ %idx.next, %in.bounds ]
48 ; CHECK-NEXT: %idx.postloop = phi i32 [ %idx.next.postloop, %in.bounds.postloop ], [ %idx.copy, %po…
51 ; CHECK-NEXT: br i1 %abc.postloop, label %in.bounds.postloop, label %out.of.bounds
53 ; CHECK: in.bounds.postloop:
67 %idx = phi i32 [ 0, %entry ] , [ %idx.next, %in.bounds ]
[all …]
/external/skia/gm/
Dmixedtextblobs.cpp63 SkRect bounds; in onOnceBeforeDraw() local
64 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
66 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw()
68 SkScalar corruptedAx = bounds.width(); in onOnceBeforeDraw()
71 const SkScalar boundsHalfWidth = bounds.width() * SK_ScalarHalf; in onOnceBeforeDraw()
72 const SkScalar boundsHalfHeight = bounds.height() * SK_ScalarHalf; in onOnceBeforeDraw()
82 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
86 xOffset - bounds.width() * 0.25f, in onOnceBeforeDraw()
87 yOffset - bounds.height() * 0.5f); in onOnceBeforeDraw()
94 font.measureText(fEmojiText, strlen(fEmojiText), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
[all …]
/external/angle/src/libANGLE/renderer/gl/
DFramebufferGL.cpp57 BlitFramebufferBounds bounds; in GetBlitFramebufferBounds() local
65 bounds.sourceBounds = gl::Rectangle(0, 0, readSize.width, readSize.height); in GetBlitFramebufferBounds()
66 bounds.sourceRegion = sourceArea.removeReversal(); in GetBlitFramebufferBounds()
68 bounds.destBounds = gl::Rectangle(0, 0, drawSize.width, drawSize.height); in GetBlitFramebufferBounds()
69 bounds.destRegion = destArea.removeReversal(); in GetBlitFramebufferBounds()
71 bounds.xFlipped = sourceArea.isReversedX() != destArea.isReversedX(); in GetBlitFramebufferBounds()
72 bounds.yFlipped = sourceArea.isReversedY() != destArea.isReversedY(); in GetBlitFramebufferBounds()
74 return bounds; in GetBlitFramebufferBounds()
875 BlitFramebufferBounds bounds = GetBlitFramebufferBounds(context, sourceArea, destArea); in adjustSrcDstRegion() local
877 if (bounds.destRegion.width == 0 || bounds.sourceRegion.width == 0 || in adjustSrcDstRegion()
[all …]
/external/skia/src/gpu/
DGrClip.h66 bool hasUserStencilSettings, GrAppliedClip*, SkRect* bounds) const = 0;
169 static SkIRect GetPixelIBounds(const SkRect& bounds) { in GetPixelIBounds() argument
170 return GetPixelIBounds(bounds, GrAA::kYes); in GetPixelIBounds()
183 static SkIRect GetPixelIBounds(const SkRect& bounds, GrAA aa,
196 if (bounds.isEmpty()) {
201 return SkIRect::MakeLTRB(roundLow(bounds.fLeft), roundLow(bounds.fTop),
202 roundHigh(bounds.fRight), roundHigh(bounds.fBottom));
204 return SkIRect::MakeLTRB(roundHigh(bounds.fLeft), roundHigh(bounds.fTop),
205 roundLow(bounds.fRight), roundLow(bounds.fBottom));
213 static SkRect GetPixelBounds(const SkRect& bounds) { in GetPixelBounds() argument
[all …]
/external/skia/src/gpu/effects/generated/
DGrMagnifierEffect.cpp27 auto bounds = _outer.bounds; in emitCode() local
28 (void)bounds; in emitCode()
94 auto bounds = _outer.bounds; in onSetData() local
95 (void)bounds; in onSetData()
113 boundsUniform, bounds.x(), bounds.y(), 1.f / bounds.width(), 1.f / bounds.height()); in onSetData()
130 if (bounds != that.bounds) return false; in onIsEqual()
140 , bounds(src.bounds) in GrMagnifierEffect()
157 bounds.left(), in onDumpInfo()
158 bounds.top(), in onDumpInfo()
159 bounds.right(), in onDumpInfo()
[all …]
/external/skqp/tests/
DPathOpsBoundsTest.cpp49 SkPathOpsBounds bounds; in DEF_TEST() local
50 bounds.setEmpty(); in DEF_TEST()
51 bounds.add(1, 2, 3, 4); in DEF_TEST()
54 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST()
55 bounds.setEmpty(); in DEF_TEST()
58 bounds.add(ordinal); in DEF_TEST()
59 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST()
60 bounds.setEmpty(); in DEF_TEST()
62 bounds.add(botRight); in DEF_TEST()
63 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST()
[all …]
/external/skia/tests/
DPathOpsBoundsTest.cpp49 SkPathOpsBounds bounds; in DEF_TEST() local
50 bounds.setEmpty(); in DEF_TEST()
51 bounds.add(1, 2, 3, 4); in DEF_TEST()
54 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST()
55 bounds.setEmpty(); in DEF_TEST()
58 bounds.add(ordinal); in DEF_TEST()
59 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST()
60 bounds.setEmpty(); in DEF_TEST()
62 bounds.add(botRight); in DEF_TEST()
63 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST()
[all …]
/external/skqp/src/core/
DSkRecordDraw.cpp80 DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds,
168 FillBounds(const SkRect& cullRect, const SkRecord& record, SkRect bounds[]) in FillBounds() argument
171 , fBounds(bounds) { in FillBounds()
237 Bounds bounds; // Bounds of everything in the block. member
267 fBounds[fCurrentOp] = this->bounds(op); in trackBounds()
277 sb.bounds = in pushSaveBlock()
325 this->popControl(sb.bounds); in popSaveBlock()
329 this->updateSaveBounds(sb.bounds); in popSaveBlock()
332 return sb.bounds; in popSaveBlock()
342 void popControl(const Bounds& bounds) { in popControl() argument
[all …]
/external/llvm/test/Transforms/IRCE/
Dwith-parent-loops.ll8 …ner_loop: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
15 loop: ; preds = %in.bounds, %entry
16 %idx = phi i32 [ 0, %entry ], [ %idx.next, %in.bounds ]
19 br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1
21 in.bounds: ; preds = %loop
27 out.of.bounds: ; preds = %loop
30 exit: ; preds = %in.bounds, %entry
36 …rent: constrained Loop at depth 2 containing: %loop.i<header><exiting>,%in.bounds.i<latch><exiting>
49 loop.i: ; preds = %in.bounds.i, %loop
50 %idx.i = phi i32 [ 0, %loop ], [ %idx.next.i, %in.bounds.i ]
[all …]
/external/skia/src/core/
DSkRecordDraw.cpp81 DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds,
180 SkRect bounds[], SkBBoxHierarchy::Metadata meta[]) in FillBounds() argument
182 , fBounds(bounds) in FillBounds()
245 Bounds bounds; // Bounds of everything in the block. member
287 fBounds[fCurrentOp] = this->bounds(op); in trackBounds()
298 sb.bounds = in pushSaveBlock()
346 this->popControl(sb.bounds); in popSaveBlock()
350 this->updateSaveBounds(sb.bounds); in popSaveBlock()
353 return sb.bounds; in popSaveBlock()
363 void popControl(const Bounds& bounds) { in popControl() argument
[all …]
/external/python/cpython2/Mac/Demo/quicktime/
DVerySimplePlayer.py32 bounds = (175, 75, 175+160, 75+120)
33 theWindow = Win.NewCWindow(bounds, fss.as_tuple()[2], 0, 0, -1, 1, 0)
41 bounds = theMovie.GetMovieBox()
42 bounds = 0, 0, bounds[2]-bounds[0], bounds[3]-bounds[1]
43 theMovie.SetMovieBox(bounds)
46 theController = theMovie.NewMovieController(bounds, QuickTime.mcTopLeftMovie)
49 rv, bounds = theController.MCGetControllerBoundsRect()
50 theWindow.SizeWindow(bounds[2], bounds[3], 0) # XXXX or [3] [2]?

12345678910>>...82