Home
last modified time | relevance | path

Searched refs:safeHeight (Results 1 - 15 of 15) sorted by relevance

/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()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Dkeyboard_base_pattern.h56 void SetKeyboardSafeHeight(const float safeHeight) in SetKeyboardSafeHeight() argument
58 safeHeight_ = safeHeight; in SetKeyboardSafeHeight()
H A Doverlay_manager.h596 void AvoidCustomKeyboard(int32_t targetId, float safeHeight);
H A Doverlay_manager.cpp5482 void OverlayManager::AvoidCustomKeyboard(int32_t targetId, float safeHeight) in AvoidCustomKeyboard() argument
5492 pattern->SetKeyboardSafeHeight(safeHeight); in AvoidCustomKeyboard()
/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.cpp4088 auto safeHeight = caretHeight + selectController_->GetCaretRect().GetY(); in RequestCustomKeyboard() local
4090 safeHeight = caretHeight; in RequestCustomKeyboard()
4092 keyboardOverlay_->AvoidCustomKeyboard(frameNode->GetId(), safeHeight); in RequestCustomKeyboard()
/foundation/arkui/ace_engine/test/mock/core/pipeline/
H A Dmock_pipeline_context.cpp444 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, in OnVirtualKeyboardHeightChange()
453 const float safeHeight, const bool supportAvoidance) in AvoidanceLogic()
900 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, in OnVirtualKeyboardAreaChange()
443 OnVirtualKeyboardHeightChange(float keyboardHeight, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, const bool supportAvoidance, bool forceChange) OnVirtualKeyboardHeightChange() argument
452 AvoidanceLogic(float keyboardHeight, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, const bool supportAvoidance) AvoidanceLogic() argument
899 OnVirtualKeyboardAreaChange(Rect keyboardArea, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, const bool supportAvoidance, bool forceChange) OnVirtualKeyboardAreaChange() argument
/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()
/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_base.cpp736 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, bool supportAvoidance, in OnVirtualKeyboardAreaChange()
753 OnVirtualKeyboardHeightChange(keyboardHeight, rsTransaction, safeHeight, supportAvoidance, forceChange); in OnVirtualKeyboardAreaChange()
735 OnVirtualKeyboardAreaChange(Rect keyboardArea, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, bool supportAvoidance, bool forceChange) OnVirtualKeyboardAreaChange() argument
H A Dpipeline_base.h929 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, const float safeHeight = 0.0f,
1473 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, const float safeHeight = 0.0f, in OnVirtualKeyboardHeightChange()
H A Dpipeline_context.h239 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, const float safeHeight = 0.0f,
H A Dpipeline_context.cpp1976 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, const bool supportAvoidance, in OnVirtualKeyboardHeightChange()
1975 OnVirtualKeyboardHeightChange(float keyboardHeight, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, const bool supportAvoidance, bool forceChange) OnVirtualKeyboardHeightChange() argument
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.h985 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, const float safeHeight = 0.0f,
996 const float safeHeight = 0.0f, const bool supportAvoidance = false);
H A Dpipeline_context.cpp2036 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, const bool supportAvoidance, in OnVirtualKeyboardHeightChange()
2054 AvoidanceLogic(keyboardHeight, rsTransaction, safeHeight, supportAvoidance); in OnVirtualKeyboardHeightChange()
2067 const float safeHeight, const bool supportAvoidance) in AvoidanceLogic()
2069 auto func = [this, keyboardHeight, safeHeight, supportAvoidance]() mutable { in AvoidanceLogic()
2087 } else if (LessOrEqual(positionY + safeHeight + textfieldHeight, rootHeight_ - keyboardHeight)) { in AvoidanceLogic()
2089 } else if (positionY + safeHeight + textfieldHeight > rootHeight_ - keyboardHeight) { in AvoidanceLogic()
2091 -(positionY - rootHeight_ + keyboardHeight)- safeHeight - textfieldHeight); in AvoidanceLogic()
2108 "AvoidanceLogic keyboardHeight: %{public}f, positionY: %{public}f, safeHeight: %{public}f, " in AvoidanceLogic()
2110 keyboardHeight, positionY, safeHeight, rootHeight_, safeAreaManager_->GetKeyboardOffset()); in AvoidanceLogic()
2035 OnVirtualKeyboardHeightChange(float keyboardHeight, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, const bool supportAvoidance, bool forceChange) OnVirtualKeyboardHeightChange() argument
2066 AvoidanceLogic(float keyboardHeight, const std::shared_ptr<Rosen::RSTransaction>& rsTransaction, const float safeHeight, const bool supportAvoidance) AvoidanceLogic() argument
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_test.cpp2808 auto safeHeight = 0; in HWTEST_F() local
2811 sptr<OccupiedAreaChangeInfo> info = sptr<OccupiedAreaChangeInfo>::MakeSptr(type, rect, safeHeight, in HWTEST_F()

Completed in 66 milliseconds