A B C D F G I L M O P R S T U W 

A

addAllValues(Collection<Double>) - Method in class com.facebook.rebound.AnimationQueue
Add a collection of values to the pending animation value queue
addCallback(AnimationQueue.Callback) - Method in class com.facebook.rebound.AnimationQueue
Add a callback to the AnimationQueue.
addListener(SpringSystemListener) - Method in class com.facebook.rebound.BaseSpringSystem
listeners
addListener(SpringListener) - Method in class com.facebook.rebound.Spring
add a listener
addSpring(SpringListener) - Method in class com.facebook.rebound.SpringChain
Add a spring to the chain that will callback to the provided listener.
addSpringConfig(SpringConfig, String) - Method in class com.facebook.rebound.SpringConfigRegistry
add a SpringConfig to the registry
addValue(Double) - Method in class com.facebook.rebound.AnimationQueue
Add a single value to the pending animation queue.
AnimationQueue - Class in com.facebook.rebound
AnimationQueue provides a way to trigger a delayed stream of animations off of a stream of values.
AnimationQueue() - Constructor for class com.facebook.rebound.AnimationQueue
 
AnimationQueue.Callback - Interface in com.facebook.rebound
AnimationQueue.Callback receives the value from the stream that it should use in its onFrame method.

B

BaseSpringSystem - Class in com.facebook.rebound
BaseSpringSystem maintains the set of springs within an Application context.
BaseSpringSystem(SpringLooper) - Constructor for class com.facebook.rebound.BaseSpringSystem
create a new BaseSpringSystem
BouncyConversion - Class in com.facebook.rebound
This class converts values from the Quartz Composer Bouncy patch into Bouncy QC tension and friction values.
BouncyConversion(double, double) - Constructor for class com.facebook.rebound.BouncyConversion
 

C

ChoreographerCompat - Class in com.facebook.rebound
Wrapper class for abstracting away availability of the JellyBean Choreographer.
ChoreographerCompat.FrameCallback - Class in com.facebook.rebound
This class provides a compatibility wrapper around the JellyBean FrameCallback with methods to access cached wrappers for submitting a real FrameCallback to a Choreographer or a Runnable to a Handler.
ChoreographerCompat.FrameCallback() - Constructor for class com.facebook.rebound.ChoreographerCompat.FrameCallback
 
clamp(double, double, double) - Static method in class com.facebook.rebound.SpringUtil
Clamp a value to be within the provided range.
clearCallbacks() - Method in class com.facebook.rebound.AnimationQueue
Remove any callbacks from the AnimationQueue.
clearValues() - Method in class com.facebook.rebound.AnimationQueue
Clear all pending animation values.
com.facebook.rebound - package com.facebook.rebound
 
com.facebook.rebound.ui - package com.facebook.rebound.ui
 
create() - Static method in class com.facebook.rebound.SpringChain
Factory method for creating a new SpringChain with default SpringConfig.
create(int, int, int, int) - Static method in class com.facebook.rebound.SpringChain
Factory method for creating a new SpringChain with the provided SpringConfig.
create() - Static method in class com.facebook.rebound.SpringSystem
Create a new SpringSystem providing the appropriate constructor parameters to work properly in an Android environment.
createLayoutParams(int, int) - Static method in class com.facebook.rebound.ui.Util
 
createMatchParams() - Static method in class com.facebook.rebound.ui.Util
 
createMatchWrapParams() - Static method in class com.facebook.rebound.ui.Util
 
createSpring() - Method in class com.facebook.rebound.BaseSpringSystem
create a spring with a random uuid for its name.
createWrapMatchParams() - Static method in class com.facebook.rebound.ui.Util
 
createWrapParams() - Static method in class com.facebook.rebound.ui.Util
 
currentValueIsApproximately(double) - Method in class com.facebook.rebound.Spring
This method checks to see that the current spring displacement value is equal to the input, accounting for the spring's rest displacement threshold.

D

defaultConfig - Static variable in class com.facebook.rebound.SpringConfig
 
destroy() - Method in class com.facebook.rebound.Spring
Destroys this Spring, meaning that it will be deregistered from its BaseSpringSystem so it won't be iterated anymore and will clear its set of listeners.
destroy() - Method in class com.facebook.rebound.ui.SpringConfiguratorView
remove the configurator from its parent and clean up springs and listeners
doFrame(long) - Method in class com.facebook.rebound.ChoreographerCompat.FrameCallback
 
dpToPx(float, Resources) - Static method in class com.facebook.rebound.ui.Util
 

F

friction - Variable in class com.facebook.rebound.SpringConfig
 
frictionFromOrigamiValue(double) - Static method in class com.facebook.rebound.OrigamiValueConverter
 
fromBouncinessAndSpeed(double, double) - Static method in class com.facebook.rebound.SpringConfig
Map values from the Origami POP Animation patch, which are based on a bounciness and speed value.
fromOrigamiTensionAndFriction(double, double) - Static method in class com.facebook.rebound.SpringConfig
A helper to make creating a SpringConfig easier with values mapping to the Origami values.

G

getAllSpringConfig() - Method in class com.facebook.rebound.SpringConfigRegistry
retrieve all SpringConfig in the registry
getAllSprings() - Method in class com.facebook.rebound.BaseSpringSystem
return all the springs in the simulator
getAllSprings() - Method in class com.facebook.rebound.SpringChain
Retrieve the list of springs in the chain.
getAttachmentSpringConfig() - Method in class com.facebook.rebound.SpringChain
 
getBounciness() - Method in class com.facebook.rebound.BouncyConversion
 
getBouncyFriction() - Method in class com.facebook.rebound.BouncyConversion
 
getBouncyTension() - Method in class com.facebook.rebound.BouncyConversion
 
getControlSpring() - Method in class com.facebook.rebound.SpringChain
Retrieve the control spring so you can manipulate it to drive the positions of the other springs.
getCurrentDisplacementDistance() - Method in class com.facebook.rebound.Spring
get the displacement of the springs current value from its rest value.
getCurrentValue() - Method in class com.facebook.rebound.Spring
Get the current
getEndValue() - Method in class com.facebook.rebound.Spring
get the rest value used for determining the displacement of the spring
getId() - Method in class com.facebook.rebound.Spring
get the unique id for this spring
getInstance() - Static method in class com.facebook.rebound.ChoreographerCompat
 
getInstance() - Static method in class com.facebook.rebound.SpringConfigRegistry
 
getIsIdle() - Method in class com.facebook.rebound.BaseSpringSystem
check if the system is idle
getMainSpringConfig() - Method in class com.facebook.rebound.SpringChain
 
getRestDisplacementThreshold() - Method in class com.facebook.rebound.Spring
get the threshold of displacement from rest below which the spring should be considered at rest
getRestSpeedThreshold() - Method in class com.facebook.rebound.Spring
Returns the speed at which the spring should be considered at rest in pixels per second
getSpeed() - Method in class com.facebook.rebound.BouncyConversion
 
getSpringById(String) - Method in class com.facebook.rebound.BaseSpringSystem
get a spring by name
getSpringConfig() - Method in class com.facebook.rebound.Spring
retrieve the spring config for this spring
getStartValue() - Method in class com.facebook.rebound.Spring
Get the displacement value from the last time setCurrentValue was called.
getTimeStep() - Method in class com.facebook.rebound.SynchronousLooper
 
getVelocity() - Method in class com.facebook.rebound.Spring
get the velocity of the spring

I

isAtRest() - Method in class com.facebook.rebound.Spring
check if the current state is at rest
isOvershootClampingEnabled() - Method in class com.facebook.rebound.Spring
Check if overshoot clamping is enabled.
isOvershooting() - Method in class com.facebook.rebound.Spring
Check if the spring is overshooting beyond its target.

L

loop(double) - Method in class com.facebook.rebound.BaseSpringSystem
loop the system until idle

M

mapValueFromRangeToRange(double, double, double, double, double) - Static method in class com.facebook.rebound.SpringUtil
Map a value within a given range to another range.
mSpringSystem - Variable in class com.facebook.rebound.SpringLooper
 

O

onAfterIntegrate(BaseSpringSystem) - Method in interface com.facebook.rebound.SpringSystemListener
Runs after each pass through the physics integration loop providing an opportunity to do any setup or alterations to the Physics state after integrating.
onBeforeIntegrate(BaseSpringSystem) - Method in interface com.facebook.rebound.SpringSystemListener
Runs before each pass through the physics integration loop providing an opportunity to do any setup or alterations to the Physics state before integrating.
onFrame(Double) - Method in interface com.facebook.rebound.AnimationQueue.Callback
 
onSpringActivate(Spring) - Method in class com.facebook.rebound.SimpleSpringListener
 
onSpringActivate(Spring) - Method in class com.facebook.rebound.SpringChain
 
onSpringActivate(Spring) - Method in interface com.facebook.rebound.SpringListener
called whenever the spring leaves its resting state
onSpringAtRest(Spring) - Method in class com.facebook.rebound.SimpleSpringListener
 
onSpringAtRest(Spring) - Method in class com.facebook.rebound.SpringChain
 
onSpringAtRest(Spring) - Method in interface com.facebook.rebound.SpringListener
called whenever the spring achieves a resting state
onSpringEndStateChange(Spring) - Method in class com.facebook.rebound.SimpleSpringListener
 
onSpringEndStateChange(Spring) - Method in class com.facebook.rebound.SpringChain
 
onSpringEndStateChange(Spring) - Method in interface com.facebook.rebound.SpringListener
called whenever the spring notifies of displacement state changes
onSpringUpdate(Spring) - Method in class com.facebook.rebound.SimpleSpringListener
 
onSpringUpdate(Spring) - Method in class com.facebook.rebound.SpringChain
 
onSpringUpdate(Spring) - Method in interface com.facebook.rebound.SpringListener
called whenever the spring is updated
OrigamiValueConverter - Class in com.facebook.rebound
Helper math util to convert tension & friction values from the Origami design tool to values that the spring system needs.
OrigamiValueConverter() - Constructor for class com.facebook.rebound.OrigamiValueConverter
 
origamiValueFromFriction(double) - Static method in class com.facebook.rebound.OrigamiValueConverter
 
origamiValueFromTension(double) - Static method in class com.facebook.rebound.OrigamiValueConverter
 

P

postFrameCallback(ChoreographerCompat.FrameCallback) - Method in class com.facebook.rebound.ChoreographerCompat
 
postFrameCallbackDelayed(ChoreographerCompat.FrameCallback, long) - Method in class com.facebook.rebound.ChoreographerCompat
 

R

refreshSpringConfigurations() - Method in class com.facebook.rebound.ui.SpringConfiguratorView
reload the springs from the registry and update the UI
removeAllListeners() - Method in class com.facebook.rebound.BaseSpringSystem
 
removeAllListeners() - Method in class com.facebook.rebound.Spring
remove all of the listeners
removeAllSpringConfig() - Method in class com.facebook.rebound.SpringConfigRegistry
clear all SpringConfig in the registry
removeCallback(AnimationQueue.Callback) - Method in class com.facebook.rebound.AnimationQueue
Remove the specified callback from the AnimationQueue.
removeFrameCallback(ChoreographerCompat.FrameCallback) - Method in class com.facebook.rebound.ChoreographerCompat
 
removeListener(SpringSystemListener) - Method in class com.facebook.rebound.BaseSpringSystem
 
removeListener(SpringListener) - Method in class com.facebook.rebound.Spring
remove a listener
removeSpringConfig(SpringConfig) - Method in class com.facebook.rebound.SpringConfigRegistry
remove a specific SpringConfig from the registry

S

setAtRest() - Method in class com.facebook.rebound.Spring
Set the spring to be at rest by making its end value equal to its current value and setting velocity to 0.
setControlSpringIndex(int) - Method in class com.facebook.rebound.SpringChain
Set the index of the control spring.
setCurrentValue(double) - Method in class com.facebook.rebound.Spring
Set the displaced value to determine the displacement for the spring from the rest value.
setCurrentValue(double, boolean) - Method in class com.facebook.rebound.Spring
The full signature for setCurrentValue includes the option of not setting the spring at rest after updating its currentValue.
setEndValue(double) - Method in class com.facebook.rebound.Spring
set the rest value to determine the displacement for the spring
setOvershootClampingEnabled(boolean) - Method in class com.facebook.rebound.Spring
Force the spring to clamp at its end value to avoid overshooting the target value.
setRestDisplacementThreshold(double) - Method in class com.facebook.rebound.Spring
set the threshold of displacement from rest below which the spring should be considered at rest
setRestSpeedThreshold(double) - Method in class com.facebook.rebound.Spring
Sets the speed at which the spring should be considered at rest.
setSpringConfig(SpringConfig) - Method in class com.facebook.rebound.Spring
set the config class
setSpringSystem(BaseSpringSystem) - Method in class com.facebook.rebound.SpringLooper
Set the BaseSpringSystem that the SpringLooper will call back to.
setTimeStep(double) - Method in class com.facebook.rebound.SynchronousLooper
 
setVelocity(double) - Method in class com.facebook.rebound.Spring
set the velocity on the spring in pixels per second
SimpleSpringListener - Class in com.facebook.rebound
 
SimpleSpringListener() - Constructor for class com.facebook.rebound.SimpleSpringListener
 
SIXTY_FPS - Static variable in class com.facebook.rebound.SynchronousLooper
 
Spring - Class in com.facebook.rebound
Classical spring implementing Hooke's law with configurable friction and tension.
SpringChain - Class in com.facebook.rebound
SpringChain is a helper class for creating spring animations with multiple springs in a chain.
SpringConfig - Class in com.facebook.rebound
Data structure for storing spring configuration.
SpringConfig(double, double) - Constructor for class com.facebook.rebound.SpringConfig
constructor for the SpringConfig
SpringConfigRegistry - Class in com.facebook.rebound
class for maintaining a registry of all spring configs
SpringConfiguratorView - Class in com.facebook.rebound.ui
The SpringConfiguratorView provides a reusable view for live-editing all registered springs within an Application.
SpringConfiguratorView(Context) - Constructor for class com.facebook.rebound.ui.SpringConfiguratorView
 
SpringConfiguratorView(Context, AttributeSet) - Constructor for class com.facebook.rebound.ui.SpringConfiguratorView
 
SpringConfiguratorView(Context, AttributeSet, int) - Constructor for class com.facebook.rebound.ui.SpringConfiguratorView
 
SpringListener - Interface in com.facebook.rebound
 
SpringLooper - Class in com.facebook.rebound
The spring looper is an interface for implementing platform-dependent run loops.
SpringLooper() - Constructor for class com.facebook.rebound.SpringLooper
 
SpringSystem - Class in com.facebook.rebound
This is a wrapper for BaseSpringSystem that provides the convenience of automatically providing the AndroidSpringLooper dependency in SpringSystem.create().
SpringSystemListener - Interface in com.facebook.rebound
SpringSystemListener provides an interface for listening to events before and after each Physics solving loop the BaseSpringSystem runs.
SpringUtil - Class in com.facebook.rebound
 
SpringUtil() - Constructor for class com.facebook.rebound.SpringUtil
 
start() - Method in class com.facebook.rebound.SpringLooper
The BaseSpringSystem has requested that the looper begins running this Runnable on every frame.
start() - Method in class com.facebook.rebound.SteppingLooper
 
start() - Method in class com.facebook.rebound.SynchronousLooper
 
step(long) - Method in class com.facebook.rebound.SteppingLooper
 
SteppingLooper - Class in com.facebook.rebound
 
SteppingLooper() - Constructor for class com.facebook.rebound.SteppingLooper
 
stop() - Method in class com.facebook.rebound.SpringLooper
The looper will no longer run the Runnable.
stop() - Method in class com.facebook.rebound.SteppingLooper
 
stop() - Method in class com.facebook.rebound.SynchronousLooper
 
SynchronousLooper - Class in com.facebook.rebound
 
SynchronousLooper() - Constructor for class com.facebook.rebound.SynchronousLooper
 
systemShouldAdvance() - Method in class com.facebook.rebound.Spring
Check if this spring should be advanced by the system.

T

tension - Variable in class com.facebook.rebound.SpringConfig
 
tensionFromOrigamiValue(double) - Static method in class com.facebook.rebound.OrigamiValueConverter
 

U

Util - Class in com.facebook.rebound.ui
Utilities for generating view hierarchies without using resources.
Util() - Constructor for class com.facebook.rebound.ui.Util
 

W

wasAtRest() - Method in class com.facebook.rebound.Spring
Check if the spring was at rest in the prior iteration.
A B C D F G I L M O P R S T U W