Home
last modified time | relevance | path

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

/aosp12/packages/apps/TV/src/com/android/tv/guide/
H A DTimelineRow.java49 public void scrollTo(int scrollOffset, boolean smoothScroll) { in scrollTo() argument
51 (scrollOffset - getScrollOffset()) in scrollTo()
H A DProgramRow.java311 public void resetScroll(int scrollOffset) { in resetScroll() argument
313 GuideUtils.convertPixelToMillis(scrollOffset) + mProgramManager.getStartTime(); in resetScroll()
325 - scrollOffset; in resetScroll()
H A DProgramGuide.java1060 int scrollOffset = in onTimeRangeUpdated() local
1066 + scrollOffset in onTimeRangeUpdated()
1071 mTimelineRow.scrollTo(scrollOffset, mTimelineAnimation); in onTimeRangeUpdated()
/aosp12/packages/apps/ThemePicker/src/com/android/customization/widget/
H A DOptionSelectorController.java425 int scrollOffset = itemWidth + itemMarginHorizontal; in onRequestSendAccessibilityEvent() local
431 mContainer.scrollBy(scrollOffset, 0); in onRequestSendAccessibilityEvent()
434 mContainer.scrollBy(-scrollOffset, 0); in onRequestSendAccessibilityEvent()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DAbsSwipeUpHandler.java2007 float scrollOffset = Math.abs(mRecentsView.getScrollOffset(mRecentsView.getCurrentPage()));
2017 if (scrollOffset < mQuickSwitchScaleScrollThreshold) {
2018 scaleProgress = Utilities.mapToRange(scrollOffset, 0, mQuickSwitchScaleScrollThreshold,
2020 } else if (scrollOffset > (maxScrollOffset - mQuickSwitchScaleScrollThreshold)) {
2021 scaleProgress = Utilities.mapToRange(scrollOffset,
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java1490 final float scrollOffset = ii != null ? Math.min(ii.offset, mLastOffset) : 0;
1491 final int scrollPos = (int) (scrollOffset *
2212 final float scrollOffset = width > 0 ? (float) startOffset / width : 0;
2237 if (first || scrollOffset >= startBound) {
2239 if (scrollOffset < endBound || i == mItems.size() - 1) {
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedView.java1171 int scrollOffset = mIsRtl ? getPaddingRight() : getPaddingLeft(); in getLayoutTransitionOffsetForPage() local
1172 int baselineX = mPageScrolls[index] + scrollOffset; in getLayoutTransitionOffsetForPage()