Home
last modified time | relevance | path

Searched refs:topEdgeThreshold (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.cpp8524 float topEdgeThreshold = isDragging ? edgeThreshold : edgeThreshold + contentRect.GetY(); in OnBackPressed() local
8532 } else if (LessNotEqual(handleTopOffset.GetY(), topEdgeThreshold)) { in OnBackPressed()
8533 param.offset = topEdgeThreshold - handleTopOffset.GetY(); in OnBackPressed()
8545 } else if (LessNotEqual(offset.GetY(), topEdgeThreshold)) { in OnBackPressed()
8546 param.offset = isDragging ? CalcDragSpeed(topEdgeThreshold, 0, offset.GetY()) in OnBackPressed()
8547 : topEdgeThreshold - offset.GetY(); in OnBackPressed()