Home
last modified time | relevance | path

Searched refs:extH (Results 1 – 6 of 6) 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()
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 …]
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()
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 …]
Dvirtual.h55 void initResolution(uint32_t &extW, uint32_t &extH);
57 uint32_t &extW, uint32_t &extH);
/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()
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/
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()
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()