/frameworks/minikin/libs/minikin/ |
D | LayoutSplitter.h | 80 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()
|
D | MeasuredText.cpp | 116 piece.getEnd() == range.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in measureHyphenPiece() 144 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { in measure() 147 const bool canBreak = run->canBreak() || (i + 1) == range.getEnd(); in measure() 197 range.getEnd() == piece.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in appendLayout() 289 targetRange.getEnd() == range.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in buildLayout()
|
D | GreedyLineBreaker.cpp | 191 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()
|
D | OptimalLineBreaker.cpp | 168 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() 236 const bool canBreak = run->canBreak() || (i + 1) == range.getEnd(); in populateCandidates() 251 hyIter->offset < contextRange.getEnd()) { in populateCandidates() 261 if (run->getPaint() != nullptr || nextCharOffset == range.getEnd() || in populateCandidates()
|
D | CmapCoverage.cpp | 104 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()
|
D | Layout.cpp | 86 (piece.getEnd() == range.getEnd()) ? endHyphen : EndHyphenEdit::NO_EDIT; in doLayoutRunCached()
|
D | BidiUtils.cpp | 67 const uint32_t runEnd = std::min(static_cast<uint32_t>(startRun + lengthRun), mRange.getEnd()); in getRunInfoAt()
|
D | LineBreakerUtil.h | 78 for (uint32_t i = hyphenationTargetRange.getStart(); i < hyphenationTargetRange.getEnd(); ++i) { in populateHyphenationPoints()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | WordIteratorTest.java | 47 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/ |
D | PageRangeUtils.java | 97 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/ |
D | WordIterator.java | 163 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/ |
D | TextLinksParams.java | 129 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/ |
D | SingleStreamDiffScriptWriter.java | 69 if (mReusableChunk != null && mReusableChunk.getEnd() + 1 == chunkStart) { in writeChunk() 105 mReusableChunk.getEnd()) in writeReusableChunk()
|
D | ByteRange.java | 40 long getEnd() { in getEnd() method in ByteRange
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | OrientationHelper.java | 169 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/ |
D | PageAdapter.java | 585 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/ |
D | TextLinksTest.java | 82 assertEquals(4, resultList.get(0).getEnd()); in testParcel() 88 assertEquals(12, resultList.get(1).getEnd()); in testParcel()
|
D | TextClassifierEventTest.java | 288 .that(actual.getEnd()).isEqualTo(expected.getEnd()); in assertEquals()
|
/frameworks/minikin/tests/unittest/ |
D | LayoutSplitterTest.cpp | 85 if (i == piece.getEnd()) { in buildDebugString() 88 if (i == context.getEnd()) { in buildDebugString()
|
/frameworks/base/core/java/android/widget/ |
D | RtlSpacingHelper.java | 50 public int getEnd() { in getEnd() method in RtlSpacingHelper
|
/frameworks/base/core/java/android/app/admin/ |
D | SystemUpdatePolicy.java | 708 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/core/java/android/print/ |
D | PageRange.java | 82 public @IntRange(from = 0) int getEnd() { in getEnd() method in PageRange
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
D | PdfManipulationService.java | 254 if (range.getEnd() > lastPageIdx) { in removePages() 261 for (int j = range.getEnd(); j >= range.getStart(); j--) { in removePages()
|
/frameworks/minikin/include/minikin/ |
D | LayoutPieces.h | 43 .update(range.getEnd()) in hash()
|
D | Range.h | 44 inline uint32_t getEnd() const { return mEnd; } // exclusive in getEnd() function
|