Searched refs:round (Results 1 - 11 of 11) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
H A Dmlmath.h22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
58 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
H A Dmlmath.h22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
58 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/
H A DPrimaryDevice.impl.h297 static_cast<int>(std::round(volume * 15)));
/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayUtils.cpp203 // round(x) will round it to nearest integer and avoids above issue.
204 uint32_t dscale = round(fDscale);
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_utils.cpp943 //to have a padding round to be able to shift pipes across mixers.
1090 crop_l += (int)round((double)crop_w * leftCutRatio);
1091 crop_t += (int)round((double)crop_h * topCutRatio);
1092 crop_r -= (int)round((double)crop_w * rightCutRatio);
1093 crop_b -= (int)round((double)crop_h * bottomCutRatio);
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_utils.cpp903 //to have a padding round to be able to shift pipes across mixers.
1077 crop_l += (int)round((double)crop_w * leftCutRatio);
1078 crop_t += (int)round((double)crop_h * topCutRatio);
1079 crop_r -= (int)round((double)crop_w * rightCutRatio);
1080 crop_b -= (int)round((double)crop_h * bottomCutRatio);
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
H A Dhwc_layers.cpp303 uint8_t plane_alpha = static_cast<uint8_t>(std::round(255.0f * alpha));
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
H A Dhwc_layers.cpp212 uint8_t plane_alpha = static_cast<uint8_t>(std::round(255.0f * alpha));
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
H A Dhwc_layers.cpp408 uint8_t plane_alpha = static_cast<uint8_t>(std::round(255.0f * alpha));
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
H A Dhwc_layers.cpp403 uint8_t plane_alpha = static_cast<uint8_t>(std::round(255.0f * alpha));
/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_utils.cpp1115 //to have a padding round to be able to shift pipes across mixers.
1295 crop_l += (int)round((double)crop_w * leftCutRatio);
1296 crop_t += (int)round((double)crop_h * topCutRatio);
1297 crop_r -= (int)round((double)crop_w * rightCutRatio);
1298 crop_b -= (int)round((double)crop_h * bottomCutRatio);

Completed in 565 milliseconds