Searched refs:IF_TRUE (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_select_overlay.cpp | 167 IF_TRUE(isChangeSecondHandle, pattern->TriggerAvoidOnCaretChange()); in OnHandleMove() 232 IF_TRUE(pattern->IsEditing(), pattern->StartTwinkling()); in OnHandleMoveDone() 408 IF_TRUE(needResetSelection, pattern->ResetSelection()); in OnCloseOverlay() 409 IF_TRUE(isHoldByOther, pattern->CloseSelectOverlay()); in OnCloseOverlay() 411 IF_TRUE((info && info->isSingleHandle), pattern->OnBackPressed()); in OnCloseOverlay()
|
H A D | rich_editor_pattern.h | 77 #define IF_TRUE(cond, func) \ macro 793 IF_TRUE(SelectOverlayIsOn(), selectOverlay_->UpdateHandleColor()); in SetCaretColor() 962 IF_TRUE(isMoveContent, MoveCaretToContentRect());
|
H A D | rich_editor_pattern.cpp | 275 IF_TRUE(oneStepDragParam_, dirtyImageNodes.push(WeakClaim(RawPtr(imageNode)))); in SetImageLayoutProperty() 612 IF_TRUE(!isRichEditorInit_, FireOnReady()); in OnDirtyLayoutWrapperSwap() 616 IF_TRUE(originalFrameRect.GetSize() != frameRect_.GetSize(), { in OnDirtyLayoutWrapperSwap() 620 IF_TRUE(!isModifyingContent_, UpdateCaretInfoToController()); in OnDirtyLayoutWrapperSwap() 882 IF_TRUE(start, imageEventHub->SetOnDragStart(std::move(oneStepDragStart))); in CopyDragCallback() 893 IF_TRUE(end, end(event)); in CopyDragCallback() 2792 IF_TRUE(SelectOverlayIsOn(), selectOverlay_->DisableMenu()); in HandleSingleClickEvent() 3561 IF_TRUE(previewLongPress_, CloseKeyboard(true)); in HandleDoubleClickOrLongPress() 6700 IF_TRUE(IsSingleHandle(), ForceTriggerAvoidOnCaretChange()); in OnBackPressed() 7806 IF_TRUE(!editingLongPress_, selectType = SelectType::SELECT_BACKWARD); in OnBackPressed() [all …]
|