Lines Matching refs:casterRect
391 const Rect casterRect(castingLayer.geometry.boundaries); in expectShadowColor() local
392 Region casterRegion = Region(casterRect); in expectShadowColor()
399 casterRegion.subtractSelf(cornerRect.offsetTo(casterRect.left, casterRect.top)); in expectShadowColor()
401 cornerRect.offsetTo(casterRect.right - casterCornerRadius, casterRect.top)); in expectShadowColor()
403 cornerRect.offsetTo(casterRect.left, casterRect.bottom - casterCornerRadius)); in expectShadowColor()
404 casterRegion.subtractSelf(cornerRect.offsetTo(casterRect.right - casterCornerRadius, in expectShadowColor()
405 casterRect.bottom - casterCornerRadius)); in expectShadowColor()
410 Rect(casterRect).inset(shadowInset, shadowInset, shadowInset, shadowInset); in expectShadowColor()
411 const Region shadowRegion = Region(casterWithShadow).subtractSelf(casterRect); in expectShadowColor()
432 const Rect casterRect(casterBounds); in expectShadowColorWithoutCaster() local
434 Rect(casterRect).inset(shadowInset, shadowInset, shadowInset, shadowInset); in expectShadowColorWithoutCaster()
437 Region(fullscreenRect()).subtractSelf(casterRect).subtractSelf(shadowRect); in expectShadowColorWithoutCaster()
441 expectBufferColor(casterRect, 255, 255, 255, 255, 254); in expectShadowColorWithoutCaster()