- mActivePointerId - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
The current pointer id.
- mActivePosition - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Position of the active view.
- mActiveRect - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Used when reading the position of the active view.
- mActiveView - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
The currently active view.
- mapPoint(float, float, float, float, float) - Static method in class com.hannesdorfmann.swipeback.util.MathUtils
-
This method maps a number x, which is in the range [sourceStart,
sourceEnd], to a new range [targetStart, targetEnd]
sourceStart <= x <= sourceEnd
targetStart <= returnValue <= targetEnd
- mapPoint(float, float, float, int, int) - Static method in class com.hannesdorfmann.swipeback.util.MathUtils
-
- mapPointRound(float, float, float, int, int) - Static method in class com.hannesdorfmann.swipeback.util.MathUtils
-
- MathUtils - Class in com.hannesdorfmann.swipeback.util
-
Little helper class that provides some useful mathematical methods
- MathUtils() - Constructor for class com.hannesdorfmann.swipeback.util.MathUtils
-
- MAX_MENU_OVERLAY_ALPHA - Static variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
The maximum alpha of the dark menu overlay used for dimming the menu.
- mCloseEnough - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
Distance in px from closed position from where the drawer is considered closed with regards to touch events.
- mContentContainer - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
The parent of the content view.
- mDividerAsShadowColor - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
The color of the shadow that will be used as divider .
- mDividerDrawable - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Drawable used as content to swipe back view divider.
- mDividerEnabled - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Defines if the divider is enabled (will be drawn)
- mDividerRect - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
- mDividerSize - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
The size (width) of the content to swipe back view divider.
- mDrawerState - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
The current drawer state.
- mDrawOverlay - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Whether an overlay should be drawn as the drawer is opened and closed.
- mHardwareLayersEnabled - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Indicates whether to use View.LAYER_TYPE_HARDWARE when animating the drawer.
- mInitialMotionX - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
The initial X position of a drag.
- mInitialMotionY - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
The initial Y position of a drag.
- mIsDragging - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
Indicates whether the drawer is currently being dragged.
- mIsStatic - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
- mLastMotionX - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
The last X position of a drag.
- mLastMotionY - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
The last Y position of a drag.
- mLayerTypeHardware - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
Indicates whether the current layer type is View.LAYER_TYPE_HARDWARE.
- mMaxAnimationDuration - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
The maximum duration of open/close animations.
- mMaxVelocity - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
Maximum velocity allowed when animating the drawer open/closed.
- mOffsetMenu - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
Indicates whether the menu should be offset when dragging the drawer.
- mOffsetPixels - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Current offset.
- mOnInterceptMoveEventListener - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Callback that lets the listener override intercepting of touch events.
- mPeekDelay - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
- mPeekRunnable - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
Runnable used when the peek animation is running.
- mPeekScroller - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
Scroller used for the peek drawer animation.
- mPreviousTouchMode - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Used for storing the previous touch mode, while disabling Swipe Back
temporarly
- mSwipeBackContainer - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
The parent of the swipe back view.
- mSwipeBackOverlay - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Drawable used as swipe back view overlay.
- mSwipeBackTransformer - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
The SwipeBackTransformer
- mSwipeBackViewSize - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
The size of the swipe back view (width or height depending on the
gravity).
- mSwipeBackViewVisible - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Indicates whether the swipe back view is currently visible.
- mTouchBezelSize - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
The touch bezel size of the swipe back in px.
- mTouchMode - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Touch mode for the Drawer.
- mTouchSize - Variable in class com.hannesdorfmann.swipeback.SwipeBack
-
The touch area size of the swipe back in px.
- mTouchSlop - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
Slop before starting a drag.
- mVelocityTracker - Variable in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
Velocity tracker used when animating the drawer open/closed after a drag.
- safeGetX(MotionEvent) - Method in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
- safeGetY(MotionEvent) - Method in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
- scheduleDrawable(Drawable, Runnable, long) - Method in class com.hannesdorfmann.swipeback.SlideDrawable
-
- setAlpha(int) - Method in class com.hannesdorfmann.swipeback.SlideDrawable
-
- setChangingConfigurations(int) - Method in class com.hannesdorfmann.swipeback.SlideDrawable
-
- setColorFilter(ColorFilter) - Method in class com.hannesdorfmann.swipeback.SlideDrawable
-
- setColorFilter(int, PorterDuff.Mode) - Method in class com.hannesdorfmann.swipeback.SlideDrawable
-
- setContentView(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Set the content from a layout resource.
- setContentView(View) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Set the content to an explicit view.
- setContentView(View, ViewGroup.LayoutParams) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Set the content to an explicit view.
- setDither(boolean) - Method in class com.hannesdorfmann.swipeback.SlideDrawable
-
- setDivider(Drawable) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Sets the drawable of the divider.
- setDivider(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Sets the drawable resource id of the divider .
- setDividerAsShadowColor(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
- setDividerAsSolidColor(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Draw the divider as solid color (using ColorDrawable).
- setDividerEnabled(boolean) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Defines whether the drop shadow is enabled.
- setDividerSize(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Sets the size (width) of the divider.
- setDividerSizeInPixel(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Sets the size (width) of the divider.
- setDrawerState(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
- setDrawOverlay(boolean) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Sets whether an overlay should be drawn when sliding the swipe back view.
- setFilterBitmap(boolean) - Method in class com.hannesdorfmann.swipeback.SlideDrawable
-
- setHardwareLayerEnabled(boolean) - Method in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
- setHardwareLayerEnabled(boolean) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Enables or disables the user of View.LAYER_TYPE_HARDWARE when animations views.
- setMaxAnimationDuration(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Sets the maximum duration of open/close animations.
- setOffset(float) - Method in class com.hannesdorfmann.swipeback.SlideDrawable
-
- setOffsetPixels(float) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Sets the number of pixels the content should be offset.
- setOffsetSwipeBackViewEnabled(boolean) - Method in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
- setOffsetSwipeBackViewEnabled(boolean) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Enables or disables offsetting the swipe back when dragging the drawer.
- setOnInterceptMoveEventListener(SwipeBack.OnInterceptMoveEventListener) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Register a callback that will be invoked when the drawer is about to intercept touch events.
- setOnStateChangeListener(SwipeBack.OnStateChangeListener) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
- setSize(int) - Method in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
- setSize(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Set the size of the swipe back when open.
- setState(int[]) - Method in class com.hannesdorfmann.swipeback.SlideDrawable
-
- setSwipeBackContainerBackgroundColor(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Set the background color of the swipe back view container (The container
where the swipe back view is inflated into)
- setSwipeBackContainerBackgroundDrawable(Drawable) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Set the background of the wipe swipe back view container (The container
where the swipe back view is inflated into)
- setSwipeBackContainerBackgroundDrawable(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Set the background of the wipe swipe back view container (The container
where the swipe back view is inflated into)
- setSwipeBackTransformer(SwipeBackTransformer) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
- setSwipeBackView(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Set the swipe back view from a layout resource.
- setSwipeBackView(View) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Set the swipe back view to an explicit view.
- setSwipeBackView(View, ViewGroup.LayoutParams) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Set the swipe back view to an explicit view.
- setTouchBezelSize(int) - Method in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
- setTouchBezelSize(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Sets the size of the touch bezel.
- setTouchEnabled(boolean) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Disable or enable Touch.
- setTouchMode(int) - Method in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
- setTouchMode(int) - Method in class com.hannesdorfmann.swipeback.SwipeBack
-
Sets the drawer touch mode.
- setVisible(boolean, boolean) - Method in class com.hannesdorfmann.swipeback.SlideDrawable
-
- SinusoidalInterpolator - Class in com.hannesdorfmann.swipeback.interpolator
-
Interpolator which, when drawn from 0 to 1, looks like half a sine-wave.
- SinusoidalInterpolator() - Constructor for class com.hannesdorfmann.swipeback.interpolator.SinusoidalInterpolator
-
- SlideDrawable - Class in com.hannesdorfmann.swipeback
-
- SlideDrawable(Drawable) - Constructor for class com.hannesdorfmann.swipeback.SlideDrawable
-
- SlideSwipeBackTransformer - Class in com.hannesdorfmann.swipeback.transformer
-
The default SwipeBackTransformator
Created by Hannes Dorfmann on 03.01.14.
- SlideSwipeBackTransformer() - Constructor for class com.hannesdorfmann.swipeback.transformer.SlideSwipeBackTransformer
-
- SlidingSwipeBack - Class in com.hannesdorfmann.swipeback
-
- SlidingSwipeBack(Context) - Constructor for class com.hannesdorfmann.swipeback.SlidingSwipeBack
-
- SlidingSwipeBack(Context, AttributeSet) - Constructor for class com.hannesdorfmann.swipeback.SlidingSwipeBack
-
- SlidingSwipeBack(Context, AttributeSet, int) - Constructor for class com.hannesdorfmann.swipeback.SlidingSwipeBack
-
- SMOOTH_INTERPOLATOR - Static variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Interpolator used when animating the drawer open/closed.
- SmoothInterpolator - Class in com.hannesdorfmann.swipeback.interpolator
-
- SmoothInterpolator() - Constructor for class com.hannesdorfmann.swipeback.interpolator.SmoothInterpolator
-
- startLayerTranslation() - Method in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
If possible, set the layer type to View.LAYER_TYPE_HARDWARE.
- startLayerTranslation() - Method in class com.hannesdorfmann.swipeback.OverlaySwipeBack
-
- startPeek() - Method in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
Starts peek drawer animation.
- STATE_CLOSED - Static variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Indicates that the drawer is currently closed.
- STATE_CLOSING - Static variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Indicates that the drawer is currently closing.
- STATE_DRAGGING - Static variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Indicates that the drawer is currently being dragged by the user.
- STATE_OPEN - Static variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Indicates that the drawer is currently open.
- STATE_OPENING - Static variable in class com.hannesdorfmann.swipeback.SwipeBack
-
Indicates that the drawer is currently opening.
- stopAnimation() - Method in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
Stops ongoing animation of the drawer.
- stopAnimation() - Method in class com.hannesdorfmann.swipeback.OverlaySwipeBack
-
- stopLayerTranslation() - Method in class com.hannesdorfmann.swipeback.DraggableSwipeBack
-
If the current layer type is View.LAYER_TYPE_HARDWARE, this will set it to
View.LAYER_TYPE_NONE.
- stopLayerTranslation() - Method in class com.hannesdorfmann.swipeback.OverlaySwipeBack
-
- SwipeBack - Class in com.hannesdorfmann.swipeback
-
- SwipeBack(Context) - Constructor for class com.hannesdorfmann.swipeback.SwipeBack
-
- SwipeBack(Context, AttributeSet) - Constructor for class com.hannesdorfmann.swipeback.SwipeBack
-
- SwipeBack(Context, AttributeSet, int) - Constructor for class com.hannesdorfmann.swipeback.SwipeBack
-
- SwipeBack.OnInterceptMoveEventListener - Interface in com.hannesdorfmann.swipeback
-
Callback that is invoked when the drawer is in the process of deciding whether it should intercept the touch
event.
- SwipeBack.OnStateChangeListener - Interface in com.hannesdorfmann.swipeback
-
Callback interface for changing state of the swipe back.
- SwipeBack.Type - Enum in com.hannesdorfmann.swipeback
-
- SwipeBackTransformer - Interface in com.hannesdorfmann.swipeback.transformer
-
A
SwipeBackTransformer is responsible to manipulate the
swipe back view according to its current state (opening or closing)
#onSwiping(com.hannesdorfmann.swipeback.SwipeBack, float, int, int) with some nice animations.