/foundation/ability/ability_runtime/services/common/include/ |
H A D | hilog_tag_wrapper.h | 99 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 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() 169 .SetLocalLocation(event.GetOffset() in HandleTouchUpEvent() [all...] |
H A D | press_recognizer.cpp | 32 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 D | click_recognizer.cpp | 77 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 D | velocity_tracker.cpp | 131 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 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 | long_press_recognizer.cpp | 34 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 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()
|
/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()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | geometry_node.h | 72 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 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() in Paint() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_select_overlay.cpp | 47 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 D | rosen_render_tool_bar_item.cpp | 90 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 D | render_grid_col.cpp | 56 int32_t RenderGridCol::GetOffset(GridSizeType sizeType) const in GetOffset() function in OHOS::Ace::V2::RenderGridCol 63 return gridCol->GetOffset(sizeType); in GetOffset()
|
H A D | grid_col_component.h | 78 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 D | list_item_drag_manager.cpp | 199 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 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 | render_node.cpp | 219 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 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()
|
/foundation/arkui/ace_engine/frameworks/core/components/scene_viewer/ |
H A D | scene_viewer_touch_handler.cpp | 62 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 D | render_mouse_listener.cpp | 61 newRect.SetOffset(rect.GetOffset() + GetPaintRect().GetOffset()); in UpdateTouchRect()
|
/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().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 D | click_recognizer.cpp | 71 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 D | cj_interactable_view_ffi.cpp | 192 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 D | grid_property.cpp | 29 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()
|