Home
last modified time | relevance | path

Searched full:right (Results 1 – 25 of 984) sorted by relevance

12345678910>>...40

/hardware/qcom/sm8150/display/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
46 (rect1.right == rect2.right) && in IsCongruent()
51 DLOGI_IF(debug_tag, "%s: left = %.0f, top = %.0f, right = %.0f, bottom = %.0f", in LogI()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
56 DLOGV_IF(debug_tag, "%s: left = %.0f, top = %.0f, right = %.0f, bottom = %.0f", in Log()
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
62 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize()
76 res.right = std::min(rect1.right, rect2.right); in Intersection()
95 res.right = rect.right + FLOAT(x_offset); in Reposition()
107 rect1.left <= rect2.left && rect1.right >= rect2.right); in Contains()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
46 (rect1.right == rect2.right) && in IsCongruent()
51 DLOGI_IF(debug_tag, "%s: left = %.0f, top = %.0f, right = %.0f, bottom = %.0f", in LogI()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
56 DLOGV_IF(debug_tag, "%s: left = %.0f, top = %.0f, right = %.0f, bottom = %.0f", in Log()
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
62 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize()
76 res.right = std::min(rect1.right, rect2.right); in Intersection()
95 res.right = rect.right + FLOAT(x_offset); in Reposition()
107 if ((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in Subtract()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
46 (rect1.right == rect2.right) && in IsCongruent()
51 DLOGV_IF(debug_tag, "%s: left = %.0f, top = %.0f, right = %.0f, bottom = %.0f", in Log()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
57 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize()
71 res.right = std::min(rect1.right, rect2.right); in Intersection()
90 res.right = rect.right + FLOAT(x_offset); in Reposition()
102 if ((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in Subtract()
109 if ((rect1.left == rect2.left) && (rect2.right <= rect1.right)) { in Subtract()
110 res.left = rect2.right; in Subtract()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
46 (rect1.right == rect2.right) && in IsCongruent()
51 DLOGV_IF(debug_tag, "%s: left = %.0f, top = %.0f, right = %.0f, bottom = %.0f", in Log()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
57 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize()
71 res.right = std::min(rect1.right, rect2.right); in Intersection()
90 res.right = rect.right + FLOAT(x_offset); in Reposition()
102 if ((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in Subtract()
109 if ((rect1.left == rect2.left) && (rect2.right <= rect1.right)) { in Subtract()
110 res.left = rect2.right; in Subtract()
[all …]
/hardware/qcom/sm7250/display/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
46 (rect1.right == rect2.right) && in IsCongruent()
51 DLOGI_IF(debug_tag, "%s: left = %.0f, top = %.0f, right = %.0f, bottom = %.0f", in LogI()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
56 DLOGV_IF(debug_tag, "%s: left = %.0f, top = %.0f, right = %.0f, bottom = %.0f", in Log()
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
62 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize()
76 res.right = std::min(rect1.right, rect2.right); in Intersection()
95 res.right = rect.right + FLOAT(x_offset); in Reposition()
107 rect1.left <= rect2.left && rect1.right >= rect2.right); in Contains()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
46 (rect1.right == rect2.right) && in IsCongruent()
51 DLOGV_IF(debug_tag, "%s: left = %.0f, top = %.0f, right = %.0f, bottom = %.0f", in Log()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
57 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize()
71 res.right = std::min(rect1.right, rect2.right); in Intersection()
90 res.right = rect.right + FLOAT(x_offset); in Reposition()
102 if ((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in Subtract()
109 if ((rect1.left == rect2.left) && (rect2.right <= rect1.right)) { in Subtract()
110 res.left = rect2.right; in Subtract()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Drb_tree.c90 while (node->right) in rb_node_maximum()
91 node = node->right; in rb_node_maximum()
113 assert(u == p->right); in rb_tree_splice()
114 p->right = v; in rb_tree_splice()
123 assert(x && x->right); in rb_tree_rotate_left()
125 struct rb_node *y = x->right; in rb_tree_rotate_left()
126 x->right = y->left; in rb_tree_rotate_left()
140 y->left = x->right; in rb_tree_rotate_right()
141 if (x->right) in rb_tree_rotate_right()
142 rb_node_set_parent(x->right, y); in rb_tree_rotate_right()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/
DVehiclePropConfig.aidl52 * Suppose we have a property with two areaIds which we will call "LEFT" and "RIGHT". Here
55 * 1. LEFT is READ and RIGHT is READ_WRITE. VehiclePropConfig.access must be READ as that is
57 * 2. LEFT is READ_WRITE and RIGHT is READ_WRITE. VehiclePropConfig.access must be READ_WRITE
59 * 3. LEFT is WRITE and RIGHT is WRITE. VehiclePropConfig.access must be WRITE as that is the
61 * 4. LEFT is READ_WRITE and RIGHT is not set (i.e. defaults to NONE)/is set to NONE, with the
62 * expectation that RIGHT should be populated with the default access mode of the property.
65 * 5. LEFT is READ and RIGHT is not set (i.e. defaults to NONE)/is set to NONE, with the
66 * expectation that RIGHT should be populated with the default access mode of the property.
69 * If the OEM wants RIGHT to be READ_WRITE in this scenario, the config should be rewritten
70 * such that LEFT is not set/is set to NONE and RIGHT is set to READ_WRITE with
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp252 //Right now hwc starts the service but anybody could do it, or it could be in initContext()
374 int w = rect.right - rect.left; in getActionSafePosition()
429 rect.right = w + rect.left; in getActionSafePosition()
459 rect.right = srcWidth + rect.left; in getAspectRatioPosition()
485 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
487 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
502 width = float(rect.right - rect.left); in getAspectRatioPosition()
572 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition()
622 displayFrame.right = dstWidth; in calcExtDisplayPosition()
644 displayFrame.right = int(wRatio*(float)displayFrame.right); in calcExtDisplayPosition()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp238 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].right = in initContext()
272 //Right now hwc starts the service but anybody could do it, or it could be in initContext()
389 int w = rect.right - rect.left; in getActionSafePosition()
444 rect.right = w + rect.left; in getActionSafePosition()
472 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
474 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
489 width = float(rect.right - rect.left); in getAspectRatioPosition()
559 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition()
609 displayFrame.right = dstWidth; in calcExtDisplayPosition()
631 displayFrame.right = int(wRatio*(float)displayFrame.right); in calcExtDisplayPosition()
[all …]
/hardware/qcom/gps/msm8909w_3100/core/
DLocAdapterBase.h44 inline bool operator <(LocationSessionKey const& left, LocationSessionKey const& right) {
45 return left.id < right.id || (left.id == right.id && left.client < right.client);
47 inline bool operator ==(LocationSessionKey const& left, LocationSessionKey const& right) {
48 return left.id == right.id && left.client == right.client;
50 inline bool operator !=(LocationSessionKey const& left, LocationSessionKey const& right) {
51 return left.id != right.id || left.client != right.client;
/hardware/qcom/gps/msm8998/core/
DLocAdapterBase.h44 inline bool operator <(LocationSessionKey const& left, LocationSessionKey const& right) {
45 return left.id < right.id || (left.id == right.id && left.client < right.client);
47 inline bool operator ==(LocationSessionKey const& left, LocationSessionKey const& right) {
48 return left.id == right.id && left.client == right.client;
50 inline bool operator !=(LocationSessionKey const& left, LocationSessionKey const& right) {
51 return left.id != right.id || left.client != right.client;
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DFormatConversions.h33 int left, int top, int right, int bottom);
35 int left, int top, int right, int bottom);
37 int left, int top, int right, int bottom);
39 int left, int top, int right, int bottom);
41 int left, int top, int right, int bottom);
43 int left, int top, int right, int bottom);
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp138 ctx->mViewFrame[dpy].right = ctx->dpyAttr[dpy].xres; in updateDisplayInfo()
342 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].right = in initContext()
368 //Right now hwc starts the service but anybody could do it, or it could be in initContext()
550 int w = rect.right - rect.left; in getActionSafePosition()
605 rect.right = w + rect.left; in getActionSafePosition()
633 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
635 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
650 width = float(rect.right - rect.left); in getAspectRatioPosition()
725 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition()
775 displayFrame.right = dstWidth; in calcExtDisplayPosition()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dtranslate_math.js18 //{ left: "$$", right: "$$", display: true},
19 { left: "\\[", right: "\\]", display: true}, property
20 //{ left: "$", right: "$", display: false},
21 { left: "\\(", right: "\\)", display: false} property
25 …const regex = new RegExp( escapeRegex(delim.left) + "([\\S\\s]*?)" + escapeRegex(delim.right), "g"…
/hardware/qcom/display/msm8998/sdm/libs/core/
Dresource_default.cpp294 DLOGV_IF(kTagResources, "Get right pipe failed: hw_block_id = %d, need_scale = %d", hw_block_id, in Prepare()
448 return ((dst_roi.right - dst_roi.left) != (src_roi.right - src_roi.left)) || in IsScalingNeeded()
468 float src_width = src_rect.right - src_rect.left; in SrcSplitConfig()
469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig()
497 scissor_left.right = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig()
502 scissor_right.right = FLOAT(mixer_attributes.width); in DisplaySplitConfig()
528 // assign right pipe if needed in DisplaySplitConfig()
595 Log(kTagResources, "right pipe src", layer_config->right_pipe.src_roi); in Config()
596 Log(kTagResources, "right pipe dst", layer_config->right_pipe.dst_roi); in Config()
606 float &crop_right = crop->right; in CalculateCropRects()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Dresource_default.cpp294 DLOGV_IF(kTagResources, "Get right pipe failed: hw_block_id = %d, need_scale = %d", hw_block_id, in Prepare()
448 return ((dst_roi.right - dst_roi.left) != (src_roi.right - src_roi.left)) || in IsScalingNeeded()
468 float src_width = src_rect.right - src_rect.left; in SrcSplitConfig()
469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig()
497 scissor_left.right = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig()
502 scissor_right.right = FLOAT(mixer_attributes.width); in DisplaySplitConfig()
528 // assign right pipe if needed in DisplaySplitConfig()
595 Log(kTagResources, "right pipe src", layer_config->right_pipe.src_roi); in Config()
596 Log(kTagResources, "right pipe dst", layer_config->right_pipe.dst_roi); in Config()
606 float &crop_right = crop->right; in CalculateCropRects()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/
Dresource_default.cpp288 DLOGV_IF(kTagResources, "Get right pipe failed: hw_block_type = %d, need_scale = %d", in Prepare()
435 return ((dst_roi.right - dst_roi.left) != (src_roi.right - src_roi.left)) || in IsScalingNeeded()
456 uint32_t src_width = (uint32_t)(src_rect.right - src_rect.left); in SrcSplitConfig()
457 uint32_t dst_width = (uint32_t)(dst_rect.right - dst_rect.left); in SrcSplitConfig()
489 scissor_left.right = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig()
494 scissor_right.right = FLOAT(mixer_attributes.width); in DisplaySplitConfig()
520 // assign right pipe if needed in DisplaySplitConfig()
587 Log(kTagResources, "right pipe src", layer_config->right_pipe.src_roi); in Config()
588 Log(kTagResources, "right pipe dst", layer_config->right_pipe.dst_roi); in Config()
598 float &crop_right = crop->right; in CalculateCropRects()
[all …]
/hardware/qcom/sm7250/display/sdm/libs/core/
Dresource_default.cpp288 DLOGV_IF(kTagResources, "Get right pipe failed: hw_block_type = %d, need_scale = %d", in Prepare()
432 return ((dst_roi.right - dst_roi.left) != (src_roi.right - src_roi.left)) || in IsScalingNeeded()
453 uint32_t src_width = (uint32_t)(src_rect.right - src_rect.left); in SrcSplitConfig()
454 uint32_t dst_width = (uint32_t)(dst_rect.right - dst_rect.left); in SrcSplitConfig()
486 scissor_left.right = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig()
491 scissor_right.right = FLOAT(mixer_attributes.width); in DisplaySplitConfig()
517 // assign right pipe if needed in DisplaySplitConfig()
584 Log(kTagResources, "right pipe src", layer_config->right_pipe.src_roi); in Config()
585 Log(kTagResources, "right pipe dst", layer_config->right_pipe.dst_roi); in Config()
595 float &crop_right = crop->right; in CalculateCropRects()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp263 DLOGV_IF(kTagResources, "Get right pipe failed: hw_block_id = %d, need_scale = %d", hw_block_id, in Acquire()
411 return ((dst_roi.right - dst_roi.left) != (src_roi.right - src_roi.left)) || in IsScalingNeeded()
431 float src_width = src_rect.right - src_rect.left; in SrcSplitConfig()
432 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig()
460 scissor_left.right = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig()
465 scissor_right.right = FLOAT(mixer_attributes.width); in DisplaySplitConfig()
491 // assign right pipe if needed in DisplaySplitConfig()
558 Log(kTagResources, "right pipe src", layer_config->right_pipe.src_roi); in Config()
559 Log(kTagResources, "right pipe dst", layer_config->right_pipe.dst_roi); in Config()
569 float &crop_right = crop->right; in CalculateCropRects()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/
Dresource_default.cpp294 DLOGV_IF(kTagResources, "Get right pipe failed: hw_block_id = %d, need_scale = %d", hw_block_id, in Prepare()
448 return ((dst_roi.right - dst_roi.left) != (src_roi.right - src_roi.left)) || in IsScalingNeeded()
468 float src_width = src_rect.right - src_rect.left; in SrcSplitConfig()
469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig()
497 scissor_left.right = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig()
502 scissor_right.right = FLOAT(mixer_attributes.width); in DisplaySplitConfig()
528 // assign right pipe if needed in DisplaySplitConfig()
595 Log(kTagResources, "right pipe src", layer_config->right_pipe.src_roi); in Config()
596 Log(kTagResources, "right pipe dst", layer_config->right_pipe.dst_roi); in Config()
606 float &crop_right = crop->right; in CalculateCropRects()
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dmatrix_transform.hpp93 /// @param right
100 /// @see - glm::ortho(T const & left, T const & right, T const & bottom, T const & top)
104 T right,
113 /// @param right
120 /// @see - glm::ortho(T const & left, T const & right, T const & bottom, T const & top)
124 T right,
130 /// Creates a matrix for an orthographic parallel viewing volume, using right-handedness.
133 /// @param right
140 /// @see - glm::ortho(T const & left, T const & right, T const & bottom, T const & top)
144 T right,
[all …]
/hardware/qcom/display/msm8226/libqdutils/
Dcb_utils.cpp36 irect.right = max(rect1.right, rect2.right); in getUnion()
49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
61 displayFrame.right,displayFrame.bottom); in getuiClearRegion()
72 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion()
86 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
87 int dst_w = clearWormholeRect.right - clearWormholeRect.left; in getuiClearRegion()
/hardware/qcom/display/msm8084/libqdutils/
Dcb_utils.cpp36 irect.right = max(rect1.right, rect2.right); in getUnion()
49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
61 displayFrame.right,displayFrame.bottom); in getuiClearRegion()
72 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion()
86 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
87 int dst_w = clearWormholeRect.right - clearWormholeRect.left; in getuiClearRegion()
/hardware/libhardware/modules/camera/3_4/metadata/
Dtypes.h42 bool operator()(const StreamSpec& left, const StreamSpec& right) const { in operator()
44 return left.format < right.format || in operator()
45 (left.format == right.format && in operator()
46 (left.width < right.width || in operator()
47 (left.width == right.width && left.height < right.height))); in operator()

12345678910>>...40