/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_typography_properties.h | 113 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 D | typography_types.h | 125 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 D | cjson_parser.cpp | 109 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 D | text_line_base_test.cpp | 87 EXPECT_EQ(textLine_.at(0)->GetTextRange().leftIndex, 0); in HWTEST_F() 117 EXPECT_EQ(textLineImpl->GetTextRange().leftIndex, 0); in HWTEST_F()
|
H A D | convert_test.cpp | 72 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 D | typography.h | 85 size_t leftIndex = 0; member
|
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | animation_util.cpp | 36 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 D | want_params_wrapper.cpp | 22 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 D | node_toggle_modifier.cpp | 195 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 D | txt_paragraph.cpp | 664 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 D | declaration.cpp | 50 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 D | drawing_text_line.cpp | 157 *start = range.leftIndex; in OH_Drawing_TextLineGetTextRange()
|
H A D | drawing_text_typography.cpp | 773 return boundary->leftIndex; in OH_Drawing_GetStartFromRange()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_node.cpp | 1019 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 D | napi_common.h | 389 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 D | js_text_line.cpp | 251 napi_set_named_property(env, objValue, "start", CreateJsNumber(env, boundary.leftIndex)); in OnGetTextRange()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcamera_service.cpp | 1461 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 D | style_modifier.cpp | 943 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()
|