/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | layout_manager.cpp | 30 … { DIR_HORIZONTAL, { { DIR_FORWARD, KeyDirection::DOWN }, { DIR_REVERSE, KeyDirection::UP } } }, 31 … { DIR_VERTICAL, { { DIR_FORWARD, KeyDirection::RIGHT }, { DIR_REVERSE, KeyDirection::LEFT } } } 36 … { DIR_HORIZONTAL, { { DIR_FORWARD, KeyDirection::RIGHT }, { DIR_REVERSE, KeyDirection::LEFT } } }, 37 … { DIR_VERTICAL, { { DIR_FORWARD, KeyDirection::DOWN }, { DIR_REVERSE, KeyDirection::UP } } } 42 … { DIR_HORIZONTAL, { { DIR_FORWARD, KeyDirection::UP }, { DIR_REVERSE, KeyDirection::DOWN } } }, 43 … { DIR_VERTICAL, { { DIR_FORWARD, KeyDirection::RIGHT }, { DIR_REVERSE, KeyDirection::LEFT } } } 49 … { DIR_VERTICAL, { { DIR_FORWARD, KeyDirection::UP }, { DIR_REVERSE, KeyDirection::DOWN } } } 58 … { DIR_HORIZONTAL, { { DIR_FORWARD, KeyDirection::UP }, { DIR_REVERSE, KeyDirection::DOWN } } }, 59 … { DIR_VERTICAL, { { DIR_FORWARD, KeyDirection::RIGHT }, { DIR_REVERSE, KeyDirection::LEFT } } } 65 … { DIR_VERTICAL, { { DIR_FORWARD, KeyDirection::DOWN }, { DIR_REVERSE, KeyDirection::UP } } } [all …]
|
H A D | grid_layout_manager.cpp | 331 int32_t GridLayoutManager::focusMove(KeyDirection direction) in focusMove() 342 case KeyDirection::UP: in focusMove() 343 case KeyDirection::DOWN: { in focusMove() 344 … auto next = renderList_.GetItemByIndex(direction == KeyDirection::UP ? --index : ++index); in focusMove() 351 … next = renderList_.GetItemByIndex(direction == KeyDirection::UP ? --index : ++index); in focusMove() 355 case KeyDirection::LEFT: in focusMove() 363 case KeyDirection::RIGHT: in focusMove()
|
H A D | grid_layout_manager.h | 25 typedef std::map<KeyDirection, int32_t> RelationMap; 41 int32_t focusMove(KeyDirection direction) override;
|
H A D | layout_manager.h | 44 extern const std::map<bool, std::map<FlexDirection, std::map<bool, std::map<bool, KeyDirection>>>> … 64 virtual int32_t focusMove(KeyDirection key) = 0; 82 KeyDirection key = DIRECTION_MAP.at(rightToLeft_).at(direction_).at(vertical).at(reverse); in RequestNextFocus()
|
H A D | list_layout_manager.h | 49 int32_t focusMove(KeyDirection direction) override;
|
H A D | render_list_item_group.cpp | 681 KeyDirection key = DIRECTION_MAP.at(rightToLeft_).at(direction_).at(vertical).at(reverse); in GetNextFocusIndex() 683 case KeyDirection::UP: in GetNextFocusIndex() 685 case KeyDirection::DOWN: { in GetNextFocusIndex()
|
H A D | list_layout_manager.cpp | 513 int32_t ListLayoutManager::focusMove(KeyDirection direction) in focusMove() 517 case KeyDirection::UP: in focusMove() 518 case KeyDirection::DOWN: { in focusMove() 519 … auto next = renderList_.GetItemByIndex(direction == KeyDirection::UP ? --index : ++index); in focusMove()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | focusable_grid.cpp | 34 const std::map<bool, std::map<bool, KeyDirection>> DIRECTION_MAP = { 35 { HORIZONTAL, { { FORWARD, KeyDirection::RIGHT }, { REVERSE, KeyDirection::LEFT } } }, 36 { VERTICAL, { { FORWARD, KeyDirection::DOWN }, { REVERSE, KeyDirection::UP } } } 43 KeyDirection key = DIRECTION_MAP.at(vertical).at(reverse); in RequestNextFocus() 52 int32_t FocusableGrid::FocusMove(KeyDirection direction) in FocusMove() 59 case KeyDirection::UP: in FocusMove() 62 case KeyDirection::DOWN: in FocusMove() 65 case KeyDirection::LEFT: in FocusMove() 68 case KeyDirection::RIGHT: in FocusMove() 98 if (next < firstDayIndex_ && direction == KeyDirection::UP) { in FocusMove()
|
H A D | focusable_grid.h | 46 int32_t FocusMove(KeyDirection direction);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid/ |
H A D | render_grid.cpp | 47 { HORIZONTAL, { { FORWARD, KeyDirection::DOWN }, { REVERSE, KeyDirection::UP } } }, 48 { VERTICAL, { { FORWARD, KeyDirection::RIGHT }, { REVERSE, KeyDirection::LEFT } } } 53 { HORIZONTAL, { { FORWARD, KeyDirection::RIGHT }, { REVERSE, KeyDirection::LEFT } } }, 54 { VERTICAL, { { FORWARD, KeyDirection::DOWN }, { REVERSE, KeyDirection::UP } } } 59 { HORIZONTAL, { { FORWARD, KeyDirection::UP }, { REVERSE, KeyDirection::DOWN } } }, 60 { VERTICAL, { { FORWARD, KeyDirection::RIGHT }, { REVERSE, KeyDirection::LEFT } } } 65 { HORIZONTAL, { { FORWARD, KeyDirection::RIGHT }, { REVERSE, KeyDirection::LEFT } } }, 66 { VERTICAL, { { FORWARD, KeyDirection::UP }, { REVERSE, KeyDirection::DOWN } } } 424 case KeyDirection::UP: in RequestNextFocus() 523 if ((keyDirection == KeyDirection::LEFT || keyDirection == KeyDirection::RIGHT) && in FocusMove() [all …]
|
H A D | render_grid.h | 31 typedef std::map<KeyDirection, int32_t> RelationMap; 149 …e(const Offset& position, const std::function<bool(int32_t)>& condition, KeyDirection keyDirection,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/ |
H A D | render_grid_layout.cpp | 60 const std::map<bool, std::map<bool, std::map<bool, KeyDirection>>> DIRECTION_MAP = { 62 { { HORIZONTAL, { { FORWARD, KeyDirection::RIGHT }, { REVERSE, KeyDirection::LEFT } } }, 63 { VERTICAL, { { FORWARD, KeyDirection::DOWN }, { REVERSE, KeyDirection::UP } } } } }, 65 { { HORIZONTAL, { { FORWARD, KeyDirection::LEFT }, { REVERSE, KeyDirection::RIGHT } } }, 66 { VERTICAL, { { FORWARD, KeyDirection::DOWN }, { REVERSE, KeyDirection::UP } } } } } 156 KeyDirection key = DIRECTION_MAP.at(rightToLeft_).at(vertical).at(reverse); in RequestNextFocus() 165 int32_t RenderGridLayout::focusMove(KeyDirection direction) in focusMove() 172 case KeyDirection::UP: in focusMove() 175 case KeyDirection::DOWN: in focusMove() 178 case KeyDirection::LEFT: in focusMove() [all …]
|
H A D | render_grid_layout.h | 256 int32_t focusMove(KeyDirection direction);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | constants.h | 456 enum class KeyDirection { enum
|