Home
last modified time | relevance | path

Searched refs:visualIndex (Results 1 – 17 of 17) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java809 int visualIndex = Bidi.MAP_NOWHERE; in getVisualIndex() local
814 visualIndex = logicalIndex; in getVisualIndex()
817 visualIndex = bidi.length - logicalIndex - 1; in getVisualIndex()
831 visualIndex = visualStart + offset; in getVisualIndex()
834 visualIndex = visualStart + length - offset - 1; in getVisualIndex()
857 if (visualIndex < runs[i].limit) { in getVisualIndex()
858 return visualIndex + markFound; in getVisualIndex()
880 if (visualIndex >= runs[i].limit) { in getVisualIndex()
886 return visualIndex - controlFound; in getVisualIndex()
903 return visualIndex - controlFound; in getVisualIndex()
[all …]
DBidi.java5042 public int getLogicalIndex(int visualIndex) in getLogicalIndex() argument
5045 verifyRange(visualIndex, 0, resultLength); in getLogicalIndex()
5049 return visualIndex; in getLogicalIndex()
5052 return length - visualIndex - 1; in getLogicalIndex()
5056 return BidiLine.getLogicalIndex(this, visualIndex); in getLogicalIndex()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java810 int visualIndex = Bidi.MAP_NOWHERE; in getVisualIndex() local
815 visualIndex = logicalIndex; in getVisualIndex()
818 visualIndex = bidi.length - logicalIndex - 1; in getVisualIndex()
832 visualIndex = visualStart + offset; in getVisualIndex()
835 visualIndex = visualStart + length - offset - 1; in getVisualIndex()
858 if (visualIndex < runs[i].limit) { in getVisualIndex()
859 return visualIndex + markFound; in getVisualIndex()
881 if (visualIndex >= runs[i].limit) { in getVisualIndex()
887 return visualIndex - controlFound; in getVisualIndex()
904 return visualIndex - controlFound; in getVisualIndex()
[all …]
DBidi.java4978 public int getLogicalIndex(int visualIndex) in getLogicalIndex() argument
4981 verifyRange(visualIndex, 0, resultLength); in getLogicalIndex()
4985 return visualIndex; in getLogicalIndex()
4988 return length - visualIndex - 1; in getLogicalIndex()
4992 return BidiLine.getLogicalIndex(this, visualIndex); in getLogicalIndex()
/external/icu/icu4c/source/common/
Dubidiln.cpp876 int32_t visualIndex=UBIDI_MAP_NOWHERE; in ubidi_getVisualIndex() local
884 visualIndex=logicalIndex; in ubidi_getVisualIndex()
887 visualIndex=pBiDi->length-logicalIndex-1; in ubidi_getVisualIndex()
904 visualIndex=visualStart+offset; in ubidi_getVisualIndex()
907 visualIndex=visualStart+length-offset-1; in ubidi_getVisualIndex()
931 if(visualIndex<runs[i].visualLimit) { in ubidi_getVisualIndex()
932 return visualIndex+markFound; in ubidi_getVisualIndex()
954 if(visualIndex>=runs[i].visualLimit) { in ubidi_getVisualIndex()
960 return visualIndex-controlFound; in ubidi_getVisualIndex()
977 return visualIndex-controlFound; in ubidi_getVisualIndex()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DBiDiConformanceTest.java540 int i, visualIndex; in checkOrdering() local
543 for(i=visualIndex=0; i<resultLength; ++i) { in checkOrdering()
548 if(visualIndex<orderingCount && logicalIndex!=ordering[visualIndex]) { in checkOrdering()
549 … errln(" ------------ Wrong ordering value at visual index "+visualIndex+"; expected "+ in checkOrdering()
550 ordering[visualIndex]+" actual "+logicalIndex); in checkOrdering()
554 ++visualIndex; in checkOrdering()
558 if(isOk && orderingCount!=visualIndex) { in checkOrdering()
559 …n(" ------------ Wrong number of ordering values; expected "+orderingCount+" actual "+visualIndex); in checkOrdering()
DTestBidi.java210 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local
253 visualIndex = 0; in _testReordering()
269 visualMap4[visualIndex++] = logicalStart++; in _testReordering()
274 visualMap4[visualIndex++] = --logicalStart; in _testReordering()
340 visualIndex = bidi.getVisualIndex(i); in _testReordering()
345 if (logicalMap1[i] != visualIndex) { in _testReordering()
348 ") == " + visualIndex + ")"); in _testReordering()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DBiDiConformanceTest.java543 int i, visualIndex; in checkOrdering() local
546 for(i=visualIndex=0; i<resultLength; ++i) { in checkOrdering()
551 if(visualIndex<orderingCount && logicalIndex!=ordering[visualIndex]) { in checkOrdering()
552 … errln(" ------------ Wrong ordering value at visual index "+visualIndex+"; expected "+ in checkOrdering()
553 ordering[visualIndex]+" actual "+logicalIndex); in checkOrdering()
557 ++visualIndex; in checkOrdering()
561 if(isOk && orderingCount!=visualIndex) { in checkOrdering()
562 …n(" ------------ Wrong number of ordering values; expected "+orderingCount+" actual "+visualIndex); in checkOrdering()
DTestBidi.java213 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local
256 visualIndex = 0; in _testReordering()
272 visualMap4[visualIndex++] = logicalStart++; in _testReordering()
277 visualMap4[visualIndex++] = --logicalStart; in _testReordering()
343 visualIndex = bidi.getVisualIndex(i); in _testReordering()
348 if (logicalMap1[i] != visualIndex) { in _testReordering()
351 ") == " + visualIndex + ")"); in _testReordering()
/external/icu/icu4c/source/test/intltest/
Dbidiconf.cpp631 int32_t i, visualIndex; in checkOrdering() local
634 for(i=visualIndex=0; i<resultLength; ++i) { in checkOrdering()
643 if(visualIndex<orderingCount && logicalIndex!=ordering[visualIndex]) { in checkOrdering()
645 (int)lineNumber, (int)visualIndex, ordering[visualIndex], logicalIndex); in checkOrdering()
649 ++visualIndex; in checkOrdering()
653 if(isOk && orderingCount!=visualIndex) { in checkOrdering()
655 (int)lineNumber, (int)orderingCount, (int)visualIndex); in checkOrdering()
/external/icu/icu4c/source/common/unicode/
Dubidi.h1682 ubidi_getLogicalIndex(UBiDi *pBiDi, int32_t visualIndex, UErrorCode *pErrorCode);
/external/icu/libicu/cts_headers/unicode/
Dubidi.h1682 ubidi_getLogicalIndex(UBiDi *pBiDi, int32_t visualIndex, UErrorCode *pErrorCode);
/external/icu/libandroidicu/include/unicode/
Dubidi.h1682 ubidi_getLogicalIndex(UBiDi *pBiDi, int32_t visualIndex, UErrorCode *pErrorCode);
/external/icu/libicu/ndk_headers/unicode/
Dubidi.h1736 ubidi_getLogicalIndex(UBiDi *pBiDi, int32_t visualIndex, UErrorCode *pErrorCode) __INTRODUCED_IN(31…
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp1161 auto makeSubRun = [&runs, &previousBreak, &current, &logicalFromVisual](size_t visualIndex){ in wrap() argument
1162 int logicalIndex = previousBreak.fRunIndex + logicalFromVisual[visualIndex]; in wrap()
/external/icu/libicu/src/
Dshim.cpp647 int32_t ubidi_getLogicalIndex(UBiDi * pBiDi, int32_t visualIndex, UErrorCode * pErrorCode) { in ubidi_getLogicalIndex() argument
648 return U_ICU_ENTRY_POINT_RENAME(ubidi_getLogicalIndex)(pBiDi, visualIndex, pErrorCode); in ubidi_getLogicalIndex()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c1156 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1198 visualIndex=0; in _testReordering()
1204 visualMap4[visualIndex++]=logicalStart++; in _testReordering()
1209 visualMap4[visualIndex++]=--logicalStart; in _testReordering()