Home
last modified time | relevance | path

Searched refs:GetOffset (Results 1 - 25 of 323) sorted by relevance

12345678910>>...13

/foundation/ability/ability_runtime/services/common/include/
H A Dhilog_tag_wrapper.h99 inline uint32_t GetOffset(AAFwkLogTag tag, AAFwkLogTag base) in GetOffset() function
107 uint32_t offset = GetOffset(tag, AAFwkLogTag::DEFAULT); in GetDomainName0()
118 uint32_t offset = GetOffset(tag, AAFwkLogTag::APPDFR); in GetDomainName1()
128 uint32_t offset = GetOffset(tag, AAFwkLogTag::JSENV); in GetDomainName2()
139 uint32_t offset = GetOffset(tag, AAFwkLogTag::DELEGATOR); in GetDomainName3()
150 uint32_t offset = GetOffset(tag, AAFwkLogTag::EXT); in GetDomainName4()
162 uint32_t offset = GetOffset(tag, AAFwkLogTag::WANTAGENT); in GetDomainName5()
172 uint32_t offset = GetOffset(tag, AAFwkLogTag::LOCAL_CALL); in GetDomainName6()
189 uint32_t offset = GetOffset(tag, AAFwkLogTag::DEFAULT); in GetTagInfoFromDomainId()
/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Ddrag_recognizer.cpp42 startInfo.SetGlobalLocation(firstPoint.GetOffset()) in OnAccepted()
43 .SetLocalLocation(firstPoint.GetOffset() - coordinateOffset_); in OnAccepted()
54 .SetGlobalLocation(currentPoint.GetOffset()) in OnAccepted()
55 .SetLocalLocation(currentPoint.GetOffset() - coordinateOffset_); in OnAccepted()
117 .SetGlobalLocation(event.GetOffset()) in HandleTouchMoveEvent()
118 .SetLocalLocation(event.GetOffset() - coordinateOffset_); in HandleTouchMoveEvent()
123 onDragUpdateNotifyCall_(event.GetOffset().GetX(), event.GetOffset().GetY(), info); in HandleTouchMoveEvent()
168 .SetGlobalLocation(event.GetOffset()) in HandleTouchUpEvent()
169 .SetLocalLocation(event.GetOffset() in HandleTouchUpEvent()
[all...]
H A Dpress_recognizer.cpp32 info.SetGlobalLocation(trackPoint_.GetOffset()).SetLocalLocation(trackPoint_.GetOffset() - coordinateOffset_); in OnAccepted()
92 Offset offset = event.GetOffset() - trackPoint_.GetOffset(); in HandleTouchMoveEvent()
97 Offset offset = event.GetOffset() - trackPoint_.GetOffset(); in HandleTouchMoveEvent()
H A Dclick_recognizer.cpp77 info.SetGlobalLocation(touchPoint.GetOffset()).SetLocalLocation(touchPoint.GetOffset() - coordinateOffset_); in OnAccepted()
100 info.SetGlobalLocation(touchPoint.GetOffset()).SetLocalLocation(touchPoint.GetOffset() - coordinateOffset_); in OnAccepted()
220 Offset offset = event.GetOffset() - touchPoints_[event.id].GetOffset(); in HandleTouchMoveEvent()
274 sumOfPoints = sumOfPoints + element.second.GetOffset(); in ComputeFocusPoint()
302 info.SetGlobalLocation(touchPoint.GetOffset()).SetLocalLocation(touchPoint.GetOffset() - coordinateOffset_); in SendCallbackMsg()
H A Dvelocity_tracker.cpp131 delta_ = event.GetOffset() - lastPosition_; in UpdateTouchPoint()
132 lastPosition_ = event.GetOffset(); in UpdateTouchPoint()
139 lastPosition_ = event.GetOffset(); in UpdateTouchPoint()
147 Offset lastMoveEvent = lastTrackPoint.GetOffset(); in UpdateTouchPoint()
148 Offset upEvent = event.GetOffset(); in UpdateTouchPoint()
H A Draw_recognizer.cpp118 changedTouchLocationInfo.SetGlobalLocation(point.GetOffset()) in CreateTouchEventInfo()
119 .SetLocalLocation(point.GetOffset() - coordinateOffset_) in CreateTouchEventInfo()
161 lastTouchLocationInfo.SetGlobalLocation(lastPoint_.GetOffset()) in CreateTouchEventInfo()
162 .SetLocalLocation(lastPoint_.GetOffset() - coordinateOffset_) in CreateTouchEventInfo()
199 currentTouchLocationInfo.SetGlobalLocation(point.GetOffset()) in CreateTouchEventInfo()
200 .SetLocalLocation(point.GetOffset() - coordinateOffset_) in CreateTouchEventInfo()
H A Dlong_press_recognizer.cpp34 info.SetGlobalLocation(trackPoint.GetOffset()).SetLocalLocation(trackPoint.GetOffset() - coordinateOffset_); in OnAccepted()
128 Offset offset = event.GetOffset() - touchMap_[event.id].GetOffset(); in HandleTouchMoveEvent()
247 info.SetGlobalLocation(trackPoint.GetOffset()).SetLocalLocation(trackPoint.GetOffset() - coordinateOffset_); in SendCallbackMsg()
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Drosen_render_grid_layout.cpp105 SkRect skRect = SkRect::MakeXYWH(paintRect.GetOffset().GetX(), paintRect.GetOffset().GetY(), in PaintItemZone()
115 RSRect rect = RSRect(paintRect.GetOffset().GetX(), paintRect.GetOffset().GetY(), in PaintItemZone()
116 paintRect.Width() + paintRect.GetOffset().GetX(), paintRect.Height() + paintRect.GetOffset().GetY()); in PaintItemZone()
/foundation/arkui/ace_engine/frameworks/core/components/shadow/
H A Drosen_render_shadow.cpp52 canvas->clipRect(SkRect::MakeXYWH(clipRect_.GetOffset().GetX() - NormalizeToPx(SHADOW_OFFSET) / 2, in Paint()
53 clipRect_.GetOffset().GetY(), clipRect_.Width() + NormalizeToPx(SHADOW_OFFSET), in Paint()
57 clipRect_.GetOffset().GetX() - NormalizeToPx(SHADOW_OFFSET) / 2, in Paint()
58 clipRect_.GetOffset().GetY(), in Paint()
59 clipRect_.Width() + NormalizeToPx(SHADOW_OFFSET) / 2 + clipRect_.GetOffset().GetX(), in Paint()
60 clipRect_.Height() + NormalizeToPx(SHADOW_OFFSET) + clipRect_.GetOffset().GetY()), in Paint()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dgeometry_node.h72 auto offset = frame_.rect_.GetOffset(); in GetMarginFrameOffset()
74 offset += selfAdjust_.GetOffset(); in GetMarginFrameOffset()
84 auto offset = frame_.rect_.GetOffset(); in GetMarginFrameRect()
87 offset += selfAdjust_.GetOffset(); in GetMarginFrameRect()
126 auto result = frame_.rect_.GetOffset(); in GetFrameOffset()
128 result += selfAdjust_.GetOffset(); in GetFrameOffset()
185 auto offset = frame_.rect_.GetOffset(); in GetPaddingOffset()
187 offset += selfAdjust_.GetOffset(); in GetPaddingOffset()
205 auto offset = rect.GetOffset(); in GetPaddingRect()
240 return content_ ? content_->rect_.GetOffset() in GetContentOffset()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/search/
H A Drosen_render_search.cpp41 renderCloseIcon_->Paint(context, offset + closeIconRect_.GetOffset()); in Paint()
51 Offset dividerOffset = Offset(searchTextRect_.GetOffset().GetX(), dividerVerticalOffset); in Paint()
53 dividerOffset = searchTextRect_.GetOffset() + in Paint()
67 Offset dividerOffset = Offset(searchTextRect_.GetOffset().GetX(), dividerVerticalOffset); in Paint()
69 dividerOffset = searchTextRect_.GetOffset() + in Paint()
85 searchTextRect_.GetOffset() + Offset(NormalizeToPx(SEARCH_SPACING) + SEARCH_DIVIDER_WIDTH, 0.0); in Paint()
87 searchBoxOffset_ = searchTextRect_.GetOffset() + Offset(NormalizeToPx(SEARCH_SPACING), 0.0); in Paint()
117 offset = closeIconHotZoneRect_.GetOffset(); in Paint()
169 rectOffset = closeIconHotZoneRect_.GetOffset(); in Paint()
172 rectOffset = searchTextRect_.GetOffset() in Paint()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_select_overlay.cpp47 localPaintRect.SetOffset(localPaintRect.GetOffset() - GetPaintOffsetWithoutTransform()); in GetFirstHandleInfo()
62 localPaintRect.SetOffset(localPaintRect.GetOffset() - GetPaintOffsetWithoutTransform()); in GetSecondHandleInfo()
73 localPaintRect.SetOffset(localPaintRect.GetOffset() - GetPaintOffsetWithoutTransform()); in GetFirstHandleLocalPaintRect()
82 localPaintRect.SetOffset(localPaintRect.GetOffset() - GetPaintOffsetWithoutTransform()); in GetSecondHandleLocalPaintRect()
104 localPaintRect.SetOffset(localPaintRect.GetOffset() - GetPaintOffsetWithoutTransform()); in CheckAndAdjustHandle()
107 visibleContentRect.SetOffset(visibleContentRect.GetOffset() + textPattern->GetTextPaintOffset()); in CheckAndAdjustHandle()
112 RectF visibleContentRect(contentRect.GetOffset() + textPattern->GetTextPaintOffset(), contentRect.GetSize()); in CheckAndAdjustHandle()
154 RectF visibleContentRect(contentRect.GetOffset() + textPattern->GetTextPaintOffset(), contentRect.GetSize()); in CheckHandleVisible()
177 auto contentOffset = contentRect.GetOffset(); in OnHandleMove()
178 auto localHandleOffset = handleRect.GetOffset(); in OnHandleMove()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/
H A Drosen_render_tool_bar_item.cpp90 rRect.offset(paintRect.GetOffset().GetX(), paintRect.GetOffset().GetY()); in DrawShape()
101 rRect.Offset(paintRect.GetOffset().GetX(), paintRect.GetOffset().GetY()); in DrawShape()
/foundation/arkui/ace_engine/frameworks/core/components_v2/grid_layout/
H A Drender_grid_col.cpp56 int32_t RenderGridCol::GetOffset(GridSizeType sizeType) const in GetOffset() function in OHOS::Ace::V2::RenderGridCol
63 return gridCol->GetOffset(sizeType); in GetOffset()
H A Dgrid_col_component.h78 GridContainerSize GetOffset() const in GetOffset() function in OHOS::Ace::V2::GridColComponent
83 int32_t GetOffset(GridSizeType sizeType) const in GetOffset() function in OHOS::Ace::V2::GridColComponent
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_drag_manager.cpp199 float offset1 = nearRect.GetOffset().GetMainOffset(axis_); in ScaleAxisNearItem()
200 if (!NearEqual(offset1, rect.GetOffset().GetMainOffset(axis_))) { in ScaleAxisNearItem()
205 float c0 = rect.GetOffset().GetMainOffset(axis) + rect.GetSize().MainSize(axis) / 2; in ScaleAxisNearItem()
206 float c1 = nearRect.GetOffset().GetMainOffset(axis) + nearRect.GetSize().MainSize(axis) / 2; in ScaleAxisNearItem()
216 float th = (nearRect.GetOffset().GetMainOffset(axis) + nearRect.GetSize().MainSize(axis) - in ScaleAxisNearItem()
217 rect.GetOffset().GetMainOffset(axis) - rect.GetSize().MainSize(axis)) / 2; in ScaleAxisNearItem()
224 float th = (nearRect.GetOffset().GetMainOffset(axis) - rect.GetOffset().GetMainOffset(axis)) / 2; in ScaleAxisNearItem()
244 OffsetF c0 = rect.GetOffset() + OffsetF(rect.Width() / 2, rect.Height() / 2); in ScaleDiagonalItem()
245 OffsetF c1 = diagonalRect.GetOffset() in ScaleDiagonalItem()
[all...]
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Drosen_render_context.cpp50 node->GetTransitionPaintRect().GetOffset() - in Repaint()
92 Offset childOffset = rect.GetOffset(); in PaintChild()
102 Offset pos = rect.GetOffset(); in PaintChild()
117 child->RenderWithContext(*this, rect.GetOffset()); in PaintChild()
189 offset = rect.GetOffset(); in IsIntersectWith()
H A Drender_node.cpp219 if (box && box->GetTouchArea().GetOffset().IsPositiveOffset()) { in UpdateTouchRect()
220 touchRect_.SetOffset(box->GetTouchArea().GetOffset() + touchRect_.GetOffset()); in UpdateTouchRect()
233 double x = GetPxValue(touchRect_.Width(), region.GetOffset().GetX()); in UpdateTouchRect()
234 double y = GetPxValue(touchRect_.Height(), region.GetOffset().GetY()); in UpdateTouchRect()
237 Rect responseRegion(touchRect_.GetOffset().GetX() + x, touchRect_.GetOffset().GetY() + y, width, height); in UpdateTouchRect()
269 rect.SetOffset(childRect.GetOffset() + GetPaintRect().GetOffset()); in CompareTouchRectList()
606 if (paintRect_.GetOffset() ! in SetPositionInternal()
[all...]
H A Dflutter_render_context.cpp80 Offset childOffset = rect.GetOffset(); in PaintChild()
96 Offset pos = rect.GetOffset(); in PaintChild()
104 child->RenderWithContext(*this, rect.GetOffset()); in PaintChild()
194 offset = rect.GetOffset(); in IsIntersectWith()
/foundation/arkui/ace_engine/frameworks/core/components/scene_viewer/
H A Dscene_viewer_touch_handler.cpp62 event.SetGlobalLocation(point.GetOffset()); in CreateSceneTouchEvent()
63 event.SetLocalLocation(point.GetOffset() - coordinateOffset_); in CreateSceneTouchEvent()
/foundation/arkui/ace_engine/frameworks/core/components/mouse_listener/
H A Drender_mouse_listener.cpp61 newRect.SetOffset(rect.GetOffset() + GetPaintRect().GetOffset()); in UpdateTouchRect()
/foundation/arkui/ace_engine/frameworks/core/components/split_container/
H A Drender_split_container.cpp275 info.SetGlobalLocation(event.GetOffset()); in HandleMouseEvent()
276 info.SetLocalLocation(event.GetOffset() - Offset(GetCoordinatePoint().GetX(), GetCoordinatePoint().GetY())); in HandleMouseEvent()
281 auto lowBound = splitRects_[i].GetOffset().GetX(); in HandleMouseEvent()
282 auto upBound = splitRects_[i].GetOffset().GetX() + DEFAULT_SPLIT_HEIGHT; in HandleMouseEvent()
305 auto lowBound = splitRects_[i].GetOffset().GetY(); in HandleMouseEvent()
306 auto upBound = splitRects_[i].GetOffset().GetY() + DEFAULT_SPLIT_HEIGHT; in HandleMouseEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dclick_recognizer.cpp71 localPoint = localPoint + paintRect.GetOffset(); in IsPointInRegion()
118 PointF localPoint(touchPoint.GetOffset().GetX(), touchPoint.GetOffset().GetY()); in GetClickInfo()
124 info.SetGlobalLocation(touchPoint.GetOffset()).SetLocalLocation(localOffset); in GetClickInfo()
170 PointF localPoint(touchPoint.GetOffset().GetX(), touchPoint.GetOffset().GetY()); in OnAccepted()
182 info.SetGlobalLocation(touchPoint.GetOffset()).SetLocalLocation(localOffset); in OnAccepted()
415 sumOfPoints = sumOfPoints + element.second.GetOffset(); in ComputeFocusPoint()
447 PointF localPoint(touchPoint.GetOffset().GetX(), touchPoint.GetOffset() in GetGestureEventInfo()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_interactable_view_ffi.cpp192 lastCjPosition.x = PipelineBase::Px2VpWithCurrentDensity(lastRect.GetOffset().GetX()); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
193 lastCjPosition.y = PipelineBase::Px2VpWithCurrentDensity(lastRect.GetOffset().GetY()); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
194 lastCjGlobalPosition.x = PipelineBase::Px2VpWithCurrentDensity(lastRect.GetOffset().GetX() + lastOrigin.GetX()); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
195 lastCjGlobalPosition.y = PipelineBase::Px2VpWithCurrentDensity(lastRect.GetOffset().GetY() + lastOrigin.GetY()); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
204 cjPosition.x = PipelineBase::Px2VpWithCurrentDensity(rect.GetOffset().GetX()); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
205 cjPosition.y = PipelineBase::Px2VpWithCurrentDensity(rect.GetOffset().GetY()); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
206 cjGlobalPosition.x = PipelineBase::Px2VpWithCurrentDensity(rect.GetOffset().GetX() + origin.GetX()); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
207 cjGlobalPosition.y = PipelineBase::Px2VpWithCurrentDensity(rect.GetOffset().GetY() + origin.GetY()); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dgrid_property.cpp29 Dimension GridProperty::GetOffset() in GetOffset() function in OHOS::Ace::NG::GridProperty
33 auto offset = gridInfo_->GetOffset(); in GetOffset()
160 auto gridOffset = gridInfo_->GetOffset(GridSizeType::UNDEFINED); in ToJsonValue()
170 jsonValue->Put("offset", gridInfo_->GetOffset(type)); in ToJsonValue()

Completed in 13 milliseconds

12345678910>>...13