IT. Expert System.

Android Reference

InputDevice.MotionRange


android.view

Class InputDevice.MotionRange

    • Method Summary

      Methods
      Modifier and Type Method and Description
      int getAxis()
      Gets the axis id.
      float getFlat()
      Gets the extent of the center flat position with respect to this axis.
      float getFuzz()
      Gets the error tolerance for input device measurements with respect to this axis.
      float getMax()
      Gets the inclusive maximum value for the axis.
      float getMin()
      Gets the inclusive minimum value for the axis.
      float getRange()
      Gets the range of the axis (difference between maximum and minimum).
      int getSource()
      Gets the source for which the axis is defined.
    • Method Detail

      • getAxis

        public int getAxis()
        Gets the axis id.
        Returns:
        The axis id.
      • getSource

        public int getSource()
        Gets the source for which the axis is defined.
        Returns:
        The source.
      • getMin

        public float getMin()
        Gets the inclusive minimum value for the axis.
        Returns:
        The inclusive minimum value.
      • getMax

        public float getMax()
        Gets the inclusive maximum value for the axis.
        Returns:
        The inclusive maximum value.
      • getRange

        public float getRange()
        Gets the range of the axis (difference between maximum and minimum).
        Returns:
        The range of values.
      • getFlat

        public float getFlat()
        Gets the extent of the center flat position with respect to this axis.

        For example, a flat value of 8 means that the center position is between -8 and +8. This value is mainly useful for calibrating self-centering devices.

        Returns:
        The extent of the center flat position.
      • getFuzz

        public float getFuzz()
        Gets the error tolerance for input device measurements with respect to this axis.

        For example, a value of 2 indicates that the measured value may be up to +/- 2 units away from the actual value due to noise and device sensitivity limitations.

        Returns:
        The error tolerance.


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: 236 / 159132930. Delta: 0.05619 с