Home
last modified time | relevance | path

Searched refs:LessOrEqual (Results 1 - 25 of 226) sorted by relevance

12345678910

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/loading_progress/
H A Dloading_progress_utill.h62 if (LessOrEqual(diameter, MODE_16.ConvertToPx())) { in GetRingStrokeWidth()
68 if (LessOrEqual(diameter, DIAMETER[index].ConvertToPx())) { in GetRingStrokeWidth()
79 if (LessOrEqual(diameter, MODE_16.ConvertToPx())) { in GetRingDarkRadius()
93 if (LessOrEqual(diameter, MODE_40.ConvertToPx())) { in GetRingDarkBackgroundWidth()
110 if (LessOrEqual(diameter, MODE_16.ConvertToPx())) { in GetCometRadius()
116 if (LessOrEqual(diameter, DIAMETER[index].ConvertToPx())) { in GetCometRadius()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/effect/
H A Dscroll_fade_effect.cpp84 LessOrEqual(std::abs(overScroll), OVER_SCROLL_THRESHOLD); in SetPaintDirection()
90 LessOrEqual(overScroll, OVER_SCROLL_THRESHOLD); in SetPaintDirection()
96 LessOrEqual(std::abs(overScroll), OVER_SCROLL_THRESHOLD); in SetPaintDirection()
102 LessOrEqual(overScroll, OVER_SCROLL_THRESHOLD); in SetPaintDirection()
/foundation/arkui/ace_engine/frameworks/core/components/qrcode/
H A Drender_qrcode.cpp58 if (LessOrEqual(width_, height_)) { in PerformLayout()
75 if (LessOrEqual(width_, height_)) { in PerformLayout()
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/
H A Dsvg_utils.cpp23 if (LessOrEqual(viewBox.Width(), 0.0) || LessOrEqual(viewBox.Height(), 0.0)) { in CalculateSvgConentSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/
H A Dmenu_preview_pattern.cpp53 LessOrEqual(scaleBefore, 0.0) ? menuTheme->GetPreviewBeforeAnimationScale() : scaleBefore; in ShowScaleAnimation()
55 LessOrEqual(scaleAfter, 0.0) ? menuTheme->GetPreviewAfterAnimationScale() : scaleAfter; in ShowScaleAnimation()
150 LessOrEqual(scaleAfter, 0.0) ? menuTheme->GetPreviewAfterAnimationScale() : scaleAfter; in UpdateShowScale()
214 if ((LessOrEqual(std::abs(offsetY), std::abs(offsetX)) || LessOrEqual(offsetY, 0.0f)) && in HandleDragEnd()
215 LessOrEqual(velocity, PAN_MAX_VELOCITY)) { in HandleDragEnd()
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dutils.h183 inline bool LessOrEqual(double left, double right) in LessOrEqual() function
250 return LessOrEqual(value, 0); in NonPositive()
255 return LessOrEqual(lowerBound, destNum) && LessOrEqual(destNum, upperBound); in InRegion()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_adapt_font_sizer.cpp25 if (LessNotEqual(maxFontSize, minFontSize) || LessOrEqual(minFontSize, 0.0)) { in AdaptMaxFontSize()
73 if (LessNotEqual(maxFontSize, minFontSize) || LessOrEqual(minFontSize, 0.0)) { in AdaptMinFontSize()
140 if (LessNotEqual(maxFontSize, minFontSize) || LessOrEqual(minFontSize, 0.0)) { in IsNeedAdaptFontSize()
162 if (LessOrEqual(lineHeight_, 0.0)) { in IsAdaptFontSizeExceedLineHeight()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Ddata_panel_model_impl.cpp33 if (LessOrEqual(value, 0.0)) { in Create()
53 if (LessOrEqual(max, 0.0)) { in Create()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/animator/
H A Dcj_animator.cpp83 if (LessOrEqual(mass, 0)) { in ParseOptionToMotion()
86 if (LessOrEqual(stiffness, 0)) { in ParseOptionToMotion()
89 if (LessOrEqual(damping, 0)) { in ParseOptionToMotion()
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dspring_model.cpp30 if (LessOrEqual(mass_, 0.0) || LessOrEqual(stiffness_, 0.0) || LessOrEqual(damping_, 0.0)) { in IsValid()
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Drect_t.h185 return GreatOrEqual(point.GetX(), x_) && LessOrEqual(point.GetX(), x_ + width_) && in IsInRegion()
186 GreatOrEqual(point.GetY(), y_) && LessOrEqual(point.GetY(), y_ + height_); in IsInRegion()
197 return GreatOrEqual(Left(), other.Left()) && LessOrEqual(Right(), other.Right()) && in IsWrappedBy()
198 GreatOrEqual(Top(), other.Top()) && LessOrEqual(Bottom(), other.Bottom()); in IsWrappedBy()
321 return !(LessOrEqual(other.Right(), Left()) || GreatOrEqual(other.Left(), Right()) || in IsInnerIntersectWith()
322 LessOrEqual(other.Bottom(), Top()) || GreatOrEqual(other.Top(), Bottom())); in IsInnerIntersectWith()
327 return !(LessOrEqual(other.Right(), Left() + 1.0) || GreatOrEqual(other.Left() + 1.0, Right()) || in IsInnerIntersectWithRound()
328 LessOrEqual(other.Bottom(), Top() + 1.0) || GreatOrEqual(other.Top() + 1.0, Bottom())); in IsInnerIntersectWithRound()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_curves_module.cpp116 if (LessOrEqual(mass, 0.0)) { in CreateSpringCurve()
122 if (LessOrEqual(stiffness, 0.0)) { in CreateSpringCurve()
128 if (LessOrEqual(damping, 0.0)) { in CreateSpringCurve()
146 if (LessOrEqual(mass, 0)) { in CreateInterpolatingSpring()
149 if (LessOrEqual(stiffness, 0)) { in CreateInterpolatingSpring()
152 if (LessOrEqual(damping, 0)) { in CreateInterpolatingSpring()
225 if (LessOrEqual(response, 0)) { in CreateSpringMotionCurve()
256 if (LessOrEqual(response, 0)) { in CreateResponsiveSpringMotionCurve()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/input/
H A Ddom_checkbox_util.cpp56 if (LessOrEqual(node.GetWidth().Value(), 0.0) && boxComponent) { in CreateComponentAndSetChildAttr()
60 if (LessOrEqual(node.GetHeight().Value(), 0.0) && boxComponent) { in CreateComponentAndSetChildAttr()
/foundation/arkui/ace_engine/frameworks/core/components/scroll_bar/
H A Dscroll_bar_proxy.cpp160 if (LessOrEqual((scrollableChildSize - scrollableSize).Height(), 0.0) || in NotifyScrollBar()
161 LessOrEqual((scrollBarSize - scrollBarChildSize).Height(), 0.0)) { in NotifyScrollBar()
169 if (LessOrEqual((scrollableChildSize - scrollableSize).Width(), 0.0) || in NotifyScrollBar()
170 LessOrEqual((scrollBarSize - scrollBarChildSize).Width(), 0.0)) { in NotifyScrollBar()
H A Drender_scroll_bar.cpp120 if (GreatOrEqual(localX, GetTouchRect().Left()) && LessOrEqual(localX, GetTouchRect().Right())) { in HandleDragUpdate()
131 if (GreatOrEqual(localY, GetTouchRect().Top()) && LessOrEqual(localY, GetTouchRect().Bottom())) { in HandleDragUpdate()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_model_ng.cpp105 if (LessOrEqual(value, diff) && GreatNotEqual(value, minResponse)) { in SetMinResponsiveDistance()
195 if (LessOrEqual(width.Value(), 0.0) || LessOrEqual(height.Value(), 0.0)) { in SetBlockSize()
368 if (LessOrEqual(width.Value(), 0.0) || LessOrEqual(height.Value(), 0.0)) { in SetBlockSize()
422 if (LessOrEqual(value, diff) && GreatOrEqual(value, minResponse)) { in SetMinResponsiveDistance()
573 if (GreatOrEqual(fromValue, minValue) && LessOrEqual(toValue, maxValue) && LessOrEqual(fromValue, toValue) && in SetValidSlideRange()
576 fromValue = LessOrEqual(fromValue, minValue) ? minValue : std::floor(fromValue / step) * step; in SetValidSlideRange()
/foundation/window/window_manager/window_scene/interfaces/include/
H A Dws_common.h426 inline bool LessOrEqual(double left, double right) in LessOrEqual() function
482 return GreatOrEqual(pointX, posX_) && LessOrEqual(pointX, posX_ + width_) && in IsInRegion()
483 GreatOrEqual(pointY, posY_) && LessOrEqual(pointY, posY_ + height_); in IsInRegion()
499 return IsEmpty() || LessOrEqual(width_, 0) || LessOrEqual(height_, 0); in IsInvalid()
/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drosen_render_svg_pattern.cpp99 if (LessOrEqual(width_.Value(), 0.0) || LessOrEqual(height_.Value(), 0.0)) { in FitAttribute()
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dsize.h198 return LessOrEqual(width_, size.width_) && LessOrEqual(height_, size.height_); in operator <()
/foundation/arkui/ace_engine/frameworks/core/components/refresh/
H A Drender_refresh_target.cpp44 if ((LessOrEqual(currentOffset, 0.0) && source == SCROLL_FROM_UPDATE) || inLinkRefresh_) { in HandleRefreshEffect()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/
H A Dscroll_pattern.cpp245 return LessOrEqual(currentOffset_, 0.0f); in IsAtBottom()
247 return LessOrEqual(currentOffset_, -scrollableDistance_); in IsAtBottom()
322 if (LessOrEqual(scrollableDistance_, 0.0f) || source == SCROLL_FROM_JUMP) { in ValidateOffset()
344 if (LessOrEqual(scrollableDistance_, 0.0f) || source == SCROLL_FROM_JUMP) { in ValidateOffset()
468 bool scrollDownToReachTop = GreatNotEqual(lastOffset_, 0.0) && LessOrEqual(currentOffset_, 0.0); in IsCrashTop()
475 bool scrollDownToReachEnd = GreatNotEqual(lastOffset_, minExtent) && LessOrEqual(currentOffset_, minExtent); in IsCrashBottom()
483 bool scrollDownToReachTop = GreatNotEqual(prevOffset_, 0.0) && LessOrEqual(currentOffset_, 0.0); in ReachStart()
491 (GreatNotEqual(prevOffset_, minExtent) || firstLayout) && LessOrEqual(currentOffset_, minExtent); in ReachEnd()
574 if (LessOrEqual(scrollableDistance_, 0.0)) { in ScrollToEdge()
840 if (GreatOrEqual(finalPosition, head) || LessOrEqual(finalPositio
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dselect_overlay_layout_algorithm.cpp137 } else if (LessOrEqual(menuSize.Width(), maxWidth)) { in CalculateCustomMenuByMouseOffset()
155 } else if (LessOrEqual(menuSize.Height(), keyboardY)) { in CalculateCustomMenuByMouseOffset()
357 if (LessOrEqual(menuPosition.GetX(), defaultMenuPositionX)) { in ComputeSelectMenuPosition()
440 auto menuX = LessOrEqual(menuOffset.GetX(), defaultPositionX) ? defaultPositionX : menuOffset.GetX(); in AdjustMenuInRootRect()
630 auto downHandleIsReallyShow = hasKeyboard ? ((LessOrEqual((double)downHandle.paintRect.Bottom(), in NewMenuAvoidStrategy()
674 if (!upHandle.isShow || LessOrEqual(offsetY, topArea)) { in NewMenuAvoidStrategyGetY()
687 if ((!upHandle.isShow && !info_->isSingleLine) || (LessOrEqual(offsetY, topArea))) { in NewMenuAvoidStrategyGetY()
696 offsetY = LessOrEqual(offsetY, topArea) ? in NewMenuAvoidStrategyGetY()
727 return LessOrEqual(left, viewPort.Right()) && in CheckHandleIsInClipViewPort()
730 LessOrEqual(vertical in CheckHandleIsInClipViewPort()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Dsheet_presentation_layout_algorithm.cpp130 } else if (LessOrEqual(sheetHeight_, SHEET_BIG_WINDOW_MIN_HEIGHT.ConvertToPx()) && !SheetInSplitWindow()) { in Measure()
265 LessOrEqual( in CheckPlacementBottom()
274 return LessOrEqual(WINDOW_EDGE_SPACE.ConvertToPx(), targetOffset.GetX()) && in CheckPlacementBottomLeft()
282 return LessOrEqual(WINDOW_EDGE_SPACE.ConvertToPx(), targetOffset.GetX() + targetSize.Width() - sheetWidth_) && in CheckPlacementBottomRight()
416 } else if (LessOrEqual(height, SHEET_BIG_WINDOW_MIN_HEIGHT.ConvertToPx()) && !SheetInSplitWindow()) { in GetHeightBySheetStyle()
/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Drender_scroll.h83 return LessOrEqual(GetMainOffset(currentOffset_), 0.0); in IsAtTop()
90 return LessOrEqual(outViewportSize, 0.0) || (atBottom && ReachMaxCount()); in IsAtBottom()
/foundation/arkui/ace_engine/frameworks/core/components/slider/
H A Drender_slider.h71 return LessOrEqual(topLeftPoint_.GetX(), x) && LessOrEqual(topLeftPoint_.GetY(), y) && in ContainsInRegion()

Completed in 19 milliseconds

12345678910