Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/hardware/qcom/display/msm8909/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
45 (rect1.top == rect2.top) && in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
63 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize()
75 res.top = std::max(rect1.top, rect2.top); in Intersection()
94 res.top = rect.top + FLOAT(y_offset); in Reposition()
108 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
109 res.top = rect2.bottom; in Subtract()
110 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
45 (rect1.top == rect2.top) && in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
58 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize()
70 res.top = std::max(rect1.top, rect2.top); in Intersection()
89 res.top = rect.top + FLOAT(y_offset); in Reposition()
103 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
104 res.top = rect2.bottom; in Subtract()
105 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
106 res.bottom = rect2.top; in Subtract()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
45 (rect1.top == rect2.top) && in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
58 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize()
70 res.top = std::max(rect1.top, rect2.top); in Intersection()
89 res.top = rect.top + FLOAT(y_offset); in Reposition()
103 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
104 res.top = rect2.bottom; in Subtract()
105 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
106 res.bottom = rect2.top; in Subtract()
[all …]
/hardware/qcom/gps/msm8996/utils/
DLocHeap.cpp54 static LocHeapNode* pop(LocHeapNode*& top);
59 static LocHeapNode* remove(LocHeapNode*& top, LocRankable& data);
134 LocHeapNode* LocHeapNode::pop(LocHeapNode*& top) { in pop() argument
141 LocHeapNode* poppedNode = top; in pop()
143 top->mSize--; in pop()
144 if (top->mLeft || top->mRight) { in pop()
148 LocHeapNode*& subTop = (NULL == top->mLeft) ? top->mRight : in pop()
149 ((NULL == top->mRight) ? top->mLeft : in pop()
150 (top->mLeft->outRanks(*(top->mRight)) ? top->mLeft : top->mRight)); in pop()
152 top->swap(*subTop); in pop()
[all …]
/hardware/qcom/sdm845/gps/msm8909/utils/
DLocHeap.cpp54 static LocHeapNode* pop(LocHeapNode*& top);
59 static LocHeapNode* remove(LocHeapNode*& top, LocRankable& data);
134 LocHeapNode* LocHeapNode::pop(LocHeapNode*& top) { in pop() argument
141 LocHeapNode* poppedNode = top; in pop()
143 top->mSize--; in pop()
144 if (top->mLeft || top->mRight) { in pop()
148 LocHeapNode*& subTop = (NULL == top->mLeft) ? top->mRight : in pop()
149 ((NULL == top->mRight) ? top->mLeft : in pop()
150 (top->mLeft->outRanks(*(top->mRight)) ? top->mLeft : top->mRight)); in pop()
152 top->swap(*subTop); in pop()
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocHeap.cpp54 static LocHeapNode* pop(LocHeapNode*& top);
59 static LocHeapNode* remove(LocHeapNode*& top, LocRankable& data);
134 LocHeapNode* LocHeapNode::pop(LocHeapNode*& top) { in pop() argument
141 LocHeapNode* poppedNode = top; in pop()
143 top->mSize--; in pop()
144 if (top->mLeft || top->mRight) { in pop()
148 LocHeapNode*& subTop = (NULL == top->mLeft) ? top->mRight : in pop()
149 ((NULL == top->mRight) ? top->mLeft : in pop()
150 (top->mLeft->outRanks(*(top->mRight)) ? top->mLeft : top->mRight)); in pop()
152 top->swap(*subTop); in pop()
[all …]
/hardware/qcom/sdm845/gps/msm8998/utils/
DLocHeap.cpp54 static LocHeapNode* pop(LocHeapNode*& top);
59 static LocHeapNode* remove(LocHeapNode*& top, LocRankable& data);
134 LocHeapNode* LocHeapNode::pop(LocHeapNode*& top) { in pop() argument
141 LocHeapNode* poppedNode = top; in pop()
143 top->mSize--; in pop()
144 if (top->mLeft || top->mRight) { in pop()
148 LocHeapNode*& subTop = (NULL == top->mLeft) ? top->mRight : in pop()
149 ((NULL == top->mRight) ? top->mLeft : in pop()
150 (top->mLeft->outRanks(*(top->mRight)) ? top->mLeft : top->mRight)); in pop()
152 top->swap(*subTop); in pop()
[all …]
/hardware/qcom/gps/msm8998/utils/
DLocHeap.cpp54 static LocHeapNode* pop(LocHeapNode*& top);
59 static LocHeapNode* remove(LocHeapNode*& top, LocRankable& data);
134 LocHeapNode* LocHeapNode::pop(LocHeapNode*& top) { in pop() argument
141 LocHeapNode* poppedNode = top; in pop()
143 top->mSize--; in pop()
144 if (top->mLeft || top->mRight) { in pop()
148 LocHeapNode*& subTop = (NULL == top->mLeft) ? top->mRight : in pop()
149 ((NULL == top->mRight) ? top->mLeft : in pop()
150 (top->mLeft->outRanks(*(top->mRight)) ? top->mLeft : top->mRight)); in pop()
152 top->swap(*subTop); in pop()
[all …]
/hardware/qcom/sdm845/gps/msm8996/utils/
DLocHeap.cpp54 static LocHeapNode* pop(LocHeapNode*& top);
59 static LocHeapNode* remove(LocHeapNode*& top, LocRankable& data);
134 LocHeapNode* LocHeapNode::pop(LocHeapNode*& top) { in pop() argument
141 LocHeapNode* poppedNode = top; in pop()
143 top->mSize--; in pop()
144 if (top->mLeft || top->mRight) { in pop()
148 LocHeapNode*& subTop = (NULL == top->mLeft) ? top->mRight : in pop()
149 ((NULL == top->mRight) ? top->mLeft : in pop()
150 (top->mLeft->outRanks(*(top->mRight)) ? top->mLeft : top->mRight)); in pop()
152 top->swap(*subTop); in pop()
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
DLocHeap.cpp54 static LocHeapNode* pop(LocHeapNode*& top);
59 static LocHeapNode* remove(LocHeapNode*& top, LocRankable& data);
134 LocHeapNode* LocHeapNode::pop(LocHeapNode*& top) { in pop() argument
141 LocHeapNode* poppedNode = top; in pop()
143 top->mSize--; in pop()
144 if (top->mLeft || top->mRight) { in pop()
148 LocHeapNode*& subTop = (NULL == top->mLeft) ? top->mRight : in pop()
149 ((NULL == top->mRight) ? top->mLeft : in pop()
150 (top->mLeft->outRanks(*(top->mRight)) ? top->mLeft : top->mRight)); in pop()
152 top->swap(*subTop); in pop()
[all …]
/hardware/qcom/gps/msm8909/utils/
DLocHeap.cpp54 static LocHeapNode* pop(LocHeapNode*& top);
59 static LocHeapNode* remove(LocHeapNode*& top, LocRankable& data);
134 LocHeapNode* LocHeapNode::pop(LocHeapNode*& top) { in pop() argument
141 LocHeapNode* poppedNode = top; in pop()
143 top->mSize--; in pop()
144 if (top->mLeft || top->mRight) { in pop()
148 LocHeapNode*& subTop = (NULL == top->mLeft) ? top->mRight : in pop()
149 ((NULL == top->mRight) ? top->mLeft : in pop()
150 (top->mLeft->outRanks(*(top->mRight)) ? top->mLeft : top->mRight)); in pop()
152 top->swap(*subTop); in pop()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
45 (rect1.top == rect2.top) && in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
58 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize()
70 res.top = std::max(rect1.top, rect2.top); in Intersection()
89 res.top = rect.top + FLOAT(y_offset); in Reposition()
103 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
104 res.top = rect2.bottom; in Subtract()
105 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
106 res.bottom = rect2.top; in Subtract()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
45 (rect1.top == rect2.top) && in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
63 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize()
75 res.top = std::max(rect1.top, rect2.top); in Intersection()
94 res.top = rect.top + FLOAT(y_offset); in Reposition()
108 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
109 res.top = rect2.bottom; in Subtract()
110 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
[all …]
/hardware/qcom/display/msm8084/libqdutils/
Dcb_utils.cpp35 irect.top = min(rect1.top, rect2.top); in getUnion()
49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
60 Rect tmpRect(displayFrame.left,displayFrame.top, 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()
88 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion()
/hardware/qcom/display/msm8226/libqdutils/
Dcb_utils.cpp35 irect.top = min(rect1.top, rect2.top); in getUnion()
49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
60 Rect tmpRect(displayFrame.left,displayFrame.top, 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()
88 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion()
/hardware/qcom/display/msm8994/libqdutils/
Dcb_utils.cpp35 irect.top = min(rect1.top, rect2.top); in getUnion()
49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
61 Rect tmpRect(displayFrame.left,displayFrame.top, in getuiClearRegion()
74 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion()
88 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
90 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion()
/hardware/qcom/display/msm8960/libtilerenderer/
Dtilerenderer.cpp36 int left, int top, in startTileRendering() argument
46 if (!left && !right && !top && !bottom) { in startTileRendering()
48 top = 0; in startTileRendering()
53 if (!left && !right && !top && !bottom) { in startTileRendering()
59 int l = left, t = (height - bottom), w = (right - left), h = (bottom - top), preserve = 0; in startTileRendering()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp373 int x = rect.left, y = rect.top; in getActionSafePosition()
375 int h = rect.bottom - rect.top; in getActionSafePosition()
428 rect.top = y; in getActionSafePosition()
430 rect.bottom = h + rect.top; in getActionSafePosition()
458 rect.top = y; in getAspectRatioPosition()
460 rect.bottom = srcHeight + rect.top; in getAspectRatioPosition()
485 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
486 inRect.bottom - inRect.top); in getAspectRatioPosition()
487 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
488 outRect.bottom - outRect.top); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp237 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].top = 0; in initContext()
388 int x = rect.left, y = rect.top; in getActionSafePosition()
390 int h = rect.bottom - rect.top; in getActionSafePosition()
443 rect.top = y; in getActionSafePosition()
445 rect.bottom = h + rect.top; in getActionSafePosition()
472 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
473 inRect.bottom - inRect.top); in getAspectRatioPosition()
474 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
475 outRect.bottom - outRect.top); in getAspectRatioPosition()
488 yPos = rect.top; in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_fbupdate.cpp98 ovutils::Dim dcrop(sourceCrop.left, sourceCrop.top, in configure()
100 sourceCrop.bottom - sourceCrop.top); in configure()
110 displayFrame.top, in configure()
112 displayFrame.bottom - displayFrame.top); in configure()
220 ovutils::Dim dcropL(sourceCrop.left, sourceCrop.top, in configure()
222 sourceCrop.bottom - sourceCrop.top); in configure()
225 sourceCrop.top, in configure()
227 sourceCrop.bottom - sourceCrop.top); in configure()
241 displayFrame.top, in configure()
243 displayFrame.bottom - displayFrame.top); in configure()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp137 ctx->mViewFrame[dpy].top = 0; in updateDisplayInfo()
341 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].top = 0; in initContext()
549 int x = rect.left, y = rect.top; in getActionSafePosition()
551 int h = rect.bottom - rect.top; in getActionSafePosition()
604 rect.top = y; in getActionSafePosition()
606 rect.bottom = h + rect.top; in getActionSafePosition()
633 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
634 inRect.bottom - inRect.top); in getAspectRatioPosition()
635 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
636 outRect.bottom - outRect.top); in getAspectRatioPosition()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidParser.cpp76 mGlobalStack.top().usagePage.get(0) << 16 | mLocal.getUsage(0); in processMainTag()
99 const HidGlobal &top = mGlobalStack.top(); in processMainTag() local
103 if (!(top.usagePage.isSet() && top.logicalMin.isSet() && top.logicalMax.isSet() in processMainTag()
104 && top.reportSize.isSet() && top.reportCount.isSet())) { in processMainTag()
110 if (top.reportSize.get(0) > 32) { in processMainTag()
117 HidReport report(reportType, flag, top, mLocal); in processMainTag()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3CropRegionMapper.cpp196 void QCamera3CropRegionMapper::boundToSize(int32_t& left, int32_t& top, in boundToSize() argument
202 if (top < 0) { in boundToSize()
203 top = 0; in boundToSize()
209 if ((top + height) > bound_h) { in boundToSize()
210 height = bound_h - top; in boundToSize()
/hardware/qcom/display/msm8996/sdm/include/core/
Dlayer_stack.h205 float top = 0.0f; //!< Top-most pixel coordinate. member
211 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect()
214 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom;
/hardware/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp412 ((dst_roi.bottom - dst_roi.top) != (src_roi.bottom - src_roi.top)); in IsScalingNeeded()
464 scissor_right.top = 0.0f; in DisplaySplitConfig()
568 float &crop_top = crop->top; in CalculateCropRects()
572 float crop_height = crop->bottom - crop->top; in CalculateCropRects()
575 float &dst_top = dst->top; in CalculateCropRects()
579 float dst_height = dst->bottom - dst->top; in CalculateCropRects()
582 const float &sci_top = scissor.top; in CalculateCropRects()
647 (src.top - roundf(src.top) != 0.0f) || in ValidateLayerParams()
669 float crop_height = crop.bottom - crop.top; in ValidateDimensions()
671 float dst_height = dst.bottom - dst.top; in ValidateDimensions()
[all …]

12345678910>>...12