Home
last modified time | relevance | path

Searched refs:rightIndex (Results 1 – 8 of 8) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
Dtypography_impl.cpp73 rightIndex = right; in Boundary()
246 auto offset = boundariesCache_.empty() ? 0 : boundariesCache_.back().rightIndex; in ComputeWordBoundary()
272 if (boundary.leftIndex <= index && index < boundary.rightIndex) { in GetWordBoundaryByIndex()
277 auto right = boundariesCache_.back().rightIndex; in GetWordBoundaryByIndex()
608 …if (boundary.leftIndex > boundary.rightIndex || boundary.leftIndex < 0 || boundary.rightIndex < 0)… in GetTextRectsByBoundary()
705 if (boundary.rightIndex > boxes.size()) { in MergeRects()
706 boundary.rightIndex = boxes.size(); in MergeRects()
711 …for (auto it = boxes.cbegin() + boundary.leftIndex; it < boxes.cbegin() + boundary.rightIndex; it+… in MergeRects()
/foundation/graphic/graphic_2d/rosen/test/texgine/unittest/
Dtext_breaker_test.cpp164 size_t rightIndex = 5; variable
165 boundaries = {{ leftIndex, rightIndex }};
198 size_t rightIndex = 5; variable
199 boundaries = {{ leftIndex, rightIndex }};
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/
Dtypography.h85 size_t rightIndex = 0; member
/foundation/ability/idl_tool/util/
Dstring.cpp335 int rightIndex = sourceLen - stringLen; in LastIndexOfInternal() local
336 if (fromIndex > rightIndex) { in LastIndexOfInternal()
337 fromIndex = rightIndex; in LastIndexOfInternal()
/foundation/arkui/ace_engine/frameworks/core/animation/
Danimation_util.cpp34 auto rightIndex = str.find(')'); in ParseFunctionValue() local
35 if (leftIndex == std::string::npos || rightIndex == std::string::npos) { in ParseFunctionValue()
38 if (leftIndex + 1 >= rightIndex) { in ParseFunctionValue()
45 auto valueStr = str.substr(leftIndex + 1, rightIndex - leftIndex - 1); in ParseFunctionValue()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
Ddom_node.cpp1042 auto rightIndex = subValue.find('('); in GetTransformJsonValue() local
1045 …if (rightIndex != std::string::npos && leftIndex != std::string::npos && (leftIndex - 1 - rightInd… in GetTransformJsonValue()
1046 std::string transformType = subValue.substr(0, rightIndex); in GetTransformJsonValue()
1047 … std::string transformValue = subValue.substr(rightIndex + 1, leftIndex - 1 - rightIndex); in GetTransformJsonValue()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/
Ddeclaration.cpp58 auto rightIndex = str.find(')'); in ParseFunctionValue() local
59 if (leftIndex == std::string::npos || rightIndex == std::string::npos) { in ParseFunctionValue()
62 if (leftIndex + 1 >= rightIndex) { in ParseFunctionValue()
69 auto valueStr = str.substr(leftIndex + 1, rightIndex - leftIndex - 1); in ParseFunctionValue()
3170 auto rightIndex = value.find('('); in GetTransformJsonValue() local
3174 …if (rightIndex != std::string::npos && leftIndex != std::string::npos && (leftIndex - 1 - rightInd… in GetTransformJsonValue()
3175 std::string transformType = value.substr(0, rightIndex); in GetTransformJsonValue()
3176 std::string transformValue = value.substr(rightIndex + 1, leftIndex - 1 - rightIndex); in GetTransformJsonValue()
/foundation/multimedia/camera_framework/services/camera_service/src/
Dhcamera_service.cpp863 int32_t rightIndex = 2; in CameraDumpSensorInfo() local
870 + std::to_string(item.data.i32[rightIndex]) + " " in CameraDumpSensorInfo()