This repository has been archived by the owner on Aug 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mark Wei
committed
Dec 4, 2016
1 parent
d0a177c
commit 568d406
Showing
1 changed file
with
166 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,167 @@ | ||
# release-candidate | ||
# 1.0.0 | ||
|
||
TODO: Enumerate changes. | ||
## New features | ||
|
||
New gesture recognizers for drag, scale, and rotate. | ||
|
||
## Source changes | ||
|
||
* [Move gesture recognizers out from direct-manipulation-android into its own repo.](https://github.com/material-motion/gestures-android/commit/25c61043d739ab1440cff59624bb137c9cbd6514) (Mark Wei) | ||
|
||
## 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.](https://github.com/material-motion/gestures-android/commit/d0a177c370d004378e2d1b417de3f16885a4f344) (Mark Wei) |