ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge
Collaboration diagram for org::residualvm::residualvm::ResidualVMEvents:

List of all members.

Public Member Functions

 ResidualVMEvents (Context context, ResidualVM residualvm)
final void sendQuitEvent ()
boolean onTrackballEvent (MotionEvent e)
final boolean onKey (View v, int keyCode, KeyEvent e)
final boolean onTouchEvent (MotionEvent e)
final boolean onDown (MotionEvent e)
final boolean onFling (MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
final void onLongPress (MotionEvent e)
final boolean onScroll (MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
final void onShowPress (MotionEvent e)
final boolean onSingleTapUp (MotionEvent e)
final boolean onDoubleTap (MotionEvent e)
final boolean onDoubleTapEvent (MotionEvent e)
final boolean onSingleTapConfirmed (MotionEvent e)
boolean onGenericMotion (View v, final MotionEvent event)

Static Public Attributes

static final int JE_SYS_KEY = 0
static final int JE_KEY = 1
static final int JE_DPAD = 2
static final int JE_DOWN = 3
static final int JE_SCROLL = 4
static final int JE_TAP = 5
static final int JE_DOUBLE_TAP = 6
static final int JE_MULTI = 7
static final int JE_BALL = 8
static final int JE_TOUCH = 9
static final int JE_LONG = 10
static final int JE_FLING = 11
static final int JE_QUIT = 0x1000

Protected Attributes

final Context _context
final ResidualVM _residualvm
final GestureDetector _gd
final int _longPress
final int _width

Static Package Attributes

static final int MSG_MENU_LONG_PRESS = 1

Private Attributes

final int REL_SWIPE_MIN_DISTANCE
final int REL_SWIPE_THRESHOLD_VELOCITY
final Handler keyHandler

Static Private Attributes

static boolean rightJoystickHeld = false
static int rightJoystickKeyCode = -1

Detailed Description

Definition at line 19 of file ResidualVMEvents.java.


Constructor & Destructor Documentation

org::residualvm::residualvm::ResidualVMEvents::ResidualVMEvents ( Context  context,
ResidualVM  residualvm 
) [inline]

Definition at line 48 of file ResidualVMEvents.java.


Member Function Documentation

final boolean org::residualvm::residualvm::ResidualVMEvents::onDoubleTap ( MotionEvent  e  )  [inline]

Definition at line 249 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onDoubleTapEvent ( MotionEvent  e  )  [inline]

Definition at line 253 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onDown ( MotionEvent  e  )  [inline]

Definition at line 210 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onFling ( MotionEvent  e1,
MotionEvent  e2,
float  velocityX,
float  velocityY 
) [inline]

Definition at line 215 of file ResidualVMEvents.java.

boolean org::residualvm::residualvm::ResidualVMEvents::onGenericMotion ( View  v,
final MotionEvent  event 
) [inline]

Definition at line 269 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onKey ( View  v,
int  keyCode,
KeyEvent  e 
) [inline]

Definition at line 93 of file ResidualVMEvents.java.

final void org::residualvm::residualvm::ResidualVMEvents::onLongPress ( MotionEvent  e  )  [inline]

Definition at line 229 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onScroll ( MotionEvent  e1,
MotionEvent  e2,
float  distanceX,
float  distanceY 
) [inline]

Definition at line 234 of file ResidualVMEvents.java.

final void org::residualvm::residualvm::ResidualVMEvents::onShowPress ( MotionEvent  e  )  [inline]

Definition at line 241 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onSingleTapConfirmed ( MotionEvent  e  )  [inline]

Definition at line 260 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onSingleTapUp ( MotionEvent  e  )  [inline]

Definition at line 244 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onTouchEvent ( MotionEvent  e  )  [inline]

Definition at line 179 of file ResidualVMEvents.java.

boolean org::residualvm::residualvm::ResidualVMEvents::onTrackballEvent ( MotionEvent  e  )  [inline]

Definition at line 68 of file ResidualVMEvents.java.

final void org::residualvm::residualvm::ResidualVMEvents::sendQuitEvent (  )  [inline]

Definition at line 64 of file ResidualVMEvents.java.


Member Data Documentation

Definition at line 42 of file ResidualVMEvents.java.

final GestureDetector org::residualvm::residualvm::ResidualVMEvents::_gd [protected]

Definition at line 44 of file ResidualVMEvents.java.

Definition at line 45 of file ResidualVMEvents.java.

Definition at line 46 of file ResidualVMEvents.java.

Definition at line 33 of file ResidualVMEvents.java.

Definition at line 28 of file ResidualVMEvents.java.

Definition at line 27 of file ResidualVMEvents.java.

Definition at line 36 of file ResidualVMEvents.java.

Definition at line 26 of file ResidualVMEvents.java.

Definition at line 35 of file ResidualVMEvents.java.

Definition at line 32 of file ResidualVMEvents.java.

Definition at line 37 of file ResidualVMEvents.java.

Definition at line 29 of file ResidualVMEvents.java.

Definition at line 25 of file ResidualVMEvents.java.

Definition at line 30 of file ResidualVMEvents.java.

Definition at line 34 of file ResidualVMEvents.java.

Initial value:
 new Handler() {
        @Override
        public void handleMessage(Message msg) {
            if (msg.what == MSG_MENU_LONG_PRESS) {
                InputMethodManager imm = (InputMethodManager)
                    _context.getSystemService(_context.INPUT_METHOD_SERVICE);

                if (imm != null)
                    imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
            }
        }
    }

Definition at line 78 of file ResidualVMEvents.java.

Definition at line 76 of file ResidualVMEvents.java.

Definition at line 266 of file ResidualVMEvents.java.


The documentation for this class was generated from the following file:


Generated on Sat Mar 23 2019 05:08:54 for ResidualVM by doxygen 1.7.1
curved edge   curved edge