Home
last modified time | relevance | path

Searched refs:textOffset (Results 1 – 10 of 10) sorted by relevance

/external/fonttools/Lib/fontTools/ttLib/tables/
DT_S_I__0.py8 def fixlongs(glyphID, textLength, textOffset): argument
9 return int(glyphID), int(textLength), textOffset
21 glyphID, textLength, textOffset = fixlongs(*struct.unpack(tsi0Format, data[:size]))
22 indices.append((glyphID, textLength, textOffset))
35 for index, textLength, textOffset in self.indices:
36 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
38 for index, textLength, textOffset in self.extra_indices:
39 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
DT_S_I__1.py15 glyphID, textLength, textOffset = indextable.indices[i]
21 text = data[textOffset:textOffset+textLength]
28 extraCode, textLength, textOffset = indextable.extra_indices[i]
31 textLength = len(data) - textOffset
34 text = data[textOffset:textOffset+textLength]
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DTextField.java106 protected float fontOffset, textHeight, textOffset; field in TextField
143 …x -= textOffset + fontOffset - style.font.getData().cursorX - glyphPositions.get(visibleTextStart); in letterUnderCursor()
251 textOffset = visibleWidth - (glyphPositions[visibleTextEnd] - startX); in calculateOffsets()
252 if ((textHAlign & Align.center) != 0) textOffset = Math.round(textOffset * 0.5f); in calculateOffsets()
254 textOffset = startX + renderOffset; in calculateOffsets()
263 if (renderOffset == 0) selectionX += textOffset; in calculateOffsets()
347 …font.draw(batch, displayText, x + textOffset, y, visibleTextStart, visibleTextEnd, 0, Align.left, … in drawText()
352 …x + textOffset + glyphPositions.get(cursor) - glyphPositions.get(visibleTextStart) + fontOffset + … in drawCursor()
DTextArea.java254 float textOffset = cursor >= glyphPositions.size || cursorLine * 2 >= linesBreak.size ? 0 in drawCursor() local
256 cursorPatch.draw(batch, x + textOffset + fontOffset + font.getData().cursorX, in drawCursor()
354 return textOffset + fontOffset + style.font.getData().cursorX; in getCursorX()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringSearch.java1505 int textOffset = textIter_.getOffset(); in handleNextCommonImpl() local
1508 if (search(textOffset, match)) { in handleNextCommonImpl()
1532 int textOffset; in handlePreviousCommonImpl() local
1536 textOffset = search_.matchedIndex_ + search_.matchedLength() - 1; in handlePreviousCommonImpl()
1551 textOffset = textIter_.getOffset(); in handlePreviousCommonImpl()
1554 textOffset = textIter_.getOffset(); in handlePreviousCommonImpl()
1558 if (searchBackwards(textOffset, match)) { in handlePreviousCommonImpl()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DStringSearch.java1521 int textOffset = textIter_.getOffset(); in handleNextCommonImpl() local
1524 if (search(textOffset, match)) { in handleNextCommonImpl()
1548 int textOffset; in handlePreviousCommonImpl() local
1552 textOffset = search_.matchedIndex_ + search_.matchedLength() - 1; in handlePreviousCommonImpl()
1567 textOffset = textIter_.getOffset(); in handlePreviousCommonImpl()
1570 textOffset = textIter_.getOffset(); in handlePreviousCommonImpl()
1574 if (searchBackwards(textOffset, match)) { in handlePreviousCommonImpl()
/external/icu/icu4c/source/i18n/
Dusearch.cpp4518 int32_t textOffset = ucol_getOffset(strsrch->textIter); in usearch_handleNextExact() local
4522 if (usearch_search(strsrch, textOffset, &start, &end, status)) { in usearch_handleNextExact()
4633 int32_t textOffset = ucol_getOffset(strsrch->textIter); in usearch_handleNextCanonical() local
4637 if (usearch_search(strsrch, textOffset, &start, &end, status)) { in usearch_handleNextCanonical()
4750 int32_t textOffset; in usearch_handlePreviousExact() local
4754 textOffset = strsrch->search->matchedIndex + strsrch->search->matchedLength - 1; in usearch_handlePreviousExact()
4773 textOffset = ucol_getOffset(strsrch->textIter); in usearch_handlePreviousExact()
4776 textOffset = ucol_getOffset(strsrch->textIter); in usearch_handlePreviousExact()
4782 if (usearch_searchBackwards(strsrch, textOffset, &start, &end, status)) { in usearch_handlePreviousExact()
4903 int32_t textOffset; in usearch_handlePreviousCanonical() local
[all …]
Dsmpdtfmt.cpp2371 int32_t &textOffset, in matchLiterals() argument
2404 int32_t t = textOffset; in matchLiterals()
2457 if (t == textOffset && text.charAt(t) == 0x2e && in matchLiterals()
2496 for (t = textOffset; t < text.length(); t += 1) { in matchLiterals()
2507 textOffset = t; in matchLiterals()
/external/icu/icu4c/source/i18n/unicode/
Dsmpdtfmt.h1377 const UnicodeString &text, int32_t &textOffset,
/external/skia/src/core/
DSkCanvas.cpp2533 SkPoint textOffset = SkPoint::Make(0, 0); in onDrawPosText() local
2539 iter.fDevice->drawPosText(iter, text, byteLength, &pos->fX, 2, textOffset, in onDrawPosText()
2549 SkPoint textOffset = SkPoint::Make(0, constY); in onDrawPosTextH() local
2555 iter.fDevice->drawPosText(iter, text, byteLength, xpos, 1, textOffset, in onDrawPosTextH()