ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

org::residualvm::residualvm::ResidualVMEvents Class Reference

Collaboration diagram for org::residualvm::residualvm::ResidualVMEvents:

List of all members.

Public Member Functions

 ResidualVMEvents (Context context, ResidualVM residualvm, MouseHelper mouseHelper)
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)

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_LMB_DOWN = 9
static final int JE_LMB_UP = 10
static final int JE_RMB_DOWN = 11
static final int JE_RMB_UP = 12
static final int JE_MOUSE_MOVE = 13
static final int JE_MMB_DOWN = 16
static final int JE_MMB_UP = 17
static final int JE_TOUCH = 18
static final int JE_LONG = 19
static final int JE_FLING = 20
static final int JE_QUIT = 0x1000

Protected Attributes

final Context _context
final ResidualVM _residualvm
final GestureDetector _gd
final int _longPress
final MouseHelper _mouseHelper
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

Detailed Description

Definition at line 16 of file ResidualVMEvents.java.


Constructor & Destructor Documentation

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

Definition at line 52 of file ResidualVMEvents.java.


Member Function Documentation

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

Definition at line 291 of file ResidualVMEvents.java.

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

Definition at line 296 of file ResidualVMEvents.java.

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

Definition at line 246 of file ResidualVMEvents.java.

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

Definition at line 252 of file ResidualVMEvents.java.

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

Definition at line 98 of file ResidualVMEvents.java.

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

Definition at line 267 of file ResidualVMEvents.java.

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

Definition at line 273 of file ResidualVMEvents.java.

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

Definition at line 281 of file ResidualVMEvents.java.

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

Definition at line 304 of file ResidualVMEvents.java.

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

Definition at line 285 of file ResidualVMEvents.java.

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

Definition at line 206 of file ResidualVMEvents.java.

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

Definition at line 73 of file ResidualVMEvents.java.

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

Definition at line 69 of file ResidualVMEvents.java.


Member Data Documentation

Definition at line 45 of file ResidualVMEvents.java.

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

Definition at line 47 of file ResidualVMEvents.java.

Definition at line 48 of file ResidualVMEvents.java.

Definition at line 50 of file ResidualVMEvents.java.

Definition at line 29 of file ResidualVMEvents.java.

Definition at line 24 of file ResidualVMEvents.java.

Definition at line 23 of file ResidualVMEvents.java.

Definition at line 39 of file ResidualVMEvents.java.

Definition at line 22 of file ResidualVMEvents.java.

Definition at line 30 of file ResidualVMEvents.java.

Definition at line 31 of file ResidualVMEvents.java.

Definition at line 38 of file ResidualVMEvents.java.

Definition at line 35 of file ResidualVMEvents.java.

Definition at line 36 of file ResidualVMEvents.java.

Definition at line 34 of file ResidualVMEvents.java.

Definition at line 28 of file ResidualVMEvents.java.

Definition at line 40 of file ResidualVMEvents.java.

Definition at line 32 of file ResidualVMEvents.java.

Definition at line 33 of file ResidualVMEvents.java.

Definition at line 25 of file ResidualVMEvents.java.

Definition at line 21 of file ResidualVMEvents.java.

Definition at line 26 of file ResidualVMEvents.java.

Definition at line 37 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 83 of file ResidualVMEvents.java.

Definition at line 81 of file ResidualVMEvents.java.


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


Generated on Sat Nov 9 2019 05:02:24 for ResidualVM by doxygen 1.7.1
curved edge   curved edge