/ohos5.0/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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | keyboard_base_pattern.h | 54 void SetKeyboardSafeHeight(const float safeHeight) in SetKeyboardSafeHeight() argument 56 safeHeight_ = safeHeight; in SetKeyboardSafeHeight()
|
H A D | overlay_manager.h | 564 void AvoidCustomKeyboard(int32_t targetId, float safeHeight);
|
H A D | overlay_manager.cpp | 5459 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 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 | 4102 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 D | mock_pipeline_context.cpp | 302 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 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | pipeline_base.cpp | 731 …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 D | pipeline_base.h | 951 …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 D | pipeline_context.h | 239 …onst std::shared_ptr<Rosen::RSTransaction>& rsTransaction = nullptr, const float safeHeight = 0.0f,
|
H A D | pipeline_context.cpp | 1986 …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 D | pipeline_context.h | 980 …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 D | pipeline_context.cpp | 1745 …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()
|