Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DHyphenator.cpp85 size_t maxOffset = len - MIN_SUFFIX + 1; in hyphenate() local
122 int end = std::min(resultLen, (int)maxOffset - offset); in hyphenate()
147 for (size_t i = MIN_PREFIX; i < maxOffset; i++) { in hyphenate()
/frameworks/support/design/src/android/support/design/widget/
DAppBarLayout.java893 int maxOffset, float velocityY) { in fling() argument
906 minOffset, maxOffset); // y in fling()
981 int dy, int minOffset, int maxOffset) { in scroll() argument
983 getTopBottomOffsetForScrollingSibling() - dy, minOffset, maxOffset); in scroll()
1001 AppBarLayout appBarLayout, int newOffset, int minOffset, int maxOffset) { in setAppBarTopBottomOffset() argument
1005 if (minOffset != 0 && curOffset >= minOffset && curOffset <= maxOffset) { in setAppBarTopBottomOffset()
1008 newOffset = MathUtils.constrain(newOffset, minOffset, maxOffset); in setAppBarTopBottomOffset()
/frameworks/base/core/java/android/widget/
DEditor.java802 final int maxOffset = TextUtils.unpackRangeEndFromLong(lastTouchOffsets); in selectCurrentWord() local
806 if (maxOffset < 0 || maxOffset >= mTextView.getText().length()) return false; in selectCurrentWord()
812 getSpans(minOffset, maxOffset, URLSpan.class); in selectCurrentWord()
821 wordIterator.setCharSequence(mTextView.getText(), minOffset, maxOffset); in selectCurrentWord() local
824 selectionEnd = wordIterator.getEnd(maxOffset); in selectCurrentWord()
910 int maxOffset = selectionController.getMaxTouchOffset(); in touchPositionIsInSelection() local
912 return ((minOffset >= selectionStart) && (maxOffset < selectionEnd)); in touchPositionIsInSelection()
1036 final int maxOffset = selectionController.getMaxTouchOffset(); in getLastTouchOffsets() local
1037 return TextUtils.packRangeInLong(minOffset, maxOffset); in getLastTouchOffsets()