/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_context_select_overlay.cpp | 48 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 D | web_pattern.cpp | 3640 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 D | web_pattern.h | 905 void CheckHandles(SelectHandleInfo& handleInfo, const std::shared_ptr<OHOS::NWeb::NWebTouchHandleState>& handle);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_service_device.cpp | 101 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 D | a2dp_service_device.h | 79 * @param handleInfo The handle of device. 82 void SetHandle(uint16_t handleInfo);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_select_overlay.cpp | 42 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 D | text_styles.h | 214 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 D | base_text_select_overlay.h | 278 void SetTransformPaintInfo(SelectHandleInfo& handleInfo, const RectF& localHandleRect);
|
H A D | base_text_select_overlay.cpp | 350 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 D | text_pattern.h | 446 virtual void CheckHandles(SelectHandleInfo& handleInfo) {}; in CheckHandles() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
H A D | select_overlay_pattern.cpp | 363 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 D | select_overlay_content_modifier.cpp | 331 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 D | select_overlay_pattern.h | 210 RectF GetHandlePaintRect(const SelectHandleInfo& handleInfo); 239 void UpdateOffsetOnMove(RectF& region, SelectHandleInfo& handleInfo, const OffsetF& offset, bool isFirst);
|
H A D | select_overlay_content_modifier.h | 206 void PaintHandle(RSCanvas& canvas, const HandleDrawInfo& handleInfo);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_select_overlay.cpp | 46 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 D | select_content_overlay_pattern.cpp | 238 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 D | text_field_select_overlay.cpp | 206 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 D | web_pattern_focus_test_ng.cpp | 1486 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 D | image_pattern_test_ng.cpp | 759 SelectHandleInfo handleInfo; in HWTEST_F() local 763 imagePattern->CheckHandles(handleInfo); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | select_overlay_manager_test_ng.cpp | 1229 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 D | image_pattern.h | 130 void CheckHandles(SelectHandleInfo& handleInfo);
|
H A D | image_pattern.cpp | 239 void ImagePattern::CheckHandles(SelectHandleInfo& handleInfo) 254 auto paintRect = handleInfo.paintRect; 257 handleInfo.isShow = visibleContentRect.IsInRegion(bottomPoint) && visibleContentRect.IsInRegion(topPoint);
|