Home
last modified time | relevance | path

Searched refs:nullopt (Results 1 - 25 of 575) sorted by relevance

12345678910>>...23

/foundation/arkui/ace_engine/test/unittest/core/pattern/text_drag/
H A Dtext_drag_test_ng.h31 std::optional<Dimension> fontSizeValue = std::nullopt;
32 std::optional<Color> textColorValue = std::nullopt;
33 std::optional<Ace::FontStyle> italicFontStyleValue = std::nullopt;
34 std::optional<Ace::FontWeight> fontWeightValue = std::nullopt;
35 std::optional<std::vector<std::string>> fontFamilyValue = std::nullopt;
36 std::optional<Ace::TextAlign> textAlignValue = std::nullopt;
37 std::optional<Ace::TextOverflow> textOverflowValue = std::nullopt;
38 std::optional<uint32_t> maxLinesValue = std::nullopt;
39 std::optional<Dimension> lineHeightValue = std::nullopt;
40 std::optional<Ace::TextDecoration> textDecorationValue = std::nullopt;
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_sub_1_test.cpp59 EXPECT_EQ(pattern_->GetUserUnderlineColor().normal, std::nullopt); in HWTEST_F()
60 EXPECT_EQ(pattern_->GetUserUnderlineColor().typing, std::nullopt); in HWTEST_F()
61 EXPECT_EQ(pattern_->GetUserUnderlineColor().error, std::nullopt); in HWTEST_F()
62 EXPECT_EQ(pattern_->GetUserUnderlineColor().disable, std::nullopt); in HWTEST_F()
75 EXPECT_EQ(userColorRes.typing, std::nullopt); in HWTEST_F()
77 EXPECT_EQ(userColorRes.error, std::nullopt); in HWTEST_F()
78 EXPECT_EQ(userColorRes.disable, std::nullopt); in HWTEST_F()
108 userColor.normal = std::nullopt; in HWTEST_F()
117 EXPECT_EQ(userColorRes.normal, std::nullopt); in HWTEST_F()
118 EXPECT_EQ(userColorRes.error, std::nullopt); in HWTEST_F()
[all...]
H A Dtext_input_sub_2_test.cpp55 EXPECT_EQ(pattern_->GetUserUnderlineColor().normal, std::nullopt); in HWTEST_F()
56 EXPECT_EQ(pattern_->GetUserUnderlineColor().typing, std::nullopt); in HWTEST_F()
57 EXPECT_EQ(pattern_->GetUserUnderlineColor().error, std::nullopt); in HWTEST_F()
58 EXPECT_EQ(pattern_->GetUserUnderlineColor().disable, std::nullopt); in HWTEST_F()
71 EXPECT_EQ(userColorRes.typing, std::nullopt); in HWTEST_F()
73 EXPECT_EQ(userColorRes.error, std::nullopt); in HWTEST_F()
74 EXPECT_EQ(userColorRes.disable, std::nullopt); in HWTEST_F()
97 userColor.normal = std::nullopt; in HWTEST_F()
106 EXPECT_EQ(userColorRes.normal, std::nullopt); in HWTEST_F()
107 EXPECT_EQ(userColorRes.error, std::nullopt); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dmeasure_util.h32 std::optional<Dimension> constraintWidth = std::nullopt;
33 std::optional<Dimension> fontSize = std::nullopt;
34 std::optional<Dimension> lineHeight = std::nullopt;
35 std::optional<Dimension> baselineOffset = std::nullopt;
36 std::optional<Dimension> letterSpacing = std::nullopt;
37 std::optional<Dimension> lineSpacing = std::nullopt;
38 std::optional<Dimension> textIndent = std::nullopt;
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/
H A Drs_obj_abs_geometry_test.cpp73 rsObjAbsGeometry.UpdateMatrix(parent, std::nullopt); in HWTEST_F()
75 rsObjAbsGeometry.UpdateMatrix(parent, std::nullopt); in HWTEST_F()
77 rsObjAbsGeometry.UpdateMatrix(parent, std::nullopt); in HWTEST_F()
79 rsObjAbsGeometry.UpdateMatrix(parent, std::nullopt); in HWTEST_F()
81 rsObjAbsGeometry.UpdateMatrix(parent, std::nullopt); in HWTEST_F()
83 rsObjAbsGeometry.UpdateMatrix(parent, std::nullopt); in HWTEST_F()
85 rsObjAbsGeometry.UpdateMatrix(parent, std::nullopt); in HWTEST_F()
87 rsObjAbsGeometry.UpdateMatrix(parent, std::nullopt); in HWTEST_F()
89 rsObjAbsGeometry.UpdateMatrix(parent, std::nullopt); in HWTEST_F()
91 rsObjAbsGeometry.UpdateMatrix(parent, std::nullopt); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/button/
H A Dbutton_extend_test_ng.cpp76 std::make_optional(true), std::make_optional(ButtonType::CAPSULE), std::make_optional(true), std::nullopt,
77 std::nullopt, std::nullopt };
81 std::optional<ButtonType> typeValue = std::nullopt;
82 std::optional<bool> stateEffectValue = std::nullopt;
83 std::optional<Dimension> fontSizeValue = std::nullopt;
84 std::optional<Ace::FontWeight> fontWeightValue = std::nullopt;
85 std::optional<Color> textColorValue = std::nullopt;
86 std::optional<Ace::FontStyle> fontStyleValue = std::nullopt;
87 std::optional<std::vector<std::string>> fontFamilyValue = std::nullopt;
190 buttonModelNGEx.SetRole(AceType::RawPtr(buttonNodeEx), std::nullopt); HWTEST_F() member in OHOS::Ace::NG::std
191 buttonModelNGEx.SetButtonStyle(AceType::RawPtr(buttonNodeEx), std::nullopt); HWTEST_F() member in OHOS::Ace::NG::std
192 buttonModelNGEx.SetControlSize(AceType::RawPtr(buttonNodeEx), std::nullopt); HWTEST_F() member in OHOS::Ace::NG::std
194 buttonModelNGEx.SetSize(AceType::RawPtr(buttonNodeEx), std::nullopt, std::nullopt); HWTEST_F() member in OHOS::Ace::NG::std
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_base.h186 std::optional<Dimension> fontSizeValue = std::nullopt;
187 std::optional<Color> textColorValue = std::nullopt;
188 std::optional<Ace::FontStyle> italicFontStyleValue = std::nullopt;
189 std::optional<Ace::FontWeight> fontWeightValue = std::nullopt;
190 std::optional<std::vector<std::string>> fontFamilyValue = std::nullopt;
191 std::optional<Ace::TextAlign> textAlignValue = std::nullopt;
192 std::optional<Ace::TextOverflow> textOverflowValue = std::nullopt;
193 std::optional<uint32_t> maxLinesValue = std::nullopt;
194 std::optional<Dimension> lineHeightValue = std::nullopt;
195 std::optional<Dimension> lineSpacingValue = std::nullopt;
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_model.h101 std::optional<Color> updateTextColor = std::nullopt;
102 std::optional<CalcDimension> updateFontSize = std::nullopt;
103 std::optional<FontStyle> updateItalicFontStyle = std::nullopt;
104 std::optional<FontWeight> updateFontWeight = std::nullopt;
105 std::optional<std::vector<std::string>> updateFontFamily = std::nullopt;
106 std::optional<TextDecoration> updateTextDecoration = std::nullopt;
107 std::optional<Color> updateTextDecorationColor = std::nullopt;
108 std::optional<TextDecorationStyle> updateTextDecorationStyle = std::nullopt;
109 std::optional<std::vector<Shadow>> updateTextShadows = std::nullopt;
110 std::optional<NG::FONT_FEATURES_LIST> updateFontFeature = std::nullopt;
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_layout_algorithm.cpp33 CHECK_NULL_RETURN(layoutWrapper, std::nullopt); in MeasureContent()
35 CHECK_NULL_RETURN(host, std::nullopt); in MeasureContent()
37 CHECK_NULL_RETURN(calendarMonthPattern, std::nullopt); in MeasureContent()
44 CHECK_NULL_RETURN(layoutProperty, std::nullopt); in MeasureContent()
57 CHECK_NULL_RETURN(frameNode, std::nullopt); in MeasureContent()
59 CHECK_NULL_RETURN(pipeline, std::nullopt); in MeasureContent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_layout_algorithm.cpp43 CHECK_NULL_RETURN(host, std::nullopt); in MeasureContent()
45 CHECK_NULL_RETURN(pattern, std::nullopt); in MeasureContent()
48 return std::nullopt; in MeasureContent()
51 CHECK_NULL_RETURN(pipeline, std::nullopt); in MeasureContent()
57 CHECK_NULL_RETURN(progressLayoutProperty, std::nullopt); in MeasureContent()
101 CHECK_NULL_RETURN(pipeline, std::nullopt); in MeasureContentForApiNine()
104 CHECK_NULL_RETURN(progressLayoutProperty, std::nullopt); in MeasureContentForApiNine()
179 CalcSize defaultCalcSize((CalcLength(width - 2 * margin.ConvertToPx())), std::nullopt); in GetChildHeight()
189 ((paddingProperty->top != std::nullopt) || (paddingProperty->bottom != std::nullopt)))) { in GetChildHeight()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_layout_algorithm.cpp24 CHECK_NULL_RETURN(host, std::nullopt); in MeasureContent()
26 CHECK_NULL_RETURN(pattern, std::nullopt); in MeasureContent()
29 return std::nullopt; in MeasureContent()
36 CHECK_NULL_RETURN(pipeline, std::nullopt); in MeasureContent()
38 CHECK_NULL_RETURN(ratingTheme, std::nullopt); in MeasureContent()
41 CHECK_EQUAL_RETURN(stars, 0, std::nullopt); in MeasureContent()
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dtype_converter.cpp160 return std::nullopt; in HdiCodecTypeToInnerCodecType()
174 return nullopt; in HdiRoleToOmxCodingType()
198 return nullopt; in GraphicFmtToFmt()
210 return nullopt; in InnerFmtToFmt()
222 return nullopt; in InnerFmtToDisplayFmt()
234 return nullopt; in DisplayFmtToInnerFmt()
248 return std::nullopt; in InnerRotateToDisplayRotate()
262 return nullopt; in OmxAvcProfileToInnerProfile()
274 return nullopt; in OmxAvcLevelToInnerLevel()
286 return nullopt; in OmxHevcProfileToInnerProfile()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/loading_progress/
H A Dloading_progress_layout_algorithm.cpp27 CHECK_NULL_RETURN(host, std::nullopt); in MeasureContent()
29 CHECK_NULL_RETURN(pattern, std::nullopt); in MeasureContent()
32 return std::nullopt; in MeasureContent()
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_common_test_ng.h161 .marginProp = std::nullopt,
162 .borderRadius = std::nullopt,
163 .paddingProp = std::nullopt
166 .offset = std::nullopt,
168 .bundleName = std::nullopt,
169 .moduleName = std::nullopt,
170 .imagePixelMap = std::nullopt,
174 .offset = std::nullopt,
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/counter/
H A Dcounter_model_ng.cpp106 CalcSize(std::nullopt, CalcLength(counterTheme->GetHeight()))); in CreateContentNodeChild()
201 layoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(value))); in SetHeight()
207 subLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(value))); in SetHeight()
211 subTextLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(value))); in SetHeight()
218 contentLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(value))); in SetHeight()
224 addLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(value))); in SetHeight()
228 addTextLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(value))); in SetHeight()
237 layoutProperty->UpdateUserDefinedIdealSize(CalcSize(CalcLength(value), std::nullopt)); in SetWidth() member in OHOS::Ace::NG::std
293 layoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(value))); in SetHeight()
299 subLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLengt in SetHeight()
328 layoutProperty->UpdateUserDefinedIdealSize(CalcSize(CalcLength(value), std::nullopt)); SetWidth() member in OHOS::Ace::NG::std
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_tab_ffi.cpp176 TabContentModel::GetInstance()->SetTabBar(content, std::nullopt, std::nullopt, nullptr, true); in FfiOHOSAceFrameworkTabContentSetTabBar()
181 TabContentModel::GetInstance()->SetTabBar(text, icon, std::nullopt, nullptr, false); in FfiOHOSAceFrameworkTabContentSetTabBarWithIcon()
187 std::nullopt, std::nullopt, std::nullopt, CJLambda::Create(callback), false); in FfiOHOSAceFrameworkTabContentSetTabBarWithComponent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
H A Dswitch_layout_algorithm.cpp25 CHECK_NULL_RETURN(frameNode, std::nullopt); in MeasureContent()
27 CHECK_NULL_RETURN(pipeline, std::nullopt); in MeasureContent()
29 CHECK_NULL_RETURN(pattern, std::nullopt); in MeasureContent()
32 return std::nullopt; in MeasureContent()
35 CHECK_NULL_RETURN(layoutProperty, std::nullopt); in MeasureContent()
39 CHECK_NULL_RETURN(switchTheme, std::nullopt); in MeasureContent()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_linear_indicator.cpp264 ViewAbstractModel::GetInstance()->SetPaddings(std::nullopt, std::nullopt, defaultLeft, defaultRight); in JsPadding()
278 std::nullopt, std::nullopt, commonCalcDimension.left, commonCalcDimension.right); in JsPadding()
283 ViewAbstractModel::GetInstance()->SetPaddings(std::nullopt, std::nullopt, length, length); in JsPadding()
285 ViewAbstractModel::GetInstance()->SetPaddings(std::nullopt, std::nullopt, defaultLeft, defaultRight); in JsPadding()
303 ViewAbstractModel::GetInstance()->SetPaddings(std::nullopt, std::nullopt, valu in SetPaddingLeft()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/
H A Ddrag_bar_layout_algorithm.cpp31 CHECK_NULL_RETURN(layoutWrapper, std::nullopt); in MeasureContent()
33 CHECK_NULL_RETURN(layoutProperty, std::nullopt); in MeasureContent()
35 CHECK_NULL_RETURN(layoutConstraint, std::nullopt); in MeasureContent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/
H A Dpatternlock_layout_algorithm.cpp25 CHECK_NULL_RETURN(pipeline, std::nullopt); in MeasureContent()
27 CHECK_NULL_RETURN(patternLockTheme, std::nullopt); in MeasureContent()
30 CHECK_NULL_RETURN(patternLockLayoutProperty, std::nullopt); in MeasureContent()
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_node.cpp80 return std::nullopt; in GetGradient()
83 return std::nullopt; in GetGradient()
88 return std::nullopt; in GetGradient()
94 return std::nullopt; in GetGradient()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_filter_cache_manager.h65 bool shouldClearFilteredCache, const std::optional<Drawing::RectI>& srcRect = std::nullopt,
66 const std::optional<Drawing::RectI>& dstRect = std::nullopt);
71 const std::shared_ptr<RSDrawingFilter>& filter, const std::optional<Drawing::RectI>& srcRect = std::nullopt,
72 const std::optional<Drawing::RectI>& dstRect = std::nullopt);
/foundation/communication/netmanager_base/utils/bundle_utils/src/
H A Dnet_bundle_impl.cpp87 return std::nullopt; in ObtainBundleNameForSelf()
94 return std::nullopt; in ObtainBundleNameForSelf()
105 return std::nullopt; in ObtainTargetApiVersionForSelf()
112 return std::nullopt; in ObtainTargetApiVersionForSelf()
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid_row/old_cases/
H A Dgrid_row_test_ng.cpp105 colLayoutFront->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(DEFAULT_HEIGHT))); in SetUp()
110 colLayoutBack->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(DEFAULT_HEIGHT))); in SetUp()
549 firstColLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(TEST_ALIGN_HEIGHT))); in HWTEST_F()
556 secondColLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(DEFAULT_HEIGHT))); in HWTEST_F()
597 firstColLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(TEST_ALIGN_HEIGHT))); in HWTEST_F()
604 secondColLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(DEFAULT_HEIGHT))); in HWTEST_F()
645 firstColLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(TEST_ALIGN_HEIGHT))); in HWTEST_F()
652 secondColLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(DEFAULT_HEIGHT))); in HWTEST_F()
693 firstColLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(TEST_ALIGN_HEIGHT))); in HWTEST_F()
700 secondColLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLengt in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/
H A Ddata_panel_layout_algorithm.cpp30 CHECK_NULL_RETURN(host, std::nullopt); in MeasureContent()
32 CHECK_NULL_RETURN(pattern, std::nullopt); in MeasureContent()
35 return std::nullopt; in MeasureContent()

Completed in 13 milliseconds

12345678910>>...23