Home
last modified time | relevance | path

Searched refs:handleInfo (Results 1 - 22 of 22) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_context_select_overlay.cpp48 SelectHandleInfo handleInfo; in GetFirstHandleInfo() local
49 handleInfo.paintRect = {}; in GetFirstHandleInfo()
50 handleInfo.isShow = CheckHandleVisible(handleInfo.paintRect); in GetFirstHandleInfo()
51 return handleInfo; in GetFirstHandleInfo()
58 SelectHandleInfo handleInfo; in GetSecondHandleInfo() local
59 handleInfo.paintRect = {}; in GetSecondHandleInfo()
60 handleInfo.isShow = CheckHandleVisible(handleInfo.paintRect); in GetSecondHandleInfo()
61 return handleInfo; in GetSecondHandleInfo()
[all...]
H A Dweb_pattern.cpp3640 void WebPattern::CheckHandles(SelectHandleInfo& handleInfo, in CheckHandles() argument
3649 handleInfo.isShow = false; in CheckHandles()
3662 auto paintRect = handleInfo.paintRect; in CheckHandles()
3665 handleInfo.isShow = (visibleInnerRect.IsInRegion(bottomPoint) && visibleInnerRect.IsInRegion(topPoint)); in CheckHandles()
4657 SelectHandleInfo handleInfo; in UpdateSelectHandleInfo() local
4660 handleInfo.paintRect = ComputeTouchHandleRect(startSelectionHandle_); in UpdateSelectHandleInfo()
4661 CheckHandles(handleInfo, startSelectionHandle_); in UpdateSelectHandleInfo()
4662 selectOverlayProxy_->UpdateFirstSelectHandleInfo(handleInfo); in UpdateSelectHandleInfo()
4664 handleInfo.paintRect = ComputeTouchHandleRect(endSelectionHandle_); in UpdateSelectHandleInfo()
4665 CheckHandles(handleInfo, endSelectionHandle in UpdateSelectHandleInfo()
[all...]
H A Dweb_pattern.h905 void CheckHandles(SelectHandleInfo& handleInfo, const std::shared_ptr<OHOS::NWeb::NWebTouchHandleState>& handle);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_service_device.cpp101 void A2dpDeviceInfo::SetHandle(uint16_t handleInfo) in SetHandle() argument
104 LOG_INFO("[A2dpDeviceInfo] %{public}s handle_[%u]\n", __func__, handleInfo); in SetHandle()
106 handle_ = handleInfo; in SetHandle()
H A Da2dp_service_device.h79 * @param handleInfo The handle of device.
82 void SetHandle(uint16_t handleInfo);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_select_overlay.cpp42 SelectHandleInfo handleInfo; in GetFirstHandleInfo() local
43 handleInfo.paintRect = textPattern->GetTextSelector().firstHandle; in GetFirstHandleInfo()
44 handleInfo.isShow = CheckAndAdjustHandle(handleInfo.paintRect); in GetFirstHandleInfo()
48 handleInfo.localPaintRect = localPaintRect; in GetFirstHandleInfo()
49 SetTransformPaintInfo(handleInfo, localPaintRect); in GetFirstHandleInfo()
50 return handleInfo; in GetFirstHandleInfo()
57 SelectHandleInfo handleInfo; in GetSecondHandleInfo() local
58 handleInfo.paintRect = textPattern->GetTextSelector().secondHandle; in GetSecondHandleInfo()
59 handleInfo in GetSecondHandleInfo()
[all...]
H A Dtext_styles.h214 bool operator==(const HandleInfoNG& handleInfo) const in operator ==()
217 return rect == handleInfo.rect && index == handleInfo.index; in operator ==()
220 bool operator!=(const HandleInfoNG& handleInfo) const in operator !=()
222 return !operator==(handleInfo); in operator !=()
H A Dbase_text_select_overlay.h278 void SetTransformPaintInfo(SelectHandleInfo& handleInfo, const RectF& localHandleRect);
H A Dbase_text_select_overlay.cpp350 void BaseTextSelectOverlay::SetTransformPaintInfo(SelectHandleInfo& handleInfo, const RectF& localHandleRect) in SetTransformPaintInfo() argument
360 handleInfo.paintInfo = paintInfo; in SetTransformPaintInfo()
361 handleInfo.paintInfoConverter = [weak = WeakClaim(this)](const SelectHandlePaintInfo& paintInfo) { in SetTransformPaintInfo()
366 handleInfo.isPaintHandleWithPoints = true; in SetTransformPaintInfo()
367 handleInfo.isShow = in SetTransformPaintInfo()
H A Dtext_pattern.h446 virtual void CheckHandles(SelectHandleInfo& handleInfo) {}; in CheckHandles() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dselect_overlay_pattern.cpp363 RectF& region, SelectHandleInfo& handleInfo, const OffsetF& offset, bool isFirst) in UpdateOffsetOnMove()
368 handleInfo.paintRect += offset; in UpdateOffsetOnMove()
369 handleInfo.localPaintRect += offset; in UpdateOffsetOnMove()
372 handleInfo.localPaintRect += info_->getDeltaHandleOffset(); in UpdateOffsetOnMove()
374 auto paintRect = isOverlayMode ? handleInfo.paintRect : handleInfo.localPaintRect; in UpdateOffsetOnMove()
375 handleInfo.paintInfo = handleInfo.paintInfo + offset; in UpdateOffsetOnMove()
376 if (isOverlayMode && handleInfo.isPaintHandleWithPoints && handleInfo in UpdateOffsetOnMove()
362 UpdateOffsetOnMove( RectF& region, SelectHandleInfo& handleInfo, const OffsetF& offset, bool isFirst) UpdateOffsetOnMove() argument
418 GetHandlePaintRect(const SelectHandleInfo& handleInfo) GetHandlePaintRect() argument
[all...]
H A Dselect_overlay_content_modifier.cpp331 void SelectOverlayContentModifier::PaintHandle(RSCanvas& canvas, const HandleDrawInfo& handleInfo) in PaintHandle() argument
336 canvas.Translate(handleInfo.centerOffset.GetX(), handleInfo.centerOffset.GetY()); in PaintHandle()
339 if (handleInfo.isCircleShow) { in PaintHandle()
362 float handleLineWidth = handleInfo.handleWidth; in PaintHandle()
363 if (handleInfo.isHandleLineShow && !NearZero(handleLineWidth)) { in PaintHandle()
373 canvas.DrawLine(RSPoint(handleInfo.startPoint.GetX(), handleInfo.startPoint.GetY()), in PaintHandle()
374 RSPoint(handleInfo.endPoint.GetX(), handleInfo in PaintHandle()
[all...]
H A Dselect_overlay_pattern.h210 RectF GetHandlePaintRect(const SelectHandleInfo& handleInfo);
239 void UpdateOffsetOnMove(RectF& region, SelectHandleInfo& handleInfo, const OffsetF& offset, bool isFirst);
H A Dselect_overlay_content_modifier.h206 void PaintHandle(RSCanvas& canvas, const HandleDrawInfo& handleInfo);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_select_overlay.cpp46 SelectHandleInfo handleInfo; in GetFirstHandleInfo() local
47 handleInfo.paintRect = pattern->textSelector_.firstHandle; in GetFirstHandleInfo()
48 handleInfo.isShow = CheckHandleVisible(handleInfo.paintRect); in GetFirstHandleInfo()
50 auto localPaintRect = handleInfo.paintRect; in GetFirstHandleInfo()
52 handleInfo.localPaintRect = localPaintRect; in GetFirstHandleInfo()
53 SetTransformPaintInfo(handleInfo, localPaintRect); in GetFirstHandleInfo()
54 return handleInfo; in GetFirstHandleInfo()
61 SelectHandleInfo handleInfo; in GetSecondHandleInfo() local
62 handleInfo in GetSecondHandleInfo()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_content_overlay/
H A Dselect_content_overlay_pattern.cpp238 auto& handleInfo = isFirst ? info_->firstHandle : info_->secondHandle; in SetHandleCircleIsShow() local
239 if (handleInfo.isCircleShow != isShow) { in SetHandleCircleIsShow()
240 handleInfo.isCircleShow = isShow; in SetHandleCircleIsShow()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_select_overlay.cpp206 SelectHandleInfo handleInfo; in GetHandleInfo() local
207 handleInfo.localPaintRect = handlePaintRect; in GetHandleInfo()
209 handleInfo.paintRect = handleRect; in GetHandleInfo()
210 handleInfo.isShow = CheckHandleVisible(handleRect); in GetHandleInfo()
212 SetTransformPaintInfo(handleInfo, handlePaintRect); in GetHandleInfo()
213 return handleInfo; in GetHandleInfo()
/foundation/arkui/ace_engine/test/unittest/core/pattern/web/
H A Dweb_pattern_focus_test_ng.cpp1486 SelectHandleInfo handleInfo; in HWTEST_F() local
1487 webPattern->CheckHandles(handleInfo, handle); in HWTEST_F()
1489 EXPECT_TRUE(handleInfo.isShow); in HWTEST_F()
1514 SelectHandleInfo handleInfo; in HWTEST_F() local
1516 webPattern->CheckHandles(handleInfo, handle); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/image/
H A Dimage_pattern_test_ng.cpp759 SelectHandleInfo handleInfo; in HWTEST_F() local
763 imagePattern->CheckHandles(handleInfo); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/manager/
H A Dselect_overlay_manager_test_ng.cpp1229 SelectHandleInfo handleInfo; in HWTEST_F() local
1233 clientInfo.firstHandleInfo = handleInfo; in HWTEST_F()
1446 SelectHandleInfo handleInfo; in HWTEST_F() local
1459 clientInfo.firstHandleInfo = handleInfo; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_pattern.h130 void CheckHandles(SelectHandleInfo& handleInfo);
H A Dimage_pattern.cpp239 void ImagePattern::CheckHandles(SelectHandleInfo& handleInfo)
254 auto paintRect = handleInfo.paintRect;
257 handleInfo.isShow = visibleContentRect.IsInRegion(bottomPoint) && visibleContentRect.IsInRegion(topPoint);

Completed in 36 milliseconds