question: @ Override protected void onUpdateBgPadding ( Rect padding , Rect bgPadding ) { mAppsRecyclerView . updateBackgroundPadding ( bgPadding ) ; mAdapter . updateBackgroundPadding ( bgPadding ) ; mElevationController . updateBackgroundPadding ( bgPadding ) ; int maxScrollBarWidth = mAppsRecyclerView . getMaxScrollbarWidth ( ) ; int startInset = Math . max ( mSectionNamesMargin , maxScrollBarWidth ) ; int topBottomPadding = mRecyclerViewTopBottomPadding ; if ( Utilities . isRtl ( getResources ( ) ) ) { mAppsRecyclerView . setPadding ( padding . left + maxScrollBarWidth , topBottomPadding , padding . right + startInset , topBottomPadding ) ; } else { mAppsRecyclerView . setPadding ( padding . left + startInset , topBottomPadding , padding . right + maxScrollBarWidth , topBottomPadding ) ; } MarginLayoutParams lp = ( MarginLayoutParams ) mSearchContainer . getLayoutParams ( ) ; lp . leftMargin = padding . left ; lp . rightMargin = padding . right ; mSearchContainer . setLayoutParams ( lp ) ; }
target:  Update the background and padding of the Apps view and children.  Instead of insetting the container view, we inset the background and padding of the recycler view to allow for the recycler view to handle touch events (for fast scrolling) all the way to the edge.