/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/ |
H A D | rs_animation_rate_decider_test.cpp | 138 …rateDecider_->MakeDecision([](const RSPropertyUnit unit, float velocity) -> int32_t { return 90; }… in __anonbb305a9f0102() 164 auto frameRateGetFunc = [this](const RSPropertyUnit unit, float velocity) -> int32_t{ in __anonbb305a9f0202() 200 auto frameRateGetFunc = [this](const RSPropertyUnit unit, float velocity) -> int32_t{ in __anonbb305a9f0302() 206 RSPropertyUnit unit = RSPropertyUnit::PIXEL_POSITION; variable 222 auto frameRateGetFunc = [this](const RSPropertyUnit unit, float velocity) -> int32_t{ in __anonbb305a9f0402() 225 RSPropertyUnit unit = RSPropertyUnit::RATIO_SCALE; variable 246 auto frameRateGetFunc = [this](const RSPropertyUnit unit, float velocity) -> int32_t{ in __anonbb305a9f0502() 249 RSPropertyUnit unit = RSPropertyUnit::ANGLE_ROTATION; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_column_ffi.cpp | 45 void FfiOHOSAceFrameworkColumnCreateWithSpace(double space, int32_t unit) in FfiOHOSAceFrameworkColumnCreateWithSpace() 69 void FfiOHOSAceFrameworkColumnSetHeight(double height, int32_t unit) in FfiOHOSAceFrameworkColumnSetHeight() 75 void FfiOHOSAceFrameworkColumnSetWidth(double width, int32_t unit) in FfiOHOSAceFrameworkColumnSetWidth()
|
H A D | cj_row_ffi.cpp | 45 void FfiOHOSAceFrameworkRowCreateWithSpace(double space, int32_t unit) in FfiOHOSAceFrameworkRowCreateWithSpace() 72 void FfiOHOSAceFrameworkRowSetHeight(double height, int32_t unit) in FfiOHOSAceFrameworkRowSetHeight() 79 void FfiOHOSAceFrameworkRowSetWidth(double width, int32_t unit) in FfiOHOSAceFrameworkRowSetWidth()
|
H A D | cj_text_ffi.cpp | 47 void FfiOHOSAceFrameworkTextSetWidth(double width, int32_t unit) in FfiOHOSAceFrameworkTextSetWidth() 54 void FfiOHOSAceFrameworkTextSetHeight(double height, int32_t unit) in FfiOHOSAceFrameworkTextSetHeight() 61 void FfiOHOSAceFrameworkTextSetFontSize(double fontSize, int32_t unit) in FfiOHOSAceFrameworkTextSetFontSize() 109 void FfiOHOSAceFrameworkTextSetLineHeight(double lineHeight, int32_t unit) in FfiOHOSAceFrameworkTextSetLineHeight() 132 void FfiOHOSAceFrameworkTextSetMinFontSize(double fontSize, int32_t unit) in FfiOHOSAceFrameworkTextSetMinFontSize() 138 void FfiOHOSAceFrameworkTextSetMaxFontSize(double fontSize, int32_t unit) in FfiOHOSAceFrameworkTextSetMaxFontSize() 153 void FfiOHOSAceFrameworkTextSetBaselineOffset(double baseLine, int32_t unit) in FfiOHOSAceFrameworkTextSetBaselineOffset()
|
H A D | cj_counter_ffi.cpp | 32 void FfiOHOSAceFrameworkCounterSetWidth(double value, int32_t unit) in FfiOHOSAceFrameworkCounterSetWidth() 41 void FfiOHOSAceFrameworkCounterSetHeight(double value, int32_t unit) in FfiOHOSAceFrameworkCounterSetHeight() 56 void FfiOHOSAceFrameworkCounterSetControlWidth(double value, int32_t unit) in FfiOHOSAceFrameworkCounterSetControlWidth()
|
H A D | cj_menu_ffi.cpp | 30 void FfiOHOSAceFrameworkMenuFont(double size, int32_t unit, const char* weight, in FfiOHOSAceFrameworkMenuFont() 52 void FfiOHOSAceFrameworkMenuSetWidth(double width, int32_t unit) in FfiOHOSAceFrameworkMenuSetWidth() 58 void FfiOHOSAceFrameworkMenuSetRadiusByLength(double size, int32_t unit) in FfiOHOSAceFrameworkMenuSetRadiusByLength()
|
H A D | cj_panel_ffi.cpp | 66 void FfiOHOSAceFrameworkPanelFullHeight(double height, int32_t unit) in FfiOHOSAceFrameworkPanelFullHeight() 71 void FfiOHOSAceFrameworkPanelHalfHeight(double height, int32_t unit) in FfiOHOSAceFrameworkPanelHalfHeight() 76 void FfiOHOSAceFrameworkPanelMiniHeight(double height, int32_t unit) in FfiOHOSAceFrameworkPanelMiniHeight() 140 void FfiOHOSAceFrameworkPanelBorderWidth(double width, int32_t unit) in FfiOHOSAceFrameworkPanelBorderWidth() 148 void FfiOHOSAceFrameworkPanelBorderRadius(double radius, int32_t unit) in FfiOHOSAceFrameworkPanelBorderRadius()
|
H A D | cj_textfield_ffi.cpp | 53 void FfiOHOSAceFrameworkTextFieldSetHeight(double height, uint32_t unit) in FfiOHOSAceFrameworkTextFieldSetHeight() 74 void FfiOHOSAceFrameworkTextFieldSetBorderWidth(double value, uint32_t unit) in FfiOHOSAceFrameworkTextFieldSetBorderWidth() 103 void FfiOHOSAceFrameworkTextFieldSetBorderRadius(double value, uint32_t unit) in FfiOHOSAceFrameworkTextFieldSetBorderRadius() 120 void FfiOHOSAceFrameworkTextFieldSetPadding(double value, int32_t unit) in FfiOHOSAceFrameworkTextFieldSetPadding() 144 void FfiOHOSAceFrameworkTextFieldSetMargin(double value, int32_t unit) in FfiOHOSAceFrameworkTextFieldSetMargin() 162 double size, int32_t unit, const char* weight, const char* family, int32_t style) in FfiOHOSAceFrameworkTextFieldSetPlaceholderFont() 223 void FfiOHOSAceFrameworkTextFieldSetFontSize(double value, int32_t unit) in FfiOHOSAceFrameworkTextFieldSetFontSize()
|
H A D | cj_navigator_ffi.cpp | 47 void FfiOHOSAceFrameworkNavigatorSetWidth(double width, int32_t unit) in FfiOHOSAceFrameworkNavigatorSetWidth() 53 void FfiOHOSAceFrameworkNavigatorSetHeight(double height, int32_t unit) in FfiOHOSAceFrameworkNavigatorSetHeight()
|
H A D | cj_pattern_lock.cpp | 86 void FfiOHOSAceFrameworkPatternLockCircleRadius(double value, int32_t unit) in FfiOHOSAceFrameworkPatternLockCircleRadius() 90 void FfiOHOSAceFrameworkPatternLockSideLength(double value, int32_t unit) in FfiOHOSAceFrameworkPatternLockSideLength() 94 void FfiOHOSAceFrameworkPatternLockStrokeWidth(double value, int32_t unit) in FfiOHOSAceFrameworkPatternLockStrokeWidth()
|
H A D | cj_blank_ffi.cpp | 26 void FfiOHOSAceFrameworkBlankCreate(double minSize, int32_t unit) in FfiOHOSAceFrameworkBlankCreate()
|
H A D | cj_checkbox_ffi.cpp | 47 void FfiOHOSAceFrameworkCheckBoxSetWidth(double width, uint32_t unit) in FfiOHOSAceFrameworkCheckBoxSetWidth() 54 void FfiOHOSAceFrameworkCheckBoxSetHeight(double height, uint32_t unit) in FfiOHOSAceFrameworkCheckBoxSetHeight() 67 void FfiOHOSAceFrameworkCheckBoxSetPadding(double padding, uint32_t unit) in FfiOHOSAceFrameworkCheckBoxSetPadding()
|
H A D | cj_side_bar_container_ffi.cpp | 117 void FfiOHOSAceFrameworkSideBarSideBarWidth(double width, int32_t unit) in FfiOHOSAceFrameworkSideBarSideBarWidth() 122 void FfiOHOSAceFrameworkSideBarMinSideBarWidth(double width, int32_t unit) in FfiOHOSAceFrameworkSideBarMinSideBarWidth() 126 void FfiOHOSAceFrameworkSideBarMaxSideBarWidth(double width, int32_t unit) in FfiOHOSAceFrameworkSideBarMaxSideBarWidth()
|
H A D | cj_button_ffi.cpp | 65 void FfiOHOSAceFrameworkButtonSetFontSize(double fontSize, int32_t unit) in FfiOHOSAceFrameworkButtonSetFontSize() 81 void FfiOHOSAceFrameworkButtonSetRadius(double radius, int32_t unit) in FfiOHOSAceFrameworkButtonSetRadius() 116 void FfiOHOSAceFrameworkButtonSetHeight(double height, int32_t unit) in FfiOHOSAceFrameworkButtonSetHeight() 122 void FfiOHOSAceFrameworkButtonSetWidth(double width, int32_t unit) in FfiOHOSAceFrameworkButtonSetWidth()
|
H A D | cj_stack_ffi.cpp | 80 void FfiOHOSAceFrameworkStackSetWidth(double value, int32_t unit) in FfiOHOSAceFrameworkStackSetWidth() 91 void FfiOHOSAceFrameworkStackSetHeight(double value, int32_t unit) in FfiOHOSAceFrameworkStackSetHeight()
|
H A D | cj_checkbox_group_ffi.cpp | 73 void FfiOHOSAceFrameworkCheckBoxGroupSetWidth(double width, uint32_t unit) in FfiOHOSAceFrameworkCheckBoxGroupSetWidth() 80 void FfiOHOSAceFrameworkCheckBoxGroupSetHeight(double height, uint32_t unit) in FfiOHOSAceFrameworkCheckBoxGroupSetHeight() 93 void FfiOHOSAceFrameworkCheckBoxGroupSetPadding(double padding, uint32_t unit) in FfiOHOSAceFrameworkCheckBoxGroupSetPadding()
|
H A D | cj_alphabet_indexer_ffi.cpp | 66 double size, int32_t unit, const char* weight, const char* family, int32_t style) in FfiOHOSAceFrameworkAlphabetIndexerSelectedFont() 75 double size, int32_t unit, const char* weight, const char* family, int32_t style) in FfiOHOSAceFrameworkAlphabetIndexerPopupFont() 83 void FfiOHOSAceFrameworkAlphabetIndexerFont(double size, int32_t unit, const char* weight, in FfiOHOSAceFrameworkAlphabetIndexerFont() 92 void FfiOHOSAceFrameworkAlphabetIndexerItemSize(double size, int32_t unit) in FfiOHOSAceFrameworkAlphabetIndexerItemSize()
|
H A D | cj_flex_ffi.cpp | 52 void FfiOHOSAceFrameworkFlexSetFlexWidth(double width, int32_t unit) in FfiOHOSAceFrameworkFlexSetFlexWidth() 59 void FfiOHOSAceFrameworkFlexSetFlexHeight(double height, int32_t unit) in FfiOHOSAceFrameworkFlexSetFlexHeight()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsframeratepolicy_fuzzer/ |
H A D | rsframeratepolicy_fuzzer.cpp | 137 RSPropertyUnit unit = RSPropertyUnit::PIXEL_POSITION; in DoGetExpectedFrameRate001() local 155 RSPropertyUnit unit = RSPropertyUnit::PIXEL_SIZE; in DoGetExpectedFrameRate002() local 173 RSPropertyUnit unit = RSPropertyUnit::RATIO_SCALE; in DoGetExpectedFrameRate003() local 191 RSPropertyUnit unit = RSPropertyUnit::ANGLE_ROTATION; in DoGetExpectedFrameRate004() local 209 RSPropertyUnit unit = RSPropertyUnit::UNKNOWN; in DoGetExpectedFrameRate005() local
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | resource_theme_style.cpp | 124 void ParseNumberUnit(const std::string& value, std::string& number, std::string& unit) in ParseNumberUnit() 136 DimensionUnit ParseDimensionUnit(const std::string& unit) in ParseDimensionUnit() 173 std::string unit; in ParseContent() local
|
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | measure_format.cpp | 55 std::string MeasureFormat::Format(double num, std::string unit, I18nStatus &status, MeasureFormatTy… in Format() 64 std::string MeasureFormat::Format(int num, std::string unit, I18nStatus &status, MeasureFormatType … in Format()
|
/ohos5.0/base/global/i18n/frameworks/intl/src/ |
H A D | relative_time_format.cpp | 122 std::string RelativeTimeFormat::Format(double number, const std::string &unit) in Format() 140 const std::string &unit, bool isInteger, const std::string &value) in InsertInfo() 155 std::vector<std::vector<std::string>> &timeVector, size_t &startIndex, const std::string &unit, in ProcessIntegerField() 167 void RelativeTimeFormat::FormatToParts(double number, const std::string &unit, in FormatToParts()
|
H A D | measure_data.cpp | 492 void ComputeFactorValue(const string &unit, const string &measSys, vector<double> &factors) in ComputeFactorValue() 506 double ComputeSIPrefixValue(const string &unit) in ComputeSIPrefixValue() 516 void ComputePowerValue(const string &unit, const string &measSys, vector<double> &factors) in ComputePowerValue() 531 int ComputeValue(const string &unit, const string &measSys, vector<double> &factors) in ComputeValue() 566 bool ConvertByte(double& number, std::string& unit) in ConvertByte() 610 bool ConvertDate(double& number, std::string& unit) in ConvertDate()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | dimension.h | 109 void SetUnit(DimensionUnit unit) in SetUnit() 163 double GetNativeValue(DimensionUnit unit) const in GetNativeValue()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsanimationratedecider_fuzzer/ |
H A D | rsanimationratedecider_fuzzer.cpp | 78 …rsAnimationRateDecider.MakeDecision([](const RSPropertyUnit unit, float velocity) -> int32_t { ret… in DoSomethingInterestingWithMyAPI() 80 auto frameRateGetFunc = [](const RSPropertyUnit unit, float velocity) -> int32_t { return 0; }; in DoSomethingInterestingWithMyAPI()
|