Searched refs:MakeSize (Results 1 – 25 of 29) sorted by relevance
12
84 DesktopRect target_rect = DesktopRect::MakeSize(cursor.image()->size()); in DesktopFrameWithCursor()87 target_rect.IntersectWith(DesktopRect::MakeSize(size())); in DesktopFrameWithCursor()96 DesktopRect::MakeSize(restore_frame_->size())); in DesktopFrameWithCursor()114 DesktopRect target_rect = DesktopRect::MakeSize(restore_frame_->size()); in ~DesktopFrameWithCursor()
41 invalid_region_.AddRect(DesktopRect::MakeSize(size)); in InvalidateScreen()58 invalid_region->IntersectWith(DesktopRect::MakeSize(size_most_recent_)); in TakeInvalidRegion()
33 assert(DesktopRect::MakeSize(size()).ContainsRect(dest_rect)); in CopyPixelsFrom()46 assert(DesktopRect::MakeSize(src_frame.size()).ContainsRect( in CopyPixelsFrom()
28 if (!DesktopRect::MakeSize(frame->size()).ContainsRect(rect)) { in CreateCroppedDesktopFrame()
348 DesktopRect::MakeSize(x_server_pixel_buffer_.window_size())); in CaptureScreen()357 DesktopRect screen_rect = DesktopRect::MakeSize(frame->size()); in CaptureScreen()
302 x_server_pixel_buffer_.CaptureRect(DesktopRect::MakeSize(frame->size()), in Capture()306 DesktopRect::MakeSize(frame->size())); in Capture()
98 EXPECT_TRUE(it.rect().equals(DesktopRect::MakeSize(frame->size()))); in TEST_F()
80 static DesktopRect MakeSize(const DesktopSize& size) { in MakeSize() function
241 DesktopRect::MakeSize(frame->size())); in Capture()
226 DesktopRect::MakeSize(frame->size()));
504 DesktopRect clip_rect = DesktopRect::MakeSize(frame.size());763 DesktopRect::MakeSize(excluded_window_bounds.size()));
39 rec.beginRecording(SkRect::MakeSize(SkSize::Make(src->size())), in draw()
54 SkIRect bounds() const { return SkIRect::MakeSize(this->dimensions()); } in bounds()
69 SkCanvas* c = fPictureRecorder.beginRecording(SkRect::MakeSize(bigsize)); in onClose()
57 SkRect bounds = SkRect::MakeSize((*fSizes)[i]); in nextCanvas()
19 const SkIRect canvasBounds = SkIRect::MakeSize(canvas->getBaseLayerSize()); in pushCanvas()
66 this->resetForNextPicture(SkIRect::MakeSize(canvas->getBaseLayerSize())); in reset()
65 SkIRect subset = SkIRect::MakeSize(fImage->dimensions()); in onDraw()
281 SkIRect size = SkIRect::MakeSize(info.dimensions()); in startIncrementalDecode()334 SkIRect size = SkIRect::MakeSize(info.dimensions()); in startScanlineDecode()
272 if (SkIRect::MakeSize(fInfo.dimensions()) == *options->fSubset) { in getAndroidPixels()
31 return SkIRect::MakeSize(imageDims).contains(subset); in is_valid_subset()
181 SkIRect dimensions = SkIRect::MakeSize(this->getInfo().dimensions()); in onGetValidSubset()
41 static SkIRect SK_WARN_UNUSED_RESULT MakeSize(const SkISize& size) { in MakeSize() function415 static SkRect SK_WARN_UNUSED_RESULT MakeSize(const SkSize& size) { in MakeSize() function
385 SkIRect canvasRect = SkIRect::MakeSize(canvas.getBaseLayerSize()); in test_write_pixels()
34 : SkNoDrawCanvas(SkIRect::MakeSize(target->getBaseLayerSize())) in SkColorSpaceXformCanvas()