Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/guide/
DTimelineRow.java25 private int mScrollPosition; field in TimelineRow
45 return Math.abs(mScrollPosition); in getScrollOffset()
72 mScrollPosition = 0; in onScrolled()
74 mScrollPosition += dx; in onScrolled()
/packages/apps/Settings/src/com/android/settings/widget/
DHighlightableTopLevelPreferenceAdapter.java66 private int mScrollPosition = RecyclerView.NO_POSITION; field in HighlightableTopLevelPreferenceAdapter
142 mScrollPosition = position; in requestHighlight()
195 if (mScrolled || mScrollPosition < 0) { in scroll()
204 final View view = mRecyclerView.getChildAt(mScrollPosition); in scroll()
211 Log.d(TAG, "Scroll to position " + mScrollPosition); in scroll()
/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(
748 if (mScrollPosition == INVALID_POSITION) {
756 mGvs.scrollTo(mScrollPosition);
761 mGvs.scrollTo(mScrollPosition);
766 mScrollPosition = scrollPosition;