Home | History | Annotate | Download | only in hwc

Lines Matching refs:sourceCrop

45  *        sourceCrop: [left, top, right, bottom]
55 * sourceDim: [50, 60] sourceCrop: [5, 8, 12, 15]
148 sourceCrop(defaultSourceCrop),
157 struct hwc_rect sourceCrop;
321 layer->sourceCrop = it->sourceCrop;
390 // Set default sourceDim and sourceCrop based on size of display frame.
397 rect.sourceCrop.left = 0;
398 rect.sourceCrop.top = 0;
399 rect.sourceCrop.right = rect.sourceDim.width();
400 rect.sourceCrop.bottom = rect.sourceDim.height();
472 } else if (attrName == "sourceCrop:") { // Source Crop
473 rect.sourceCrop = hwcTestParseHwcRect(in, error);
487 if (((uint32_t) rect.sourceCrop.left >= rect.sourceDim.width())
488 || ((uint32_t) rect.sourceCrop.right > rect.sourceDim.width())
489 || ((uint32_t) rect.sourceCrop.top >= rect.sourceDim.height())
490 || ((uint32_t) rect.sourceCrop.bottom > rect.sourceDim.height())) {
564 testPrintE(" sourceCrop: [left, top, right, bottom]");
574 testPrintE(" sourceDim: [50, 60] sourceCrop: [5, 8, 12, 15]");