Searched refs:extH (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() 110 extH = mVInfo.yres; in initResolution() 123 uint32_t &extH) { in setToPrimary() argument 131 extH = priH; in setToPrimary() 136 extH = priW; in setToPrimary() 164 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; 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() 110 extH = mVInfo.yres; in initResolution() 123 uint32_t &extH) { in setToPrimary() argument 146 getAspectRatioPosition(tmpW, tmpH, extW, extH, r); in setToPrimary() 148 extH = r.bottom - r.top; in setToPrimary() 175 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; 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() 704 extH = ctx->mHWCVirtual->getScalingHeight(); in getAspectRatioPosition() 707 __FUNCTION__, extW, extH); in getAspectRatioPosition() 718 outPos.y = uint32_t(yRatio * (float)extH); in getAspectRatioPosition() 720 outPos.h = uint32_t(hRatio * (float)extH); in getAspectRatioPosition() 780 uint32_t extW = 0, extH = 0; in calcExtDisplayPosition() local 787 ctx->mHDMIDisplay->getAttributes(extW, extH); in calcExtDisplayPosition() 790 extH = ctx->mHWCVirtual->getScalingHeight(); 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() 565 outPos.y = uint32_t(yRatio * (float)extH); in getAspectRatioPosition() 567 outPos.h = uint32_t(hRatio * (float)extH); 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() 639 float hRatio = ((float)extH)/fbHeight; 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() 552 outPos.y = uint32_t(yRatio * (float)extH); in getAspectRatioPosition() 554 outPos.h = uint32_t(hRatio * (float)extH); 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() 626 float hRatio = ((float)extH)/fbHeight; in calcExtDisplayPosition()
|