/** * Initializes various states for this workspace. */ private void InitWorkspace() { mScroller = new Scroller(Context); mCurrentScreen = mDefaultScreen; var configuration = ViewConfiguration.Get(Context); mTouchSlop = configuration.ScaledTouchSlop; mMaximumVelocity = configuration.ScaledMaximumFlingVelocity; mPagingTouchSlop = ReflectionUtils.CallWithDefault <int>(configuration, "ScaledPagingTouchStop", mTouchSlop * 2); }