Home
last modified time | relevance | path

Searched refs:leftIndex (Results 1 - 18 of 18) sorted by relevance

/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_typography_properties.h113 T leftIndex, rightIndex;
114 Boundary() : leftIndex(), rightIndex() {}
115 Boundary(T a, T b) : leftIndex(a), rightIndex(b) {}
118 return leftIndex == rhs.leftIndex && rightIndex == rhs.rightIndex;
127 return rightIndex - leftIndex; in Width()
137 leftIndex += offset; in Shift()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/
H A Dtypography_types.h125 size_t leftIndex = 0; // include leftIndex_ member
130 leftIndex = left; in Boundary()
136 return leftIndex == rhs.leftIndex && rightIndex == rhs.rightIndex; in operator ==()
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dcjson_parser.cpp109 int leftIndex = IndexOf(format, leftDelemeter_, index); // get the index of '{' in FormatString() local
110 while (leftIndex >= 0) { in FormatString()
111 char *value = SubStr(format, index, leftIndex - index); in FormatString()
117 leftIndex++; in FormatString()
118 index = IndexOf(format, rightDelemeter_, leftIndex); // get the index of '}' in FormatString()
120 char *content = SubStr(format, leftIndex, index - leftIndex); in FormatString()
144 leftIndex = IndexOf(format, leftDelemeter_, index); in FormatString()
146 if (leftIndex < 0 && (static_cast<size_t>(index) < strlen(format))) { in FormatString()
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/
H A Dtext_line_base_test.cpp87 EXPECT_EQ(textLine_.at(0)->GetTextRange().leftIndex, 0); in HWTEST_F()
117 EXPECT_EQ(textLineImpl->GetTextRange().leftIndex, 0); in HWTEST_F()
H A Dconvert_test.cpp72 EXPECT_EQ(boundary.leftIndex, 0); in HWTEST_F()
78 EXPECT_EQ(boundary1.leftIndex, 1); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/
H A Dtypography.h85 size_t leftIndex = 0; member
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimation_util.cpp36 auto leftIndex = str.find('('); in ParseFunctionValue() local
38 if (leftIndex == std::string::npos || rightIndex == std::string::npos) { in ParseFunctionValue()
41 if (leftIndex + 1 >= rightIndex) { in ParseFunctionValue()
44 if (str.substr(0, leftIndex) != key) { in ParseFunctionValue()
48 auto valueStr = str.substr(leftIndex + 1, rightIndex - leftIndex - 1); in ParseFunctionValue()
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dwant_params_wrapper.cpp22 size_t FindMatchingBrackets(const std::string &str, size_t leftIndex) in FindMatchingBrackets() argument
25 for (size_t i = leftIndex + 1; i < str.size(); ++i) { in FindMatchingBrackets()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_toggle_modifier.cpp195 uint32_t leftIndex = INDEX_DIMENSION_LEFT_3 * step; in SetTogglePadding() local
197 if (SetToggleDimension(values, leftIndex, length, leftOptional)) { in SetTogglePadding()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dtxt_paragraph.cpp664 auto start = std::min(range.leftIndex, range.rightIndex); in GetEllipsisTextRange()
665 auto end = std::max(range.leftIndex, range.rightIndex); in GetEllipsisTextRange()
854 start = static_cast<int32_t>(range.leftIndex); in GetWordBoundary()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/
H A Ddeclaration.cpp50 auto leftIndex = str.find('('); in ParseFunctionValue() local
52 if (leftIndex == std::string::npos || rightIndex == std::string::npos) { in ParseFunctionValue()
55 if (leftIndex + 1 >= rightIndex) { in ParseFunctionValue()
58 if (str.substr(0, leftIndex) != key) { in ParseFunctionValue()
62 auto valueStr = str.substr(leftIndex + 1, rightIndex - leftIndex - 1); in ParseFunctionValue()
3156 auto leftIndex = value.find(')');
3159 if (rightIndex != std::string::npos && leftIndex != std::string::npos && (leftIndex - 1 - rightIndex > 0)) {
3161 std::string transformValue = value.substr(rightIndex + 1, leftIndex
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_text_line.cpp157 *start = range.leftIndex; in OH_Drawing_TextLineGetTextRange()
H A Ddrawing_text_typography.cpp773 return boundary->leftIndex; in OH_Drawing_GetStartFromRange()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_node.cpp1019 auto leftIndex = subValue.find(')'); in GetTransformJsonValue() local
1021 if (rightIndex != std::string::npos && leftIndex != std::string::npos && (leftIndex - 1 - rightIndex > 0)) { in GetTransformJsonValue()
1023 std::string transformValue = subValue.substr(rightIndex + 1, leftIndex - 1 - rightIndex); in GetTransformJsonValue()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_common.h389 napi_set_named_property(env, objValue, "start", CreateJsNumber(env, range->leftIndex)); in GetRangeAndConvertToJsValue()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/text_line_napi/
H A Djs_text_line.cpp251 napi_set_named_property(env, objValue, "start", CreateJsNumber(env, boundary.leftIndex)); in OnGetTextRange()
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcamera_service.cpp1461 int32_t leftIndex = 0; in DumpCameraSensorInfo() local
1469 to_string(item.data.i32[leftIndex]) + " " + in DumpCameraSensorInfo()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp943 int leftIndex = item->size == NUM_1 ? NUM_0 : NUM_3; in SetPadding() local
948 struct ArkUISizeType left = { item->value[leftIndex].f32, unit }; in SetPadding()
3431 int leftIndex = item->size == NUM_1 ? NUM_0 : NUM_3; in SetPaddingPercent() local
3435 struct ArkUISizeType left = { item->value[leftIndex].f32, UNIT_PERCENT }; in SetPaddingPercent()
3467 int leftIndex = item->size == NUM_1 ? NUM_0 : NUM_3; in SetMarginPercent() local
3471 struct ArkUISizeType left = { item->value[leftIndex].f32, UNIT_PERCENT }; in SetMarginPercent()

Completed in 52 milliseconds