Home
last modified time | relevance | path

Searched refs:hasValue (Results 1 – 25 of 64) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/
H A Dbase_shape_pattern_test_ng.cpp37 if (hasValue) { in CheckSize()
43 if (hasValue) { in CheckSize()
59 if (hasValue) { in CheckFill()
65 if (hasValue) { in CheckFill()
80 if (hasValue) { in CheckFillOpacity()
86 if (hasValue) { in CheckFillOpacity()
101 if (hasValue) { in CheckStroke()
107 if (hasValue) { in CheckStroke()
122 if (hasValue) { in CheckStrokeWidth()
128 if (hasValue) { in CheckStrokeWidth()
[all …]
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_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 Dpath_pattern_test_ng.cpp82 void CheckCommands(bool hasValue) in CheckCommands() argument
88 if (hasValue) { in CheckCommands()
95 if (hasValue) { in CheckCommands()
H A Dpolygon_pattern_test_ng.cpp80 void CheckPolygonPoints(bool hasValue) in CheckPolygonPoints() argument
86 CheckPoints(frameNode, hasValue); in CheckPolygonPoints()
H A Dpolyline_pattern_test_ng.cpp80 void CheckPolylinePoints(bool hasValue) in CheckPolylinePoints() argument
86 CheckPoints(frameNode, hasValue); in CheckPolylinePoints()
H A Dbase_polygon_pattern_test_ng.h21 void CheckPoints(RefPtr<FrameNode> frameNode, bool hasValue);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_animate_param_ffi.cpp43 if (animationValue.duration.hasValue) { in ParseCjAnimation()
47 if (animationValue.delay.hasValue) { in ParseCjAnimation()
51 if (animationValue.iterations.hasValue) { in ParseCjAnimation()
55 if (animationValue.tempo.hasValue) { in ParseCjAnimation()
63 if (animationValue.playMode.hasValue) { in ParseCjAnimation()
67 if (animationValue.curve.hasValue) { in ParseCjAnimation()
76 …if (animationValue.min.hasValue && animationValue.max.hasValue && animationValue.expected.hasValue in ParseCjAnimation()
78 animationValue.min.hasValue, in ParseCjAnimation()
79 animationValue.max.hasValue, in ParseCjAnimation()
80 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
[all …]
H A Dcj_customdialog_controller_ffi.cpp89 if (options.gridCount.hasValue) { in NativeCustomDialogController()
96 if (options.backgroundColor.hasValue) { in NativeCustomDialogController()
102 if (options.openAnimation.hasValue) { in NativeCustomDialogController()
107 if (options.closeAnimation.hasValue) { in NativeCustomDialogController()
H A Dcj_view_abstract_ffi.cpp1433 if (options.onAppear.hasValue) { in ParseSheetCallback()
1436 if (options.onDisappear.hasValue) { in ParseSheetCallback()
1439 if (options.shouldDismiss.hasValue) { in ParseSheetCallback()
1442 if (options.onWillAppear.hasValue) { in ParseSheetCallback()
1492 if (option.blurStyle.hasValue) { in ParseSheetStyle()
1501 if (option.showClose.hasValue) { in ParseSheetStyle()
1504 if (option.dragBarl.hasValue) { in ParseSheetStyle()
1515 if (option.preferType.hasValue) { in ParseSheetStyle()
1522 if (option.backgroundColor.hasValue) { in ParseSheetStyle()
1525 if (option.maskColor.hasValue) { in ParseSheetStyle()
[all …]
H A Dcj_animate_param_ffi.h40 bool hasValue; member
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/
H A Dnode_node_relative_container.cpp203 option->left.hasValue = false; in OH_ArkUI_AlignmentRuleOption_SetStart()
206 option->left.hasValue = true; in OH_ArkUI_AlignmentRuleOption_SetStart()
218 option->right.hasValue = false; in OH_ArkUI_AlignmentRuleOption_SetEnd()
221 option->right.hasValue = true; in OH_ArkUI_AlignmentRuleOption_SetEnd()
233 option->middle.hasValue = false; in OH_ArkUI_AlignmentRuleOption_SetCenterHorizontal()
236 option->middle.hasValue = true; in OH_ArkUI_AlignmentRuleOption_SetCenterHorizontal()
248 option->top.hasValue = false; in OH_ArkUI_AlignmentRuleOption_SetTop()
251 option->top.hasValue = true; in OH_ArkUI_AlignmentRuleOption_SetTop()
263 option->bottom.hasValue = false; in OH_ArkUI_AlignmentRuleOption_SetBottom()
266 option->bottom.hasValue = true; in OH_ArkUI_AlignmentRuleOption_SetBottom()
[all …]
H A Dnode_model.h86 bool hasValue; member
92 bool hasValue; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/
H A Dcj_environment.cpp31 NativeOptionBool result {.hasValue = false, .value = false }; in FfiOHOSAceFrameworkEnvironmentGetAccessibilityEnabled()
42 result.hasValue = true; in FfiOHOSAceFrameworkEnvironmentGetAccessibilityEnabled()
52 .hasValue = true, in FfiOHOSAceFrameworkEnvironmentGetColorMode()
60 NativeOptionFloat32 result {.hasValue = false, .value = 0.0}; in FfiOHOSAceFrameworkEnvironmentGetFontScale()
68 result.hasValue = true; in FfiOHOSAceFrameworkEnvironmentGetFontScale()
76 .hasValue = true, in FfiOHOSAceFrameworkEnvironmentGetFontWeightScale()
86 .hasValue = true, in FfiOHOSAceFrameworkEnvironmentGetLayoutDirection()
94 NativeOptionCString result {.hasValue = false, .value = Utils::MallocCString("").value}; in FfiOHOSAceFrameworkEnvironmentGetLanguageCode()
102 result.hasValue = true; in FfiOHOSAceFrameworkEnvironmentGetLanguageCode()
H A Dcj_persistent_storage_ffi.cpp59 NativeOptionCString result {.hasValue = false, .value = Utils::MallocCString("").value}; in FfiOHOSAceFrameworkPersistentGetString()
67 result.hasValue = true; in FfiOHOSAceFrameworkPersistentGetString()
89 NativeOptionInt64 result {.hasValue = false, .value = 0}; in FfiOHOSAceFrameworkPersistentGetInt64()
97 result.hasValue = true; in FfiOHOSAceFrameworkPersistentGetInt64()
120 NativeOptionFloat64 result {.hasValue = false, .value = 0.0}; in FfiOHOSAceFrameworkPersistentGetFloat64()
128 result.hasValue = true; in FfiOHOSAceFrameworkPersistentGetFloat64()
151 NativeOptionBool result {.hasValue = false, .value = false}; in FfiOHOSAceFrameworkPersistentGetBool()
159 result.hasValue = true; in FfiOHOSAceFrameworkPersistentGetBool()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/measure/
H A Dcj_measure_ffi.cpp70 if (context.constraintWidth.hasValue) { in FromCJCreateMeasureContext()
77 if (context.fontSize.hasValue) { in FromCJCreateMeasureContext()
84 if (context.lineHeight.hasValue) { in FromCJCreateMeasureContext()
91 if (context.baselineOffset.hasValue) { in FromCJCreateMeasureContext()
98 if (context.letterSpacing.hasValue) { in FromCJCreateMeasureContext()
105 if (context.textIndent.hasValue) { in FromCJCreateMeasureContext()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_swiper_modifier.cpp289 hasValue = dim.has_value(); in ParseIndicatorAttribute()
290 if (hasValue) { in ParseIndicatorAttribute()
1020 bool hasValue = false; in GetSwiperIndicator() local
1022 ParseIndicatorAttribute(params->dimLeft, hasValue, value); in GetSwiperIndicator()
1023 props->dimLeft = ArkUIOptionalFloat { hasValue, value }; in GetSwiperIndicator()
1024 ParseIndicatorAttribute(params->dimTop, hasValue, value); in GetSwiperIndicator()
1025 props->dimTop = ArkUIOptionalFloat { hasValue, value }; in GetSwiperIndicator()
1026 ParseIndicatorAttribute(params->dimRight, hasValue, value); in GetSwiperIndicator()
1027 props->dimRight = ArkUIOptionalFloat { hasValue, value }; in GetSwiperIndicator()
1028 ParseIndicatorAttribute(params->dimBottom, hasValue, value); in GetSwiperIndicator()
[all …]
H A Dcalendar_picker_modifier.cpp230 bool hasValue = false; in IsPaddingValid() local
233 hasValue = true; in IsPaddingValid()
237 hasValue = true; in IsPaddingValid()
241 hasValue = true; in IsPaddingValid()
245 hasValue = true; in IsPaddingValid()
247 return hasValue; in IsPaddingValid()
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsim_core_service_test.cpp178 bool hasValue = false; variable
179 EXPECT_NE(mCoreService->HasSimCard(0, hasValue), TELEPHONY_ERR_SUCCESS);
180 EXPECT_NE(mCoreService->HasOperatorPrivileges(0, hasValue), TELEPHONY_ERR_SUCCESS);
339 bool hasValue = false; variable
340 EXPECT_NE(mCoreService->HasSimCard(0, hasValue), TELEPHONY_ERR_SUCCESS);
341 EXPECT_NE(mCoreService->HasOperatorPrivileges(0, hasValue), TELEPHONY_ERR_SUCCESS);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/
H A Ddrawing_decoration_painter.cpp49 bool hasValue { false }; member
58 colorStop.hasValue = stop.GetHasValue(); in GradientShader()
59 if (colorStop.hasValue) { in GradientShader()
83 if (colorStop.hasValue) { in AddColorStops()
87 colorStop.hasValue = true; in AddColorStops()
92 colorStop.hasValue = true; in AddColorStops()
96 colorStop.hasValue = true; in AddColorStops()
99 if (colorStop.hasValue && i > 0) { in AddColorStops()
101 while (prev >= 0 && !colorStops_[prev].hasValue) { in AddColorStops()
122 if (!colorStops_[i].hasValue && !inUnspecifiedRun) { in AdjustNoValueColorStop()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dskia_decoration_painter.cpp78 bool hasValue { false }; member
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 && !inUnspecifiedRun) { in AdjustNoValueColorStop()
[all …]
/ohos5.0/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 …iers()->getBadgeModifier()->setBadgeParamWithNumber(nativeNode, &style, count, hasValue, maxCount); in SetBadgeParamWithNumber()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/
H A Djs-apis-hashmap.md135 ### hasValue subsection
137 hasValue(value: V): boolean
163 | 10200011 | The hasValue method cannot be bound. |
170 let result = hashMap.hasValue(123);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/font/
H A Dcj_font_ffi.cpp49 return NativeOptionFontInfo { .hasValue = false, .info = nullptr }; in FfiFontManagerGetFontByName()

123