/foundation/arkui/ace_engine/test/unittest/core/pattern/text_drag/ |
H A D | text_drag_test_ng.h | 31 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 D | text_input_sub_1_test.cpp | 59 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 D | text_input_sub_2_test.cpp | 55 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 D | measure_util.h | 32 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 D | rs_obj_abs_geometry_test.cpp | 73 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 D | button_extend_test_ng.cpp | 76 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 D | text_base.h | 186 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 D | rich_editor_model.h | 101 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 D | calendar_layout_algorithm.cpp | 33 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 D | progress_layout_algorithm.cpp | 43 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 D | rating_layout_algorithm.cpp | 24 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 D | type_converter.cpp | 160 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 D | loading_progress_layout_algorithm.cpp | 27 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 D | rich_editor_common_test_ng.h | 161 .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 D | counter_model_ng.cpp | 106 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 D | cj_tab_ffi.cpp | 176 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 D | switch_layout_algorithm.cpp | 25 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 D | js_linear_indicator.cpp | 264 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 D | drag_bar_layout_algorithm.cpp | 31 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 D | patternlock_layout_algorithm.cpp | 25 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 D | svg_node.cpp | 80 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 D | rs_filter_cache_manager.h | 65 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 D | net_bundle_impl.cpp | 87 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 D | grid_row_test_ng.cpp | 105 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 D | data_panel_layout_algorithm.cpp | 30 CHECK_NULL_RETURN(host, std::nullopt); in MeasureContent() 32 CHECK_NULL_RETURN(pattern, std::nullopt); in MeasureContent() 35 return std::nullopt; in MeasureContent()
|