Home
last modified time | relevance | path

Searched refs:direction_ (Results 1 – 25 of 198) sorted by relevance

12345678

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/wrap/
H A Drender_wrap.cpp53 direction_ = wrap->GetDirection(); in Update()
166 … if ((direction_ == WrapDirection::VERTICAL || direction_ == WrapDirection::VERTICAL_REVERSE) && in PerformLayout()
355 … return direction_ == WrapDirection::HORIZONTAL || direction_ == WrapDirection::HORIZONTAL_REVERSE in GetMainItemLength()
362 return direction_ == WrapDirection::VERTICAL || direction_ == WrapDirection::VERTICAL_REVERSE in GetCrossItemLength()
369 … if (direction_ == WrapDirection::HORIZONTAL || direction_ == WrapDirection::HORIZONTAL_REVERSE) { in PerformLayoutInitialize()
381 … if (direction_ == WrapDirection::HORIZONTAL || direction_ == WrapDirection::HORIZONTAL_REVERSE) { in GetLeftSize()
459 … if (direction_ == WrapDirection::HORIZONTAL || direction_ == WrapDirection::HORIZONTAL_REVERSE) { in GetContentOffset()
545 … if (direction_ == WrapDirection::HORIZONTAL || direction_ == WrapDirection::HORIZONTAL_REVERSE) { in GetItemMainOffset()
598 … if (direction_ == WrapDirection::VERTICAL || direction_ == WrapDirection::VERTICAL_REVERSE) { in PositionedItem()
635 … if (direction_ == WrapDirection::HORIZONTAL || direction_ == WrapDirection::HORIZONTAL_REVERSE) { in HandleCenterAlignment()
[all …]
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_scroll_view.h177 if (direction_ == VERTICAL || direction_ == HORIZONTAL_AND_VERTICAL) { in SetHorizontalScrollState()
178 direction_ = state ? HORIZONTAL_AND_VERTICAL : VERTICAL; in SetHorizontalScrollState()
180 direction_ = state ? HORIZONTAL : HORIZONTAL_NOR_VERTICAL; in SetHorizontalScrollState()
193 return (direction_ == HORIZONTAL || direction_ == HORIZONTAL_AND_VERTICAL); in GetHorizontalScrollState()
206 if (direction_ == HORIZONTAL || direction_ == HORIZONTAL_AND_VERTICAL) { in SetVerticalScrollState()
207 direction_ = state ? HORIZONTAL_AND_VERTICAL : HORIZONTAL; in SetVerticalScrollState()
209 direction_ = state ? VERTICAL : HORIZONTAL_NOR_VERTICAL; in SetVerticalScrollState()
222 return (direction_ == VERTICAL || direction_ == HORIZONTAL_AND_VERTICAL); in GetVerticalScrollState()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Drender_flex.cpp171 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in MakeStretchInnerLayoutParam()
190 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in MakeLayoutParamWithLimit()
739 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in PlaceChildren()
817 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in RedoLayoutFlexItem()
877 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in GetBaselineDistance()
891 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in GetChildViewPort()
981 (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE)) { in ResizeByItem()
1028 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in GetMainSize()
1046 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in GetCrossSize()
1077 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in GetConstrainedSize()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dpan_recognizer.cpp51 direction_ = newDirection_; in HandleTouchDownEvent()
57 if (direction_.type == PanDirection::NONE) { in HandleTouchDownEvent()
83 if (direction_.type == PanDirection::NONE) { in HandleTouchDownEvent()
192 if ((direction_.type & PanDirection::VERTICAL) == 0) { in HandleTouchMoveEvent()
225 if ((direction_.type & PanDirection::HORIZONTAL) == 0) { in HandleTouchMoveEvent()
253 if ((direction_.type & PanDirection::VERTICAL) == 0) { in HandleTouchMoveEvent()
390 direction_.type = curr->direction_.type; in ReconcileFrom()
406 if ((direction_.type & PanDirection::VERTICAL) == 0) { in SetDirection()
422 if (direction_.type != direction.type) { in ChangeDirection()
423 direction_.type = direction.type; in ChangeDirection()
[all …]
H A Dslide_recognizer.cpp63 direction_ = newDirection_; in HandleTouchDownEvent()
69 if (direction_.type == SwipeDirection::NONE) { in HandleTouchDownEvent()
91 direction_ = newDirection_; in HandleTouchDownEvent()
97 if (direction_.type == SwipeDirection::NONE) { in HandleTouchDownEvent()
324 if ((direction_.type & SwipeDirection::HORIZONTAL) != 0) { in ParseFingersOffset()
333 if ((direction_.type & SwipeDirection::VERTICAL) != 0) { in ParseFingersOffset()
358 if ((direction_.type & SwipeDirection::HORIZONTAL) != 0) { in ParseAxisOffset()
366 if ((direction_.type & SwipeDirection::VERTICAL) != 0) { in ParseAxisOffset()
430 direction_.type = curr->direction_.type; in ReconcileFrom()
449 if (direction_.type != direction.type) { in ChangeDirection()
[all …]
H A Dpan_recognizer.h34 : direction_(direction), distance_(distance), context_(context) in PanRecognizer()
39 newDirection_ = direction_; in PanRecognizer()
40 if ((direction_.type & PanDirection::VERTICAL) == 0) { in PanRecognizer()
42 } else if ((direction_.type & PanDirection::HORIZONTAL) == 0) { in PanRecognizer()
62 direction_.type = directNum; in PanRecognizer()
67 newDirection_ = direction_; in PanRecognizer()
144 PanDirection direction_; variable
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_scroll_view.cpp39 direction_ = HORIZONTAL_AND_VERTICAL; in UIScrollView()
74 if ((direction_ == HORIZONTAL || direction_ == HORIZONTAL_AND_VERTICAL) && xDistance != 0) { in Drag()
77 if ((direction_ == VERTICAL || direction_ == HORIZONTAL_AND_VERTICAL) && yDistance != 0) { in Drag()
92 if (direction_ == HORIZONTAL_NOR_VERTICAL) { in OnRotateEvent()
102 if (direction_ == HORIZONTAL) { in OnRotateEvent()
111 if (direction_ == HORIZONTAL) { in OnRotateEvent()
151 if (direction_ == HORIZONTAL) { in SetIsEdge()
166 if ((direction_ == HORIZONTAL || direction_ == HORIZONTAL_AND_VERTICAL) && xDistance != 0) { in ScrollBy()
169 if ((direction_ == VERTICAL || direction_ == HORIZONTAL_AND_VERTICAL) && yDistance != 0) { in ScrollBy()
187 !(direction_ == HORIZONTAL || direction_ == HORIZONTAL_AND_VERTICAL)) { in DragXInner()
[all …]
H A Dui_swipe_view.cpp28 direction_ = direction; in UISwipeView()
73 if (direction_ == HORIZONTAL) { in MoveHeadOrTailChild()
164 if (direction_ == HORIZONTAL) { in OnDragEvent()
179 if (direction_ == HORIZONTAL) { in OnDragEndEvent()
203 if (direction_ == HORIZONTAL) { in OnRotateEvent()
218 if (direction_ == HORIZONTAL) { in OnRotateEndEvent()
223 if (direction_ == HORIZONTAL) { in OnRotateEndEvent()
277 if (direction_ == HORIZONTAL) { in SwitchToPage()
320 if (direction_ == HORIZONTAL) { in SortChild()
489 if (direction_ == HORIZONTAL) { in IsNeedLoop()
[all …]
H A Dui_list.cpp175 direction_ = direction; in UIList()
200 if (direction_ == VERTICAL) { in OnDragEvent()
250 if (direction_ == VERTICAL) { in ScrollBy()
358 if (direction_ == VERTICAL) { in MoveOffset()
404 if (direction_ == VERTICAL) { in IsNeedReCalculateDragEnd()
422 if (direction_ == VERTICAL) { in ReCalculateDragEnd()
516 if (direction_ == VERTICAL) { in MoveChildStep()
539 if (direction_ == VERTICAL) { in GetSelectView()
787 if (direction_ == VERTICAL) { in RefreshList()
839 if ((direction_ == VERTICAL) || (direction_ == HORIZONTAL_AND_VERTICAL)) { in CalculateReboundDistance()
[all …]
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dres_config_impl.cpp27 direction_(DIRECTION_NOT_SET), in ResConfigImpl()
85 this->direction_ = direction; in SetDirection()
105 return this->direction_; in GetDirection()
190 if (this->direction_ != DIRECTION_NOT_SET && in Match()
191 other->direction_ != DIRECTION_NOT_SET) { in Match()
192 if (this->direction_ != other->direction_) { in Match()
230 if (this->direction_ != other->direction_ && in IsMoreSuitable()
231 request->direction_ != Direction::DIRECTION_NOT_SET) { in IsMoreSuitable()
232 return this->direction_ != Direction::DIRECTION_NOT_SET; in IsMoreSuitable()
292 if (this->direction_ != other->direction_) { in IsMoreSpecificThan()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dflex_layout_algorithm.cpp619 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in SecondaryMeasureByProperty()
806 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in UpdateLayoutConstraintOnMainAxis()
816 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in UpdateLayoutConstraintOnCrossAxis()
836 if (IsHorizontal(direction_)) { in MarginOnMainAxisNegative()
893 … mainAxisSize_ = direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE in Measure()
904 direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE in Measure()
917 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in Measure()
954 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in Measure()
1022 direction_ = ReverseFlexDirection(direction_); in Layout()
1119 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in PlaceChildren()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Drender_water_flow.cpp127 if (direction_ == FlexDirection::COLUMN || direction_ == FlexDirection::ROW) { in PerformLayout()
206 if (direction_ == FlexDirection::COLUMN || direction_ == FlexDirection::ROW) { in UpdateScrollPosition()
217 if (direction_ == FlexDirection::COLUMN || direction_ == FlexDirection::ROW) { in UpdateScrollPosition()
271 switch (direction_) { in SetChildPosition()
543 switch (direction_) { in SetFooterPosition()
742 switch (direction_) { in InitScrollBar()
831 if (direction_ == FlexDirection::COLUMN || direction_ == FlexDirection::ROW) { in ScrollToIndex()
878 switch (direction_) { in IsAxisScrollable()
934 switch (direction_) { in OnChildAdded()
1148 if (direction_ == FlexDirection::COLUMN || direction_ == FlexDirection::ROW) { in CheckReachHead()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dpan_recognizer.cpp52 panVelocity_.SetDirection(direction_.type); in PanRecognizer()
78 direction_.type = directNum; in PanRecognizer()
84 newDirection_ = direction_; in PanRecognizer()
208 direction_ = newDirection_; in HandleTouchDownEvent()
210 if (direction_.type == PanDirection::NONE) { in HandleTouchDownEvent()
266 direction_ = newDirection_; in HandleTouchDownEvent()
274 if (direction_.type == PanDirection::NONE) { in HandleTouchDownEvent()
784 direction_.type = curr->direction_.type; in ReconcileFrom()
830 if (direction_.type != direction.type) { in ChangeDirection()
831 direction_.type = direction.type; in ChangeDirection()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/gestures/
H A Dpan_recognizer_test_ng.cpp573 panRecognizer.direction_.type = PanDirection::ALL;
582 panRecognizer.direction_.type = PanDirection::ALL;
601 panRecognizer.direction_.type = PanDirection::LEFT;
656 panRecognizer.direction_.type = PanDirection::DOWN;
667 panRecognizer.direction_.type = PanDirection::UP;
677 panRecognizer.direction_.type = PanDirection::UP;
1110 panRecognizer.direction_ = panDirection;
1111 panRecognizer.direction_.type = PanDirection::ALL;
1138 panRecognizer.direction_.type = PanDirection::LEFT;
1168 panGestureOption->direction_.type = -1;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drender_list_item_group.h78 …return (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) ? size.Width… in GetMainSize()
95 return (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) in MakeValue()
102 …return (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) ? size.Heigh… in GetCrossSize()
131 FlexDirection direction_ = FlexDirection::COLUMN; variable
H A Drender_list_item_group.cpp76 if (direction_ == FlexDirection::COLUMN) { in GetRotateAngle()
78 } else if (direction_ == FlexDirection::COLUMN_REVERSE) { in GetRotateAngle()
80 } else if (direction_ == FlexDirection::ROW) { in GetRotateAngle()
93 if (direction_ == FlexDirection::ROW || direction_ == FlexDirection::ROW_REVERSE) { in MakeInnerLayoutParam()
117 … if (direction_ == FlexDirection::COLUMN || direction_ == FlexDirection::COLUMN_REVERSE) { in AddArrowImage()
232 …if ((rightToLeft_ && direction_ == FlexDirection::ROW) || direction_ == FlexDirection::ROW_REVERSE… in LayoutExpandableList()
233 direction_ == FlexDirection::COLUMN_REVERSE) { in LayoutExpandableList()
303 …if ((rightToLeft_ && direction_ == FlexDirection::ROW) || direction_ == FlexDirection::ROW_REVERSE… in PerformLayout()
304 direction_ == FlexDirection::COLUMN_REVERSE) { in PerformLayout()
543 if (direction_ != direction) { in ChangeDirection()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/
H A Dscroll_effect_test_ng.cpp156 EXPECT_EQ(scrollFadeEffect->fadePainter_->direction_, OverScrollDirection::UP);
162 EXPECT_EQ(scrollFadeEffect->fadePainter_->direction_, OverScrollDirection::DOWN);
166 EXPECT_EQ(scrollFadeEffect->fadePainter_->direction_, OverScrollDirection::LEFT);
170 EXPECT_EQ(scrollFadeEffect->fadePainter_->direction_, OverScrollDirection::RIGHT);
243 scrollFadeEffect->fadePainter_->direction_ = OverScrollDirection::UP;
246 scrollFadeEffect->fadePainter_->direction_ = OverScrollDirection::DOWN;
248 scrollFadeEffect->fadePainter_->direction_ = OverScrollDirection::LEFT;
255 scrollFadeEffect->fadePainter_->direction_ = OverScrollDirection::RIGHT;
292 EXPECT_EQ(scrollFadeEffect->fadePainter_->direction_, OverScrollDirection::UP);
341 EXPECT_EQ(scrollFadeEffect->fadePainter_->direction_, OverScrollDirection::UP);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_div.cpp109 if (direction_ == DOM_FLEX_ROW || direction_ == DOM_FLEX_ROW_REVERSE) { in CreateOrUpdateGrid()
115 if (direction_ == DOM_FLEX_COLUMN_REVERSE) { in CreateOrUpdateGrid()
117 } else if (direction_ == DOM_FLEX_ROW) { in CreateOrUpdateGrid()
119 } else if (direction_ == DOM_FLEX_ROW_REVERSE) { in CreateOrUpdateGrid()
146 auto direction = FlexDirectionMap.find(direction_); in CreateOrUpdateFlex()
211 auto direction = WrapDirectionMap.find(direction_); in CreateOrUpdateWrap()
357 … if (parentNode->GetTag() == DOM_NODE_TAG_PANEL && direction_ == DOM_FLEX_COLUMN && overflowFlag) { in OnMounted()
373 … { DOM_FLEX_DIRECTION, [](const std::string& value, DOMDiv& div) { div.direction_ = value; } }, in SetSpecializedStyle()
548 } else if (direction_ == DOM_FLEX_COLUMN) { in CompositeComponents()
554 } else if (direction_ == DOM_FLEX_ROW) { in CompositeComponents()
[all …]
H A Ddom_stack.cpp61 stack.direction_ = FlexDirection::COLUMN; in GetAxisOffset()
63 stack.direction_ = FlexDirection::COLUMN_REVERSE; in GetAxisOffset()
65 stack.direction_ = FlexDirection::ROW_REVERSE; in GetAxisOffset()
67 stack.direction_ = FlexDirection::ROW; in GetAxisOffset()
96 if (FlexDirection::COLUMN == direction_) { in PrepareSpecializedComponent()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dres_config_impl.cpp44 direction_(DIRECTION_NOT_SET), in ResConfigImpl()
167 this->direction_ = direction; in SetDirection()
244 return this->direction_; in GetDirection()
436 if (!IsDirectionMatch(other->direction_)) { in Match()
466 if (this->direction_ != DIRECTION_NOT_SET && direction != DIRECTION_NOT_SET) { in IsDirectionMatch()
467 if (this->direction_ != direction) { in IsDirectionMatch()
545 if (this->direction_ != other->direction_ && in IsMoreSuitable()
546 request->direction_ != Direction::DIRECTION_NOT_SET) { in IsMoreSuitable()
547 return this->direction_ != Direction::DIRECTION_NOT_SET; in IsMoreSuitable()
710 if (this->direction_ != other->direction_) { in IsMoreSpecificThan()
[all …]
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/layout/
H A Dlayout.h82 Layout() : direction_(LAYOUT_HOR) {} in Layout()
103 direction_ = direction; in SetLayoutDirection()
107 DirectionType direction_;
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser/box/
H A Ditem_property_transform_box.h44 HeifTransformMirrorDirection GetDirection() const { return direction_; } in GetDirection()
46 void SetDirection(HeifTransformMirrorDirection dir) { direction_ = dir; } in SetDirection()
54 HeifTransformMirrorDirection direction_ = HeifTransformMirrorDirection::VERTICAL;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/effect/
H A Dscroll_fade_painter.h71 direction_ = direction; in SetDirection()
76 return direction_; in GetDirection()
82 OverScrollDirection direction_ = OverScrollDirection::UP; variable
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/
H A Ditem_property_transform_box.cpp40direction_ = (axis & 0x01) ? HeifTransformMirrorDirection::HORIZONTAL : HeifTransformMirrorDirecti… in ParseContent()
46 if (direction_ == HeifTransformMirrorDirection::INVALID) { in Write()
50 writer.Write8(static_cast<uint8_t>(direction_)); in Write()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_animation_fraction.cpp75 direction_ = direction; in SetDirectionAfterStart()
91 if (direction_ == ForwardDirection::NORMAL) { in IsStartRunning()
139 if (direction_ == ForwardDirection::NORMAL) { in GetAnimationFraction()
177 if (direction_ == ForwardDirection::NORMAL) { in IsFinished()
196 …if ((autoReverse_ && repeatCount_ % REVERSE_COUNT == 0) || direction_ == ForwardDirection::REVERSE… in GetEndFraction()

12345678