Home
last modified time | relevance | path

Searched refs:in_rect (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/display/msm8909/sdm/libs/utils/
Drect.cpp147 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, in SplitLeftRight() argument
149 LayerRect rect_temp = in_rect; in SplitLeftRight()
177 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y, in SplitTopBottom() argument
179 LayerRect rect_temp = in_rect; in SplitTopBottom()
207 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in MapRect() argument
209 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in MapRect()
216 LayerRect modified_in_rect = Reposition(in_rect, -x_offset, -y_offset); in MapRect()
231 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect, in TransformHV() argument
233 if (!IsValid(src_domain) || !IsValid(in_rect)) { in TransformHV()
237 float in_width = in_rect.right - in_rect.left; in TransformHV()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp142 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, in SplitLeftRight() argument
144 LayerRect rect_temp = in_rect; in SplitLeftRight()
172 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y, in SplitTopBottom() argument
174 LayerRect rect_temp = in_rect; in SplitTopBottom()
202 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in MapRect() argument
204 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in MapRect()
211 LayerRect modified_in_rect = Reposition(in_rect, -x_offset, -y_offset); in MapRect()
226 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect, in TransformHV() argument
228 if (!IsValid(src_domain) || !IsValid(in_rect)) { in TransformHV()
232 float in_width = in_rect.right - in_rect.left; in TransformHV()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Drect.cpp142 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, in SplitLeftRight() argument
144 LayerRect rect_temp = in_rect; in SplitLeftRight()
172 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y, in SplitTopBottom() argument
174 LayerRect rect_temp = in_rect; in SplitTopBottom()
202 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in MapRect() argument
204 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in MapRect()
211 LayerRect modified_in_rect = Reposition(in_rect, -x_offset, -y_offset); in MapRect()
226 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect, in TransformHV() argument
228 if (!IsValid(src_domain) || !IsValid(in_rect)) { in TransformHV()
232 float in_width = in_rect.right - in_rect.left; in TransformHV()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/utils/
Drect.cpp147 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, in SplitLeftRight() argument
149 LayerRect rect_temp = in_rect; in SplitLeftRight()
177 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y, in SplitTopBottom() argument
179 LayerRect rect_temp = in_rect; in SplitTopBottom()
207 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in MapRect() argument
209 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in MapRect()
216 LayerRect modified_in_rect = Reposition(in_rect, -x_offset, -y_offset); in MapRect()
231 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect, in TransformHV() argument
233 if (!IsValid(src_domain) || !IsValid(in_rect)) { in TransformHV()
237 float in_width = in_rect.right - in_rect.left; in TransformHV()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp142 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, in SplitLeftRight() argument
144 LayerRect rect_temp = in_rect; in SplitLeftRight()
172 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y, in SplitTopBottom() argument
174 LayerRect rect_temp = in_rect; in SplitTopBottom()
202 void ScaleRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in ScaleRect() argument
204 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in ScaleRect()
216 out_rect->left = width_ratio * in_rect.left; in ScaleRect()
217 out_rect->top = height_ratio * in_rect.top; in ScaleRect()
218 out_rect->right = width_ratio * in_rect.right; in ScaleRect()
219 out_rect->bottom = height_ratio * in_rect.bottom; in ScaleRect()
[all …]
/hardware/qcom/display/msm8998/sdm/include/utils/
Drect.h54 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x,
56 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y,
58 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
60 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect,
62 RectOrientation GetOrientation(const LayerRect &in_rect);
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Drect.h54 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x,
56 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y,
58 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
60 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect,
62 RectOrientation GetOrientation(const LayerRect &in_rect);
/hardware/qcom/display/msm8909/sdm/include/utils/
Drect.h55 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x,
57 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y,
59 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
61 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect,
63 RectOrientation GetOrientation(const LayerRect &in_rect);
/hardware/qcom/sdm845/display/sdm/include/utils/
Drect.h55 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x,
57 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y,
59 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
61 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect,
63 RectOrientation GetOrientation(const LayerRect &in_rect);
/hardware/qcom/display/msm8996/sdm/include/utils/
Drect.h54 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x,
56 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y,
58 void ScaleRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
60 RectOrientation GetOrientation(const LayerRect &in_rect);