public interface TransitionGenerator
| Modifier and Type | Method and Description |
|---|---|
Transition |
generateNextTransition(android.graphics.RectF drawableBounds,
android.graphics.RectF viewport)
Generates the next transition to be played by the
SampleImage. |
Transition generateNextTransition(android.graphics.RectF drawableBounds, android.graphics.RectF viewport)
SampleImage.drawableBounds - the bounds of the drawable to be shown in the SampleImage.viewport - the rect that represents the viewport where
the transition will be played in. This is usually the bounds of the
SampleImage.Transition object to be played by the SampleImage.