IT. Expert System.

Android Reference

GestureStore


android.gesture

Class GestureStore



  • public class GestureStore
    extends Object
    GestureLibrary maintains gesture examples and makes predictions on a new gesture
    • Constructor Detail

      • GestureStore

        public GestureStore()
    • Method Detail

      • setOrientationStyle

        public void setOrientationStyle(int style)
        Specify how the gesture library will handle orientation. Use ORIENTATION_INVARIANT or ORIENTATION_SENSITIVE
        Parameters:
        style -
      • getOrientationStyle

        public int getOrientationStyle()
      • setSequenceType

        public void setSequenceType(int type)
        Parameters:
        type - SEQUENCE_INVARIANT or SEQUENCE_SENSITIVE
      • getSequenceType

        public int getSequenceType()
        Returns:
        SEQUENCE_INVARIANT or SEQUENCE_SENSITIVE
      • getGestureEntries

        public Set<String> getGestureEntries()
        Get all the gesture entry names in the library
        Returns:
        a set of strings
      • recognize

        public ArrayList<Prediction> recognize(Gesture gesture)
        Recognize a gesture
        Parameters:
        gesture - the query
        Returns:
        a list of predictions of possible entries for a given gesture
      • addGesture

        public void addGesture(String entryName,
                      Gesture gesture)
        Add a gesture for the entry
        Parameters:
        entryName - entry name
        gesture -
      • removeGesture

        public void removeGesture(String entryName,
                         Gesture gesture)
        Remove a gesture from the library. If there are no more gestures for the given entry, the gesture entry will be removed.
        Parameters:
        entryName - entry name
        gesture -
      • removeEntry

        public void removeEntry(String entryName)
        Remove a entry of gestures
        Parameters:
        entryName - the entry name
      • getGestures

        public ArrayList<Gesture> getGestures(String entryName)
        Get all the gestures of an entry
        Parameters:
        entryName -
        Returns:
        the list of gestures that is under this name
      • hasChanged

        public boolean hasChanged()


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1504 / 96487303. Delta: 0.03550 с