/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() 138 rightIndex += offset; in Shift()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | typography_types.h | 126 size_t rightIndex = 0; // not include rightIndex_ member 131 rightIndex = right; in Boundary() 136 return leftIndex == rhs.leftIndex && rightIndex == rhs.rightIndex; in operator ==()
|
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | text_line_base_test.cpp | 88 EXPECT_EQ(textLine_.at(0)->GetTextRange().rightIndex, 7); in HWTEST_F() 116 EXPECT_EQ(textLineImpl->GetTextRange().rightIndex, 0); in HWTEST_F()
|
H A D | convert_test.cpp | 73 EXPECT_EQ(boundary.rightIndex, 0); in HWTEST_F() 79 EXPECT_EQ(boundary1.rightIndex, 10); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/ |
H A D | typography.h | 86 size_t rightIndex = 0; member
|
/foundation/ability/idl_tool/util/ |
H A D | string.cpp | 342 int rightIndex = sourceLen - stringLen; in LastIndexOfInternal() local 343 if (fromIndex > rightIndex) { in LastIndexOfInternal() 344 fromIndex = rightIndex; in LastIndexOfInternal()
|
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | animation_util.cpp | 37 auto rightIndex = str.find(')'); in ParseFunctionValue() local 38 if (leftIndex == std::string::npos || rightIndex == std::string::npos) { in ParseFunctionValue() 41 if (leftIndex + 1 >= rightIndex) { in ParseFunctionValue() 48 auto valueStr = str.substr(leftIndex + 1, rightIndex - leftIndex - 1); in ParseFunctionValue()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_toggle_modifier.cpp | 183 uint32_t rightIndex = INDEX_DIMENSION_RIGHT_1 * step; in SetTogglePadding() local 185 if (SetToggleDimension(values, rightIndex, length, rightOptional)) { in SetTogglePadding()
|
/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | pasteboard_client_test.cpp | 281 int rightIndex = patternsRightIndexVec[i][j];
in HWTEST_F() local 282 ASSERT_EQ(ret, patternsVec[rightIndex]);
in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_node.cpp | 1018 auto rightIndex = subValue.find('('); in GetTransformJsonValue() local 1021 if (rightIndex != std::string::npos && leftIndex != std::string::npos && (leftIndex - 1 - rightIndex > 0)) { in GetTransformJsonValue() 1022 std::string transformType = subValue.substr(0, rightIndex); in GetTransformJsonValue() 1023 std::string transformValue = subValue.substr(rightIndex + 1, leftIndex - 1 - rightIndex); in GetTransformJsonValue()
|
/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() 855 end = static_cast<int32_t>(range.rightIndex); in GetWordBoundary()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/ |
H A D | declaration.cpp | 51 auto rightIndex = str.find(')'); in ParseFunctionValue() local 52 if (leftIndex == std::string::npos || rightIndex == std::string::npos) { in ParseFunctionValue() 55 if (leftIndex + 1 >= rightIndex) { in ParseFunctionValue() 62 auto valueStr = str.substr(leftIndex + 1, rightIndex - leftIndex - 1); in ParseFunctionValue() 3155 auto rightIndex = value.find('('); 3159 if (rightIndex != std::string::npos && leftIndex != std::string::npos && (leftIndex - 1 - rightIndex > 0)) { 3160 std::string transformType = value.substr(0, rightIndex); 3161 std::string transformValue = value.substr(rightIndex + 1, leftIndex - 1 - rightIndex); [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_text_line.cpp | 158 *end = range.rightIndex; in OH_Drawing_TextLineGetTextRange()
|
H A D | drawing_text_typography.cpp | 782 return boundary->rightIndex; in OH_Drawing_GetEndFromRange()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_common.h | 390 napi_set_named_property(env, objValue, "end", CreateJsNumber(env, range->rightIndex));
in GetRangeAndConvertToJsValue()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/text_line_napi/ |
H A D | js_text_line.cpp | 252 napi_set_named_property(env, objValue, "end", CreateJsNumber(env, boundary.rightIndex)); in OnGetTextRange()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcamera_service.cpp | 1463 int32_t rightIndex = 2; in DumpCameraSensorInfo() local 1471 to_string(item.data.i32[rightIndex]) + " " + in DumpCameraSensorInfo()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | style_modifier.cpp | 941 int rightIndex = item->size == NUM_1 ? NUM_0 : NUM_1; in SetPadding() local 946 struct ArkUISizeType right = { item->value[rightIndex].f32, unit }; in SetPadding() 3429 int rightIndex = item->size == NUM_1 ? NUM_0 : NUM_1; in SetPaddingPercent() local 3433 struct ArkUISizeType right = { item->value[rightIndex].f32, UNIT_PERCENT }; in SetPaddingPercent() 3465 int rightIndex = item->size == NUM_1 ? NUM_0 : NUM_1; in SetMarginPercent() local 3469 struct ArkUISizeType right = { item->value[rightIndex].f32, UNIT_PERCENT }; in SetMarginPercent()
|