Home
last modified time | relevance | path

Searched refs:bottomThreshold (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp8525 …float bottomThreshold = isDragging ? frameRect_.Height() - edgeThreshold : contentRect.Bottom() - … in OnBackPressed() local
8529 if (GreatNotEqual(handleBottomOffset.GetY(), bottomThreshold)) { in OnBackPressed()
8530 param.offset = bottomThreshold - handleBottomOffset.GetY(); in OnBackPressed()
8541 if (GreatNotEqual(offset.GetY(), bottomThreshold)) { in OnBackPressed()
8542 … param.offset = isDragging ? -CalcDragSpeed(bottomThreshold, frameRect_.Height(), offset.GetY()) in OnBackPressed()
8543 : bottomThreshold - offset.GetY(); in OnBackPressed()