Home
last modified time | relevance | path

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

123

/frameworks/minikin/libs/minikin/
DLayout.cpp55 doLayoutRunCached(textBuf, runInfo.range, runInfo.isRtl, paint, range.getStart(), in doLayout()
65 const size_t offset = range.toRangeOffset(runInfo.range.getStart()); in measureText()
84 (piece.getStart() == range.getStart()) ? startHyphen : StartHyphenEdit::NO_EDIT; in doLayoutRunCached()
88 advances ? advances + (piece.getStart() - range.getStart()) : nullptr; in doLayoutRunCached()
89 advance += doLayoutWord(textBuf.data() + context.getStart(), in doLayoutRunCached()
90 piece.getStart() - context.getStart(), piece.getLength(), in doLayoutRunCached()
91 context.getLength(), isRtl, paint, piece.getStart() - dstStart, in doLayoutRunCached()
DLayoutSplitter.h74 mPos = mPieceRange.getStart();
77 mPieceRange.setStart(std::max(mContextRange.getStart(), range.getStart()));
98 mPieceRange.setStart(std::max(mContextRange.getStart(), range.getStart())); 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.cpp42 std::copy(advances.begin(), advances.end(), mOutAdvances->begin() + mRange.getStart()); in operator ()()
67 textBuf.substr(context), piece - context.getStart(), mPaint, info.isRtl, in getMetrics()
114 piece.getStart() == range.getStart() ? startHyphen : StartHyphenEdit::NO_EDIT; in measureHyphenPiece()
120 piece - context.getStart(), mPaint, info.isRtl, in measureHyphenPiece()
144 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { in measure()
180 float wordSpacing = range.getLength() == 1 && isWordSpace(textBuf[range.getStart()]) in appendLayout()
190 compositor.setOutOffset(piece.getStart() - outOrigin); in appendLayout()
192 range.getStart() == piece.getStart() ? startHyphen : StartHyphenEdit::NO_EDIT; in appendLayout()
201 piece - context.getStart(), paint, in appendLayout()
284 targetRange.getStart() == range.getStart() ? startHyphen : StartHyphenEdit::NO_EDIT; in buildLayout()
[all …]
DGreedyLineBreaker.cpp191 for (uint32_t i = targetRange.getStart(); i < targetRange.getEnd(); ++i) { in tryLineBreakWithHyphenation()
258 double width = mMeasuredText.widths[range.getStart()]; in doLineBreakWithGraphemeBounds()
261 for (uint32_t i = range.getStart() + 1; i < range.getEnd(); ++i) { in doLineBreakWithGraphemeBounds()
336 nextWordBoundaryOffset = wordBreaker.followingWithLocale(locale, range.getStart()); in process()
341 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { 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()
118 if (left.getStart() < right.getStart()) { 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()
DLineBreakerUtil.h78 for (uint32_t i = hyphenationTargetRange.getStart(); i < hyphenationTargetRange.getEnd(); ++i) { in populateHyphenationPoints()
154 nextWordBreak = breaker.followingWithLocale(locale, run.getRange().getStart()); in updateLocaleIfNecessary()
DOptimalLineBreaker.cpp167 ParaWidth width = measured.widths[range.getStart()]; in populateDesperatePoints()
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()
DBidiUtils.cpp66 const uint32_t runStart = std::max(static_cast<uint32_t>(startRun), mRange.getStart()); in getRunInfoAt()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DPageRangeUtils.java37 return lhs.getStart() - rhs.getStart();
97 if (otherRange.getStart() > ourRange.getEnd()) { in contains()
100 if (otherRange.getStart() < ourRange.getStart() in contains()
133 if (currentRange.getEnd() + 1 >= nextRange.getStart()) { in normalize()
135 pageRanges[i + 1] = new PageRange(currentRange.getStart(), in normalize()
332 final int start = pageRanges[i].getStart() + offset; in offset()
394 return pageRanges.getStart() == 0 && pageRanges.getEnd() == pageCount - 1; in isAllPages()
428 final int offset = -pagesWrittenToFile[0].getStart(); in computeWhichPagesInFileToPrint()
/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/core/java/com/android/server/
DRescueParty.java280 public abstract long getStart(); in getStart() method in RescueParty.Threshold
303 final long window = now - getStart(); in incrementAndTest()
342 public long getStart() { in getStart() method in RescueParty.BootThreshold
369 @Override public long getStart() { return start; } in getStart() method in RescueParty.AppThreshold
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/
DChunkListingMapTest.java129 assertThat(entryA.getStart()).isEqualTo(0); in testGetChunkEntry_returnsEntryWithCorrectStart()
130 assertThat(entryB.getStart()).isEqualTo(CHUNK_A_LENGTH); in testGetChunkEntry_returnsEntryWithCorrectStart()
131 assertThat(entryC.getStart()).isEqualTo(CHUNK_A_LENGTH + CHUNK_B_LENGTH); in testGetChunkEntry_returnsEntryWithCorrectStart()
/frameworks/minikin/include/minikin/
DLayoutPieces.h42 .update(range.getStart()) in hash()
95 range - context.getStart(), paint, dir, in getOrCreate()
DU16StringPiece.h47 return U16StringPiece(mData + range.getStart(), range.getLength()); in substr()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java606 indexInFile += pageIndexInDocument - pageRange.getStart() + 1; in computePageIndexInFile()
619 for (int j = pageRange.getStart(); j <= pageRange.getEnd(); j++) { in setConfirmedPages()
681 if (pageInDocument < selectedRange.getStart()) { in computeRequestedPages()
689 rangeSpan = pageInDocument - selectedRange.getStart() + 1; in computeRequestedPages()
735 final int fromPage = selectedRange.getStart(); in computeRequestedPages()
736 final int toPage = Math.min(selectedRange.getStart() + rangeSpan - 1, in computeRequestedPages()
810 int startVisibleDocument = computePageIndexInDocument(visiblePagesInAdapter.getStart()); in startPreloadContent()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextLinksTest.java81 assertEquals(0, resultList.get(0).getStart()); in testParcel()
87 assertEquals(5, resultList.get(1).getStart()); in testParcel()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/
DByteRange.java35 long getStart() { in getStart() method in ByteRange
DSingleStreamDiffScriptWriter.java104 mReusableChunk.getStart(), in writeReusableChunk()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java255 if (range.getStart() > lastPageIdx) { in removePages()
258 range = new PageRange(range.getStart(), lastPageIdx); in removePages()
261 for (int j = range.getEnd(); j >= range.getStart(); j--) { in removePages()
/frameworks/base/core/java/android/widget/
DRtlSpacingHelper.java46 public int getStart() { in getStart() method in RtlSpacingHelper
/frameworks/minikin/tests/unittest/
DLayoutSplitterTest.cpp79 if (i == context.getStart()) { in buildDebugString()
82 if (i == piece.getStart()) { in buildDebugString()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunk/
DChunkListingMap.java105 public long getStart() { in getStart() method in ChunkListingMap.Entry
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java562 return pagesBefore + pageNum - pages[i].getStart(); in findIndexOfPage()
582 int firstVisiblePageIndex = findIndexOfPage(visiblePages.getStart(), selectedPages); in startPreload()
612 if (PageRangeUtils.contains(writtenPages, range.getStart() + i)) { in startPreload()
614 Log.i(LOG_TAG, "Preloading " + (range.getStart() + i)); in startPreload()
617 renderPage(range.getStart() + i, renderSpec, null); in startPreload()
/frameworks/base/core/java/android/print/
DPageRange.java73 public @IntRange(from = 0) int getStart() { in getStart() method in PageRange
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java706 dest.writeInt(interval.getStart().getMonthValue()); in writeToParcel()
707 dest.writeInt(interval.getStart().getDayOfMonth()); in writeToParcel()
793 out.attribute(null, KEY_FREEZE_START, interval.getStart().toString()); in saveToXml()

123