Searched refs:extW (Results 1 – 7 of 7) sorted by relevance
/hardware/qcom/display/msm8084/libvirtual/ |
D | virtual.cpp | 106 void VirtualDisplay::initResolution(uint32_t &extW, uint32_t &extH) { in initResolution() argument 108 if(extW == 0 || extH == 0){ in initResolution() 109 extW = mVInfo.xres; in initResolution() 122 uint32_t &extW, in setToPrimary() argument 130 extW = priW; in setToPrimary() 135 extW = priH; in setToPrimary() 163 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() local 168 initResolution(extW, extH); in setAttributes() 173 bool isDRC = (extW > 0) && (extH > 0); in setAttributes() 180 uint32_t maxArea = max((extW * extH), (priW * priH)); in setAttributes() [all …]
|
D | virtual.h | 55 void initResolution(uint32_t &extW, uint32_t &extH); 57 uint32_t &extW, uint32_t &extH);
|
/hardware/qcom/display/msm8226/libvirtual/ |
D | virtual.cpp | 106 void VirtualDisplay::initResolution(uint32_t &extW, uint32_t &extH) { in initResolution() argument 108 if(extW == 0 || extH == 0){ in initResolution() 109 extW = mVInfo.xres; in initResolution() 122 uint32_t &extW, in setToPrimary() argument 146 getAspectRatioPosition(tmpW, tmpH, extW, extH, r); in setToPrimary() 147 extW = r.right - r.left; in setToPrimary() 174 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() local 182 bool isDRC = (extW > mVInfo.xres) && (extH > mVInfo.yres); in setAttributes() 184 initResolution(extW, extH); in setAttributes() 191 uint32_t maxArea = max((extW * extH), (priW * priH)); in setAttributes() [all …]
|
D | virtual.h | 55 void initResolution(uint32_t &extW, uint32_t &extH); 57 uint32_t &extW, uint32_t &extH);
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 699 uint32_t extW = 0, extH = 0; in getAspectRatioPosition() local 701 ctx->mHDMIDisplay->getAttributes(extW, extH); in getAspectRatioPosition() 703 extW = ctx->mHWCVirtual->getScalingWidth(); in getAspectRatioPosition() 707 __FUNCTION__, extW, extH); in getAspectRatioPosition() 717 outPos.x = uint32_t(xRatio * (float)extW); in getAspectRatioPosition() 719 outPos.w = uint32_t(wRatio * (float)extW); in getAspectRatioPosition() 780 uint32_t extW = 0, extH = 0; in calcExtDisplayPosition() local 787 ctx->mHDMIDisplay->getAttributes(extW, extH); in calcExtDisplayPosition() 789 extW = ctx->mHWCVirtual->getScalingWidth(); in calcExtDisplayPosition() 793 __FUNCTION__, extW, extH); in calcExtDisplayPosition() [all …]
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 551 int extW, extH; in getAspectRatioPosition() local 553 ctx->mExtDisplay->getAttributes(extW, extH); in getAspectRatioPosition() 555 ctx->mVirtualDisplay->getAttributes(extW, extH); in getAspectRatioPosition() 564 outPos.x = uint32_t(xRatio * (float)extW); in getAspectRatioPosition() 566 outPos.w = uint32_t(wRatio * (float)extW); in getAspectRatioPosition() 627 int extW, extH; in calcExtDisplayPosition() local 634 ctx->mExtDisplay->getAttributes(extW, extH); in calcExtDisplayPosition() 636 ctx->mVirtualDisplay->getAttributes(extW, extH); in calcExtDisplayPosition() 638 float wRatio = ((float)extW)/fbWidth; in calcExtDisplayPosition()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 538 int extW, extH; in getAspectRatioPosition() local 540 ctx->mExtDisplay->getAttributes(extW, extH); in getAspectRatioPosition() 542 ctx->mVirtualDisplay->getAttributes(extW, extH); in getAspectRatioPosition() 551 outPos.x = uint32_t(xRatio * (float)extW); in getAspectRatioPosition() 553 outPos.w = uint32_t(wRatio * (float)extW); in getAspectRatioPosition() 614 int extW, extH; in calcExtDisplayPosition() local 621 ctx->mExtDisplay->getAttributes(extW, extH); in calcExtDisplayPosition() 623 ctx->mVirtualDisplay->getAttributes(extW, extH); in calcExtDisplayPosition() 625 float wRatio = ((float)extW)/fbWidth; in calcExtDisplayPosition()
|