/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | occupied_area_change_info.h | 30 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 D | keyboard_base_pattern.h | 56 void SetKeyboardSafeHeight(const float safeHeight) in SetKeyboardSafeHeight() argument 58 safeHeight_ = safeHeight; in SetKeyboardSafeHeight()
|
H A D | overlay_manager.h | 596 void AvoidCustomKeyboard(int32_t targetId, float safeHeight);
|
H A D | overlay_manager.cpp | 5482 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 D | text_field_manager.cpp | 124 auto safeHeight = caretHeight + curPattern->GetCaretRect().GetY(); in TriggerCustomKeyboardAvoid() local 126 safeHeight = caretHeight; in TriggerCustomKeyboardAvoid() 133 keyboardOverLay->AvoidCustomKeyboard(nodeId, safeHeight); in TriggerCustomKeyboardAvoid()
|
H A D | text_field_pattern.cpp | 4088 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 D | mock_pipeline_context.cpp | 444 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 D | window_fuzzer.cpp | 268 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 D | pipeline_base.cpp | 736 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 D | pipeline_base.h | 929 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 D | pipeline_context.h | 239 const std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, const float safeHeight = 0.0f,
|
H A D | pipeline_context.cpp | 1976 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 D | pipeline_context.h | 985 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 D | pipeline_context.cpp | 2036 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 D | window_test.cpp | 2808 auto safeHeight = 0;
in HWTEST_F() local 2811 sptr<OccupiedAreaChangeInfo> info = sptr<OccupiedAreaChangeInfo>::MakeSptr(type, rect, safeHeight,
in HWTEST_F()
|