public abstract class GestureLibrary
extends Object
| java.lang.Object | |
| android.gesture.GestureLibrary | |
Fields |
|
|---|---|
protected final GestureStore |
mStore |
Protected constructors |
|
|---|---|
GestureLibrary() |
|
公共方法(Public methods) |
|
|---|---|
void |
addGesture(String entryName, Gesture gesture) |
Set<String> |
getGestureEntries() |
ArrayList<Gesture> |
getGestures(String entryName) |
int |
getOrientationStyle() |
int |
getSequenceType() |
boolean |
isReadOnly() |
abstract boolean |
load() |
ArrayList<Prediction> |
recognize(Gesture gesture) |
void |
removeEntry(String entryName) |
void |
removeGesture(String entryName, Gesture gesture) |
abstract boolean |
save() |
void |
setOrientationStyle(int style) |
void |
setSequenceType(int type) |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
void addGesture (String entryName, Gesture gesture)
| 参数(Parameters) | |
|---|---|
entryName |
String
|
gesture |
Gesture
|
ArrayList<Gesture> getGestures (String entryName)
| 参数(Parameters) | |
|---|---|
entryName |
String
|
| 返回(Returns) | |
|---|---|
ArrayList<Gesture> |
|
ArrayList<Prediction> recognize (Gesture gesture)
| 参数(Parameters) | |
|---|---|
gesture |
Gesture
|
| 返回(Returns) | |
|---|---|
ArrayList<Prediction> |
|
void removeEntry (String entryName)
| 参数(Parameters) | |
|---|---|
entryName |
String
|
void removeGesture (String entryName, Gesture gesture)
| 参数(Parameters) | |
|---|---|
entryName |
String
|
gesture |
Gesture
|
void setOrientationStyle (int style)
| 参数(Parameters) | |
|---|---|
style |
int
|