Home
last modified time | relevance | path

Searched refs:extW (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/display/msm8084/libvirtual/
Dvirtual.cpp106 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 …]
Dvirtual.h55 void initResolution(uint32_t &extW, uint32_t &extH);
57 uint32_t &extW, uint32_t &extH);
/hardware/qcom/display/msm8226/libvirtual/
Dvirtual.cpp106 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 …]
Dvirtual.h55 void initResolution(uint32_t &extW, uint32_t &extH);
57 uint32_t &extW, uint32_t &extH);
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.cpp766 uint32_t extW = 0, extH = 0; in getAspectRatioPosition() local
768 ctx->mHDMIDisplay->getAttributes(extW, extH); in getAspectRatioPosition()
770 extW = ctx->mHWCVirtual->getScalingWidth(); in getAspectRatioPosition()
774 __FUNCTION__, extW, extH); in getAspectRatioPosition()
784 outPos.x = uint32_t(xRatio * (float)extW); in getAspectRatioPosition()
786 outPos.w = uint32_t(wRatio * (float)extW); in getAspectRatioPosition()
847 uint32_t extW = 0, extH = 0; in calcExtDisplayPosition() local
854 ctx->mHDMIDisplay->getAttributes(extW, extH); in calcExtDisplayPosition()
856 extW = ctx->mHWCVirtual->getScalingWidth(); in calcExtDisplayPosition()
860 __FUNCTION__, extW, extH); in calcExtDisplayPosition()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp699 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/
Dhwc_utils.cpp551 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/
Dhwc_utils.cpp538 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()