Home
last modified time | relevance | path

Searched refs:hasValue (Results 1 - 25 of 49) sorted by relevance

12

/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/
H A Dbase_shape_pattern_test_ng.h29 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 Dbase_shape_pattern_test_ng.cpp33 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 Dbase_polygon_pattern_test_ng.cpp31 void BasePolygonPatternTestNg::CheckPoints(RefPtr<FrameNode> frameNode, bool hasValue) in CheckPoints() argument
34 if (hasValue) { in CheckPoints()
44 if (hasValue) { in CheckPoints()
H A Dbase_polygon_pattern_test_ng.h21 void CheckPoints(RefPtr<FrameNode> frameNode, bool hasValue);
H A Dpolyline_pattern_test_ng.cpp80 void CheckPolylinePoints(bool hasValue) in CheckPolylinePoints() argument
86 CheckPoints(frameNode, hasValue); in CheckPolylinePoints()
H A Dpolygon_pattern_test_ng.cpp80 void CheckPolygonPoints(bool hasValue) in CheckPolygonPoints() argument
86 CheckPoints(frameNode, hasValue); in CheckPolygonPoints()
H A Dpath_pattern_test_ng.cpp82 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 Dcj_animate_param_ffi.cpp38 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 Dcj_common_ffi.h42 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 Dcj_customdialog_controller_ffi.cpp84 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 Dcj_animate_param_ffi.h40 bool hasValue; member
H A Dcj_view_abstract_ffi.cpp1426 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 Dcj_environment.cpp28 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 Dcj_persistent_storage_ffi.cpp56 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 Dnode_node_relative_container.cpp201 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 Dnode_model.h83 bool hasValue; member
89 bool hasValue; member
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/measure/
H A Dcj_measure_ffi.cpp68 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 Dcalendar_picker_modifier.cpp226 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 Dnode_swiper_modifier.cpp273 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 Djs_fontdescriptor.cpp56 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 Dcj_font_ffi.cpp48 return NativeOptionFontInfo { .hasValue = false, .info = nullptr }; in FfiFontManagerGetFontByName()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_badge_bridge.cpp182 bool hasValue = false; in SetBadgeParamWithNumber() local
190 hasValue = true; in SetBadgeParamWithNumber()
198 GetArkUINodeModifiers()->getBadgeModifier()->setBadgeParamWithNumber(nativeNode, &style, count, hasValue, maxCount); in SetBadgeParamWithNumber()
H A Darkts_native_column_bridge.cpp127 auto hasValue = secondArg->IsBoolean(); in SetReverse() local
128 if (!hasValue) { in SetReverse()
H A Darkts_native_row_bridge.cpp123 auto hasValue = secondArg->IsBoolean(); in SetReverse() local
124 if (!hasValue) { in SetReverse()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dskia_decoration_painter.cpp78 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...]

Completed in 18 milliseconds

12