Searched refs:extW (Results 1 – 6 of 6) 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/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()
|