/external/drm_hwcomposer/ |
H A D | glworker.cpp | 300 float bounds[4]; member in struct:android::RenderingCommand 308 std::copy_n(region.frame.bounds, 4, cmd.bounds); 314 float display_size[2] = {display_rect.bounds[2] - display_rect.bounds[0], 315 display_rect.bounds[3] - display_rect.bounds[1]}; 324 float crop_size[2] = {crop_rect.bounds[2] - crop_rect.bounds[0], 325 crop_rect.bounds[ [all...] |
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ |
H A D | BoundSet.java | 7 import com.github.javaparser.symbolsolver.resolution.typeinference.bounds.*; 23 private List<Bound> bounds = new LinkedList<>(); field in class:BoundSet 34 return new HashSet<>(bounds).equals(new HashSet<>(boundSet.bounds)); 39 return bounds.hashCode(); 45 "bounds=" + bounds + 55 return bounds.isEmpty(); 63 if (this.bounds.contains(bound)) { 67 boundSet.bounds [all...] |
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_CROP.c | 179 ".bounds = { .left = %i, .top = %i, .width = %i, .height = %i }, " 183 cropcap.bounds.left, cropcap.bounds.top, cropcap.bounds.width, 184 cropcap.bounds.height, cropcap.defrect.left, cropcap.defrect.top, 190 crop.c = cropcap.bounds; 222 /* top + +------ cropcap.bounds -------+ ^ */ 237 CU_ASSERT(cropcap.bounds.left <= crop_new.c.left); 238 CU_ASSERT(cropcap.bounds.top <= crop_new.c.top); 241 cropcap.bounds [all...] |
/external/skqp/gm/ |
H A D | strokes.cpp | 333 static void make0(SkPath* path, const SkRect& bounds, SkString* title) { argument 334 path->addRect(bounds, SkPath::kCW_Direction); 335 path->addRect(inset(bounds), SkPath::kCW_Direction); 339 static void make1(SkPath* path, const SkRect& bounds, SkString* title) { argument 340 path->addRect(bounds, SkPath::kCW_Direction); 341 path->addRect(inset(bounds), SkPath::kCCW_Direction); 345 static void make2(SkPath* path, const SkRect& bounds, SkString* title) { argument 346 path->addOval(bounds, SkPath::kCW_Direction); 347 path->addOval(inset(bounds), SkPath::kCW_Direction); 351 static void make3(SkPath* path, const SkRect& bounds, SkStrin argument 357 make4(SkPath* path, const SkRect& bounds, SkString* title) argument 365 make5(SkPath* path, const SkRect& bounds, SkString* title) argument 401 SkRect bounds = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(50)); variable [all...] |
H A D | highcontrastfilter.cpp | 43 SkRect bounds = SkRect::MakeLTRB(0.0f, 0.0f, 1.0f, 1.0f); local 46 canvas->saveLayer(&bounds, &xferPaint); 49 bounds = SkRect::MakeLTRB(0.1f, 0.2f, 0.9f, 0.4f); 51 canvas->drawRect(bounds, paint); 57 bounds = SkRect::MakeLTRB(0.1f, 0.8f, 0.9f, 1.0f); 59 canvas->drawRect(bounds, paint); 65 bounds = SkRect::MakeLTRB(0.1f, 0.4f, 0.9f, 0.6f); 72 canvas->drawRect(bounds, paint); 74 bounds = SkRect::MakeLTRB(0.1f, 0.6f, 0.9f, 0.8f); 79 canvas->drawRect(bounds, pain [all...] |
H A D | convexpolyclip.cpp | 168 SkRect bounds; variable 169 clip->getBounds(&bounds); 170 bounds.outset(2, 2); 171 bounds.offset(x, y); 172 canvas->saveLayer(&bounds, nullptr); 191 SkRect bounds; variable 192 clip->getBounds(&bounds); 193 bounds.outset(2, 2); 194 bounds.offset(x, y); 195 canvas->saveLayer(&bounds, nullpt [all...] |
H A D | image_shader.cpp | 15 static void draw_something(SkCanvas* canvas, const SkRect& bounds) { argument 21 canvas->drawRect(bounds, paint); 24 canvas->drawOval(bounds, paint); 94 const SkRect bounds = SkRect::MakeWH(100, 100); variable 96 draw_something(recorder.beginRecording(bounds), bounds);
|
H A D | imagefiltersclipped.cpp | 119 SkRect bounds = r; variable 120 bounds.outset(margin, margin); 125 bounds.fLeft = SkIntToScalar(xOffset); 127 draw_clipped_filter(canvas, filters[i], i, r, bounds); 141 bounds.fLeft = SkIntToScalar(xOffset); 142 draw_clipped_filter(canvas, rectFilter, 0, r, bounds);
|
H A D | pictureimagefilter.cpp | 91 SkRect bounds = SkRect::MakeXYWH(0, 0, 100, 100); variable 102 fill_rect_filtered(canvas, bounds, pictureSource); 106 fill_rect_filtered(canvas, bounds, pictureSourceSrcRect); 110 fill_rect_filtered(canvas, bounds, pictureSourceEmptyRect); 118 canvas->drawRect(bounds, stroke); 126 canvas->saveLayerPreserveLCDTextRequests(&bounds, &paint);
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ios/ |
H A D | ARDMainView.m | 68 CGRect bounds = self.bounds; 69 _clearButton.frame = CGRectMake(CGRectGetMaxX(bounds) - kRoomTextButtonSize, 70 CGRectGetMinY(bounds), 74 CGRectGetMinX(bounds) + kRoomTextFieldMargin, 75 CGRectGetMinY(bounds), 76 CGRectGetMinX(_clearButton.frame) - CGRectGetMinX(bounds) - 200 CGRect bounds = self.bounds; 201 CGFloat roomTextWidth = bounds [all...] |
/external/skia/tests/ |
H A D | RecordDrawTest.cpp | 142 SkAutoTMalloc<SkRect> bounds(record.count()); 143 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, bounds); 146 REPORTER_ASSERT(r, sloppy_rect_eq(SkRect::MakeWH(400, 480), bounds[i])); 165 SkAutoTMalloc<SkRect> bounds(record.count()); 166 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, bounds); 169 // builds its bounds by overestimating font metrics in a platform-independent way. 171 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[0], SkRect::MakeLTRB(0, 0, 140, 60))); 172 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[1], SkRect::MakeLTRB(0, 20, 180, 100))); 203 // bounds for the saveLayer, clip, and restore to be greater than the bounds o [all...] |
H A D | PathOpsCubicReduceOrderTest.cpp | 44 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]); 246 SkDRect bounds = {DBL_MAX, DBL_MAX, -DBL_MAX, -DBL_MAX}; 247 find_tight_bounds(cubic, bounds); 248 if ( (!AlmostEqualUlps(reducer.fLine[0].fX, bounds [all...] |
/external/skqp/tests/ |
H A D | RecordDrawTest.cpp | 142 SkAutoTMalloc<SkRect> bounds(record.count()); 143 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, bounds); 146 REPORTER_ASSERT(r, sloppy_rect_eq(SkRect::MakeWH(400, 480), bounds[i])); 165 SkAutoTMalloc<SkRect> bounds(record.count()); 166 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, bounds); 169 // builds its bounds by overestimating font metrics in a platform-independent way. 171 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[0], SkRect::MakeLTRB(0, 0, 140, 60))); 172 REPORTER_ASSERT(r, sloppy_rect_eq(bounds[1], SkRect::MakeLTRB(0, 20, 180, 100))); 203 // bounds for the saveLayer, clip, and restore to be greater than the bounds o [all...] |
H A D | PathOpsCubicReduceOrderTest.cpp | 44 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]); 246 SkDRect bounds = {DBL_MAX, DBL_MAX, -DBL_MAX, -DBL_MAX}; 247 find_tight_bounds(cubic, bounds); 248 if ( (!AlmostEqualUlps(reducer.fLine[0].fX, bounds [all...] |
/external/skia/gm/ |
H A D | highcontrastfilter.cpp | 43 SkRect bounds = SkRect::MakeLTRB(0.0f, 0.0f, 1.0f, 1.0f); local 46 canvas->saveLayer(&bounds, &xferPaint); 49 bounds = SkRect::MakeLTRB(0.1f, 0.2f, 0.9f, 0.4f); 51 canvas->drawRect(bounds, paint); 57 bounds = SkRect::MakeLTRB(0.1f, 0.8f, 0.9f, 1.0f); 59 canvas->drawRect(bounds, paint); 65 bounds = SkRect::MakeLTRB(0.1f, 0.4f, 0.9f, 0.6f); 72 canvas->drawRect(bounds, paint); 74 bounds = SkRect::MakeLTRB(0.1f, 0.6f, 0.9f, 0.8f); 79 canvas->drawRect(bounds, pain [all...] |
H A D | convexpolyclip.cpp | 168 SkRect bounds; variable 169 clip->getBounds(&bounds); 170 bounds.outset(2, 2); 171 bounds.offset(x, y); 172 canvas->saveLayer(&bounds, nullptr); 191 SkRect bounds; variable 192 clip->getBounds(&bounds); 193 bounds.outset(2, 2); 194 bounds.offset(x, y); 195 canvas->saveLayer(&bounds, nullpt [all...] |
H A D | image_shader.cpp | 15 static void draw_something(SkCanvas* canvas, const SkRect& bounds) { argument 21 canvas->drawRect(bounds, paint); 24 canvas->drawOval(bounds, paint); 94 const SkRect bounds = SkRect::MakeWH(100, 100); variable 96 draw_something(recorder.beginRecording(bounds), bounds);
|
H A D | imagefiltersclipped.cpp | 119 SkRect bounds = r; variable 120 bounds.outset(margin, margin); 125 bounds.fLeft = SkIntToScalar(xOffset); 127 draw_clipped_filter(canvas, filters[i], i, r, bounds); 141 bounds.fLeft = SkIntToScalar(xOffset); 142 draw_clipped_filter(canvas, rectFilter, 0, r, bounds);
|
H A D | pictureimagefilter.cpp | 91 SkRect bounds = SkRect::MakeXYWH(0, 0, 100, 100); variable 102 fill_rect_filtered(canvas, bounds, pictureSource); 106 fill_rect_filtered(canvas, bounds, pictureSourceSrcRect); 110 fill_rect_filtered(canvas, bounds, pictureSourceEmptyRect); 118 canvas->drawRect(bounds, stroke); 126 canvas->saveLayerPreserveLCDTextRequests(&bounds, &paint);
|
/external/skia/src/core/ |
H A D | SkLineClipper.cpp | 79 SkRect bounds; local 81 bounds.set(src[0], src[1]); 82 if (containsNoEmptyCheck(clip, bounds)) { 90 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) || 91 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) || 92 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || 93 nestedLT(clip.fBottom, bounds [all...] |
H A D | SkPictureRecorder.cpp | 74 SkAutoTMalloc<SkRect> bounds(fRecord->count()); 75 SkRecordFillBounds(fCullRect, *fRecord, bounds); 76 fBBH->insert(bounds, fRecord->count()); 78 // Now that we've calculated content bounds, we can update fCullRect, often trimming it. 79 // TODO: get updated fCullRect from bounds instead of forcing the BBH to return it? 124 SkAutoTMalloc<SkRect> bounds(fRecord->count()); 125 SkRecordFillBounds(fCullRect, *fRecord, bounds); 126 fBBH->insert(bounds, fRecord->count());
|
/external/skqp/src/core/ |
H A D | SkLineClipper.cpp | 79 SkRect bounds; local 81 bounds.set(src[0], src[1]); 82 if (containsNoEmptyCheck(clip, bounds)) { 90 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) || 91 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) || 92 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || 93 nestedLT(clip.fBottom, bounds [all...] |
H A D | SkPictureRecorder.cpp | 74 SkAutoTMalloc<SkRect> bounds(fRecord->count()); 75 SkRecordFillBounds(fCullRect, *fRecord, bounds); 76 fBBH->insert(bounds, fRecord->count()); 78 // Now that we've calculated content bounds, we can update fCullRect, often trimming it. 79 // TODO: get updated fCullRect from bounds instead of forcing the BBH to return it? 124 SkAutoTMalloc<SkRect> bounds(fRecord->count()); 125 SkRecordFillBounds(fCullRect, *fRecord, bounds); 126 fBBH->insert(bounds, fRecord->count());
|
/external/skia/src/effects/ |
H A D | SkXfermodeImageFilter.cpp | 53 const SkIRect& bounds, 139 SkIRect bounds; local 140 if (!this->applyCropRect(ctx, srcBounds, &bounds)) { 144 offset->fX = bounds.left(); 145 offset->fY = bounds.top(); 152 bounds, ctx.outputProperties()); 156 sk_sp<SkSpecialSurface> surf(source->makeSurface(ctx.outputProperties(), bounds.size())); 165 canvas->translate(SkIntToScalar(-bounds.left()), SkIntToScalar(-bounds.top())); 277 const SkIRect& bounds, 271 filterImageGPU( SkSpecialImage* source, sk_sp<SkSpecialImage> background, const SkIPoint& backgroundOffset, sk_sp<SkSpecialImage> foreground, const SkIPoint& foregroundOffset, const SkIRect& bounds, const OutputProperties& outputProperties) const argument [all...] |
/external/skqp/src/effects/ |
H A D | SkXfermodeImageFilter.cpp | 53 const SkIRect& bounds, 139 SkIRect bounds; local 140 if (!this->applyCropRect(ctx, srcBounds, &bounds)) { 144 offset->fX = bounds.left(); 145 offset->fY = bounds.top(); 152 bounds, ctx.outputProperties()); 156 sk_sp<SkSpecialSurface> surf(source->makeSurface(ctx.outputProperties(), bounds.size())); 165 canvas->translate(SkIntToScalar(-bounds.left()), SkIntToScalar(-bounds.top())); 277 const SkIRect& bounds, 271 filterImageGPU( SkSpecialImage* source, sk_sp<SkSpecialImage> background, const SkIPoint& backgroundOffset, sk_sp<SkSpecialImage> foreground, const SkIPoint& foregroundOffset, const SkIRect& bounds, const OutputProperties& outputProperties) const argument [all...] |