Searched refs:destHeight (Results 1 – 6 of 6) sorted by relevance
/hardware/qcom/display/msm8994/libqdutils/ |
D | qd_utils.cpp | 96 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, in getAspectRatioPosition() argument 100 if (srcWidth * destHeight > destWidth * srcHeight) { in getAspectRatioPosition() 103 } else if (srcWidth * destHeight < destWidth * srcHeight) { in getAspectRatioPosition() 104 srcWidth = destHeight * srcWidth / srcHeight; in getAspectRatioPosition() 105 srcHeight = destHeight; in getAspectRatioPosition() 108 srcHeight = destHeight; in getAspectRatioPosition() 111 if (srcHeight > destHeight) srcHeight = destHeight; in getAspectRatioPosition() 113 y = (destHeight - srcHeight) / 2; in getAspectRatioPosition()
|
D | qd_utils.h | 59 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | qd_utils.cpp | 97 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, in getAspectRatioPosition() argument 101 if (srcWidth * destHeight > destWidth * srcHeight) { in getAspectRatioPosition() 104 } else if (srcWidth * destHeight < destWidth * srcHeight) { in getAspectRatioPosition() 105 srcWidth = destHeight * srcWidth / srcHeight; in getAspectRatioPosition() 106 srcHeight = destHeight; in getAspectRatioPosition() 109 srcHeight = destHeight; in getAspectRatioPosition() 112 if (srcHeight > destHeight) srcHeight = destHeight; in getAspectRatioPosition() 114 y = (destHeight - srcHeight) / 2; in getAspectRatioPosition()
|
D | qd_utils.h | 51 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 436 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, in getAspectRatioPosition() argument 440 if (srcWidth * destHeight > destWidth * srcHeight) { in getAspectRatioPosition() 443 } else if (srcWidth * destHeight < destWidth * srcHeight) { in getAspectRatioPosition() 444 srcWidth = destHeight * srcWidth / srcHeight; in getAspectRatioPosition() 445 srcHeight = destHeight; in getAspectRatioPosition() 448 srcHeight = destHeight; in getAspectRatioPosition() 451 if (srcHeight > destHeight) srcHeight = destHeight; in getAspectRatioPosition() 453 y = (destHeight - srcHeight) / 2; in getAspectRatioPosition()
|
D | hwc_utils.h | 281 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
|