summaryrefslogtreecommitdiff
path: root/core/java/android/gesture/GestureLibraries.java
Commit message (Collapse)AuthorAgeFilesLines
* Add API to create GestureLibrary from FileDescriptorshafik2019-08-201-25/+60
| | | | | | | | | | GestureLibraries#fromFile takes a file path and returns a GestureLibrary object. This change adds an equivalent API GestureLibrary#fromFd that takes a FileDescriptor. Test: GestureBuilder.apk still works properly Bug: 139182427 Change-Id: Ie50f3a624703cf128d6ee34bb450bbe971ad1730
* Add @ResourceInt annotations on APIsTor Norbye2015-02-181-1/+2
| | | | Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
* Fix several issues in the gestures libraries.Romain Guy2009-06-091-3/+7
| | | | | | 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.
* Modify the base gestures API to use streams instead of files. Adds new ↵Romain Guy2009-05-291-0/+139
wrappers to easily load/save gestures from files, resources, etc. Do the same for the letters recognizer.