/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_layout_algorithm.cpp | 79 if (GreatNotEqual(componentWidth_, componentHeight_)) { in MeasureButton() 81 } else if (GreatNotEqual(componentHeight_, componentWidth_)) { in MeasureButton() 164 if (GreatNotEqual(textWidth, iconWidth)) { in ShrinkWidth() 195 if (GreatNotEqual(remain, 0.0) && !isVertical_) { in EnlargeWidth() 224 if (GreatNotEqual(textHeight, iconHeight)) { in ShrinkHeight() 254 if (GreatNotEqual(remain, 0.0) && isVertical_) { in EnlargeHeight() 384 if (GreatNotEqual(idealWidth_, componentWidth_)) { in FillBlank() 387 } else if (GreatNotEqual(minWidth_, componentWidth_)) { in FillBlank() 391 if (GreatNotEqual(idealHeight_, componentHeight_)) { in FillBlank() 394 } else if (GreatNotEqual(minHeight in FillBlank() [all...] |
H A D | security_component_layout_element.cpp | 71 if (GreatNotEqual(minIconSize_, (width_ - reduceSize))) { in ShrinkWidth() 87 if (GreatNotEqual(minIconSize_, (height_ - reduceSize))) { in ShrinkHeight() 165 if (GreatNotEqual(width_, textMaxWidth)) { in DoMeasure() 275 if (!GreatNotEqual(distance, maxDistance)) { in TryShrinkTextWidth() 321 if (GreatNotEqual(minTextWidth, (width_ - reduceSize))) { in ShrinkWidth() 343 if (GreatNotEqual(minTextHeight, (height_ - reduceSize))) { in ShrinkHeight()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | rosen_render_svg_use.cpp | 30 if (GreatNotEqual(x_.Value(), 0.0) || GreatNotEqual(y_.Value(), 0.0)) { in Paint() 62 bool translateXY = GreatNotEqual(x_.Value(), 0.0) || GreatNotEqual(y_.Value(), 0.0); in PaintDirectly()
|
H A D | rosen_render_svg.cpp | 40 if (GreatNotEqual(viewBox_.Width(), 0.0) && GreatNotEqual(viewBox_.Height(), 0.0)) { in UpdateTransformByGlobalOffset()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_adapt_font_sizer.cpp | 43 auto length = tag + 1 + (GreatNotEqual(maxFontSize, minFontSize + stepSize * tag) ? 1 : 0); in AdaptMaxFontSize() 62 fontSize = GreatNotEqual(fontSize, maxFontSize) ? maxFontSize : fontSize; in AdaptMaxFontSize() 106 if (GreatNotEqual(textStyle.GetAdaptFontSizeStep().Value(), 0.0)) { in GetAdaptFontSizeStep() 125 didExceedMaxLines = didExceedMaxLines || GreatNotEqual(paragraph->GetHeight(), maxSize.Height()); in DidExceedMaxLines() 126 didExceedMaxLines = didExceedMaxLines || GreatNotEqual(paragraph->GetLongestLine(), maxSize.Width()); in DidExceedMaxLines() 135 GreatNotEqual(paragraph->GetLongestLine(), maxSize.Width()); in IsAdaptExceedLimit() 166 return GreatNotEqual(lineMetrics.height, lineHeight_); in IsAdaptFontSizeExceedLineHeight()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
H A D | select_overlay_layout_algorithm.cpp | 134 if (GreatNotEqual(menuOffset.GetX() + menuSize.Width(), maxWidth)) { in CalculateCustomMenuByMouseOffset() 139 } else if (GreatNotEqual(menuSize.Width(), maxWidth)) { in CalculateCustomMenuByMouseOffset() 151 if (GreatNotEqual(menuOffset.GetY() + menuSize.Height(), keyboardY)) { in CalculateCustomMenuByMouseOffset() 157 } else if (GreatNotEqual(menuSize.Height(), keyboardY)) { in CalculateCustomMenuByMouseOffset() 160 if (GreatNotEqual(top, currentY)) { in CalculateCustomMenuByMouseOffset() 215 if (GreatNotEqual(menuSize.Width(), menuSize.Height())) { in LayoutChild() 251 if (GreatNotEqual(constraintRect.Width(), 0.0f) && GreatNotEqual(constraintRect.Height(), 0.0f)) { in CheckHideBackOrMoreButton() 384 if (GreatNotEqual(menuOffsetY, menuSpacingBetweenText)) { in ComputeSelectMenuPosition() 447 menuY = GreatNotEqual(menu in AdjustMenuInRootRect() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | border_image_painter.cpp | 71 if (GreatNotEqual(imageLeft.GetBorderImageSlice().Value(), 0.0)) { in InitBorderImageSlice() 74 if (GreatNotEqual(imageRight.GetBorderImageSlice().Value(), 0.0)) { in InitBorderImageSlice() 77 if (GreatNotEqual(imageTop.GetBorderImageSlice().Value(), 0.0)) { in InitBorderImageSlice() 80 if (GreatNotEqual(imageBottom.GetBorderImageSlice().Value(), 0.0)) { in InitBorderImageSlice() 83 if (GreatNotEqual(leftSlice_, imageWidth_)) { in InitBorderImageSlice() 86 if (GreatNotEqual(rightSlice_, imageWidth_)) { in InitBorderImageSlice() 89 if (GreatNotEqual(topSlice_, imageHeight_)) { in InitBorderImageSlice() 92 if (GreatNotEqual(bottomSlice_, imageHeight_)) { in InitBorderImageSlice() 113 if (GreatNotEqual(imageLeft.GetBorderImageWidth().Value(), 0.0)) { in InitBorderImageWidth() 118 if (GreatNotEqual(imageRigh in InitBorderImageWidth() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | shape_container_layout_algorithm.cpp | 39 if (GreatNotEqual(portWidth, 0.0) && GreatNotEqual(portHeight, 0.0)) { in MeasureContent() 54 if (hasDefineWidth && !hasDefineHeight && GreatNotEqual(portWidth, 0.0)) { in MeasureContent() 58 } else if (!hasDefineWidth && hasDefineHeight && GreatNotEqual(portHeight, 0.0)) { in MeasureContent()
|
H A D | shape_container_pattern.cpp | 42 if (contentSize.IsPositive() && GreatNotEqual(portWidth, 0.0) && GreatNotEqual(portHeight, 0.0)) { in ViewPortTransform()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_graphic.h | 51 if (GreatNotEqual(smoothEdge, 0.0f)) { in OnGraphicFill() 71 if (GreatNotEqual(smoothEdge, 0.0f)) { in OnGraphicFill() 95 if (GreatNotEqual(smoothEdge, 0.0f)) { in OnGraphicStroke() 115 if (GreatNotEqual(smoothEdge, 0.0f)) { in OnGraphicStroke()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/ |
H A D | layout_info_test.cpp | 746 EXPECT_TRUE(GreatNotEqual(info.GetItemBottomPos(1, 2, 5.0f), 100.0f)); in HWTEST_F() 747 EXPECT_TRUE(GreatNotEqual(info.GetItemBottomPos(1, 2, 5.0f), 700.0f)); in HWTEST_F() 748 EXPECT_TRUE(GreatNotEqual(info.GetItemBottomPos(1, 2, 5.0f), 705.0f)); in HWTEST_F() 749 EXPECT_TRUE(GreatNotEqual(info.GetItemBottomPos(1, 2, 5.0f), 710.0f)); in HWTEST_F() 750 EXPECT_TRUE(GreatNotEqual(info.GetItemBottomPos(1, 2, 5.0f), 1005.0f)); in HWTEST_F() 751 EXPECT_FALSE(GreatNotEqual(info.GetItemBottomPos(1, 2, 5.0f), 1010.0f)); in HWTEST_F() 754 EXPECT_TRUE(GreatNotEqual(info.GetItemBottomPos(1, 2, 5.0f), 100.0f)); in HWTEST_F() 755 EXPECT_TRUE(GreatNotEqual(info.GetItemBottomPos(1, 2, 5.0f), 700.0f)); in HWTEST_F() 756 EXPECT_TRUE(GreatNotEqual(info.GetItemBottomPos(1, 2, 5.0f), 705.0f)); in HWTEST_F() 757 EXPECT_TRUE(GreatNotEqual(inf in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | rosen_render_shape_container.cpp | 56 if (!GetLayoutSize().IsInfinite() && GreatNotEqual(viewBoxWidth, 0.0) && GreatNotEqual(viewBoxHeight, 0.0)) { in PerformLayout() 91 if (!GetLayoutSize().IsInfinite() && GreatNotEqual(viewBoxWidth, 0.0) && GreatNotEqual(viewBoxHeight, 0.0)) { in Paint() 125 if (!GetLayoutSize().IsInfinite() && GreatNotEqual(viewBoxWidth, 0.0) && GreatNotEqual(viewBoxHeight, 0.0)) { in Paint() 217 if (!GetLayoutSize().IsInfinite() && GreatNotEqual(viewBoxWidth, 0.0) && GreatNotEqual(viewBoxHeight, 0.0)) { in BitmapMesh()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | render_list_item.cpp | 100 if (GreatNotEqual(curOffset_, 0.0)) { in PerfLayoutSwiperMode() 109 } else if (GreatNotEqual(curOffset_, GetCrossSize(startSize_))) { in PerfLayoutSwiperMode() 129 } else if (GreatNotEqual(-curOffset_, GetCrossSize(endSize_))) { in PerfLayoutSwiperMode() 326 if (GreatNotEqual(curOffset_, 0.0)) { in GetFriction() 347 if (swiperStart_ && GreatNotEqual(curOffset_, GetCrossSize(startSize_))) { in UpdatePostion() 349 } else if (swiperEnd_ && GreatNotEqual(-curOffset_, GetCrossSize(endSize_))) { in UpdatePostion() 387 ((GreatNotEqual(end, start) && GreatOrEqual(position, end)) || in StartSpringMotion() 414 if (GreatNotEqual(curOffset_, 0.0) && swiperStart_) { in HandleDragEnd()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | rect_t.h | 95 return GreatNotEqual(width_, 0) ? x_ : x_ + width_; in Left() 100 return GreatNotEqual(height_, 0) ? y_ : y_ + height_; in Top() 105 return GreatNotEqual(width_, 0) ? x_ + width_ : x_; in Right() 110 return GreatNotEqual(height_, 0) ? y_ + height_ : y_; in Bottom() 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() 358 } else if (GreatNotEqual(Right(), magnet.Right())) { in MagneticAttractedBy() 366 } else if (GreatNotEqual(Botto in MagneticAttractedBy() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | border_image_painter.cpp | 93 if (GreatNotEqual(imageLeft.GetBorderImageWidth().Value(), 0.0)) { in InitBorderImageWidth() 99 if (GreatNotEqual(imageRight.GetBorderImageWidth().Value(), 0.0)) { in InitBorderImageWidth() 105 if (GreatNotEqual(imageTop.GetBorderImageWidth().Value(), 0.0)) { in InitBorderImageWidth() 110 if (GreatNotEqual(imageBottom.GetBorderImageWidth().Value(), 0.0)) { in InitBorderImageWidth() 138 if (GreatNotEqual(imageLeft.GetBorderImageSlice().Value(), 0.0)) { in InitBorderImageSlice() 141 if (GreatNotEqual(imageRight.GetBorderImageSlice().Value(), 0.0)) { in InitBorderImageSlice() 144 if (GreatNotEqual(imageTop.GetBorderImageSlice().Value(), 0.0)) { in InitBorderImageSlice() 147 if (GreatNotEqual(imageBottom.GetBorderImageSlice().Value(), 0.0)) { in InitBorderImageSlice() 150 if (GreatNotEqual(leftSlice_, imageWidth_)) { in InitBorderImageSlice() 153 if (GreatNotEqual(rightSlice in InitBorderImageSlice() [all...] |
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | text_field_manager.cpp | 43 if (GreatNotEqual(position_.GetY(), rootRect.GetY())) { in MovePage() 81 if (GreatNotEqual(onFocusTextField->GetPaintRect().Height() + in UpdatePanelForVirtualKeyboard()
|
/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | rosen_font_manager.cpp | 24 if (GreatNotEqual(fontWeightScale_, 0.0)) { in VaryFontCollectionWithFontWeightScale()
|
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/ |
H A D | render_collapsing_navigation_bar.cpp | 119 if (GreatNotEqual(positionY_.value, positionY_.expand)) { in PerformLayout() 241 lastUpScroll_ = GreatNotEqual(dy, 0.0) ? false : true; in ScrollBy() 245 } else if (GreatNotEqual(positionY_.value, maxPosition)) { in ScrollBy() 250 if (GreatNotEqual(positionY_.value, positionY_.expand)) { in ScrollBy() 270 bool canExpand = GreatNotEqual(mainDelta, 0.0) && LessNotEqual(positionY_.value, positionY_.expand); in HandleDragUpdate() 279 if (GreatNotEqual(positionY_.value, positionY_.expand)) { in HandleDragEnd() 284 } else if (GreatNotEqual(positionY_.value, positionY_.collapse) && !NearZero(positionY_.value)) { in HandleDragEnd()
|
H A D | render_collapsing_navigation_bar.h | 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()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_pattern.cpp | 465 if (GreatNotEqual(curOffset_, 0.0f)) { in GetFriction() 509 if (GreatNotEqual(-curOffset_, endNodeSize_ + endDeleteAreaDistance_)) { in ChangeDeleteAreaStage() 539 if (Positive(startNodeSize_) && GreatNotEqual(curOffset_, startNodeSize_ + startDeleteAreaDistance_)) { in UpdatePostion() 541 } else if (startNodeSize_ == 0 && GreatNotEqual(curOffset_, startDeleteAreaDistance_)) { in UpdatePostion() 546 if (Positive(endNodeSize_) && GreatNotEqual(-curOffset_, endNodeSize_ + endDeleteAreaDistance_)) { in UpdatePostion() 548 } else if (endNodeSize_ == 0 && GreatNotEqual(-curOffset_, endDeleteAreaDistance_)) { in UpdatePostion() 552 if (Positive(startNodeSize_) && GreatNotEqual(curOffset_, startNodeSize_) && !hasStartDeleteArea_) { in UpdatePostion() 554 } else if (Positive(endNodeSize_) && GreatNotEqual(-curOffset_, endNodeSize_) && !hasEndDeleteArea_) { in UpdatePostion() 592 if (GreatNotEqual(curOffset_, 0.0)) { in HandleDragUpdate() 596 if (GreatNotEqual(startDeleteAreaDistance in HandleDragUpdate() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/ |
H A D | menu_preview_layout_algorithm.cpp | 83 auto isOversize = GreatNotEqual(targetSize.Width(), maxWidth) || GreatNotEqual(targetSize.Height(), maxHeight); in UpdateLayoutConstraintForPreview()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_ellipse.cpp | 85 if (GreatNotEqual(component_->GetRy().Value(), 0.0)) { in AsPath() 93 if (GreatNotEqual(component_->GetRx().Value(), 0.0)) { in AsPath()
|
H A D | svg_rect.cpp | 84 if (GreatNotEqual(component_->GetRy().Value(), 0.0)) { in AsPath() 92 if (GreatNotEqual(component_->GetRx().Value(), 0.0)) { in AsPath()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_overscroll.cpp | 84 auto isDown = GreatNotEqual(overScroll_, 0.0) || (GreatNotEqual(scrollDelta, 0.0) && NearZero(overScroll_)); in CanOverScroll()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_bar_modifier.cpp | 110 if (GreatNotEqual(indicatorHeight_->Get(), 0.0f)) { in PaintIndicator() 117 if (GreatNotEqual(indicatorMarginTop_->Get(), 0.0f)) { in PaintIndicator()
|