Skip navigation links
A B C D E F G H I M N O P R S T U V Z 

A

addOnStateChangeListener(GestureController.OnStateChangeListener) - Method in class com.alexvasilkov.gestures.GestureController
Adds listener for state changes.
addPositionUpdateListener(ViewPositionAnimator.PositionUpdateListener) - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
Adds listener to the set of position updates listeners that will be notified during any position changes.
addPositionUpdateListener(ViewPositionAnimator.PositionUpdateListener) - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionAnimator
Adds listener to the set of position updates listeners that will be notified during any position changes.
addView(View, int, ViewGroup.LayoutParams) - Method in class com.alexvasilkov.gestures.views.GestureFrameLayout
 
animateStateTo(State) - Method in class com.alexvasilkov.gestures.GestureController
Animates current state to provided end state.
AnimatorView - Interface in com.alexvasilkov.gestures.views.interfaces
Common interface for views supporting position animation.
apply(ViewPosition, View) - Static method in class com.alexvasilkov.gestures.animation.ViewPosition
Computes view position and stores it in given pos.
applyState(State) - Method in class com.alexvasilkov.gestures.views.GestureFrameLayout
 
applyState(State) - Method in class com.alexvasilkov.gestures.views.GestureImageView
 

B

build() - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionBuilder
 

C

cleanupRequest() - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
clipView(RectF) - Method in class com.alexvasilkov.gestures.views.GestureImageView
Clips view so only part specified in rect will be drawn.
ClipView - Interface in com.alexvasilkov.gestures.views.interfaces
 
clipView(RectF) - Method in interface com.alexvasilkov.gestures.views.interfaces.ClipView
Clips view so only part specified in rect will be drawn.
clipView(RectF) - Method in class com.alexvasilkov.gestures.views.utils.ViewClipHelper
Clips view so only part specified in rect will be drawn.
com.alexvasilkov.gestures - package com.alexvasilkov.gestures
 
com.alexvasilkov.gestures.animation - package com.alexvasilkov.gestures.animation
 
com.alexvasilkov.gestures.transition - package com.alexvasilkov.gestures.transition
 
com.alexvasilkov.gestures.views - package com.alexvasilkov.gestures.views
 
com.alexvasilkov.gestures.views.interfaces - package com.alexvasilkov.gestures.views.interfaces
 
com.alexvasilkov.gestures.views.utils - package com.alexvasilkov.gestures.views.utils
 
COMPARISON_EPSILON - Static variable in class com.alexvasilkov.gestures.State
 
copy() - Method in class com.alexvasilkov.gestures.State
 

D

destroyItem(ViewGroup, int, Object) - Method in class com.alexvasilkov.gestures.views.utils.RecyclePagerAdapter
 
disableGestures() - Method in class com.alexvasilkov.gestures.Settings
Disable all gestures.
Calls to this method are counted, so if you called it N times you should call Settings.enableGestures() N times to re-enable all gestures.
disableViewPager(boolean) - Method in class com.alexvasilkov.gestures.GestureControllerForPager
 
dispatchDraw(Canvas) - Method in class com.alexvasilkov.gestures.views.GestureFrameLayout
 
dispatchTouchEvent(MotionEvent) - Method in class com.alexvasilkov.gestures.views.GestureFrameLayout
 
draw(Canvas) - Method in class com.alexvasilkov.gestures.views.GestureImageView
 

E

enableGestures() - Method in class com.alexvasilkov.gestures.Settings
Re-enable all gestures disabled by Settings.disableGestures() method.
Calls to this method are counted, so if you called Settings.disableGestures() N times you should call this method N times to re-enable all gestures.
enableScrollInViewPager(ViewPager) - Method in class com.alexvasilkov.gestures.GestureControllerForPager
Enables scroll inside ViewPager (by enabling cross movement between ViewPager and it's child view)
enter(View, boolean) - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
Starts 'enter' animation from from view to to.
enter(ViewPosition, boolean) - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
Starts 'enter' animation from from position to to view.
enter(ID, boolean) - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionAnimator
Requests 'from' and 'to' views for given id (see OnRequestViewListener#onRequestView(Object)), and starts enter animation when both views are ready.
equals(Object) - Method in class com.alexvasilkov.gestures.State
 
equals(float, float) - Static method in class com.alexvasilkov.gestures.State
Compares two float values, allowing small difference (see State.COMPARISON_EPSILON)
exit(boolean) - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
Starts 'exit' animation from to view back to from
exit(boolean) - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionAnimator
Plays exit animation, should only be called after corresponding call to ViewsTransitionAnimator.enter(Object, boolean).

F

from(View) - Static method in class com.alexvasilkov.gestures.animation.ViewPosition
Computes and returns view position.
fromRecyclerView(RecyclerView, ViewsTracker<ID>) - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionBuilder
 

G

GestureController - Class in com.alexvasilkov.gestures
Handles touch events to update view's position state (State) based on current setup (Settings).
Settings can be obtained and altered through GestureController.getSettings().
Note, that some settings are required in order to correctly update state, see Settings.
GestureController(View) - Constructor for class com.alexvasilkov.gestures.GestureController
 
GestureController.OnGestureListener - Interface in com.alexvasilkov.gestures
Listener for different touch events
GestureController.OnStateChangeListener - Interface in com.alexvasilkov.gestures
State changes listener
GestureController.SimpleOnGestureListener - Class in com.alexvasilkov.gestures
Simple implementation of GestureController.OnGestureListener
GestureControllerForPager - Class in com.alexvasilkov.gestures
Allows cross movement between view controlled by this GestureController and it's parent ViewPager by splitting scroll movements between them.
GestureControllerForPager(View) - Constructor for class com.alexvasilkov.gestures.GestureControllerForPager
 
GestureFrameLayout - Class in com.alexvasilkov.gestures.views
FrameLayout implementation controlled by GestureController (GestureFrameLayout.getController()).
GestureFrameLayout(Context) - Constructor for class com.alexvasilkov.gestures.views.GestureFrameLayout
 
GestureFrameLayout(Context, AttributeSet) - Constructor for class com.alexvasilkov.gestures.views.GestureFrameLayout
 
GestureFrameLayout(Context, AttributeSet, int) - Constructor for class com.alexvasilkov.gestures.views.GestureFrameLayout
 
GestureImageView - Class in com.alexvasilkov.gestures.views
ImageView implementation controlled by GestureController (GestureImageView.getController()).
GestureImageView(Context) - Constructor for class com.alexvasilkov.gestures.views.GestureImageView
 
GestureImageView(Context, AttributeSet) - Constructor for class com.alexvasilkov.gestures.views.GestureImageView
 
GestureImageView(Context, AttributeSet, int) - Constructor for class com.alexvasilkov.gestures.views.GestureImageView
 
GestureImageView.OnSnapshotLoadedListener - Interface in com.alexvasilkov.gestures.views
 
GestureView - Interface in com.alexvasilkov.gestures.views.interfaces
Common interface for all Gesture* views.
get(Matrix) - Method in class com.alexvasilkov.gestures.State
Applying state to provided matrix.
getController() - Method in class com.alexvasilkov.gestures.views.GestureFrameLayout
Returns GestureController which is a main engine for all gestures interactions.
getController() - Method in class com.alexvasilkov.gestures.views.GestureImageView
Returns GestureController which is a main engine for all gestures interactions.
getController() - Method in interface com.alexvasilkov.gestures.views.interfaces.GestureView
Returns GestureController which is a main engine for all gestures interactions.
getDuration() - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
 
getEffectiveMaxZoom() - Method in class com.alexvasilkov.gestures.StateController
 
getEffectiveMinZoom() - Method in class com.alexvasilkov.gestures.StateController
 
getEffectiveMovementArea(RectF, State) - Method in class com.alexvasilkov.gestures.StateController
Returns area in which State.getX() & State.getY() values can change.
getFitMethod() - Method in class com.alexvasilkov.gestures.Settings
 
getFromPos() - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
getFromView() - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
getGravity() - Method in class com.alexvasilkov.gestures.Settings
 
getIdForPosition(int) - Method in class com.alexvasilkov.gestures.transition.SimpleViewsTracker
 
getIdForPosition(int) - Method in interface com.alexvasilkov.gestures.transition.ViewsTracker
 
getImageH() - Method in class com.alexvasilkov.gestures.Settings
 
getImageW() - Method in class com.alexvasilkov.gestures.Settings
 
getItemPosition(Object) - Method in class com.alexvasilkov.gestures.views.utils.RecyclePagerAdapter
 
getMaxZoom() - Method in class com.alexvasilkov.gestures.Settings
 
getMovementAreaH() - Method in class com.alexvasilkov.gestures.Settings
 
getMovementAreaW() - Method in class com.alexvasilkov.gestures.Settings
 
getOverscrollDistanceX() - Method in class com.alexvasilkov.gestures.Settings
 
getOverscrollDistanceY() - Method in class com.alexvasilkov.gestures.Settings
 
getOverzoomFactor() - Method in class com.alexvasilkov.gestures.Settings
 
getPositionAnimator() - Method in class com.alexvasilkov.gestures.views.GestureFrameLayout
getPositionAnimator() - Method in class com.alexvasilkov.gestures.views.GestureImageView
getPositionAnimator() - Method in interface com.alexvasilkov.gestures.views.interfaces.AnimatorView
 
getPositionForId(Integer) - Method in class com.alexvasilkov.gestures.transition.SimpleViewsTracker
 
getPositionForId(ID) - Method in interface com.alexvasilkov.gestures.transition.ViewsTracker
 
getPositionState() - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
 
getRotation() - Method in class com.alexvasilkov.gestures.State
 
getSettings() - Method in class com.alexvasilkov.gestures.GestureController
Returns settings that can be updated.
getSnapshot(GestureImageView.OnSnapshotLoadedListener) - Method in class com.alexvasilkov.gestures.views.GestureImageView
Crops bitmap as it is seen inside movement area (Settings.setMovementArea(int, int)).
getState() - Method in class com.alexvasilkov.gestures.GestureController
Returns current state.
getStateController() - Method in class com.alexvasilkov.gestures.GestureController
Returns state controller that can be used externally.
getToView() - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
getViewForPosition(int) - Method in interface com.alexvasilkov.gestures.transition.ViewsTracker
 
getViewHolder(int) - Method in class com.alexvasilkov.gestures.views.utils.RecyclePagerAdapter
Returns ViewHolder for given position if it exists within ViewPager, or null otherwise
getViewportH() - Method in class com.alexvasilkov.gestures.Settings
 
getViewportW() - Method in class com.alexvasilkov.gestures.Settings
 
getX() - Method in class com.alexvasilkov.gestures.State
 
getY() - Method in class com.alexvasilkov.gestures.State
 
getZoom() - Method in class com.alexvasilkov.gestures.State
 

H

hashCode() - Method in class com.alexvasilkov.gestures.State
 
hasImageSize() - Method in class com.alexvasilkov.gestures.Settings
 
hasViewportSize() - Method in class com.alexvasilkov.gestures.Settings
 

I

image - Variable in class com.alexvasilkov.gestures.animation.ViewPosition
 
instantiateItem(ViewGroup, int) - Method in class com.alexvasilkov.gestures.views.utils.RecyclePagerAdapter
 
interpolate(State, State, State, float) - Static method in class com.alexvasilkov.gestures.StateController
Interpolates from start state to end state by given factor (from 0 to 1), storing result into out state.
interpolate(State, State, float, float, State, float, float, float) - Static method in class com.alexvasilkov.gestures.StateController
Interpolates from start state to end state by given factor (from 0 to 1), storing result into out state.
interpolate(float, float, float) - Static method in class com.alexvasilkov.gestures.StateController
 
intoViewPager(ViewPager, ViewsTracker<ID>) - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionBuilder
 
invalidateChildInParent(int[], Rect) - Method in class com.alexvasilkov.gestures.views.GestureFrameLayout
 
isAnimating() - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
Whether view position animation is in progress or not.
isDoubleTapEnabled() - Method in class com.alexvasilkov.gestures.Settings
 
isEmpty() - Method in class com.alexvasilkov.gestures.State
 
isEnabled() - Method in class com.alexvasilkov.gestures.Settings
Whether at least one of pan, zoom, rotation or double tap are enabled or not
isFillViewport() - Method in class com.alexvasilkov.gestures.Settings
 
isGesturesEnabled() - Method in class com.alexvasilkov.gestures.Settings
 
isLeaving() - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
 
isLeaving() - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionAnimator
 
isPanEnabled() - Method in class com.alexvasilkov.gestures.Settings
 
isRestrictBounds() - Method in class com.alexvasilkov.gestures.Settings
 
isRotationEnabled() - Method in class com.alexvasilkov.gestures.Settings
 
isViewFromObject(View, Object) - Method in class com.alexvasilkov.gestures.views.utils.RecyclePagerAdapter
 
isZoomEnabled() - Method in class com.alexvasilkov.gestures.Settings
 
itemView - Variable in class com.alexvasilkov.gestures.views.utils.RecyclePagerAdapter.ViewHolder
 

M

MAX_ZOOM - Static variable in class com.alexvasilkov.gestures.Settings
 

N

newInstance() - Static method in class com.alexvasilkov.gestures.animation.ViewPosition
 
NO_POSITION - Static variable in interface com.alexvasilkov.gestures.transition.ViewsTracker
 
notifyStateReset() - Method in class com.alexvasilkov.gestures.GestureController
 
notifyStateUpdated() - Method in class com.alexvasilkov.gestures.GestureController
 

O

onBindViewHolder(VH, int) - Method in class com.alexvasilkov.gestures.views.utils.RecyclePagerAdapter
 
onCreateViewHolder(ViewGroup) - Method in class com.alexvasilkov.gestures.views.utils.RecyclePagerAdapter
 
onDoubleTap(MotionEvent) - Method in interface com.alexvasilkov.gestures.GestureController.OnGestureListener
See GestureDetector.OnDoubleTapListener#onDoubleTap(MotionEvent)
onDoubleTap(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController.SimpleOnGestureListener
See GestureDetector.OnDoubleTapListener#onDoubleTap(MotionEvent)
onDoubleTapEvent(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController
 
onDoubleTapEvent(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureControllerForPager
 
onDown(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController
 
onDown(MotionEvent) - Method in interface com.alexvasilkov.gestures.GestureController.OnGestureListener
See GestureDetector.OnGestureListener#onDown(MotionEvent)
onDown(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController.SimpleOnGestureListener
See GestureDetector.OnGestureListener#onDown(MotionEvent)
onDown(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureControllerForPager
 
onFling(MotionEvent, MotionEvent, float, float) - Method in class com.alexvasilkov.gestures.GestureController
 
onFling(MotionEvent, MotionEvent, float, float) - Method in class com.alexvasilkov.gestures.GestureControllerForPager
 
onFlingAnimationFinished() - Method in class com.alexvasilkov.gestures.GestureController
 
onFlingScroll(float, float, float, float) - Method in class com.alexvasilkov.gestures.GestureController
 
onLayout(boolean, int, int, int, int) - Method in class com.alexvasilkov.gestures.views.GestureFrameLayout
 
onLongPress(MotionEvent) - Method in interface com.alexvasilkov.gestures.GestureController.OnGestureListener
See GestureDetector.OnGestureListener#onLongPress(MotionEvent).
onLongPress(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController
 
onLongPress(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController.SimpleOnGestureListener
See GestureDetector.OnGestureListener#onLongPress(MotionEvent).
onPositionUpdate(float, boolean) - Method in interface com.alexvasilkov.gestures.animation.ViewPositionAnimator.PositionUpdateListener
 
onPostDraw(Canvas) - Method in class com.alexvasilkov.gestures.views.utils.ViewClipHelper
 
onPreDraw(Canvas) - Method in class com.alexvasilkov.gestures.views.utils.ViewClipHelper
 
onRecycleViewHolder(VH) - Method in class com.alexvasilkov.gestures.views.utils.RecyclePagerAdapter
 
onRequestView(ID) - Method in interface com.alexvasilkov.gestures.transition.ViewsCoordinator.OnRequestViewListener
Implementation should find corresponding View (or ViewPosition) for given index and provide it back to ViewsCoordinator.
onRotate(RotationGestureDetector) - Method in class com.alexvasilkov.gestures.GestureController
 
onRotationBegin(RotationGestureDetector) - Method in class com.alexvasilkov.gestures.GestureController
 
onRotationBegin(RotationGestureDetector) - Method in class com.alexvasilkov.gestures.GestureControllerForPager
 
onRotationEnd(RotationGestureDetector) - Method in class com.alexvasilkov.gestures.GestureController
 
onScale(ScaleGestureDetector) - Method in class com.alexvasilkov.gestures.GestureController
 
onScaleBegin(ScaleGestureDetector) - Method in class com.alexvasilkov.gestures.GestureController
 
onScaleBegin(ScaleGestureDetector) - Method in class com.alexvasilkov.gestures.GestureControllerForPager
 
onScaleEnd(ScaleGestureDetector) - Method in class com.alexvasilkov.gestures.GestureController
 
onScroll(MotionEvent, MotionEvent, float, float) - Method in class com.alexvasilkov.gestures.GestureController
 
onScroll(MotionEvent, MotionEvent, float, float) - Method in class com.alexvasilkov.gestures.GestureControllerForPager
 
onSingleTapConfirmed(MotionEvent) - Method in interface com.alexvasilkov.gestures.GestureController.OnGestureListener
See GestureDetector.OnDoubleTapListener#onSingleTapConfirmed(MotionEvent)
onSingleTapConfirmed(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController
 
onSingleTapConfirmed(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController.SimpleOnGestureListener
See GestureDetector.OnDoubleTapListener#onSingleTapConfirmed(MotionEvent)
onSingleTapUp(MotionEvent) - Method in interface com.alexvasilkov.gestures.GestureController.OnGestureListener
See GestureDetector.OnGestureListener#onSingleTapUp(MotionEvent)
onSingleTapUp(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController
 
onSingleTapUp(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController.SimpleOnGestureListener
See GestureDetector.OnGestureListener#onSingleTapUp(MotionEvent)
onSizeChanged(int, int, int, int) - Method in class com.alexvasilkov.gestures.views.GestureFrameLayout
 
onSizeChanged(int, int, int, int) - Method in class com.alexvasilkov.gestures.views.GestureImageView
 
onSnapshotLoaded(Bitmap) - Method in interface com.alexvasilkov.gestures.views.GestureImageView.OnSnapshotLoadedListener
 
onStateAnimationFinished() - Method in class com.alexvasilkov.gestures.GestureController
 
onStateChanged(State) - Method in interface com.alexvasilkov.gestures.GestureController.OnStateChangeListener
 
onStateReset(State, State) - Method in interface com.alexvasilkov.gestures.GestureController.OnStateChangeListener
 
onTouch(View, MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController
 
onTouch(View, MotionEvent) - Method in class com.alexvasilkov.gestures.GestureControllerForPager
 
onTouchEvent(MotionEvent) - Method in class com.alexvasilkov.gestures.views.GestureFrameLayout
 
onTouchEvent(MotionEvent) - Method in class com.alexvasilkov.gestures.views.GestureImageView
 
onUpOrCancel(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureController
 
onUpOrCancel(MotionEvent) - Method in class com.alexvasilkov.gestures.GestureControllerForPager
 
onViewsReady(ID) - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
Called when both 'from' and 'to' views are ready for given index.
onViewsReady(ID) - Method in interface com.alexvasilkov.gestures.transition.ViewsCoordinator.OnViewsReadyListener
Will be called when both 'from' and 'to' views for given item index are ready.
onViewsReady(ID) - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionAnimator
 
OVERZOOM_FACTOR - Static variable in class com.alexvasilkov.gestures.Settings
 

P

pack() - Method in class com.alexvasilkov.gestures.animation.ViewPosition
Packs this ViewPosition into string, which can be passed i.e.

R

RecyclePagerAdapter<VH extends RecyclePagerAdapter.ViewHolder> - Class in com.alexvasilkov.gestures.views.utils
PagerAdapter implementation where each page is a regular view.
RecyclePagerAdapter() - Constructor for class com.alexvasilkov.gestures.views.utils.RecyclePagerAdapter
 
RecyclePagerAdapter.ViewHolder - Class in com.alexvasilkov.gestures.views.utils
 
removeOnStateChangeListener(GestureController.OnStateChangeListener) - Method in class com.alexvasilkov.gestures.GestureController
Removes listener for state changes.
removePositionUpdateListener(ViewPositionAnimator.PositionUpdateListener) - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
removePositionUpdateListener(ViewPositionAnimator.PositionUpdateListener) - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionAnimator
request(ID) - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
resetState() - Method in class com.alexvasilkov.gestures.GestureController
Resets to initial state (default position, min zoom level) and notifies GestureController.OnStateChangeListener listeners.
restrict(float, float, float) - Static method in class com.alexvasilkov.gestures.StateController
 
rotateBy(float, float, float) - Method in class com.alexvasilkov.gestures.State
 
rotateTo(float, float, float) - Method in class com.alexvasilkov.gestures.State
 

S

set(ViewPosition) - Method in class com.alexvasilkov.gestures.animation.ViewPosition
 
set(float, float, float, float) - Method in class com.alexvasilkov.gestures.State
 
set(Matrix) - Method in class com.alexvasilkov.gestures.State
Applying state from given matrix.
set(State) - Method in class com.alexvasilkov.gestures.State
 
setDoubleTapEnabled(boolean) - Method in class com.alexvasilkov.gestures.Settings
Sets whether zooming by double tap is enabled or not.
setDuration(long) - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
 
setFillViewport(boolean) - Method in class com.alexvasilkov.gestures.Settings
If set to true small image will be scaled to fit entire viewport (or entire movement area if it was set) even if this will require zoom level above max zoom level.
setFitMethod(Settings.Fit) - Method in class com.alexvasilkov.gestures.Settings
Setting image fitting method within viewport area.
setFromListener(ViewsCoordinator.OnRequestViewListener<ID>) - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
setFromPos(ID, ViewPosition) - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
setFromPos(ID, ViewPosition) - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionAnimator
 
setFromView(ID, View) - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
setFromView(ID, View) - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionAnimator
 
setGravity(int) - Method in class com.alexvasilkov.gestures.Settings
Setting image gravity inside viewport area.
setImage(int, int) - Method in class com.alexvasilkov.gestures.Settings
Setting full image size.
setImageDrawable(Drawable) - Method in class com.alexvasilkov.gestures.views.GestureImageView
 
setImageResource(int) - Method in class com.alexvasilkov.gestures.views.GestureImageView
 
setLongPressEnabled(boolean) - Method in class com.alexvasilkov.gestures.GestureController
Sets whether long press is enabled or not.
setMaxZoom(float) - Method in class com.alexvasilkov.gestures.Settings
Setting max zoom level.
setMovementArea(int, int) - Method in class com.alexvasilkov.gestures.Settings
Setting movement area size.
setOnGesturesListener(GestureController.OnGestureListener) - Method in class com.alexvasilkov.gestures.GestureController
Sets listener for basic touch events.
setOverscrollDistance(float, float) - Method in class com.alexvasilkov.gestures.Settings
Setting overscroll distance in pixels.
setOverscrollDistance(Context, float, float) - Method in class com.alexvasilkov.gestures.Settings
Same as Settings.setOverscrollDistance(float, float) but accepts distance in DP
setOverzoomFactor(float) - Method in class com.alexvasilkov.gestures.Settings
Setting overzoom factor.
setPanEnabled(boolean) - Method in class com.alexvasilkov.gestures.Settings
Sets whether panning is enabled or not.
setReadyListener(ViewsCoordinator.OnViewsReadyListener<ID>) - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
setRestrictBounds(boolean) - Method in class com.alexvasilkov.gestures.Settings
Sets whether image transformations should be kept in bounds or not.
setRotationEnabled(boolean) - Method in class com.alexvasilkov.gestures.Settings
Sets whether rotation gesture is enabled or not.
setState(float, boolean, boolean) - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
Stops current animation and sets position state to particular values.
Settings - Class in com.alexvasilkov.gestures
Various settings needed for GestureController and for StateController.
Settings.Fit - Enum in com.alexvasilkov.gestures
 
setToListener(ViewsCoordinator.OnRequestViewListener<ID>) - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
setToView(ID, AnimatorView) - Method in class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
setToView(ID, AnimatorView) - Method in class com.alexvasilkov.gestures.transition.ViewsTransitionAnimator
 
setViewport(int, int) - Method in class com.alexvasilkov.gestures.Settings
Setting viewport size.
setZoomEnabled(boolean) - Method in class com.alexvasilkov.gestures.Settings
Sets whether zooming is enabled or not.
SimpleOnGestureListener() - Constructor for class com.alexvasilkov.gestures.GestureController.SimpleOnGestureListener
 
SimpleViewsTracker - Class in com.alexvasilkov.gestures.transition
 
SimpleViewsTracker() - Constructor for class com.alexvasilkov.gestures.transition.SimpleViewsTracker
 
State - Class in com.alexvasilkov.gestures
Represents 2d transformation state
State() - Constructor for class com.alexvasilkov.gestures.State
 
StateController - Class in com.alexvasilkov.gestures
Helper class that holds reference to Settings object and controls some aspects of view State, such as movement bounds restrictions (see StateController.getEffectiveMovementArea(RectF, State)) and dynamic min / max zoom levels (see StateController.getEffectiveMinZoom() and StateController.getEffectiveMaxZoom()).
stopAllAnimations() - Method in class com.alexvasilkov.gestures.GestureController
 
stopAnimation() - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
Stops current animation, if any.
stopFlingAnimation() - Method in class com.alexvasilkov.gestures.GestureController
 
stopStateAnimation() - Method in class com.alexvasilkov.gestures.GestureController
 

T

toString() - Method in class com.alexvasilkov.gestures.State
 
translateBy(float, float) - Method in class com.alexvasilkov.gestures.State
 
translateTo(float, float) - Method in class com.alexvasilkov.gestures.State
 

U

unpack(String) - Static method in class com.alexvasilkov.gestures.animation.ViewPosition
Restores ViewPosition from the string created by ViewPosition.pack() method.
update(View) - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
Updates initial view in case it was changed.
update(ViewPosition) - Method in class com.alexvasilkov.gestures.animation.ViewPositionAnimator
Updates position of initial view in case it was changed.
updateState() - Method in class com.alexvasilkov.gestures.GestureController
Applies state restrictions and notifies GestureController.OnStateChangeListener listeners.

V

valueOf(String) - Static method in enum com.alexvasilkov.gestures.Settings.Fit
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.alexvasilkov.gestures.Settings.Fit
Returns an array containing the constants of this enum type, in the order they are declared.
view - Variable in class com.alexvasilkov.gestures.animation.ViewPosition
 
ViewClipHelper - Class in com.alexvasilkov.gestures.views.utils
 
ViewClipHelper(View) - Constructor for class com.alexvasilkov.gestures.views.utils.ViewClipHelper
 
ViewHolder(View) - Constructor for class com.alexvasilkov.gestures.views.utils.RecyclePagerAdapter.ViewHolder
 
viewport - Variable in class com.alexvasilkov.gestures.animation.ViewPosition
 
ViewPosition - Class in com.alexvasilkov.gestures.animation
Helper class to compute and store view position used for transitions.
ViewPositionAnimator - Class in com.alexvasilkov.gestures.animation
Helper class to animate views from one position on screen to another.
ViewPositionAnimator(GestureView) - Constructor for class com.alexvasilkov.gestures.animation.ViewPositionAnimator
 
ViewPositionAnimator.PositionUpdateListener - Interface in com.alexvasilkov.gestures.animation
 
ViewsCoordinator<ID> - Class in com.alexvasilkov.gestures.transition
Main purpose of this class is to synchronize views of same item in two different sources to correctly start or update view transition animation.
ViewsCoordinator() - Constructor for class com.alexvasilkov.gestures.transition.ViewsCoordinator
 
ViewsCoordinator.OnRequestViewListener<ID> - Interface in com.alexvasilkov.gestures.transition
 
ViewsCoordinator.OnViewsReadyListener<ID> - Interface in com.alexvasilkov.gestures.transition
 
ViewsTracker<ID> - Interface in com.alexvasilkov.gestures.transition
 
ViewsTransitionAnimator<ID> - Class in com.alexvasilkov.gestures.transition
Extension of ViewsCoordinator that allows requesting ViewsTransitionAnimator.enter(Object, boolean) or ViewsTransitionAnimator.exit(boolean) animations, keeps track of ViewPositionAnimator.PositionUpdateListener listeners and provides correct implementation of ViewsTransitionAnimator.isLeaving().
ViewsTransitionAnimator() - Constructor for class com.alexvasilkov.gestures.transition.ViewsTransitionAnimator
 
ViewsTransitionBuilder<ID> - Class in com.alexvasilkov.gestures.transition
 
ViewsTransitionBuilder() - Constructor for class com.alexvasilkov.gestures.transition.ViewsTransitionBuilder
 

Z

zoomBy(float, float, float) - Method in class com.alexvasilkov.gestures.State
 
zoomTo(float, float, float) - Method in class com.alexvasilkov.gestures.State
 
A B C D E F G H I M N O P R S T U V Z 
Skip navigation links