Home
last modified time | relevance | path

Searched refs:getEnd (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/minikin/libs/minikin/
DLayoutSplitter.h80 mPos = mPieceRange.getEnd();
84 mPieceRange.setEnd(std::min(mContextRange.getEnd(), range.getEnd()));
102 getPrevWordBreakForCache(textBuf, pos == range.getEnd() ? pos : pos + 1)); in iterator()
105 mPieceRange.setEnd(std::min(mContextRange.getEnd(), range.getEnd())); in iterator()
115 iterator begin() const { return iterator(this, mIsRtl ? mRange.getEnd() : mRange.getStart()); } in begin()
116 iterator end() const { return iterator(this, mIsRtl ? mRange.getStart() : mRange.getEnd()); } in end()
DMeasuredText.cpp116 piece.getEnd() == range.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in measureHyphenPiece()
144 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { in measure()
194 range.getEnd() == piece.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in appendLayout()
286 targetRange.getEnd() == range.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in buildLayout()
DGreedyLineBreaker.cpp191 for (uint32_t i = targetRange.getStart(); i < targetRange.getEnd(); ++i) { in tryLineBreakWithHyphenation()
261 for (uint32_t i = range.getStart() + 1; i < range.getEnd(); ++i) { in doLineBreakWithGraphemeBounds()
281 breakLineAt(range.getEnd(), mLineWidth, 0, 0, EndHyphenEdit::NO_EDIT, StartHyphenEdit::NO_EDIT); in doLineBreakWithGraphemeBounds()
341 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { in process()
346 if (run->canBreak() || nextWordBoundaryOffset == range.getEnd()) { in process()
DCmapCoverage.cpp104 addRange(out, r.getStart(), r.getEnd()); // Input is sorted. Never returns false. in mergeRanges()
112 addRange(out, r.getStart(), r.getEnd()); // Input is sorted. Never returns false. in mergeRanges()
120 addRange(out, left.getStart(), left.getEnd()); in mergeRanges()
124 addRange(out, right.getStart(), right.getEnd()); in mergeRanges()
145 addRange(out, merged.getStart(), merged.getEnd()); in mergeRanges()
DOptimalLineBreaker.cpp168 for (uint32_t i = range.getStart() + 1; i < range.getEnd(); ++i) { in populateDesperatePoints()
232 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { in populateCandidates()
248 hyIter->offset < contextRange.getEnd()) { in populateCandidates()
258 if (run->getPaint() != nullptr || nextCharOffset == range.getEnd() || in populateCandidates()
DLayout.cpp86 (piece.getEnd() == range.getEnd()) ? endHyphen : EndHyphenEdit::NO_EDIT; in doLayoutRunCached()
DBidiUtils.cpp67 const uint32_t runEnd = std::min(static_cast<uint32_t>(startRun + lengthRun), mRange.getEnd()); in getRunInfoAt()
DLineBreakerUtil.h78 for (uint32_t i = hyphenationTargetRange.getStart(); i < hyphenationTargetRange.getEnd(); ++i) { in populateHyphenationPoints()
/frameworks/base/core/tests/coretests/src/android/text/method/
DWordIteratorTest.java47 assertEquals(end, mWordIterator.getEnd(i)); in verifyIsWordWithSurrogate()
62 assertEquals(BreakIterator.DONE, mWordIterator.getEnd(i)); in verifyIsNotWord()
73 assertEquals(BreakIterator.DONE, mWordIterator.getEnd(0)); in testEmptyString()
474 wordIterator.getEnd(-1); in testGetEnd()
479 wordIterator.getEnd(text.length() + 1); in testGetEnd()
502 assertEquals(text.indexOf('c') + 1, wordIterator.getEnd(text.indexOf('a'))); in testGetEnd()
503 assertEquals(text.indexOf('c') + 1, wordIterator.getEnd(text.indexOf('c'))); in testGetEnd()
504 assertEquals(text.indexOf('c') + 1, wordIterator.getEnd(text.indexOf('c') + 1)); in testGetEnd()
505 assertEquals(text.indexOf('f') + 1, wordIterator.getEnd(text.indexOf('d'))); in testGetEnd()
506 assertEquals(text.indexOf('f') + 1, wordIterator.getEnd(text.indexOf('f') + 1)); in testGetEnd()
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DPageRangeUtils.java97 if (otherRange.getStart() > ourRange.getEnd()) { in contains()
101 || otherRange.getEnd() > ourRange.getEnd()) { in contains()
133 if (currentRange.getEnd() + 1 >= nextRange.getStart()) { in normalize()
136 Math.max(currentRange.getEnd(), nextRange.getEnd())); in normalize()
333 final int end = pageRanges[i].getEnd() + offset; in offset()
394 return pageRanges.getStart() == 0 && pageRanges.getEnd() == pageCount - 1; in isAllPages()
/frameworks/base/core/java/android/text/method/
DWordIterator.java163 public int getEnd(int offset) { in getEnd() method in WordIterator
166 return getEnd(offset, false); in getEnd()
204 return getEnd(offset, true); in getNextWordEndOnTwoWordBoundary()
258 private int getEnd(int offset, boolean getNextWordEndOnTwoWordBoundary) { in getEnd() method in WordIterator
/frameworks/base/core/java/android/view/textclassifier/
DTextLinksParams.java129 link.getStart(), link.getEnd(), ClickableSpan.class); in apply()
135 text.setSpan(span, link.getStart(), link.getEnd(), in apply()
140 text.setSpan(span, link.getStart(), link.getEnd(), in apply()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/
DSingleStreamDiffScriptWriter.java69 if (mReusableChunk != null && mReusableChunk.getEnd() + 1 == chunkStart) { in writeChunk()
105 mReusableChunk.getEnd()) in writeReusableChunk()
DByteRange.java40 long getEnd() { in getEnd() method in ByteRange
/frameworks/base/core/java/com/android/internal/widget/
DOrientationHelper.java169 public abstract int getEnd(); in getEnd() method in OrientationHelper
258 public int getEnd() { in createHorizontalHelper() method in OrientationHelper
356 public int getEnd() {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java585 return pageRange.getEnd() - overshoot; in computePageIndexInDocument()
619 for (int j = pageRange.getStart(); j <= pageRange.getEnd(); j++) { in setConfirmedPages()
666 || pageInDocument > mRequestedPages[mRequestedPages.length - 1].getEnd(); in computeRequestedPages()
698 final int fromPage = Math.max(selectedRange.getEnd() - rangeSpan - 1, 0); in computeRequestedPages()
699 final int toPage = selectedRange.getEnd(); in computeRequestedPages()
719 if (pageInDocument > selectedRange.getEnd()) { in computeRequestedPages()
727 rangeSpan = selectedRange.getEnd() - pageInDocument + 1; in computeRequestedPages()
811 int endVisibleDocument = computePageIndexInDocument(visiblePagesInAdapter.getEnd()); in startPreloadContent()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextLinksTest.java82 assertEquals(4, resultList.get(0).getEnd()); in testParcel()
88 assertEquals(12, resultList.get(1).getEnd()); in testParcel()
DTextClassifierEventTest.java288 .that(actual.getEnd()).isEqualTo(expected.getEnd()); in assertEquals()
/frameworks/minikin/tests/unittest/
DLayoutSplitterTest.cpp85 if (i == piece.getEnd()) { in buildDebugString()
88 if (i == context.getEnd()) { in buildDebugString()
/frameworks/base/core/java/android/widget/
DRtlSpacingHelper.java50 public int getEnd() { in getEnd() method in RtlSpacingHelper
/frameworks/base/core/java/android/print/
DPageRange.java82 public @IntRange(from = 0) int getEnd() { in getEnd() method in PageRange
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java708 dest.writeInt(interval.getEnd().getMonthValue()); in writeToParcel()
709 dest.writeInt(interval.getEnd().getDayOfMonth()); in writeToParcel()
794 out.attribute(null, KEY_FREEZE_END, interval.getEnd().toString()); in saveToXml()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java254 if (range.getEnd() > lastPageIdx) { in removePages()
261 for (int j = range.getEnd(); j >= range.getStart(); j--) { in removePages()
/frameworks/minikin/include/minikin/
DLayoutPieces.h43 .update(range.getEnd()) in hash()
DRange.h44 inline uint32_t getEnd() const { return mEnd; } // exclusive in getEnd() function

123