/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 | ScriptUtils.cpp | 35 U16_NEXT(text.data(), pos, range.getEnd(), result); in decodeUtf16() 60 return std::make_pair(range.getEnd(), HB_SCRIPT_UNKNOWN); in getScriptRun() 67 for (i = pos + U16_LENGTH(cp); i < range.getEnd(); i += U16_LENGTH(cp)) { in getScriptRun()
|
D | GreedyLineBreaker.cpp | 210 for (uint32_t i = targetRange.getStart(); i < targetRange.getEnd(); ++i) { in tryLineBreakWithHyphenation() 281 for (uint32_t i = range.getStart() + 1; i < range.getEnd(); ++i) { in doLineBreakWithGraphemeBounds() 302 breakLineAt(range.getEnd(), mLineWidth, 0, 0, EndHyphenEdit::NO_EDIT, StartHyphenEdit::NO_EDIT); in doLineBreakWithGraphemeBounds() 338 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { in doLineBreakWithFallback() 394 uint16_t ch = mTextBuf[range.getEnd() - i - 1]; in overhangExceedLineLimit() 403 return mMeasuredText.getBounds(mTextBuf, Range(range.getStart(), range.getEnd() - i)).width() > in overhangExceedLineLimit() 484 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { in process() 489 if (run->canBreak() || nextWordBoundaryOffset == range.getEnd()) { in process()
|
D | MeasuredText.cpp | 159 piece.getEnd() == range.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in measureHyphenPiece() 189 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { in measure() 192 const bool canBreak = run->canBreak() || (i + 1) == range.getEnd(); in measure() 245 range.getEnd() == piece.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in appendLayout() 367 targetRange.getEnd() == range.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in buildLayout()
|
D | LineBreakerUtil.h | 62 if (!isLineEndSpace(textBuf[range.getEnd() - i - 1])) { in trimTrailingLineEndSpaces() 63 return Range(range.getStart(), range.getEnd() - i); in trimTrailingLineEndSpaces() 91 for (uint32_t i = hyphenationTargetRange.getStart(); i < hyphenationTargetRange.getEnd(); ++i) { in populateHyphenationPoints() 117 for (uint32_t j = i; j < contextRange.getEnd(); ++j) { in populateHyphenationPoints()
|
D | OptimalLineBreaker.cpp | 197 for (uint32_t i = range.getStart() + 1; i < range.getEnd(); ++i) { in populateDesperatePoints() 214 for (uint32_t i = range.getStart() + 1; i < range.getEnd(); ++i) { in populateDesperatePoints() 300 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { in populateCandidates() 304 const bool canBreak = run->canBreak() || (i + 1) == range.getEnd(); in populateCandidates() 319 hyIter->offset < contextRange.getEnd()) { in populateCandidates() 331 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 | Measurement.cpp | 217 (piece.getEnd() == range.getEnd()) ? endHyphen : EndHyphenEdit::NO_EDIT; in getBounds()
|
D | ScriptUtils.h | 78 inline iterator end() const { return iterator(this, mRange.getEnd()); } in end()
|
D | BidiUtils.cpp | 67 const uint32_t runEnd = std::min(static_cast<uint32_t>(startRun + lengthRun), mRange.getEnd()); in getRunInfoAt()
|
/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 | 174 public int getEnd(int offset) { in getEnd() method in WordIterator 177 return getEnd(offset, false); in getEnd() 215 return getEnd(offset, true); in getNextWordEndOnTwoWordBoundary() 269 private int getEnd(int offset, boolean getNextWordEndOnTwoWordBoundary) { in getEnd() method in WordIterator
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextLinksParams.java | 128 link.getStart(), link.getEnd(), ClickableSpan.class); in apply() 134 text.setSpan(span, link.getStart(), link.getEnd(), in apply() 139 text.setSpan(span, link.getStart(), link.getEnd(), in apply()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayUtils.java | 82 if (link.getEnd() - link.getStart() in getActions() 85 textLinks.getText(), link.getStart(), link.getEnd(), null); in getActions()
|
/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/minikin/include/minikin/ |
D | Range.h | 45 inline uint32_t getEnd() const { return mEnd; } // exclusive in getEnd() function 123 return os << "(" << r.getStart() << ", " << r.getEnd() << ")";
|
/frameworks/base/core/java/android/widget/ |
D | RtlSpacingHelper.java | 50 public int getEnd() { in getEnd() method in RtlSpacingHelper
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextLinksTest.java | 88 assertEquals(4, resultList.get(0).getEnd()); in testParcel() 94 assertEquals(12, resultList.get(1).getEnd()); in testParcel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | EdgeLight.java | 116 public float getEnd() { in getEnd() method in EdgeLight
|
/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/print/ |
D | PageRange.java | 83 public @IntRange(from = 0) int getEnd() { in getEnd() method in PageRange
|
/frameworks/base/core/java/android/app/admin/ |
D | SystemUpdatePolicy.java | 714 dest.writeInt(interval.getEnd().getMonthValue()); in writeToParcel() 715 dest.writeInt(interval.getEnd().getDayOfMonth()); in writeToParcel() 793 out.attribute(null, KEY_FREEZE_END, interval.getEnd().toString()); in saveToXml()
|
/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()
|