Home
last modified time | relevance | path

Searched refs:rightIndex (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()
138 rightIndex += offset; in Shift()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/
H A Dtypography_types.h126 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 Dtext_line_base_test.cpp88 EXPECT_EQ(textLine_.at(0)->GetTextRange().rightIndex, 7); in HWTEST_F()
116 EXPECT_EQ(textLineImpl->GetTextRange().rightIndex, 0); in HWTEST_F()
H A Dconvert_test.cpp73 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 Dtypography.h86 size_t rightIndex = 0; member
/foundation/ability/idl_tool/util/
H A Dstring.cpp342 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 Danimation_util.cpp37 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 Dnode_toggle_modifier.cpp183 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 Dpasteboard_client_test.cpp281 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 Ddom_node.cpp1018 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 Dtxt_paragraph.cpp664 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 Ddeclaration.cpp51 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 Ddrawing_text_line.cpp158 *end = range.rightIndex; in OH_Drawing_TextLineGetTextRange()
H A Ddrawing_text_typography.cpp782 return boundary->rightIndex; in OH_Drawing_GetEndFromRange()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_common.h390 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 Djs_text_line.cpp252 napi_set_named_property(env, objValue, "end", CreateJsNumber(env, boundary.rightIndex)); in OnGetTextRange()
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcamera_service.cpp1463 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 Dstyle_modifier.cpp941 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()

Completed in 52 milliseconds