Home
last modified time | relevance | path

Searched refs:Direction (Results 1 – 25 of 33) sorted by relevance

12

/foundation/graphic/ui/frameworks/components/
Dui_box_progress.cpp25 SetDirection(Direction::DIR_LEFT_TO_RIGHT); in UIBoxProgress()
42 case Direction::DIR_LEFT_TO_RIGHT: in DrawValidRect()
45 case Direction::DIR_TOP_TO_BOTTOM: in DrawValidRect()
48 case Direction::DIR_RIGHT_TO_LEFT: in DrawValidRect()
51 case Direction::DIR_BOTTOM_TO_TOP: in DrawValidRect()
86 case Direction::DIR_LEFT_TO_RIGHT: in DrawRoundCap()
87 case Direction::DIR_RIGHT_TO_LEFT: { in DrawRoundCap()
99 case Direction::DIR_TOP_TO_BOTTOM: in DrawRoundCap()
100 case Direction::DIR_BOTTOM_TO_TOP: { in DrawRoundCap()
131 if (direction_ == Direction::DIR_LEFT_TO_RIGHT || direction_ == Direction::DIR_RIGHT_TO_LEFT) { in DrawRoundCap()
[all …]
Dui_slider.cpp121 case Direction::DIR_LEFT_TO_RIGHT: { in DrawKnob()
127 case Direction::DIR_RIGHT_TO_LEFT: { in DrawKnob()
133 case Direction::DIR_BOTTOM_TO_TOP: { in DrawKnob()
139 case Direction::DIR_TOP_TO_BOTTOM: { in DrawKnob()
201 case Direction::DIR_LEFT_TO_RIGHT: { in DrawForeground()
211 case Direction::DIR_RIGHT_TO_LEFT: { in DrawForeground()
221 case Direction::DIR_TOP_TO_BOTTOM: { in DrawForeground()
231 case Direction::DIR_BOTTOM_TO_TOP: { in DrawForeground()
283 case Direction::DIR_LEFT_TO_RIGHT: in UpdateCurrentValue()
292 case Direction::DIR_RIGHT_TO_LEFT: in UpdateCurrentValue()
[all …]
/foundation/aafwk/standard/interfaces/innerkits/app_manager/src/appmgr/
Dconfiguration_convertor.cpp42 Global::Resource::Direction ConvertDirection(int32_t height, int32_t width) in ConvertDirection()
44 return height >= width ? Global::Resource::Direction::DIRECTION_VERTICAL : in ConvertDirection()
45 Global::Resource::Direction::DIRECTION_HORIZONTAL; in ConvertDirection()
48 Global::Resource::Direction ConvertDirection(std::string direction) in ConvertDirection()
50 auto resolution = Global::Resource::Direction::DIRECTION_NOT_SET; in ConvertDirection()
52 static const std::vector<std::pair<std::string, Global::Resource::Direction>> resolutions = { in ConvertDirection()
53 { "vertical", Global::Resource::Direction::DIRECTION_VERTICAL }, in ConvertDirection()
54 { "horizontal", Global::Resource::Direction::DIRECTION_HORIZONTAL }, in ConvertDirection()
140 std::string GetDirectionStr(Global::Resource::Direction direction) in GetDirectionStr()
145 case Global::Resource::Direction::DIRECTION_VERTICAL: in GetDirectionStr()
[all …]
/foundation/ace/ace_engine/adapter/ohos/osal/
Dresource_convertor.cpp38 Global::Resource::Direction ConvertDirectionToGlobal(DeviceOrientation orientation) in ConvertDirectionToGlobal()
42 return Global::Resource::Direction::DIRECTION_VERTICAL; in ConvertDirectionToGlobal()
44 return Global::Resource::Direction::DIRECTION_HORIZONTAL; in ConvertDirectionToGlobal()
46 return Global::Resource::Direction::DIRECTION_NOT_SET; in ConvertDirectionToGlobal()
102 DeviceOrientation ConvertDirectionToAce(Global::Resource::Direction orientation) in ConvertDirectionToAce()
105 case Global::Resource::Direction::DIRECTION_VERTICAL: in ConvertDirectionToAce()
107 case Global::Resource::Direction::DIRECTION_HORIZONTAL: in ConvertDirectionToAce()
Dresource_convertor.h30 Global::Resource::Direction ConvertDirectionToGlobal(DeviceOrientation orientation);
35 DeviceOrientation ConvertDirectionToAce(Global::Resource::Direction orientation);
/foundation/ace/ace_engine/adapter/preview/osal/
Dresource_convertor.cpp38 Global::Resource::Direction ConvertDirectionToGlobal(DeviceOrientation orientation) in ConvertDirectionToGlobal()
42 return Global::Resource::Direction::DIRECTION_VERTICAL; in ConvertDirectionToGlobal()
44 return Global::Resource::Direction::DIRECTION_HORIZONTAL; in ConvertDirectionToGlobal()
46 return Global::Resource::Direction::DIRECTION_NOT_SET; in ConvertDirectionToGlobal()
102 DeviceOrientation ConvertDirectionToAce(Global::Resource::Direction orientation) in ConvertDirectionToAce()
105 case Global::Resource::Direction::DIRECTION_VERTICAL: in ConvertDirectionToAce()
107 case Global::Resource::Direction::DIRECTION_HORIZONTAL: in ConvertDirectionToAce()
/foundation/graphic/ui/interfaces/kits/components/
Dui_box_progress.h56 enum class Direction : uint8_t { enum
142 void SetDirection(const Direction& direction) in SetDirection()
155 Direction GetDirection() const in GetDirection()
244 Direction direction_;
/foundation/graphic/ui/test/unittest/components/
Dui_box_progress_unit_test.cpp91 UIBoxProgress::Direction direction = UIBoxProgress::Direction::DIR_BOTTOM_TO_TOP;
94 direction = UIBoxProgress::Direction::DIR_LEFT_TO_RIGHT;
97 direction = UIBoxProgress::Direction::DIR_RIGHT_TO_LEFT;
100 direction = UIBoxProgress::Direction::DIR_TOP_TO_BOTTOM;
/foundation/graphic/standard/rosen/modules/2d_graphics/src/engine_adapter/skia_adapter/
Dskia_path.cpp59 SkPath::Direction pathDir = static_cast<SkPath::Direction>(dir); in AddRect()
69 SkPath::Direction pathDir = static_cast<SkPath::Direction>(dir); in AddOval()
93 SkPath::Direction pathDir = static_cast<SkPath::Direction>(dir); in AddCircle()
104 SkPath::Direction pathDir = static_cast<SkPath::Direction>(dir); in AddRoundRect()
/foundation/ace/ace_engine/frameworks/core/components/text_field/
Don_text_changed_listener_impl.cpp154 void OnTextChangedListenerImpl::MoveCursor(MiscServices::Direction direction) in MoveCursor()
163 case MiscServices::Direction::UP: in MoveCursor()
166 case MiscServices::Direction::DOWN: in MoveCursor()
169 case MiscServices::Direction::LEFT: in MoveCursor()
172 case MiscServices::Direction::RIGHT: in MoveCursor()
Don_text_changed_listener_impl.h36 void MoveCursor(MiscServices::Direction direction) override;
/foundation/aafwk/standard/interfaces/innerkits/app_manager/include/appmgr/
Dconfiguration_convertor.h25 Global::Resource::Direction ConvertDirection(int32_t height, int32_t width);
26 Global::Resource::Direction ConvertDirection(std::string direction);
/foundation/ace/ace_engine_lite/frameworks/src/core/components/
Dslider_component.cpp30 direction_(UISlider::Direction::DIR_LEFT_TO_RIGHT)
188 …direction_ = (!strcmp(directionValue, sliderDirectionColumn)) ? UISlider::Direction::DIR_BOTTOM_TO… in SetDirection()
189 … : UISlider::Direction::DIR_LEFT_TO_RIGHT; in SetDirection()
198 if (direction_ == UISlider::Direction::DIR_BOTTOM_TO_TOP) { in SetWidthAndHeight()
Dslider_component.h54 UISlider::Direction direction_;
/foundation/ace/ace_engine/frameworks/core/components/tip/
Dflutter_render_tip.cpp98 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopTip()
104 SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopTip()
110 …SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, globalArrowPosition.GetX() - c… in PaintTopTip()
115 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopTip()
157 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintLeftTip()
164 SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintLeftTip()
170 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintLeftTip()
176 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintLeftTip()
Drosen_render_tip.cpp98 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopTip()
104 SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopTip()
110 …SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, globalArrowPosition.GetX() - c… in PaintTopTip()
115 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopTip()
157 SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintLeftTip()
164 SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintLeftTip()
170 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintLeftTip()
176 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintLeftTip()
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/
Ddisplay_info.h24 enum Direction { enum
116 Direction direction;
/foundation/multimodalinput/input/service/window_manager/include/
Dinput_windows_manager.h110 bool TouchDownPointToDisplayPoint(struct libinput_event_touch* touch, Direction& direction,
112 bool TouchMotionPointToDisplayPoint(struct libinput_event_touch* touch, Direction& direction,
114 …bool TransformOfDisplayPoint(struct libinput_event_touch* touch, Direction& direction, int32_t &gl…
116 void TurnTouchScreen(PhysicalDisplayInfo* info, Direction direction,
/foundation/ace/ace_engine/frameworks/core/components/bubble/
Dflutter_render_bubble.cpp156 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopBubble()
162 SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopBubble()
168 …SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, arrowPosition_.GetX() - childH… in PaintTopBubble()
173 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopBubble()
218 …SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCW_Direction, arrowPosition_.GetX() + childHa… in PaintBottomBubble()
223 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCW_Direction, in PaintBottomBubble()
229 …0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCW_Direction, arrowPosition_.GetX() - c… in PaintBottomBubble()
234 SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCW_Direction, in PaintBottomBubble()
Drosen_render_bubble.cpp157 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopBubble()
163 SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopBubble()
169 …SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, arrowPosition_.GetX() - childH… in PaintTopBubble()
174 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCCW_Direction, in PaintTopBubble()
219 …SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCW_Direction, arrowPosition_.GetX() + childHa… in PaintBottomBubble()
224 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCW_Direction, in PaintBottomBubble()
230 …0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCW_Direction, arrowPosition_.GetX() - c… in PaintBottomBubble()
235 SkPath::ArcSize::kSmall_ArcSize, SkPath::Direction::kCW_Direction, in PaintBottomBubble()
/foundation/multimodalinput/input/service/touch_transform_point/include/
Dtouch_transform_point_processor.h40 Direction direction_ {Direction0};
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/
DjsEnumStyle.js477 var Direction; variable
478 (function (Direction) { argument
479 Direction["Ltr"] = "Ltr";
480 Direction["Rtl"] = "Rtl";
481 Direction["Auto"] = "Auto";
482 })(Direction || (Direction = {}));
/foundation/graphic/ui/test/uitest/test_slider/
Dui_test_slider.cpp143 slider_->SetDirection(UISlider::Direction::DIR_BOTTOM_TO_TOP); in SetUp()
436 slider_->SetDirection(UISlider::Direction::DIR_BOTTOM_TO_TOP); in OnClick()
491 slider_->SetDirection(UISlider::Direction::DIR_LEFT_TO_RIGHT); in ExpandClick1()
499 slider_->SetDirection(UISlider::Direction::DIR_RIGHT_TO_LEFT); in ExpandClick1()
507 slider_->SetDirection(UISlider::Direction::DIR_TOP_TO_BOTTOM); in ExpandClick1()
515 slider_->SetDirection(UISlider::Direction::DIR_BOTTOM_TO_TOP); in ExpandClick1()
531 slider_->SetDirection(UISlider::Direction::DIR_BOTTOM_TO_TOP); in ExpandClick2()
/foundation/ace/ace_engine/frameworks/core/components_v2/indexer/
Dpopup_list_component.h43 ACE_DEFINE_COMPONENT_PROP(Direction, Axis, Axis::VERTICAL);
/foundation/graphic/ui/test/uitest/test_progress_bar/
Dui_test_box_progress.cpp328 boxProgress_->SetDirection(UIBoxProgress::Direction::DIR_LEFT_TO_RIGHT); in OnClick()
378 boxProgress_->SetDirection(UIBoxProgress::Direction::DIR_LEFT_TO_RIGHT); in OnClick()
383 boxProgress_->SetDirection(UIBoxProgress::Direction::DIR_RIGHT_TO_LEFT); in OnClick()
388 boxProgress_->SetDirection(UIBoxProgress::Direction::DIR_TOP_TO_BOTTOM); in OnClick()
393 boxProgress_->SetDirection(UIBoxProgress::Direction::DIR_BOTTOM_TO_TOP); in OnClick()

12