Searched refs:bottomCutRatio (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 477 float& rightCutRatio, float& bottomCutRatio, int orient) { in calc_cut() argument 482 swap(topCutRatio, bottomCutRatio); in calc_cut() 489 rightCutRatio = bottomCutRatio; in calc_cut() 490 bottomCutRatio = tmpCutRatio; in calc_cut() 577 bottomCutRatio = 0.0f; in calculate_crop_rects() local 595 bottomCutRatio = (float)(dst_b - sci_b) / (float)dst_h; in calculate_crop_rects() 599 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects() 603 crop_b -= crop_h * bottomCutRatio; in calculate_crop_rects()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 955 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument 960 swap(topCutRatio, bottomCutRatio); in calc_cut() 967 rightCutRatio = bottomCutRatio; in calc_cut() 968 bottomCutRatio = tmpCutRatio; in calc_cut() 1067 bottomCutRatio = 0.0; in calculate_crop_rects() local 1085 bottomCutRatio = (double)(dst_b - sci_b) / (double)dst_h; in calculate_crop_rects() 1089 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects() 1093 crop_b -= (int)round((double)crop_h * bottomCutRatio); in calculate_crop_rects()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 915 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument 920 swap(topCutRatio, bottomCutRatio); in calc_cut() 927 rightCutRatio = bottomCutRatio; in calc_cut() 928 bottomCutRatio = tmpCutRatio; in calc_cut() 1054 bottomCutRatio = 0.0; in calculate_crop_rects() local 1072 bottomCutRatio = (double)(dst_b - sci_b) / (double)dst_h; in calculate_crop_rects() 1076 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects() 1080 crop_b -= (int)round((double)crop_h * bottomCutRatio); in calculate_crop_rects()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 1130 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument 1135 swap(topCutRatio, bottomCutRatio); in calc_cut() 1142 rightCutRatio = bottomCutRatio; in calc_cut() 1143 bottomCutRatio = tmpCutRatio; in calc_cut() 1272 bottomCutRatio = 0.0; in calculate_crop_rects() local 1290 bottomCutRatio = (double)(dst_b - sci_b) / (double)dst_h; in calculate_crop_rects() 1294 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects() 1298 crop_b -= (int)round((double)crop_h * bottomCutRatio); in calculate_crop_rects()
|