summaryrefslogtreecommitdiffstats
path: root/core/java/android/gesture
Commit message (Collapse)AuthorAgeFilesLines
* Fix javadoc issuesRomain Guy2011-05-161-1/+1
| | | | Change-Id: Ife66a8664955ac1a79b6ffd0080000c820f24632
* Prevent possible NPE in android.gesture.LearnerKenny Root2010-02-171-1/+2
| | | | Change-Id: If9b0ac9a05b6736719d84c6b58be73e3f7771f07
* Rename GestureUtilities to GestureUtils.Romain Guy2010-02-047-19/+19
|
* Added comments for GestureUtilities.Yang Li2010-01-251-0/+10
|
* Made GestureUtilities's several methods public; Changed GestureStroke's ↵Yang Li2010-01-252-34/+70
| | | | smoothening threshold.
* Added a method for spatial sampling.Yang Li2010-01-152-1/+5
|
* Merge "Added clone to these three classes and added more comments."Romain Guy2010-01-153-14/+51
|\
| * Added clone to these three classes and added more comments.Yang Li2010-01-153-14/+51
| |
* | Added non-uniform scaling for spatial sampling.Yang Li2010-01-152-41/+66
|/
* Added non-uniform scaling for spatial sampling and converted double to float.Yang Li2010-01-141-50/+61
|
* Added the Protractor algorithm for calculating the minimum cosine distance ↵Yang Li2009-12-145-5/+42
| | | | between gestures
* Add @Widget annotation to GestureOverlayView to make it usable in ADT.Romain Guy2009-09-111-0/+2
| | | | Change-Id: I86251f0d35e38460f09779f047aabfa99d2e97ae
* Updates from API review.Dianne Hackborn2009-07-281-0/+1
| | | | | | | | | | | | * AccessibilityService -- document onBind() to not be implemented. * GestureLibrary.getLearner() -- needs to be hidden. * IntentSender -- remove protected constructors, document that it is retrieved from a PendingIntent. * Hide permissions: SHUTDOWN, STOP_APP_SWITCHES. * Context -- hide BACKUP_SERVICE. * ContextWrapper -- hide getSharedPrefs bla h blah * Intent.parseUri() -- fix docs. * ApplicationInfo.FLAG_TEST_ONLY?!? * Hide MockContext.getSharedPrefs blah blah
* Fixes #1972421. Prevents crash in ScrollView/HorizontalScrollView.Romain Guy2009-07-101-2/+3
| | | | Add several checks to make sure there's at least one child.
* Unhide android.gestures.Romain Guy2009-07-092-20/+1
|
* Make gestures visible again.Romain Guy2009-06-161-1/+1
|
* Fixes #1899284 and #1899287. Give applications more control over the ↵Romain Guy2009-06-161-9/+27
| | | | | | | | gesture's path. This change adds new APIs to control the gesture's path by deciding whether the path should be drawn and by getting the ability to get the Path itself and draw it differently.
* Hide gestures API.Romain Guy2009-06-121-0/+5
|
* Fix the way gestures are rasterized to bitmaps.Romain Guy2009-06-102-10/+20
| | | | It was just not working with multiple strokes.
* Add support for gestures in Home.Romain Guy2009-06-092-18/+28
| | | | | Adds a new animation style for the gestures pad, and de-normalize the scores in the recognition engine.
* Add a hidden API to modify the paint used to draw gestures.Romain Guy2009-06-091-0/+7
|
* Fix several issues in the gestures libraries.Romain Guy2009-06-093-15/+26
| | | | | | This mostly fixes how gestures libraries are saved and loaded. Saving a library twice in a row was erasing the entire library, which was preventing the sketch test app from working propertly.
* Merge change 3561 into donutAndroid (Google) Code Review2009-06-091-6/+14
|\ | | | | | | | | * changes: Fix multiple strokes support when fade is disabled. Multiple strokes would always be accepted after the first one.
| * Fix multiple strokes support when fade is disabled.Romain Guy2009-06-091-6/+14
| | | | | | | | Multiple strokes would always be accepted after the first one.
* | Fix bug in saving gestures stores. The outputstream was wrapping itself, ↵Romain Guy2009-06-091-2/+2
|/ | | | thus causing huge problems.
* Removes gestures from ListView.Romain Guy2009-06-082-344/+0
|
* Fixes #1899273.Romain Guy2009-06-051-2/+10
| | | | When a "ghost" stroke was showing, events would be intercepted in ListView. This patch modifies the logic used to detect when to still events: either the current stroke is a gesture, or the previous stroke was a gesture.
* Add new listener to GestureOverlayView. This listener fires whenever the ↵Romain Guy2009-06-021-5/+42
| | | | overlay thinks the user is starting a new gesture. This allows Home to snap the workspace back to its original position during a gesture operation.
* Fix the build.Romain Guy2009-05-291-10/+11
|
* Modify the base gestures API to use streams instead of files. Adds new ↵Romain Guy2009-05-297-326/+586
| | | | wrappers to easily load/save gestures from files, resources, etc. Do the same for the letters recognizer.
* Merge change 2737 into donutAndroid (Google) Code Review2009-05-292-46/+56
|\ | | | | | | | | * changes: Fixes #1878499.
| * Fixes #1878499.Romain Guy2009-05-292-46/+56
| | | | | | | | Ignore touch up events that happen after a gesture was cancelled. This fix also improves performance by ignoring move events that are within the touch threshold.
* | Fix for #1878497.Romain Guy2009-05-291-7/+2
|/ | | | Always pre-allocate a gesture's bounding box to avoid possible NPEs.
* Converted the angle of OrientedBoundingBox to degreesYang Li2009-05-281-1/+1
|
* Merge change 2593 into donutAndroid (Google) Code Review2009-05-275-41/+65
|\ | | | | | | | | * changes: Bug fixes and performance improvements
| * Bug fixes and performance improvementsYang Li2009-05-275-41/+65
| | | | | | | | | | | | - Added affine transform functions in GestureUtilities to remove Matrix - Fixed a bug with Instance.createInstance - Updated letter recognition file
* | Fix another crash in Gestures, this one caused by the data fileMarco Nelissen2009-05-271-0/+4
|/ | | | | | having the wrong version. I made the loader print a message to the log for this, and made the calling code disable gestures for the listview instead of crashing.
* Removed Matrix from spatial sampling for GestureUtilitiesYang Li2009-05-261-7/+12
| | | | - updated the letter training file
* GestureOverlayView was not invalidating itself when calling clear(false). ↵Romain Guy2009-05-251-15/+23
| | | | Calling clear(true) was working properly. This change also makes clear(false) and clear(true) both behave similarly when fireActionPerformed == true.
* Add new orientation attribute to GestureOverlayView. This can be used to ↵Romain Guy2009-05-251-4/+20
| | | | prevent the overlay from interfering with vertically/horizontally scrolling views underneath the overlay.
* Fix drawing bug: opaque invalidations should not be taken into account when ↵Romain Guy2009-05-251-13/+39
| | | | the invalidated view is animating. Also add the ability to disable the auto-fade on the GestureOverlayView.
* Change when gestures listeners are fired.Romain Guy2009-05-251-15/+15
|
* Cleanup Gestures API and make it easier to use in 3rd party apps. Also fix ↵Romain Guy2009-05-245-404/+438
| | | | the events processing in the gestures overlay mechanism. Give better control of the various properties of the overlay through XML attributes.
* Add a new API to ListView: setGestures(int). This allows developers to ↵Romain Guy2009-05-224-130/+203
| | | | enable gestures to jump inside the list or filter it. This change also introduces a new XML attribute to control this API. It also adds the ability to theme the GestureOverlayView from the gestures library. Finally, this adds a new VERSION header to the binary format used to store the letters for the recognizer.
* Move the Gestures API to the framework in android.gesture.Romain Guy2009-05-2114-0/+2645