Home
last modified time | relevance | path

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

/ohos5.0/foundation/window/window_manager/interfaces/innerkits/wm/
H A Doccupied_area_change_info.h30 OccupiedAreaChangeInfo(OccupiedAreaType type, Rect rect, uint32_t safeHeight) in OccupiedAreaChangeInfo() argument
31 : type_(type), rect_(rect), safeHeight_(safeHeight) {}; in OccupiedAreaChangeInfo()
35 OccupiedAreaChangeInfo(OccupiedAreaType type, Rect rect, uint32_t safeHeight, in OccupiedAreaChangeInfo() argument
37 : type_(type), rect_(rect), safeHeight_(safeHeight), in OccupiedAreaChangeInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Dkeyboard_base_pattern.h54 void SetKeyboardSafeHeight(const float safeHeight) in SetKeyboardSafeHeight() argument
56 safeHeight_ = safeHeight; in SetKeyboardSafeHeight()
H A Doverlay_manager.h564 void AvoidCustomKeyboard(int32_t targetId, float safeHeight);
H A Doverlay_manager.cpp5459 void OverlayManager::AvoidCustomKeyboard(int32_t targetId, float safeHeight) in AvoidCustomKeyboard() argument
5469 pattern->SetKeyboardSafeHeight(safeHeight); in AvoidCustomKeyboard()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_manager.cpp124 auto safeHeight = caretHeight + curPattern->GetCaretRect().GetY(); in TriggerCustomKeyboardAvoid() local
126 safeHeight = caretHeight; in TriggerCustomKeyboardAvoid()
133 keyboardOverLay->AvoidCustomKeyboard(nodeId, safeHeight); in TriggerCustomKeyboardAvoid()
H A Dtext_field_pattern.cpp4102 auto safeHeight = caretHeight + selectController_->GetCaretRect().GetY(); in RequestCustomKeyboard() local
4104 safeHeight = caretHeight; in RequestCustomKeyboard()
4106 keyboardOverlay_->AvoidCustomKeyboard(frameNode->GetId(), safeHeight); in RequestCustomKeyboard()
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/pipeline/
H A Dmock_pipeline_context.cpp302 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, in OnVirtualKeyboardHeightChange() argument
311 const float safeHeight, const bool supportAvoidance) in AvoidanceLogic() argument
756 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, in OnVirtualKeyboardAreaChange() argument
/ohos5.0/foundation/window/window_manager/test/fuzztest/wms/window_fuzzer/
H A Dwindow_fuzzer.cpp268 int32_t safeHeight = 80; in DoSomethingInterestingWithMyAPI1() local
269 startPos += GetObject<int32_t>(safeHeight, data + startPos, size - startPos); in DoSomethingInterestingWithMyAPI1()
271 OccupiedAreaType::TYPE_INPUT, rect_, safeHeight); in DoSomethingInterestingWithMyAPI1()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_base.cpp731 …const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, bool supportAv… in OnVirtualKeyboardAreaChange() argument
748 …OnVirtualKeyboardHeightChange(keyboardHeight, rsTransaction, safeHeight, supportAvoidance, forceCh… in OnVirtualKeyboardAreaChange()
H A Dpipeline_base.h951 …onst std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, const float safeHeight = 0.0f,
1484 …onst std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, const float safeHeight = 0.0f,
H A Dpipeline_context.h239 …onst std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, const float safeHeight = 0.0f,
H A Dpipeline_context.cpp1986 …const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, const bool sup… in OnVirtualKeyboardHeightChange() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.h980 …onst std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, const float safeHeight = 0.0f,
990 const float safeHeight = 0.0f, const bool supportAvoidance = false);
H A Dpipeline_context.cpp1745 …const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, const bool sup… in OnVirtualKeyboardHeightChange() argument
1763 AvoidanceLogic(keyboardHeight, rsTransaction, safeHeight, supportAvoidance); in OnVirtualKeyboardHeightChange()
1776 const float safeHeight, const bool supportAvoidance) in AvoidanceLogic() argument
1778 auto func = [this, keyboardHeight, safeHeight, supportAvoidance]() mutable { in AvoidanceLogic()
1796 … } else if (LessOrEqual(positionY + safeHeight + textfieldHeight, rootHeight_ - keyboardHeight)) { in AvoidanceLogic()
1798 } else if (positionY + safeHeight + textfieldHeight > rootHeight_ - keyboardHeight) { in AvoidanceLogic()
1800 -(positionY - rootHeight_ + keyboardHeight)- safeHeight - textfieldHeight); in AvoidanceLogic()
1819 … keyboardHeight, positionY, safeHeight, rootHeight_, safeAreaManager_->GetKeyboardOffset()); in AvoidanceLogic()