Lines Matching refs:sourceCrop
3703 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
3743 Rect sourceCrop;
3754 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
3760 sourceCrop(sourceCrop), reqWidth(reqWidth), reqHeight(reqHeight),
3774 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ,
3790 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ,
3803 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
3816 // if a default or invalid sourceCrop is passed in, set reasonable values
3817 if (sourceCrop.width() == 0 || sourceCrop.height() == 0 ||
3818 !sourceCrop.isValid()) {
3819 sourceCrop.setLeftTop(Point(0, 0));
3820 sourceCrop.setRightBottom(Point(hw_w, hw_h));
3823 // ensure that sourceCrop is inside screen
3824 if (sourceCrop.left < 0) {
3825 ALOGE("Invalid crop rect: l = %d (< 0)", sourceCrop.left);
3827 if (sourceCrop.right > hw_w) {
3828 ALOGE("Invalid crop rect: r = %d (> %d)", sourceCrop.right, hw_w);
3830 if (sourceCrop.top < 0) {
3831 ALOGE("Invalid crop rect: t = %d (< 0)", sourceCrop.top);
3833 if (sourceCrop.bottom > hw_h) {
3834 ALOGE("Invalid crop rect: b = %d (> %d)", sourceCrop.bottom, hw_h);
3842 reqWidth, reqHeight, sourceCrop, hw_h, yswap, rotation);
3877 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
3957 hw, sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ, true,