/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | drag_recognizer.cpp | 42 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() 179 .SetGlobalLocation(event.GetOffset()) in HandleTouchUpEvent() 180 .SetLocalLocation(event.GetOffset() - coordinateOffset_); in HandleTouchUpEvent() [all …]
|
H A D | press_recognizer.cpp | 32 …info.SetGlobalLocation(trackPoint_.GetOffset()).SetLocalLocation(trackPoint_.GetOffset() - coordin… in OnAccepted() 92 Offset offset = event.GetOffset() - trackPoint_.GetOffset(); in HandleTouchMoveEvent() 97 Offset offset = event.GetOffset() - trackPoint_.GetOffset(); in HandleTouchMoveEvent()
|
H A D | click_recognizer.cpp | 77 …info.SetGlobalLocation(touchPoint.GetOffset()).SetLocalLocation(touchPoint.GetOffset() - coordinat… in OnAccepted() 100 …info.SetGlobalLocation(touchPoint.GetOffset()).SetLocalLocation(touchPoint.GetOffset() - coordinat… 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() - coordinat… in SendCallbackMsg()
|
H A D | long_press_recognizer.cpp | 34 …info.SetGlobalLocation(trackPoint.GetOffset()).SetLocalLocation(trackPoint.GetOffset() - coordinat… in OnAccepted() 128 Offset offset = event.GetOffset() - touchMap_[event.id].GetOffset(); in HandleTouchMoveEvent() 247 …info.SetGlobalLocation(trackPoint.GetOffset()).SetLocalLocation(trackPoint.GetOffset() - coordinat… in SendCallbackMsg()
|
H A D | raw_recognizer.cpp | 118 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 D | velocity_tracker.cpp | 130 delta_ = event.GetOffset() - lastPosition_; in UpdateTouchPoint() 131 lastPosition_ = event.GetOffset(); in UpdateTouchPoint() 138 lastPosition_ = event.GetOffset(); in UpdateTouchPoint() 146 Offset lastMoveEvent = lastTrackPoint.GetOffset(); in UpdateTouchPoint() 147 Offset upEvent = event.GetOffset(); in UpdateTouchPoint()
|
/ohos5.0/foundation/ability/ability_runtime/services/common/include/ |
H A D | hilog_tag_wrapper.h | 101 inline uint32_t GetOffset(AAFwkLogTag tag, AAFwkLogTag base) in GetOffset() function 109 uint32_t offset = GetOffset(tag, AAFwkLogTag::DEFAULT); in GetDomainName0() 120 uint32_t offset = GetOffset(tag, AAFwkLogTag::APPDFR); in GetDomainName1() 130 uint32_t offset = GetOffset(tag, AAFwkLogTag::JSENV); in GetDomainName2() 141 uint32_t offset = GetOffset(tag, AAFwkLogTag::DELEGATOR); in GetDomainName3() 152 uint32_t offset = GetOffset(tag, AAFwkLogTag::EXT); in GetDomainName4() 164 uint32_t offset = GetOffset(tag, AAFwkLogTag::WANTAGENT); in GetDomainName5() 174 uint32_t offset = GetOffset(tag, AAFwkLogTag::LOCAL_CALL); in GetDomainName6() 191 uint32_t offset = GetOffset(tag, AAFwkLogTag::DEFAULT); in GetTagInfoFromDomainId()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | geometry_node.h | 72 auto offset = frame_.rect_.GetOffset(); 74 offset += selfAdjust_.GetOffset(); 84 auto offset = frame_.rect_.GetOffset(); 87 offset += selfAdjust_.GetOffset(); 126 auto result = frame_.rect_.GetOffset(); 128 result += selfAdjust_.GetOffset(); 185 auto offset = frame_.rect_.GetOffset(); 187 offset += selfAdjust_.GetOffset(); 205 auto offset = rect.GetOffset(); 240 return content_ ? content_->rect_.GetOffset() : OffsetF(); in GetContentOffset() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/ |
H A D | rosen_render_grid_layout.cpp | 105 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/search/ |
H A D | rosen_render_search.cpp | 41 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() + Offset(SEARCH_DIVIDER_WIDTH, 0.0) + Offset(searchSpacin… in Paint()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shadow/ |
H A D | rosen_render_shadow.cpp | 52 … 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_select_overlay.cpp | 54 localPaintRect.SetOffset(localPaintRect.GetOffset() - GetPaintOffsetWithoutTransform()); in GetFirstHandleInfo() 69 localPaintRect.SetOffset(localPaintRect.GetOffset() - GetPaintOffsetWithoutTransform()); in GetSecondHandleInfo() 80 localPaintRect.SetOffset(localPaintRect.GetOffset() - GetPaintOffsetWithoutTransform()); in GetFirstHandleLocalPaintRect() 89 localPaintRect.SetOffset(localPaintRect.GetOffset() - GetPaintOffsetWithoutTransform()); in GetSecondHandleLocalPaintRect() 184 auto contentOffset = contentRect.GetOffset(); in OnHandleMove() 185 auto localHandleOffset = handleRect.GetOffset(); in OnHandleMove() 192 auto handleOffset = handleRect.GetOffset(); in OnHandleMove() 272 res.SetOffset(res.GetOffset() + textPaintOffset); in GetSelectArea() 286 intersectRect.SetOffset(intersectRect.GetOffset() - textPaintOffset); in GetSelectArea() 299 firstRect.SetOffset(firstRect.GetOffset() - GetPaintOffsetWithoutTransform()); in GetSelectAreaFromHandle() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_drag_manager.cpp | 201 float offset1 = nearRect.GetOffset().GetMainOffset(axis_); in ScaleAxisNearItem() 202 if (!NearEqual(offset1, rect.GetOffset().GetMainOffset(axis_))) { in ScaleAxisNearItem() 207 float c0 = rect.GetOffset().GetMainOffset(axis) + rect.GetSize().MainSize(axis) / 2; in ScaleAxisNearItem() 208 float c1 = nearRect.GetOffset().GetMainOffset(axis) + nearRect.GetSize().MainSize(axis) / 2; in ScaleAxisNearItem() 218 float th = (nearRect.GetOffset().GetMainOffset(axis) + nearRect.GetSize().MainSize(axis) - in ScaleAxisNearItem() 219 rect.GetOffset().GetMainOffset(axis) - rect.GetSize().MainSize(axis)) / 2; in ScaleAxisNearItem() 226 … float th = (nearRect.GetOffset().GetMainOffset(axis) - rect.GetOffset().GetMainOffset(axis)) / 2; in ScaleAxisNearItem() 246 OffsetF c0 = rect.GetOffset() + OffsetF(rect.Width() / 2, rect.Height() / 2); in ScaleDiagonalItem() 314 float startOffset = frameRect.GetOffset().GetMainOffset(axis_); in IsInHotZone() 361 int32_t to = ScaleNearItem(from, frameRect, realOffset_ - frameRect.GetOffset()); in HandleScrollCallback() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/ |
H A D | rosen_render_tool_bar_item.cpp | 91 rRect.offset(paintRect.GetOffset().GetX(), paintRect.GetOffset().GetY()); in DrawShape() 102 rRect.Offset(paintRect.GetOffset().GetX(), paintRect.GetOffset().GetY()); in DrawShape()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | click_recognizer.cpp | 75 localPoint = localPoint + paintRect.GetOffset(); in IsPointInRegion() 123 PointF localPoint(touchPoint.GetOffset().GetX(), touchPoint.GetOffset().GetY()); in GetClickInfo() 129 info.SetGlobalLocation(touchPoint.GetOffset()).SetLocalLocation(localOffset); in GetClickInfo() 179 PointF localPoint(touchPoint.GetOffset().GetX(), touchPoint.GetOffset().GetY()); in OnAccepted() 191 info.SetGlobalLocation(touchPoint.GetOffset()).SetLocalLocation(localOffset); in OnAccepted() 423 sumOfPoints = sumOfPoints + element.second.GetOffset(); in ComputeFocusPoint() 455 PointF localPoint(touchPoint.GetOffset().GetX(), touchPoint.GetOffset().GetY()); in GetGestureEventInfo() 460 …info.SetGlobalLocation(touchPoint.GetOffset()).SetLocalLocation(Offset(localPoint.GetX(), localPoi… in GetGestureEventInfo()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | render_node.cpp | 220 touchRect_.SetOffset(box->GetTouchArea().GetOffset() + touchRect_.GetOffset()); in UpdateTouchRect() 237 …Rect responseRegion(touchRect_.GetOffset().GetX() + x, touchRect_.GetOffset().GetY() + y, width, h… in UpdateTouchRect() 269 rect.SetOffset(childRect.GetOffset() + GetPaintRect().GetOffset()); in CompareTouchRectList() 606 if (paintRect_.GetOffset() != offset) { in SetPositionInternal() 1436 offset = offset - context->GetPageRect().GetOffset(); in GetOffsetToPage() 1547 Offset paintOffset = paintRect.GetOffset(); in GetRectWithShadow() 1548 Offset shadowOffset = shadowRect.GetOffset(); in GetRectWithShadow() 1751 paintX_.MoveTo(paintRect_.GetOffset().GetX()); in CreateLayoutTransition() 1754 paintY_.MoveTo(paintRect_.GetOffset().GetY()); in CreateLayoutTransition() 1775 …if (paintX_.Value() == paintRect_.GetOffset().GetX() && paintY_.Value() == paintRect_.GetOffset().… in CreatePathAnimation() [all …]
|
H A D | rosen_render_context.cpp | 50 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 D | flutter_render_context.cpp | 80 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()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_buffer_info_adapter_wrapper.cpp | 32 int32_t ArkBufferInfoAdapterWrapper::GetOffset() in GetOffset() function in OHOS::ArkWeb::ArkBufferInfoAdapterWrapper 34 return ctocpp_->GetOffset(); in GetOffset()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_buffer_info_adapter_impl.cpp | 34 int32_t ArkBufferInfoAdapterImpl::GetOffset() in GetOffset() function in OHOS::ArkWeb::ArkBufferInfoAdapterImpl 36 return real_->GetOffset(); in GetOffset()
|
H A D | ark_ohos_file_mapper_impl.cpp | 29 int32_t ArkOhosFileMapperImpl::GetOffset() in GetOffset() function in OHOS::ArkWeb::ArkOhosFileMapperImpl 31 return real_->GetOffset(); in GetOffset()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/split_container/ |
H A D | render_split_container.cpp | 275 info.SetGlobalLocation(event.GetOffset()); in HandleMouseEvent() 276 …info.SetLocalLocation(event.GetOffset() - Offset(GetCoordinatePoint().GetX(), GetCoordinatePoint()… 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | grid_property.cpp | 33 Dimension GridProperty::GetOffset() in GetOffset() function in OHOS::Ace::NG::GridProperty 37 auto offset = gridInfo_->GetOffset(); in GetOffset() 164 auto gridOffset = gridInfo_->GetOffset(GridSizeType::UNDEFINED); in ToJsonValue() 174 jsonValue->Put("offset", gridInfo_->GetOffset(type)); in ToJsonValue()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | rosen_render_list.cpp | 287 …ect skRect = SkRect::MakeXYWH(item->GetPaintRect().GetOffset().GetX(), item->GetPaintRect().GetOff… in PaintItemZone() 309 RSRect rect = RSRect(item->GetPaintRect().GetOffset().GetX(), in PaintItemZone() 310 item->GetPaintRect().GetOffset().GetY(), in PaintItemZone() 311 item->GetPaintRect().Width() + item->GetPaintRect().GetOffset().GetX(), in PaintItemZone() 312 item->GetPaintRect().Height() + item->GetPaintRect().GetOffset().GetY()); in PaintItemZone()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_interactable_view_ffi.cpp | 199 lastCjPosition.x = lastRect.GetOffset().GetX(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged() 200 lastCjPosition.y = lastRect.GetOffset().GetY(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged() 201 lastCjGlobalPosition.x = lastRect.GetOffset().GetX() + lastOrigin.GetX(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged() 202 lastCjGlobalPosition.y = lastRect.GetOffset().GetY() + lastOrigin.GetY(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged() 211 cjPosition.x = rect.GetOffset().GetX(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged() 212 cjPosition.y = rect.GetOffset().GetY(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged() 213 cjGlobalPosition.x = rect.GetOffset().GetX() + origin.GetX(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged() 214 cjGlobalPosition.y = rect.GetOffset().GetY() + origin.GetY(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
|