/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
H A D | select_overlay_pattern.cpp | 174 auto firstHandle = info_->GetFirstHandlePaintRect(); in UpdateHandleHotZone() local 180 firstHandleRegion_.SetSize({ hotZone * 2, hotZone * 2 + firstHandle.Height() }); in UpdateHandleHotZone() 181 auto firstHandleOffsetX = (firstHandle.Left() + firstHandle.Right()) / 2; in UpdateHandleHotZone() 188 if (!info_->firstHandle.isShow && info_->secondHandle.isShow) { in UpdateHandleHotZone() 202 auto firstHandleOffsetY = firstHandle.Top(); in UpdateHandleHotZone() 216 auto firstHandleOffsetY = firstHandle.Top(); in UpdateHandleHotZone() 221 auto firstHandleOffsetY = firstHandle.Top(); in UpdateHandleHotZone() 346 UpdateOffsetOnMove(firstHandleRegion_, info_->firstHandle, offset, true); in HandlePanMove() 400 auto paintRect = GetHandlePaintRect(info_->firstHandle); in HandlePanEnd() [all...] |
H A D | select_overlay_property.cpp | 49 return handleLevelMode == HandleLevelMode::OVERLAY ? firstHandle.paintRect : firstHandle.localPaintRect; in GetFirstHandlePaintRect()
|
H A D | select_overlay_paint_method.cpp | 49 selectOverlayModifier_->SetFirstHandleIsShow(info_.firstHandle.isShow); in UpdateOverlayModifier() 84 selectOverlayContentModifier_->SetFirstHandleIsShow(info_.firstHandle.isShow); in UpdateContentModifier() 92 isOverlayMode && (info_.firstHandle.isPaintHandleWithPoints || info_.secondHandle.isPaintHandleWithPoints)); in UpdateContentModifier() 94 selectOverlayContentModifier_->SetFirstHandlePaintInfo(info_.firstHandle.paintInfo - offset); in UpdateContentModifier() 99 selectOverlayContentModifier_->SetFirstCircleIsShow(info_.firstHandle.isCircleShow); in UpdateContentModifier()
|
H A D | select_overlay_layout_algorithm.cpp | 108 const auto firstHandleRect = info_->firstHandle.GetPaintRect() - offset; in CalculateCustomMenuLayoutConstraint() 185 !info_->firstHandle.isShow && !info_->secondHandle.isShow && !info_->isSelectRegionVisible; in LayoutChild() 262 return info.firstHandle.GetPaintRect().IsWrappedBy(info.showArea); in CheckInShowArea() 264 return info.firstHandle.GetPaintRect().IsWrappedBy(info.showArea) && in CheckInShowArea() 311 const auto firstHandleRect = info_->firstHandle.GetPaintRect() - offset; in ComputeSelectMenuPosition() 315 if (!info_->firstHandle.isShow) { in ComputeSelectMenuPosition() 332 if (!info_->firstHandle.isShow && info_->secondHandle.isShow && !info_->handleReverse) { in ComputeSelectMenuPosition() 335 if (info_->firstHandle.isShow && !info_->secondHandle.isShow && info_->handleReverse) { in ComputeSelectMenuPosition() 338 if (info_->firstHandle.isShow && info_->secondHandle.isShow && in ComputeSelectMenuPosition() 343 if (!info_->firstHandle in ComputeSelectMenuPosition() [all...] |
H A D | select_overlay_property.h | 262 SelectHandleInfo firstHandle; member 330 JSON_STRING_PUT_STRINGABLE(jsonValue, firstHandle); in ToString()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_content_overlay/ |
H A D | select_content_overlay_pattern.cpp | 96 auto firstRect = GetHandlePaintRect(info_->firstHandle); in CheckHandleReverse() 135 (info_->firstHandle.isPaintHandleWithPoints || info_->secondHandle.isPaintHandleWithPoints)) { in UpdateHandleHotZone() 156 if (!info_->firstHandle.isShow && info_->secondHandle.isShow) { in UpdateHandleHotZoneWithPoint() 211 auto startPoint = isFirst ? info_->firstHandle.paintInfo.startPoint : info_->secondHandle.paintInfo.startPoint; in GetHandleHotZoneOffset() 212 auto endPoint = isFirst ? info_->firstHandle.paintInfo.endPoint : info_->secondHandle.paintInfo.endPoint; in GetHandleHotZoneOffset() 238 auto& handleInfo = isFirst ? info_->firstHandle : info_->secondHandle; in SetHandleCircleIsShow()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_selector.h | 175 return std::max(firstHandle.Height(), secondHandle.Height()); in GetSelectHeight() 199 result.append(", firstHandle: "); in ToString() 200 result.append(firstHandle.ToString()); in ToString() 219 RectF firstHandle; member
|
H A D | text_select_controller.cpp | 393 RectF firstHandle; in CalculateHandleOffset() local 394 firstHandle.SetOffset(firstHandleOffset); in CalculateHandleOffset() 395 firstHandle.SetSize({ SelectHandleInfo::GetDefaultLineWidth().ConvertToPx(), firstHandleMetrics.height }); in CalculateHandleOffset() 396 AdjustHandleOffset(firstHandle); in CalculateHandleOffset() 397 firstHandleInfo_.rect = firstHandle; in CalculateHandleOffset() 503 RectF firstHandle; in MoveFirstHandleToContentRect() local 504 firstHandle.SetOffset(firstHandleOffset); in MoveFirstHandleToContentRect() 505 firstHandle.SetSize({ SelectHandleInfo::GetDefaultLineWidth().ConvertToPx(), firstHandleMetrics.height }); in MoveFirstHandleToContentRect() 507 MoveHandleToContentRect(firstHandle); in MoveFirstHandleToContentRect() 509 AdjustHandleAtEdge(firstHandle); in MoveFirstHandleToContentRect() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor_drag/ |
H A D | rich_editor_drag_info.h | 29 RectF firstHandle; member
|
H A D | rich_editor_drag_paint_method.cpp | 61 modifier->SetFirstHandle(info_.firstHandle - offset); in UpdateContentModifier()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avdtp/ |
H A D | avdtp_api.h | 140 uint16_t firstHandle; member 157 uint16_t firstHandle; member 274 extern uint16_t AvdtStartRsp(uint16_t firstHandle, uint8_t transLabel, uint16_t firstFailHandle, uint8_t errCode); 276 extern uint16_t AvdtSuspendRsp(uint16_t firstHandle, uint8_t transLabel, uint16_t firstFailHandle, uint8_t errCode);
|
H A D | avdtp_api.c | 1145 uint16_t AVDT_StartRsp(uint16_t firstHandle, uint8_t transLabel, uint16_t firstFailHandle, uint8_t errCode) in AVDT_StartRsp() argument 1147 LOG_INFO("[AVDT]%{public}s:transLabel(%hhu),firstHandle(%hu),firstFailHandle(%hu)", in AVDT_StartRsp() 1150 firstHandle, in AVDT_StartRsp() 1161 param->firstHandle = firstHandle; in AVDT_StartRsp() 1178 param->ret = AvdtStartRsp(param->firstHandle, param->transLabel, param->firstFailHandle, param->errCode); in AvdtStartRspTsk() 1183 uint16_t AvdtStartRsp(uint16_t firstHandle, uint8_t transLabel, uint16_t firstFailHandle, uint8_t errCode) in AvdtStartRsp() argument 1185 LOG_DEBUG("[AVDT]%{public}s:transLabel(%hhu),firstHandle(%hu),firstFailHandle(%hu)", in AvdtStartRsp() 1188 firstHandle, in AvdtStartRsp() 1191 AvdtStreamCtrl *streamCtrl = AvdtGetStreamCtrlByHandle(firstHandle); in AvdtStartRsp() 1297 AVDT_SuspendRsp(uint16_t firstHandle, uint8_t transLabel, uint16_t firstFailHandle, uint8_t errCode) AVDT_SuspendRsp() argument 1331 AvdtSuspendRsp(uint16_t firstHandle, uint8_t transLabel, uint16_t firstFailHandle, uint8_t errCode) AvdtSuspendRsp() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_overlay/ |
H A D | select_overlay_client.cpp | 45 selectOverlayInfo_.firstHandle.isShow = false; in InitSelectOverlay() 103 overlayInfo->firstHandle.isShow, overlayInfo->secondHandle.isShow, overlayInfo->isSelectRegionVisible); in CreateSelectOverlay() 122 overlayInfo.firstHandle = firstHandleInfo.has_value() ? *firstHandleInfo : overlayInfo.firstHandle; in GetSelectOverlayInfo() 176 proxy->UpdateFirstAndSecondHandleInfo(selectOverlayInfo->firstHandle, selectOverlayInfo->secondHandle); in UpdateShowingSelectOverlay()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_select_overlay.cpp | 43 handleInfo.paintRect = textPattern->GetTextSelector().firstHandle; in GetFirstHandleInfo() 46 auto localPaintRect = textPattern->GetTextSelector().firstHandle; in GetFirstHandleInfo() 72 auto localPaintRect = textPattern->GetTextSelector().firstHandle; in GetFirstHandleLocalPaintRect() 295 auto firstHandle = GetFirstHandleInfo(); in GetSelectAreaFromHandle() local 296 if (firstHandle) { in GetSelectAreaFromHandle() 297 auto firstRect = firstHandle->paintRect; in GetSelectAreaFromHandle()
|
H A D | text_pattern.cpp | 221 RectF firstHandle; in CalculateHandleOffsetAndShowOverlay() local 222 firstHandle.SetOffset(firstHandleOffset); in CalculateHandleOffsetAndShowOverlay() 223 firstHandle.SetSize({ SelectHandleInfo::GetDefaultLineWidth().ConvertToPx(), firstHandleMetrics.height }); in CalculateHandleOffsetAndShowOverlay() 224 firstHandle.SetOffset(OffsetF(firstHandle.GetX() - firstHandle.Width() / 2.0f, firstHandle.GetY())); in CalculateHandleOffsetAndShowOverlay() 225 textSelector_.firstHandle = firstHandle; in CalculateHandleOffsetAndShowOverlay() 1135 showSelectOverlayFunc(pattern->textSelector_.firstHandle, patter in SetOnClickMenu() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/select_overlay/ |
H A D | select_overlay_test_ng.cpp | 220 selectInfo.firstHandle.isShow = isShow[turn]; in HWTEST_F() 274 pattern->UpdateFirstSelectHandleInfo(selectInfo.firstHandle); in HWTEST_F() 276 pattern->UpdateFirstAndSecondHandleInfo(selectInfo.firstHandle, selectInfo.secondHandle); in HWTEST_F() 277 EXPECT_EQ(pattern->info_->firstHandle, selectInfo.firstHandle); in HWTEST_F() 315 selectInfo2.firstHandle.isShow = false; in HWTEST_F() 319 pattern->UpdateFirstSelectHandleInfo(selectInfo2.firstHandle); in HWTEST_F() 321 pattern->UpdateFirstAndSecondHandleInfo(selectInfo3.firstHandle, selectInfo3.secondHandle); in HWTEST_F() 498 auto firstHandlePaintRect = pattern->GetSelectOverlayInfo()->firstHandle.paintRect + offset; in HWTEST_F() 702 SelectHandleInfo firstHandle; in HWTEST_F() local 741 SelectHandleInfo firstHandle; HWTEST_F() local 2995 SelectHandleInfo firstHandle; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_content_overlay/ |
H A D | select_content_overlay_manager.cpp | 159 auto firstHandle = selectOverlayHolder_->GetFirstHandleInfo(); in UpdateStatusInfos() local 161 if (firstHandle.has_value()) { in UpdateStatusInfos() 162 overlayInfo.firstHandle = firstHandle.value(); in UpdateStatusInfos() 164 overlayInfo.firstHandle.isShow = false; in UpdateStatusInfos() 279 handlePattern->UpdateFirstAndSecondHandleInfo(info.firstHandle, info.secondHandle); in UpdateExistOverlay() 282 info.firstHandle.paintRect.ToString().c_str(), info.firstHandle.isShow, in UpdateExistOverlay() 451 info.firstHandle.paintRect.ToString().c_str(), info.firstHandle in CreateHandleLevelSelectOverlay() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_select_overlay.cpp | 47 handleInfo.paintRect = pattern->textSelector_.firstHandle; in GetFirstHandleInfo() 159 pattern->textSelector_.firstHandle.SetOffset(localOffset); in OnHandleMove() 285 auto& firstHandle = pattern->textSelector_.firstHandle; in OnUpdateSelectOverlayInfo() local 288 selectInfo.firstHandle.paintRect = firstHandle; in OnUpdateSelectOverlayInfo() 457 return overlayInfo->firstHandle.isShow && overlayInfo->secondHandle.isShow; in IsBothHandlesShow()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_overlay_test_ng.cpp | 449 richEditorPattern->textSelector_.firstHandle, richEditorPattern->textSelector_.secondHandle, false); in HWTEST_F() 547 richEditorPattern->textSelector_.firstHandle, richEditorPattern->textSelector_.secondHandle, false); in HWTEST_F() 692 richEditorPattern->textSelector_.firstHandle, richEditorPattern->textSelector_.secondHandle, false); in HWTEST_F() 813 richEditorPattern->textSelector_.firstHandle = RectF(20, 20, 20, 20); in HWTEST_F() 821 EXPECT_EQ(richEditorPattern->textSelector_.firstHandle.GetY(), 10); in HWTEST_F() 827 EXPECT_EQ(richEditorPattern->textSelector_.firstHandle.GetY(), 15); in HWTEST_F() 1189 richEditorPattern->textSelector_.firstHandle, richEditorPattern->textSelector_.secondHandle, false); in HWTEST_F() 1233 richEditorPattern->textSelector_.firstHandle, richEditorPattern->textSelector_.secondHandle, false); in HWTEST_F() 1247 auto selectInfoFirstHandle = selectOverlayInfo->firstHandle; in HWTEST_F() 1312 auto selectInfoFirstHandle = selectOverlayInfo->firstHandle; in HWTEST_F() [all...] |
H A D | rich_editor_pattern_testfive_ng.cpp | 198 richEditorPattern->textSelector_.firstHandle, richEditorPattern->textSelector_.secondHandle, false); in HWTEST_F() 232 richEditorPattern->textSelector_.firstHandle, richEditorPattern->textSelector_.secondHandle, false); in HWTEST_F()
|
H A D | rich_editor_pattern_testone_ng.cpp | 203 richEditorPattern->textSelector_.firstHandle, richEditorPattern->textSelector_.secondHandle, false); in HWTEST_F() 919 richEditorPattern->textSelector_.firstHandle, richEditorPattern->textSelector_.secondHandle, false); in HWTEST_F() 1002 richEditorPattern->textSelector_.firstHandle, richEditorPattern->textSelector_.secondHandle, false); in HWTEST_F() 1017 auto selectInfoFirstHandle = selectOverlayInfo->firstHandle; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/common/ai/ |
H A D | ai_write_adapter.h | 45 std::string firstHandle; member
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/ |
H A D | avdtp.h | 638 * @param[in] firstHandle First stream handle successful 645 BTSTACK_API uint16_t AVDT_StartRsp(uint16_t firstHandle, uint8_t transLabel, uint16_t firstFailHandle, uint8_t errCode); 667 * @param[in] firstHandle First stream handle successful 675 uint16_t firstHandle, uint8_t transLabel, uint16_t firstFailHandle, uint8_t errCode);
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor_drag/ |
H A D | rich_editor_drag_test_ng.cpp | 188 auto firstHandle = AceType::MakeRefPtr<PropertyRectF>(RectF(10.0f, 10.0f, 10.0f, 10.0f)); in HWTEST_F() local 193 dragOverlayModifier->firstHandle_ = firstHandle; in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/web/ |
H A D | web_pattern_new_branch_test.cpp | 1147 selectInfo.firstHandle.isShow = false;
in HWTEST_F() 1174 selectInfo.firstHandle.isShow = false;
in HWTEST_F() 1215 selectInfo.firstHandle.isShow = false;
in HWTEST_F()
|