New features
New gesture recognizers for drag, scale, and rotate.
Source changes
API changes
Auto-generated by running:
apidiff origin/stable release-candidate android library
DragGestureRecognizer
new class: DragGestureRecognizer
new constructor: DragGestureRecognizer()
new field: int dragSlop
new method: float getTranslationX()
new method: float getTranslationY()
new method: float getUntransformedCentroidX()
new method: float getUntransformedCentroidY()
new method: float getVelocityX()
new method: float getVelocityY()
new method: boolean onTouchEvent(MotionEvent)
new method: void setElement(View)
GestureRecognizer
new abstract class: GestureRecognizer
new constructor: GestureRecognizer()
new static final field: int BEGAN
new static final field: int CANCELLED
new static final field: int CHANGED
new static final field: int POSSIBLE
new static final field: int RECOGNIZED
new method: void addStateChangeListener(GestureStateChangeListener)
new final method: float getCentroidX()
new final method: float getCentroidY()
new method: View getElement()
new method: int getState()
new static method: void getTransformationMatrix(View, Matrix, Matrix)
new abstract method: float getUntransformedCentroidX()
new abstract method: float getUntransformedCentroidY()
new abstract method: boolean onTouchEvent(MotionEvent)
new method: void removeStateChangeListener(GestureStateChangeListener)
new method: void setElement(View)
GestureRecognizerState
new annotation: @GestureRecognizerState
GestureStateChangeListener
new interface: GestureStateChangeListener
new method: void onStateChanged(GestureRecognizer)
Library
removed class: Library
removed constructor: Library()
removed static final field: String LIBRARY_NAME
RotateGestureRecognizer
new class: RotateGestureRecognizer
new constructor: RotateGestureRecognizer()
new field: float rotateSlop
new method: float getRotation()
new method: float getUntransformedCentroidX()
new method: float getUntransformedCentroidY()
new method: float getVelocity()
new method: boolean onTouchEvent(MotionEvent)
new method: void setElement(View)
ScaleGestureRecognizer
new class: ScaleGestureRecognizer
new constructor: ScaleGestureRecognizer()
new field: int scaleSlop
new method: float getScale()
new method: float getUntransformedCentroidX()
new method: float getUntransformedCentroidY()
new method: float getVelocity()
new method: boolean onTouchEvent(MotionEvent)
new method: void setElement(View)
AccumulationType
new annotation: @AccumulationType
SimulatedGestureRecognizer
new class: SimulatedGestureRecognizer
new constructor: SimulatedGestureRecognizer(View)
new method: float getUntransformedCentroidX()
new method: float getUntransformedCentroidY()
new method: boolean onTouchEvent(MotionEvent)
new method: void setState(int)
Non-source changes
- Automatic changelog preparation for release. (Mark Wei)