/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_menu.cpp | 227 … if (value.IsNegative() || value.Unit() < DimensionUnit::PX || value.Unit() > DimensionUnit::LPX) { in SetItemGroupDivider() 236 … if (value.IsNegative() || value.Unit() < DimensionUnit::PX || value.Unit() > DimensionUnit::LPX) { in SetItemGroupDivider() 245 … if (value.IsNegative() || value.Unit() < DimensionUnit::PX || value.Unit() > DimensionUnit::LPX) { in SetItemGroupDivider() 267 if (value.IsNegative()) { in SetItemDivider() 274 if (value.IsNegative()) { in SetItemDivider() 281 if (value.IsNegative()) { in SetItemDivider()
|
H A D | js_toggle.cpp | 173 if (value.IsNegative()) { in JsWidth() 202 if (!ParseJsDimensionVpNG(jsValue, value) || value.IsNegative()) { in JsHeight() 207 if (value.IsNegative()) { in JsHeight() 445 …imensionVpNG(jsObj->GetProperty("pointRadius"), pointRadius, false) && !pointRadius.IsNegative()) { in SwitchStyle() 477 !trackRadius.IsNegative()) { in SwitchStyle()
|
H A D | js_flex_impl.cpp | 97 if (!ParseLengthMetricsToPositiveDimension(mainSpaceVal, value) || value.IsNegative()) { in CreateFlexComponent() 121 … if (!ParseLengthMetricsToPositiveDimension(mainSpaceVal, mainValue) || mainValue.IsNegative()) { in CreateWrapComponent() 124 …if (!ParseLengthMetricsToPositiveDimension(crossSpaceVal, crossValue) || crossValue.IsNegative()) { in CreateWrapComponent()
|
H A D | js_symbol_span.cpp | 64 if (fontSize.IsNegative()) { in SetFontSize()
|
H A D | js_blank.cpp | 58 if (blankMin.IsNegative() || blankMin.Unit() == DimensionUnit::PERCENT) { in Create()
|
H A D | js_span.cpp | 93 if (!ParseJsDimensionFpNG(info[0], fontSize, false) || fontSize.IsNegative()) { in SetFontSize() 299 if (value.IsNegative()) { in SetLineHeight()
|
H A D | js_text.cpp | 187 if (!ParseJsDimensionFpNG(args, fontSize, false) || fontSize.IsNegative()) { in SetFontSize() 511 if (value.IsNegative()) { in SetLineHeight() 524 if (value.IsNegative()) { in SetLineSpacing() 554 if (minFontSize.IsNegative()) { in SetMinFontSize() 576 if (maxFontSize.IsNegative()) { in SetMaxFontSize()
|
H A D | js_checkbox.cpp | 205 if (value.IsNegative()) { in JsWidth() 225 if (value.IsNegative()) { in JsHeight()
|
H A D | js_symbol.cpp | 96 if (fontSize.IsNegative()) { in SetFontSize()
|
H A D | js_textfield.cpp | 715 if (length.IsNegative()) { in JsPadding() 1545 if (minFontSize.IsNegative()) { in SetMinFontSize() 1566 if (maxFontSize.IsNegative()) { in SetMaxFontSize() 1599 if (value.IsNegative()) { in SetLineHeight() 1611 if (value.IsNegative()) { in SetLineSpacing()
|
H A D | js_indexer.cpp | 289 if (ParseJsDimensionFp(size, fontSizeData) && !fontSizeData.IsNegative() && in GetFontContent() 413 if (ParseJsDimensionFp(size, fontSizeData) && !fontSizeData.IsNegative() && in SetPopupItemFont()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | rect_model_ng.cpp | 42 value.IsNegative() ? radius.SetX(Dimension(DEFAULT_RADIUS_VALUE)) : radius.SetX(value); in SetRadiusWidth() 50 value.IsNegative() ? radius.SetY(Dimension(DEFAULT_RADIUS_VALUE)) : radius.SetY(value); in SetRadiusHeight() 173 value.IsNegative() ? radius.SetX(Dimension(DEFAULT_RADIUS_VALUE)) : radius.SetX(value); in SetRadiusWidth() 181 value.IsNegative() ? radius.SetY(Dimension(DEFAULT_RADIUS_VALUE)) : radius.SetY(value); in SetRadiusHeight()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/blank/ |
H A D | blank_model_ng.cpp | 75 if (blankMin.IsNegative()) { in SetBlankMin() 117 if (blankMin.IsNegative()) { in SetBlankMin()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | focus_box.cpp | 24 if (paintStyle_->strokeWidth.has_value() && paintStyle_->strokeWidth->IsNegative()) { in SetStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_textfield_ffi.cpp | 169 if (sizeDime.IsNegative()) { in FfiOHOSAceFrameworkTextFieldSetPlaceholderFont() 226 if (size.IsNegative()) { in FfiOHOSAceFrameworkTextFieldSetFontSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | offset_t.h | 151 bool IsNegative() const in IsNegative() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_toggle_bridge.cpp | 60 if (height.IsNegative()) { in SetHeightInner() 220 !pointRadius.IsNegative()) { in SetSwitchStyle() 243 !trackRadius.IsNegative()) { in SetSwitchStyle()
|
H A D | arkts_native_blank_bridge.cpp | 96 if (blankMin.IsNegative() || blankMin.Unit() == DimensionUnit::PERCENT) { in SetBlankMin()
|
H A D | arkts_native_progress_bridge.cpp | 214 if (strokeWidth.IsNegative()) { in ParseStrokeWidth() 235 if (borderWidth.IsNegative()) { in ParseBorderWidth() 295 if (scaleWidth.IsNegative()) { in ParseScaleWidth() 388 …Arg->IsNull() || !ArkTSUtils::ParseJsDimensionFp(vm, sizeArg, fontSize) || fontSize.IsNegative() || in ParseCapsuleFontSize()
|
H A D | arkts_native_alphabet_indexer_bridge.cpp | 49 … if (ArkTSUtils::ParseJsDimensionFp(vm, fontSizeArg, fontSizeData) && !fontSizeData.IsNegative() && in SetPopupItemFont() 98 … ArkTSUtils::ParseJsDimensionFp(vm, fontSizeArg, fontSizeData) && !fontSizeData.IsNegative() && in SetSelectedFont() 148 … ArkTSUtils::ParseJsDimensionFp(vm, fontSizeArg, fontSizeData) && !fontSizeData.IsNegative() && in SetPopupFont() 198 … ArkTSUtils::ParseJsDimensionFp(vm, fontSizeArg, fontSizeData) && !fontSizeData.IsNegative() && in SetFont()
|
H A D | arkts_native_span_bridge.cpp | 195 if (!ArkTSUtils::ParseJsDimensionFpNG(vm, secondArg, lineHeight) || lineHeight.IsNegative()) { in SetLineHeight() 255 … if (!ArkTSUtils::ParseJsDimensionFpNG(vm, secondArg, fontSize, false) || fontSize.IsNegative()) { in SetFontSize() 444 …ll() || !ArkTSUtils::ParseJsDimensionFpNG(vm, sizeArg, fontSize, false) || fontSize.IsNegative()) { in SetFont()
|
H A D | arkts_native_checkbox_bridge.cpp | 311 if (widthArg->IsUndefined() || width.IsNegative()) { in SetCheckboxSize() 319 if (heightAry->IsUndefined() || height.IsNegative()) { in SetCheckboxSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_layout_algorithm.cpp | 75 if (rawImageSize.IsNegative() && altLoadingCtx) { in MeasureContent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | dimension.h | 129 bool IsNegative() const in IsNegative() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/ |
H A D | water_flow_layout_utils.cpp | 159 if (len.IsNegative()) { in GetUserDefHeight()
|