Home
last modified time | relevance | path

Searched refs:Positive (Results 1 – 25 of 87) sorted by relevance

1234

/ohos5.0/build/docs/
H A Dpython3脚本优化.md110 print("Positive")
114 print("Positive")
122 print("Positive")
126 print("Positive")
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Dsendable-constraints.md9 **Positive Example:**
45 **Positive Example:**
79 **Positive Example:**
102 **Positive Example:**
127 **Positive Example:**
152 **Positive Example:**
181 **Positive Example:**
219 **Positive Example:**
286 **Positive Example:**
310 **Positive Example:**
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Ddimension.cpp55 if (Positive(param.vpScale)) { in CalcDimensionVp()
64 if (Positive(param.fpScale) && Positive(param.vpScale)) { in CalcDimensionFp()
73 if (Positive(param.lpxScale)) { in CalcDimensionLpx()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dlayout_constraint.inl21 if (!Positive(ratio)) {
77 if (!Positive(ratio)) {
94 if (!Positive(ratio)) {
107 if (!Positive(ratio)) {
126 if (!Positive(ratio)) {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_utils.h113 count = (Positive(static_cast<double>(count)) ? count : 1); in CaculateDisplayItemSpaceCount()
114 if (Positive(prevMargin) && Positive(nextMargin)) { in CaculateDisplayItemSpaceCount()
H A Dswiper_layout_algorithm.cpp49 bool hasPrevMargin = Positive(property->GetCalculatedPrevMargin()); in CheckIsSingleCase()
50 bool hasNextMargin = Positive(property->GetCalculatedNextMargin()); in CheckIsSingleCase()
124 ignoreBlankOffset_ = Positive(prevMargin_) ? -(prevMargin_ + spaceWidth_) : 0.0f; in UpdateLayoutInfoBeforeMeasureSwiper()
127 ignoreBlankOffset_ = Positive(nextMargin_) ? nextMargin_ + spaceWidth_ : 0.0f; in UpdateLayoutInfoBeforeMeasureSwiper()
451 if (Positive(endPos)) { in MeasureSwiper()
481 auto prevMarginMontage = Positive(prevMargin_) ? prevMargin_ + spaceWidth_ : 0.0f; in MeasureSwiper()
482 if (Positive(ignoreBlankOffset_)) { in MeasureSwiper()
487 (isLoop_ && Positive(prevMargin_))) { in MeasureSwiper()
538 if (isMeasureOneMoreItem_ || Positive(prevMargin_)) { in MeasureSwiper()
766 auto prevMarginMontage = Positive(prevMargin_) ? prevMargin_ + spaceWidth_ : 0.0f; in LayoutForward()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/
H A Dscroll_bar_pattern.h114 if (Positive(controlDistance_) ? !Positive(controlDistance) : Positive(controlDistance)) { in SetControlDistance()
H A Dscroll_bar_accessibility_property.cpp29 …if (scrollBarPattern->GetAxis() != Axis::NONE && Positive(scrollBarPattern->GetControlDistance()))… in IsScrollable()
H A Dscroll_bar_pattern.cpp351 if (!Positive(controlDistance_)) { in UpdateScrollBarDisplay()
361 if (!Positive(controlDistance_)) { in UpdateScrollBarDisplay()
531 if (!Positive(controlDistance_)) { in StartDisappearAnimator()
568 if (!Positive(controlDistance_)) { in StopDisappearAnimator()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_layout_info.cpp154 return reachStart_ && Positive(currentOffset_); in IsOutOfStart()
337 if (Positive(irregularHeight) && Positive(regularHeight)) { in GetLineHeights()
355 if (Negative(irregularHeight) && Positive(lastIrregularMainSize_)) { in GetContentHeight()
430 if (Negative(irregularHeight) && Positive(lastIrregularMainSize_)) { in SkipStartIndexByOffset()
838 while (!Positive(currentEndOffset)) { in UpdateStartIndexForExtralOffset()
848 } else if (Positive(currentOffset_)) { in UpdateStartIndexForExtralOffset()
852 while (Positive(preItemCurrentOffset)) { in UpdateStartIndexForExtralOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/
H A Drefresh_pattern.cpp611 return Positive(pattern->scrollOffset_) || NonNegative(offset); in InitCoordinationEvent()
1158 if (Negative(offset) && Positive(scrollOffset_)) { in HandleScroll()
1171 … (Positive(offset) && (nestedScroll.backward == NestedScrollMode::SELF_ONLY || in HandleScroll()
1181 … (Positive(offset) && nestedScroll.backward == NestedScrollMode::SELF_FIRST))) { in HandleScroll()
1215 … (Positive(velocity) && nestedScroll.backward == NestedScrollMode::PARENT_FIRST))) { in HandleScrollVelocity()
1221 if (Positive(scrollOffset_) || Positive(velocity)) { in HandleScrollVelocity()
1225 … (Positive(velocity) && nestedScroll.backward == NestedScrollMode::SELF_FIRST))) { in HandleScrollVelocity()
H A Drefresh_layout_algorithm.cpp174 … auto refreshingPosition = Positive(customBuilderHeight) ? distance + customBuilderHeight : 0.0f; in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_layout_algorithm.cpp62 if (Positive(curOffset_) && startNodeIndex_ >= 0) { in Measure()
107 if (Positive(curOffset_) && startNodeIndex_ >= 0) { in Layout()
H A Dlist_item_drag_manager.cpp217 if (Positive(mainDelta)) { in ScaleAxisNearItem()
265 if (Positive(mainDelta)) { in ScaleNearItem()
277 if (Positive(crossDelta)) { in ScaleNearItem()
290 diagonalIndex = Positive(crossDelta) ? nearIndex + 1 : nearIndex - 1; in ScaleNearItem()
H A Dlist_item_pattern.cpp493 if (Positive(curOffset_) && hasStartDeleteArea_) { in ChangeDeleteAreaStage()
541 …if (Positive(startNodeSize_) && GreatNotEqual(curOffset_, startNodeSize_ + startDeleteAreaDistance… in UpdatePostion()
548 … if (Positive(endNodeSize_) && GreatNotEqual(-curOffset_, endNodeSize_ + endDeleteAreaDistance_)) { in UpdatePostion()
554 …if (Positive(startNodeSize_) && GreatNotEqual(curOffset_, startNodeSize_) && !hasStartDeleteArea_)… in UpdatePostion()
556 …} else if (Positive(endNodeSize_) && GreatNotEqual(-curOffset_, endNodeSize_) && !hasEndDeleteArea… in UpdatePostion()
560 (Positive(curOffset_) && !HasStartNode() && !listItemEventHub->GetStartOnDelete())) { in UpdatePostion()
H A Dlist_position_map.h445 if (Positive(offset)) { in OptimizeBeforeMeasure()
458 while (Positive(posMap_[beginIndex].mainPos) && in OptimizeBeforeMeasure()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dbezier_variable_velocity_motion.h45 return Positive(offsetPct_) ? scrollOffset_ : Negative(offsetPct_) ? -scrollOffset_ : 0; in GetCurrentPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/
H A Ddivider_layout_algorithm.cpp40 …constrainStrokeWidth_ = Positive(strokeWidth.ConvertToPx()) ? static_cast<float>(strokeWidth.Conve… in MeasureContent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/
H A Dscroll_pattern.cpp280 if (Positive(scrollableDistance_)) { in IsOutOfBoundary()
281 return Positive(currentOffset_) || LessNotEqual(currentOffset_, -scrollableDistance_); in IsOutOfBoundary()
305 if (Positive(scrollableDistance_)) { in AdjustOffset()
898 …start = Positive(sizeDelta) ? sizeDelta - static_cast<int32_t>(sizeDelta / intervalSize) * interva… in CaleSnapOffsetsByInterval()
904 …start = Positive(sizeDelta) ? mainSize - static_cast<int32_t>(mainSize / intervalSize) * intervalS… in CaleSnapOffsetsByInterval()
911 if (!Positive(start)) { in CaleSnapOffsetsByInterval()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Dsize_t.h170 return Positive(width_) && Positive(height_); in IsPositive()
565 return Positive(width_.value_or(-1)) && Positive(height_.value_or(-1)); in IsPositive()
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-build-rule.md55 [Positive Example] Use the python script to automatically create a directory.
104 [Positive Example]
172 [Positive Example]
226 [Positive Example] Query the common file name extension conventions at http://www.fileextension.org…
372 [Positive Example] Use CMake system variables **CMAKE_BINARY_DIR** and **CMAKE_CURRENT_BINARY_DIR**…
390 [Positive Example] The CMake build project supports the function of specifying the Install Tree dir…
408 [Positive Example] A typical one-click build script **build.sh** is as follows:
440 [Positive Example] A typical command is as follows:
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_info_sw.cpp112 if (itemStart_ && !lanes_[0].empty() && Positive(lanes_[0][0].startPos - TopMargin())) { in OutOfBounds()
134 } else if (Positive(delta)) { in GetOverScrolledDelta()
146 if (Positive(disToBot) && LessNotEqual(maxHeight_, lastMainSize_)) { in GetOverScrolledDelta()
H A Dwater_flow_layout_sw.cpp259 if (Positive(delta)) { in ApplyDelta()
520 if (Positive(itemEndPos)) { in ClearFront()
656 if (startIdx == 0 && Positive(minStart)) { in AdjustOverScroll()
667 if (info_->StartIndex() == 0 && Positive(minStart)) { in AdjustOverScroll()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_pattern.cpp275 auto isAtTopAndPositive = (isAtTop && Positive(offset)); in OnScrollPosition()
400 if (isAtTop && Positive(offset)) { in CoordinateWithNavigation()
412 overOffsets.start = Positive(offset) ? std::min(offset, overOffsets.start) : overOffsets.start; in CoordinateWithNavigation()
423 if (Positive(offset)) { in CoordinateWithNavigation()
797 if ((isAtTop && Positive(offset)) || (isAtBottom && Negative(offset))) { in HandleEdgeEffect()
805 if (isAtTop && Positive(offset)) { in HandleEdgeEffect()
816 ((isAtTop && Positive(offset)) || (isAtBottom && Negative(offset))); in HandleEdgeEffect()
1821 if (Positive(offset)) { in GetOffsetWithLimit()
2179 … auto nestedScroll = Positive(offset) ? nestedScrollOptions.backward : nestedScrollOptions.forward; in HandleSelfOutBoundary()
2251 …auto needFlingAtEdge = !(((IsAtTop() && Positive(velocity)) || (IsAtBottom() && Negative(velocity)… in HandleScrollVelocity()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_pattern.cpp607 if (Positive(info.GetMainDelta()) || NonNegative(touchOffset)) { in CheckIsTouchBottom()
649 if (Positive(touchOffset)) { in CheckIsTouchBottom()
665 if (Positive(touchOffset)) { in CheckIsTouchBottom()
740 if (Positive(turnPageRateOffset)) { in HandleLongDragUpdate()

1234