Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DWordIterator.java39 private int mOffsetShift; field in WordIterator
59 mOffsetShift = Math.max(0, start - WINDOW_WIDTH); in setCharSequence()
63 mString = ((SpannableStringBuilder) charSequence).substring(mOffsetShift, windowEnd); in setCharSequence()
65 mString = charSequence.subSequence(mOffsetShift, windowEnd).toString(); in setCharSequence()
72 int shiftedOffset = offset - mOffsetShift; in preceding()
79 return shiftedOffset + mOffsetShift; in preceding()
86 int shiftedOffset = offset - mOffsetShift; in following()
93 return shiftedOffset + mOffsetShift; in following()
100 int shiftedOffset = offset - mOffsetShift; in isBoundary()
113 int shiftedOffset = offset - mOffsetShift; in nextBoundary()
[all …]