Searched refs:deviceRestriction (Results 1 – 2 of 2) sorted by relevance
43 void emulateDeviceRestriction(SkCanvas* canvas, const SkIRect& deviceRestriction) { in emulateDeviceRestriction() argument46 canvas->androidFramework_setDeviceClipRestriction(deviceRestriction); in emulateDeviceRestriction()
1487 SkIRect deviceRestriction = this->topDevice()->imageInfo().bounds(); in onResetClip() local1492 if (!deviceRestriction.intersect(fClipRestrictionRect)) { in onResetClip()1493 deviceRestriction = SkIRect::MakeEmpty(); in onResetClip()1498 this->topDevice()->replaceClip(deviceRestriction); in onResetClip()