Searched refs:maxOffset (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/design/src/android/support/design/widget/ |
D | HeaderBehavior.java | 199 int minOffset, int maxOffset) { in setHeaderTopBottomOffset() argument 203 if (minOffset != 0 && curOffset >= minOffset && curOffset <= maxOffset) { in setHeaderTopBottomOffset() 206 newOffset = MathUtils.constrain(newOffset, minOffset, maxOffset); in setHeaderTopBottomOffset() 223 int dy, int minOffset, int maxOffset) { in scroll() argument 225 getTopBottomOffsetForScrollingSibling() - dy, minOffset, maxOffset); in scroll() 229 int maxOffset, float velocityY) { in fling() argument 243 minOffset, maxOffset); // y in fling()
|
D | CollapsingToolbarLayout.java | 440 final int maxOffset = getMaxOffsetForPinChild( in onLayout() local 447 mTmpRect.top + maxOffset + mToolbar.getTitleMarginTop(), in onLayout() 451 mTmpRect.bottom + maxOffset - mToolbar.getTitleMarginBottom()); in onLayout()
|
D | AppBarLayout.java | 1120 AppBarLayout appBarLayout, int newOffset, int minOffset, int maxOffset) { in setHeaderTopBottomOffset() argument 1124 if (minOffset != 0 && curOffset >= minOffset && curOffset <= maxOffset) { in setHeaderTopBottomOffset() 1127 newOffset = MathUtils.constrain(newOffset, minOffset, maxOffset); in setHeaderTopBottomOffset()
|
/frameworks/minikin/libs/minikin/ |
D | Hyphenator.cpp | 198 size_t maxOffset = len - MIN_SUFFIX - 1; in hyphenateFromCodes() local 221 int end = std::min(pat_len, (int)maxOffset - offset); in hyphenateFromCodes() 230 for (size_t i = MIN_PREFIX; i < maxOffset; i++) { in hyphenateFromCodes()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/ |
D | GuidedDatePickerTest.java | 171 int maxOffset = -1; in addDate() local 183 maxOffset = Math.min( in addDate() 185 mCurrentDate.add(field, maxOffset); in addDate() 190 maxOffset = Math.max( in addDate() 192 mCurrentDate.add(field, Math.max(offset, maxOffset)); in addDate()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 832 final int maxOffset = TextUtils.unpackRangeEndFromLong(lastTouchOffsets); in selectCurrentWord() local 836 if (maxOffset < 0 || maxOffset > mTextView.getText().length()) return false; in selectCurrentWord() 842 getSpans(minOffset, maxOffset, URLSpan.class); in selectCurrentWord() 851 wordIterator.setCharSequence(mTextView.getText(), minOffset, maxOffset); in selectCurrentWord() local 854 selectionEnd = wordIterator.getEnd(maxOffset); in selectCurrentWord() 999 int maxOffset = selectionController.getMaxTouchOffset(); in touchPositionIsInSelection() local 1001 return ((minOffset >= selectionStart) && (maxOffset < selectionEnd)); in touchPositionIsInSelection() 1133 final int maxOffset = selectionController.getMaxTouchOffset(); in getLastTouchOffsets() local 1134 return TextUtils.packRangeInLong(minOffset, maxOffset); in getLastTouchOffsets()
|