Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/guide/
DTimelineRow.java25 private int mScrollPosition; field in TimelineRow
47 return Math.abs(mScrollPosition); in getScrollOffset()
75 mScrollPosition = 0; in onScrolled()
77 mScrollPosition += dx; in onScrolled()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java412 private int mScrollPosition; field in SlotView.Layout
531 int position = mScrollPosition; in updateVisibleSlotRange()
551 if (mScrollPosition == position) return; in setScrollPosition()
552 mScrollPosition = position; in setScrollPosition()
578 int absoluteX = Math.round(x) + (WIDE ? mScrollPosition : 0); in getSlotIndexByPosition()
579 int absoluteY = Math.round(y) + (WIDE ? 0 : mScrollPosition); in getSlotIndexByPosition()
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java99 private float mScrollPosition = INVALID_POSITION; field in ImageGallery
413 state.putFloat(STATE_SCROLL_POSITION, mScrollPosition);
420 mScrollPosition = state.getFloat(
747 if (mScrollPosition == INVALID_POSITION) {
755 mGvs.scrollTo(mScrollPosition);
760 mGvs.scrollTo(mScrollPosition);
765 mScrollPosition = scrollPosition;