HomeSort by relevance Sort by last modified time
    Searched refs:mAllowedHorizontalScrollLength (Results 1 - 2 of 2) sorted by null

  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailFragmentCarousel.java 43 private int mAllowedHorizontalScrollLength = Integer.MIN_VALUE;
107 if (mAllowedHorizontalScrollLength == Integer.MIN_VALUE) {
109 mAllowedHorizontalScrollLength = (MAX_FRAGMENT_VIEW_COUNT * mMinFragmentWidth) -
112 mUpperThreshold = mAllowedHorizontalScrollLength - mLowerThreshold;
243 offset = (mCurrentPage == ABOUT_PAGE) ? mAllowedHorizontalScrollLength : 0;
245 offset = (mCurrentPage == ABOUT_PAGE) ? 0 : mAllowedHorizontalScrollLength;
ContactDetailTabCarousel.java 84 private int mAllowedHorizontalScrollLength = Integer.MIN_VALUE;
161 mAllowedHorizontalScrollLength = tabWidth * TAB_COUNT - screenWidth;
163 // Scrolling by mAllowedHorizontalScrollLength causes listeners to
166 if (mAllowedHorizontalScrollLength == 0) {
174 mScrollScaleFactor = screenWidth / mAllowedHorizontalScrollLength;
213 scrollTo(mCurrentTab == TAB_INDEX_ABOUT ? 0 : mAllowedHorizontalScrollLength, 0);
340 float alpha = mLastScrollPosition * MAX_ALPHA / mAllowedHorizontalScrollLength;
427 return mAllowedHorizontalScrollLength;

Completed in 59 milliseconds