/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/ |
H A D | svg_utils.cpp | 24 …svgContentSize.SetWidth(LessNotEqual(svgSize.Width(), 0.0) ? svgContainerSize.Width() : svgSize.Wi… in CalculateSvgConentSize() 25 …svgContentSize.SetHeight(LessNotEqual(svgSize.Height(), 0.0) ? svgContainerSize.Height() : svgSize… in CalculateSvgConentSize() 28 if (LessNotEqual(svgSize.Width(), 0.0) && LessNotEqual(svgSize.Height(), 0.0)) { in CalculateSvgConentSize() 33 if (LessNotEqual(svgSize.Width(), 0.0)) { in CalculateSvgConentSize() 38 if (LessNotEqual(svgSize.Height(), 0.0)) { in CalculateSvgConentSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/ |
H A D | water_flow_component.cpp | 34 if (LessNotEqual(columnsGap.Value(), 0.0)) { in SetColumnsGap() 44 if (LessNotEqual(rowsGap.Value(), 0.0)) { in SetRowsGap() 93 if (LessNotEqual(minWidth.Value(), 0.0)) { in SetMinWidth() 103 if (LessNotEqual(minHeight.Value(), 0.0)) { in SetMinHeight() 113 if (LessNotEqual(maxWidth.Value(), 0.0)) { in SetMaxWidth() 123 if (LessNotEqual(maxHeight.Value(), 0.0)) { in SetMaxHeight()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/ |
H A D | render_collapsing_navigation_bar.h | 65 …return !NearZero(dy) && LessNotEqual(dy, 0.0) && LessNotEqual(-positionY_.value, scrollableHeight_… in NeedHidden() 70 … bool canExpand = GreatNotEqual(dy, 0.0) && LessNotEqual(positionY_.value, positionY_.bigger); in NeedShow() 71 … bool needRestore = LessNotEqual(dy, 0.0) && GreatNotEqual(positionY_.value, positionY_.expand); in NeedShow()
|
H A D | render_collapsing_navigation_bar.cpp | 168 if (!relateEvent_ && LessNotEqual(positionY_.value, positionY_.expand)) { in OnRelatedScroll() 183 if (!relateEvent_ && LessNotEqual(dy, 0.0)) { in OnRelatedScroll() 243 if (LessNotEqual(positionY_.value, -scrollableHeight_)) { in ScrollBy() 257 if (subtitleChangedCallback_ && LessNotEqual(positionY_.value, positionY_.expand)) { in ScrollBy() 270 …bool canExpand = GreatNotEqual(mainDelta, 0.0) && LessNotEqual(positionY_.value, positionY_.expand… in HandleDragUpdate()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_stack_ffi.cpp | 84 if (LessNotEqual(width.Value(), 0.0)) { in FfiOHOSAceFrameworkStackSetWidth() 95 if (LessNotEqual(height.Value(), 0.0)) { in FfiOHOSAceFrameworkStackSetHeight() 107 if (LessNotEqual(widthDime.Value(), 0.0)) { in FfiOHOSAceFrameworkStackSetSize() 110 if (LessNotEqual(heightDime.Value(), 0.0)) { in FfiOHOSAceFrameworkStackSetSize()
|
H A D | cj_counter_ffi.cpp | 35 if (LessNotEqual(dValue.Value(), 0.0)) { in FfiOHOSAceFrameworkCounterSetWidth() 44 if (LessNotEqual(dValue.Value(), 0.0)) { in FfiOHOSAceFrameworkCounterSetHeight() 59 if (LessNotEqual(dValue.Value(), 0.0)) { in FfiOHOSAceFrameworkCounterSetControlWidth()
|
H A D | cj_shape_ffi.cpp | 203 if (LessNotEqual(dValue.Value(), 0.0)) { in FfiOHOSAceFrameworkShapeSetInsWidth() 217 if (LessNotEqual(dValue.Value(), 0.0)) { in FfiOHOSAceFrameworkShapeSetInsHeight() 233 if (LessNotEqual(dWidth.Value(), 0.0)) { in FfiOHOSAceFrameworkShapeSetInsSize() 236 if (LessNotEqual(dHeight.Value(), 0.0)) { in FfiOHOSAceFrameworkShapeSetInsSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_svg.cpp | 64 …RSRect clipRect(0.0f, 0.0f, LessNotEqual(svgSize.Width(), 0.0) ? viewPort.Width() : svgSize.Width(… in AdjustContentAreaByViewBox() 65 LessNotEqual(svgSize.Height(), 0.0) ? viewPort.Height() : svgSize.Height()); in AdjustContentAreaByViewBox() 69 if (LessNotEqual(svgSize.Width(), 0.0) && LessNotEqual(svgSize.Height(), 0.0)) { in AdjustContentAreaByViewBox() 80 if (LessNotEqual(svgSize.Width(), 0.0)) { in AdjustContentAreaByViewBox() 88 if (LessNotEqual(svgSize.Height(), 0.0)) { in AdjustContentAreaByViewBox()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | shape_abstract_model_ng.cpp | 103 if (LessNotEqual(width.Value(), 0.0)) { in SetWidth() 111 if (LessNotEqual(height.Value(), 0.0)) { in SetHeight() 119 if (LessNotEqual(width.Value(), 0.0)) { in SetWidth() 127 if (LessNotEqual(height.Value(), 0.0)) { in SetHeight()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/ |
H A D | dot_indicator_layout_algorithm.cpp | 62 if (LessNotEqual(userItemWidth, 0.0) ||LessNotEqual(userItemHeight, 0.0) || in Measure() 63 LessNotEqual(userSelectedItemWidth, 0.0) || LessNotEqual(userSelectedItemHeight, 0.0)) { in Measure()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_plugin_bridge.cpp | 36 if (LessNotEqual(width.Value(), 0.0)) { in SetSize() 39 if (LessNotEqual(height.Value(), 0.0)) { in SetSize() 60 if (LessNotEqual(width.Value(), 0.0)) { in SetWidth() 81 if (LessNotEqual(height.Value(), 0.0)) { in SetHeight()
|
H A D | arkts_native_list_item_group_bridge.cpp | 60 …LessNotEqual(dividerStrokeWidth.Value(), 0.0f) || dividerStrokeWidth.Unit() == DimensionUnit::PERC… in SetDivider() 71 …LessNotEqual(dividerStartMargin.Value(), 0.0f) || dividerStartMargin.Unit() == DimensionUnit::PERC… in SetDivider() 75 …LessNotEqual(dividerEndMargin.Value(), 0.0f) || dividerEndMargin.Unit() == DimensionUnit::PERCENT)… in SetDivider() 137 …if (spaceArg->IsObject(vm) || !ArkTSUtils::ParseJsDouble(vm, spaceArg, space) || LessNotEqual(spac… in SetListItemGroupInitialize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/ |
H A D | water_flow_layout_info.cpp | 107 if (LessNotEqual(result, crossMainHeight)) { in GetMaxMainHeight() 202 if (LessNotEqual(lastOffset + currentOffset_, mainSize)) { in IsAllCrossReachEnd() 229 if (LessNotEqual(lastOffset, minHeight)) { in GetCrossIndexForNextItem() 337 …auto scrollUpToReachTop = (LessNotEqual(prevOffset, 0.0) || firstLayout) && GreatOrEqual(currentOf… in ReachStart() 350 …auto scrollUpToReachEnd = LessNotEqual(prevOffset, minOffset) && GreatOrEqual(currentOffset_, minO… in ReachEnd() 360 …[](float value, const std::pair<float, int32_t>& info) { return LessNotEqual(value, info.first); }… in FastSolveStartIndex() 375 [](const ItemInfo& info, float value) { return LessNotEqual(info.mainOffset, value); }); in FastSolveEndIndex() 392 … if (endPosArray_.empty() || LessNotEqual(endPosArray_.back().first, pos.startMainPos + height)) { in RecordItem() 576 bool outOfEnd = offsetEnd_ && LessNotEqual(currentOffset_ + maxHeight_, lastMainSize_); in OutOfBounds() 578 if (LessNotEqual(maxHeight_, lastMainSize_)) { in OutOfBounds()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_column.cpp | 216 if (LessNotEqual(y, 0)) { in PerformLayout() 348 InnerHandleScroll(LessNotEqual(event.GetDelta().GetY(), 0.0)); in HandleDragMove() 374 if (!CanMove(LessNotEqual(dragDelta, 0))) { in UpdatePositionY() 378 …if (LessNotEqual(0.0 - jumpInterval_.Value(), dragDelta) && LessNotEqual(dragDelta, jumpInterval_.… in UpdatePositionY() 383 InnerHandleScroll(LessNotEqual(dragDelta, 0.0)); in UpdatePositionY() 384 …double jumpDelta = (LessNotEqual(dragDelta, 0.0) ? jumpInterval_.Value() : 0.0 - jumpInterval_.Val… in UpdatePositionY() 606 if (LessNotEqual(scrollDelta_, 0.0)) { in HandleCurveStopped()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_adapt_font_sizer.cpp | 33 if (LessNotEqual(maxFontSize, minFontSize) || LessOrEqual(minFontSize, 0.0)) { in AdaptMaxFontSize() 67 fontSize = LessNotEqual(fontSize, minFontSize) ? minFontSize : fontSize; in AdaptMaxFontSize() 79 if (LessNotEqual(maxFontSize, minFontSize) || LessOrEqual(minFontSize, 0.0)) { in AdaptMinFontSize() 146 if (LessNotEqual(maxFontSize, minFontSize) || LessOrEqual(minFontSize, 0.0)) { in IsNeedAdaptFontSize()
|
H A D | multiple_click_recognizer.cpp | 62 …if (GreatOrEqual(timeout.count(), minIntervalTime_) && LessNotEqual(timeout.count(), maxIntervalTi… in IsValidClick() 63 LessNotEqual(deltaDistance, maxDeltaDistance_.ConvertToPx())) { in IsValidClick()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | time_util.cpp | 131 bool isSpecialTimeZone = LessNotEqual(hoursWest, HOURS_WEST_GEOGRAPHICAL_LOWER_LIMIT); in IsHoursWestValid() 141 LessNotEqual(timeOfNow.hour24_, DAY_TIME_UPPER_LIMIT); in IsDayTime() 186 bool isSpecialTimeZone = LessNotEqual(hoursWest, HOURS_WEST_GEOGRAPHICAL_LOWER_LIMIT); in HoursWestIsValid() 196 LessNotEqual(timeOfZone.hour24_, DAY_TIME_UPPER_LIMIT); in IsDayTime()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_overscroll.cpp | 58 auto isSignDiff = LessNotEqual(deltaScrollOffset_ * overScroll_, 0.0); in ApplyCurrentOffset() 86 …auto isUp = LessNotEqual(overScroll_, 0.0) || (LessNotEqual(scrollDelta, 0.0) && NearZero(overScro… in CanOverScroll()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | property_animatable_helper.h | 43 if (LessNotEqual(value, 0.0)) { in Set() 99 if (LessNotEqual(value, 0.0)) { in Set() 130 if (LessNotEqual(value.Value(), 0.0)) { in Set()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/ |
H A D | scroll_pattern.cpp | 139 if (LessNotEqual(scrollableDistance_, oldScrollableDistance)) { in SetScrollProperties() 242 if (LessNotEqual(scrollableDistance_, 0.0f)) { in IsAtBottom() 281 return Positive(currentOffset_) || LessNotEqual(currentOffset_, -scrollableDistance_); in IsOutOfBoundary() 465 bool scrollUpToReachTop = LessNotEqual(lastOffset_, 0.0) && GreatOrEqual(currentOffset_, 0.0); in IsCrashTop() 795 if (LessNotEqual(focusNodeDiffToScroll, 0)) { in ScrollToNode() 832 if (LessNotEqual(finalPosition, *(snapOffsets_.rbegin() + 1)) || in CalePredictSnapOffset() 833 LessNotEqual(currentOffset_, *(snapOffsets_.rbegin() + 1))) { in CalePredictSnapOffset() 1063 LessNotEqual(currentOffset - dragDistance, -scrollableDistance_ + lastPageLength_)) { in GetPagingOffset() 1086 if (LessNotEqual(std::abs(dragDistance), dragDistanceThreshold) && in GetPagingDelta() 1087 LessNotEqual(std::abs(velocity), SCROLL_PAGING_SPEED_THRESHOLD)) { in GetPagingDelta() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | rect_t.h | 191 return GreatNotEqual(point.GetX(), x_) && LessNotEqual(point.GetX(), x_ + width_) && in IsInnerRegion() 192 GreatNotEqual(point.GetY(), y_) && LessNotEqual(point.GetY(), y_ + height_); in IsInnerRegion() 315 return !(LessNotEqual(other.Right(), Left()) || GreatNotEqual(other.Left(), Right()) || in IsIntersectWith() 316 LessNotEqual(other.Bottom(), Top()) || GreatNotEqual(other.Top(), Bottom())); in IsIntersectWith() 356 if (LessNotEqual(Left(), magnet.Left())) { in MagneticAttractedBy() 364 if (LessNotEqual(Top(), magnet.Top())) { in MagneticAttractedBy() 486 if (LessNotEqual(pos, 0.0) || GreatOrEqual(pos, data_.size())) { in SetCorner() 494 if (LessNotEqual(pos, 0.0) || GreatOrEqual(pos, data_.size())) { in GetCorner()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/ |
H A D | rosen_render_capsule_track.cpp | 94 if (LessNotEqual(progressWidth, radius)) { in DrawCapsuleProgressAnimation() 117 if (LessNotEqual(progressWidth, radius)) { in DrawCapsuleProgressAnimation() 162 if (LessNotEqual(progressWidth, radius)) { in DrawCapsuleProgressVerticalAnimation() 186 if (LessNotEqual(progressWidth, radius)) { in DrawCapsuleProgressVerticalAnimation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | gesture.cpp | 189 distanceNum = LessNotEqual(distance, 0.0) ? DEFAULT_PINCH_DISTANCE : distance; in Create() 202 speedNum = LessNotEqual(speed, 0.0) ? DEFAULT_SLIDE_SPEED : speed; in Create() 215 angleNum = LessNotEqual(angle, 0.0) ? DEFAULT_ROTATION_ANGLE : angle; in Create() 235 distanceNum = LessNotEqual(distance, 0.0) ? DEFAULT_PAN_DISTANCE : distance; in Create()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_layout_algorithm.cpp | 524 LessNotEqual(textRightTopPoint_.Height(), rightCirclePoint.Height())) { in IsOutOfRangeInHoriCapsule() 530 if (LessNotEqual(textLeftBottomPoint_.Width(), leftCirclePoint.Width()) && in IsOutOfRangeInHoriCapsule() 543 LessNotEqual(textRightTopPoint_.Height(), topCirclePoint.Height())) { in IsOutOfRangeInVertiCapsule() 549 if (LessNotEqual(textLeftBottomPoint_.Width(), bottomCirclePoint.Width()) && in IsOutOfRangeInVertiCapsule() 564 if (LessNotEqual(textLeftTopPoint_.Width(), leftTopCirclePoint.Width()) && in IsTextOutOfRangeInCapsule() 565 LessNotEqual(textLeftTopPoint_.Height(), leftTopCirclePoint.Height())) { in IsTextOutOfRangeInCapsule() 597 if (LessNotEqual(textLeftTopPoint_.Width(), circlePoint.Width()) && in TopLeftCompDistance() 598 LessNotEqual(textLeftTopPoint_.Height(), circlePoint.Height())) { in TopLeftCompDistance() 613 if (LessNotEqual(textLeftBottomPoint_.Width(), circlePoint.Width()) && in BottomLeftCompDistance() 630 LessNotEqual(textRightTopPoint_.Height(), circlePoint.Height())) { in TopRightCompDistance() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/ |
H A D | qrcode_layout_algorithm.cpp | 75 if (LessNotEqual(idealSize.Width(), idealSize.Height())) { in MeasureContent() 77 } else if (LessNotEqual(idealSize.Height(), idealSize.Width())) { in MeasureContent()
|