/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/ |
H A D | base_shape_pattern_test_ng.h | 29 void CheckSize(bool hasValue); 30 void CheckFill(bool hasValue); 31 void CheckFillOpacity(bool hasValue); 32 void CheckStroke(bool hasValue); 33 void CheckStrokeWidth(bool hasValue); 34 void CheckStrokeOpacity(bool hasValue); 35 void CheckStrokeDashArray(bool hasValue); 36 void CheckStrokeDashOffset(bool hasValue); 37 void CheckStrokeLineCap(bool hasValue); 38 void CheckStrokeLineJoin(bool hasValue); [all...] |
H A D | base_shape_pattern_test_ng.cpp | 33 void BaseShapePatternTestNg::CheckSize(bool hasValue) in CheckSize() argument 37 if (hasValue) { in CheckSize() 43 if (hasValue) { in CheckSize() 53 void BaseShapePatternTestNg::CheckFill(bool hasValue) in CheckFill() argument 59 if (hasValue) { in CheckFill() 65 if (hasValue) { in CheckFill() 74 void BaseShapePatternTestNg::CheckFillOpacity(bool hasValue) in CheckFillOpacity() argument 80 if (hasValue) { in CheckFillOpacity() 86 if (hasValue) { in CheckFillOpacity() 95 void BaseShapePatternTestNg::CheckStroke(bool hasValue) in CheckStroke() argument 116 CheckStrokeWidth(bool hasValue) CheckStrokeWidth() argument 137 CheckStrokeOpacity(bool hasValue) CheckStrokeOpacity() argument 158 CheckStrokeDashArray(bool hasValue) CheckStrokeDashArray() argument 189 CheckStrokeDashOffset(bool hasValue) CheckStrokeDashOffset() argument 210 CheckStrokeLineCap(bool hasValue) CheckStrokeLineCap() argument 231 CheckStrokeLineJoin(bool hasValue) CheckStrokeLineJoin() argument 252 CheckStrokeMiterLimit(bool hasValue) CheckStrokeMiterLimit() argument 273 CheckAntiAlias(bool hasValue) CheckAntiAlias() argument [all...] |
H A D | base_polygon_pattern_test_ng.cpp | 31 void BasePolygonPatternTestNg::CheckPoints(RefPtr<FrameNode> frameNode, bool hasValue) in CheckPoints() argument 34 if (hasValue) { in CheckPoints() 44 if (hasValue) { in CheckPoints()
|
H A D | base_polygon_pattern_test_ng.h | 21 void CheckPoints(RefPtr<FrameNode> frameNode, bool hasValue);
|
H A D | polyline_pattern_test_ng.cpp | 80 void CheckPolylinePoints(bool hasValue) in CheckPolylinePoints() argument 86 CheckPoints(frameNode, hasValue); in CheckPolylinePoints()
|
H A D | polygon_pattern_test_ng.cpp | 80 void CheckPolygonPoints(bool hasValue) in CheckPolygonPoints() argument 86 CheckPoints(frameNode, hasValue); in CheckPolygonPoints()
|
H A D | path_pattern_test_ng.cpp | 82 void CheckCommands(bool hasValue) in CheckCommands() argument 88 if (hasValue) { in CheckCommands() 95 if (hasValue) { in CheckCommands()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_animate_param_ffi.cpp | 38 if (animationValue.duration.hasValue) { in ParseCjAnimation() 42 if (animationValue.delay.hasValue) { in ParseCjAnimation() 46 if (animationValue.iterations.hasValue) { in ParseCjAnimation() 50 if (animationValue.tempo.hasValue) { in ParseCjAnimation() 58 if (animationValue.playMode.hasValue) { in ParseCjAnimation() 62 if (animationValue.curve.hasValue) { in ParseCjAnimation() 67 if (animationValue.finishCallbackType.hasValue) { in ParseCjAnimation() 71 if (animationValue.min.hasValue && animationValue.max.hasValue && animationValue.expected.hasValue) { in ParseCjAnimation() [all...] |
H A D | cj_common_ffi.h | 42 bool hasValue; member 57 bool hasValue; member 62 bool hasValue; member 67 bool hasValue; member 72 bool hasValue; member 77 bool hasValue; member 82 bool hasValue; member 87 bool hasValue; member 92 bool hasValue; member 102 bool hasValue; member 107 bool hasValue; global() member [all...] |
H A D | cj_customdialog_controller_ffi.cpp | 84 if (options.gridCount.hasValue) { in NativeCustomDialogController() 91 if (options.backgroundColor.hasValue) { in NativeCustomDialogController() 97 if (options.openAnimation.hasValue) { in NativeCustomDialogController() 102 if (options.closeAnimation.hasValue) { in NativeCustomDialogController()
|
H A D | cj_animate_param_ffi.h | 40 bool hasValue; member
|
H A D | cj_view_abstract_ffi.cpp | 1426 if (options.onAppear.hasValue) { in ParseSheetCallback() 1429 if (options.onDisappear.hasValue) { in ParseSheetCallback() 1432 if (options.shouldDismiss.hasValue) { in ParseSheetCallback() 1435 if (options.onWillAppear.hasValue) { in ParseSheetCallback() 1438 if (options.onWillDisappear.hasValue) { in ParseSheetCallback() 1482 if (option.detents.hasValue && ParseSheetDetents(option.detents.value, detents)) { in ParseSheetStyle() 1485 if (option.blurStyle.hasValue) { in ParseSheetStyle() 1494 if (option.showClose.hasValue) { in ParseSheetStyle() 1497 if (option.dragBarl.hasValue) { in ParseSheetStyle() 1502 if (option.enableOutsideInteractive.hasValue) { in ParseSheetStyle() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/ |
H A D | cj_environment.cpp | 28 NativeOptionBool result {.hasValue = false, .value = false }; in FfiOHOSAceFrameworkEnvironmentGetAccessibilityEnabled() 39 result.hasValue = true; in FfiOHOSAceFrameworkEnvironmentGetAccessibilityEnabled() 49 .hasValue = true, in FfiOHOSAceFrameworkEnvironmentGetColorMode() 57 NativeOptionFloat32 result {.hasValue = false, .value = 0.0}; in FfiOHOSAceFrameworkEnvironmentGetFontScale() 65 result.hasValue = true; in FfiOHOSAceFrameworkEnvironmentGetFontScale() 73 .hasValue = true, in FfiOHOSAceFrameworkEnvironmentGetFontWeightScale() 83 .hasValue = true, in FfiOHOSAceFrameworkEnvironmentGetLayoutDirection() 91 NativeOptionCString result {.hasValue = false, .value = Utils::MallocCString("").value}; in FfiOHOSAceFrameworkEnvironmentGetLanguageCode() 99 result.hasValue = true; in FfiOHOSAceFrameworkEnvironmentGetLanguageCode()
|
H A D | cj_persistent_storage_ffi.cpp | 56 NativeOptionCString result {.hasValue = false, .value = Utils::MallocCString("").value}; in FfiOHOSAceFrameworkPersistentGetString() 64 result.hasValue = true; in FfiOHOSAceFrameworkPersistentGetString() 86 NativeOptionInt64 result {.hasValue = false, .value = 0}; in FfiOHOSAceFrameworkPersistentGetInt64() 94 result.hasValue = true; in FfiOHOSAceFrameworkPersistentGetInt64() 117 NativeOptionFloat64 result {.hasValue = false, .value = 0.0}; in FfiOHOSAceFrameworkPersistentGetFloat64() 125 result.hasValue = true; in FfiOHOSAceFrameworkPersistentGetFloat64() 148 NativeOptionBool result {.hasValue = false, .value = false}; in FfiOHOSAceFrameworkPersistentGetBool() 156 result.hasValue = true; in FfiOHOSAceFrameworkPersistentGetBool()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | node_node_relative_container.cpp | 201 option->left.hasValue = false; in OH_ArkUI_AlignmentRuleOption_SetStart() 204 option->left.hasValue = true; in OH_ArkUI_AlignmentRuleOption_SetStart() 216 option->right.hasValue = false; in OH_ArkUI_AlignmentRuleOption_SetEnd() 219 option->right.hasValue = true; in OH_ArkUI_AlignmentRuleOption_SetEnd() 231 option->middle.hasValue = false; in OH_ArkUI_AlignmentRuleOption_SetCenterHorizontal() 234 option->middle.hasValue = true; in OH_ArkUI_AlignmentRuleOption_SetCenterHorizontal() 246 option->top.hasValue = false; in OH_ArkUI_AlignmentRuleOption_SetTop() 249 option->top.hasValue = true; in OH_ArkUI_AlignmentRuleOption_SetTop() 261 option->bottom.hasValue = false; in OH_ArkUI_AlignmentRuleOption_SetBottom() 264 option->bottom.hasValue in OH_ArkUI_AlignmentRuleOption_SetBottom() [all...] |
H A D | node_model.h | 83 bool hasValue; member 89 bool hasValue; member
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/measure/ |
H A D | cj_measure_ffi.cpp | 68 if (context.constraintWidth.hasValue) { in FromCJCreateMeasureContext() 75 if (context.fontSize.hasValue) { in FromCJCreateMeasureContext() 82 if (context.lineHeight.hasValue) { in FromCJCreateMeasureContext() 89 if (context.baselineOffset.hasValue) { in FromCJCreateMeasureContext() 96 if (context.letterSpacing.hasValue) { in FromCJCreateMeasureContext() 103 if (context.textIndent.hasValue) { in FromCJCreateMeasureContext()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | calendar_picker_modifier.cpp | 226 bool hasValue = false; in IsPaddingValid() local 229 hasValue = true; in IsPaddingValid() 233 hasValue = true; in IsPaddingValid() 237 hasValue = true; in IsPaddingValid() 241 hasValue = true; in IsPaddingValid() 243 return hasValue; in IsPaddingValid()
|
H A D | node_swiper_modifier.cpp | 273 void ParseIndicatorAttribute(std::optional<Dimension> dim, bool& hasValue, float& value) in ParseIndicatorAttribute() argument 275 hasValue = dim.has_value(); in ParseIndicatorAttribute() 276 if (hasValue) { in ParseIndicatorAttribute() 1005 bool hasValue = false; in GetSwiperIndicator() local 1007 ParseIndicatorAttribute(params->dimLeft, hasValue, value); in GetSwiperIndicator() 1008 props->dimLeft = ArkUIOptionalFloat { hasValue, value }; in GetSwiperIndicator() 1009 ParseIndicatorAttribute(params->dimTop, hasValue, value); in GetSwiperIndicator() 1010 props->dimTop = ArkUIOptionalFloat { hasValue, value }; in GetSwiperIndicator() 1011 ParseIndicatorAttribute(params->dimRight, hasValue, value); in GetSwiperIndicator() 1012 props->dimRight = ArkUIOptionalFloat { hasValue, valu in GetSwiperIndicator() [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/fontdescriptor_napi/src/ |
H A D | js_fontdescriptor.cpp | 56 bool hasValue = false; in CheckAndConvertProperty() local 57 TEXT_ERROR_CHECK(napi_has_named_property(env, obj, fieldName.c_str(), &hasValue) == napi_ok, return false, in CheckAndConvertProperty() 59 if (hasValue) { in CheckAndConvertProperty() 70 bool hasValue = false; in ParseFontDescWeight() local 71 TEXT_ERROR_CHECK(napi_has_named_property(env, obj, "weight", &hasValue) == napi_ok, return false, in ParseFontDescWeight() 73 if (hasValue) { in ParseFontDescWeight()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/font/ |
H A D | cj_font_ffi.cpp | 48 return NativeOptionFontInfo { .hasValue = false, .info = nullptr }; in FfiFontManagerGetFontByName()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_badge_bridge.cpp | 182 bool hasValue = false; in SetBadgeParamWithNumber() local 190 hasValue = true; in SetBadgeParamWithNumber() 198 GetArkUINodeModifiers()->getBadgeModifier()->setBadgeParamWithNumber(nativeNode, &style, count, hasValue, maxCount); in SetBadgeParamWithNumber()
|
H A D | arkts_native_column_bridge.cpp | 127 auto hasValue = secondArg->IsBoolean(); in SetReverse() local 128 if (!hasValue) { in SetReverse()
|
H A D | arkts_native_row_bridge.cpp | 123 auto hasValue = secondArg->IsBoolean(); in SetReverse() local 124 if (!hasValue) { in SetReverse()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | skia_decoration_painter.cpp | 78 bool hasValue { false }; 87 colorStop.hasValue = stop.GetHasValue(); in GradientShader() 88 if (colorStop.hasValue) { in GradientShader() 112 if (colorStop.hasValue) { in AddColorStops() 116 colorStop.hasValue = true; in AddColorStops() 121 colorStop.hasValue = true; in AddColorStops() 125 colorStop.hasValue = true; in AddColorStops() 128 if (colorStop.hasValue && i > 0) { in AddColorStops() 130 while (prev >= 0 && !colorStops_[prev].hasValue) { in AddColorStops() 151 if (!colorStops_[i].hasValue in AdjustNoValueColorStop() [all...] |