Lines Matching refs:crop
95 mCurrentState.active.crop.makeInvalid(); in Layer()
254 Rect crop; in getContentCrop() local
257 crop = mCurrentCrop; in getContentCrop()
260 crop = mActiveBuffer->getBounds(); in getContentCrop()
263 crop.makeInvalid(); in getContentCrop()
265 return crop; in getContentCrop()
275 if (!s.active.crop.isEmpty()) { in computeBounds()
276 win.intersect(s.active.crop, &win); in computeBounds()
292 Rect crop(getContentCrop()); in computeCrop() local
304 Rect activeCrop(s.transform.transform(s.active.crop)); in computeCrop()
330 float xScale = float(crop.width()) / float(winWidth); in computeCrop()
331 float yScale = float(crop.height()) / float(winHeight); in computeCrop()
338 crop.left += insetL; in computeCrop()
339 crop.top += insetT; in computeCrop()
340 crop.right -= insetR; in computeCrop()
341 crop.bottom -= insetB; in computeCrop()
343 return crop; in computeCrop()
665 if (!s.active.crop.isEmpty()) { in computeGeometry()
666 win.intersect(s.active.crop, &win); in computeGeometry()
750 temp.active.crop.left, in doTransaction()
751 temp.active.crop.top, in doTransaction()
752 temp.active.crop.right, in doTransaction()
753 temp.active.crop.bottom, in doTransaction()
754 temp.active.crop.getWidth(), in doTransaction()
755 temp.active.crop.getHeight(), in doTransaction()
757 temp.requested.crop.left, in doTransaction()
758 temp.requested.crop.top, in doTransaction()
759 temp.requested.crop.right, in doTransaction()
760 temp.requested.crop.bottom, in doTransaction()
761 temp.requested.crop.getWidth(), in doTransaction()
762 temp.requested.crop.getHeight(), in doTransaction()
764 front.active.crop.left, in doTransaction()
765 front.active.crop.top, in doTransaction()
766 front.active.crop.right, in doTransaction()
767 front.active.crop.bottom, in doTransaction()
768 front.active.crop.getWidth(), in doTransaction()
769 front.active.crop.getHeight(), in doTransaction()
771 front.requested.crop.left, in doTransaction()
772 front.requested.crop.top, in doTransaction()
773 front.requested.crop.right, in doTransaction()
774 front.requested.crop.bottom, in doTransaction()
775 front.requested.crop.getWidth(), in doTransaction()
776 front.requested.crop.getHeight()); in doTransaction()
897 bool Layer::setCrop(const Rect& crop) { in setCrop() argument
898 if (mCurrentState.requested.crop == crop) in setCrop()
901 mCurrentState.requested.crop = crop; in setCrop()
1040 front.active.crop.left, in latchBuffer()
1041 front.active.crop.top, in latchBuffer()
1042 front.active.crop.right, in latchBuffer()
1043 front.active.crop.bottom, in latchBuffer()
1044 front.active.crop.getWidth(), in latchBuffer()
1045 front.active.crop.getHeight(), in latchBuffer()
1047 front.requested.crop.left, in latchBuffer()
1048 front.requested.crop.top, in latchBuffer()
1049 front.requested.crop.right, in latchBuffer()
1050 front.requested.crop.bottom, in latchBuffer()
1051 front.requested.crop.getWidth(), in latchBuffer()
1052 front.requested.crop.getHeight()); in latchBuffer()
1111 Rect crop(mSurfaceFlingerConsumer->getCurrentCrop()); in latchBuffer() local
1114 if ((crop != mCurrentCrop) || in latchBuffer()
1118 mCurrentCrop = crop; in latchBuffer()
1201 s.active.crop.left, s.active.crop.top, in dump()
1202 s.active.crop.right, s.active.crop.bottom, in dump()