protected void setOffsetPixels(float offsetPixels) {
		final int oldOffset = (int) mOffsetPixels;
		final int newOffset = (int) offsetPixels;

		mOffsetPixels = offsetPixels;

		if (newOffset != oldOffset) {
			onOffsetPixelsChanged(newOffset);
			mSwipeBackViewVisible = newOffset != 0;

			// Notify any attached listeners of the current open ratio
			final float openRatio = ((float) Math.abs(newOffset)) / mSwipeBackViewSize;
			dispatchOnDrawerSlide(openRatio, newOffset);
		}
	}
protected void setOffsetPixels ( float offsetPixels ) { final int oldOffset = ( int ) mOffsetPixels ; final int newOffset = ( int ) offsetPixels ; mOffsetPixels = offsetPixels ; if ( newOffset != oldOffset ) { onOffsetPixelsChanged ( newOffset ) ; mSwipeBackViewVisible = newOffset != 0 ; final float openRatio = ( ( float ) Math . abs ( newOffset ) ) / mSwipeBackViewSize ; dispatchOnDrawerSlide ( openRatio , newOffset ) ; } }
Sets the number of pixels the content should be offset.

@param offsetPixels The number of pixels to offset the content by.