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

List of all members.

Classes

class  MyResidualVM

Public Member Functions

void onCreate (Bundle savedInstanceState)
void onStart ()
void onResume ()
void onPause ()
void onStop ()
void onDestroy ()
void onRequestPermissionsResult (int requestCode, String[] permissions, int[] grantResults)
boolean onTrackballEvent (MotionEvent e)
boolean onGenericMotionEvent (final MotionEvent e)

Public Attributes

View.OnClickListener keyboardBtnOnClickListener
View.OnClickListener optionsBtnOnClickListener
View.OnClickListener menuBtnOnClickListener
View.OnClickListener inventoryBtnOnClickListener
View.OnClickListener lookAtBtnOnClickListener
View.OnClickListener useBtnOnClickListener
View.OnClickListener pickUpBtnOnClickListener

Static Package Functions

 [static initializer]

Private Member Functions

void emulateKeyPress (int keyCode)
void showKeyboard (boolean show)
void toggleKeyboard ()
void showKeyboardView (boolean show)
void showMouseCursor (boolean show)

Private Attributes

ClipboardManager _clipboard
boolean isBtnsShowing = false
MyResidualVM _residualvm
ResidualVMEvents _events
MouseHelper _mouseHelper
Thread _residualvm_thread
ExternalStorage _externalStorage

Static Private Attributes

static boolean _hoverAvailable
static final int MY_PERMISSIONS_REQUEST_READ_EXT_STORAGE = 100
 Id to identify an external storage read request.

Detailed Description

Definition at line 43 of file ResidualVMActivity.java.


Member Function Documentation

org::residualvm::residualvm::ResidualVMActivity::[static initializer] (  )  [inline, static, package]
void org::residualvm::residualvm::ResidualVMActivity::emulateKeyPress ( int  keyCode  )  [inline, private]

Definition at line 94 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onCreate ( Bundle  savedInstanceState  )  [inline]

Definition at line 267 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onDestroy (  )  [inline]

Definition at line 392 of file ResidualVMActivity.java.

boolean org::residualvm::residualvm::ResidualVMActivity::onGenericMotionEvent ( final MotionEvent  e  )  [inline]

Definition at line 442 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onPause (  )  [inline]

Definition at line 374 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onRequestPermissionsResult ( int  requestCode,
String[]  permissions,
int[]  grantResults 
) [inline]

Definition at line 413 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onResume (  )  [inline]

Definition at line 363 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onStart (  )  [inline]

Definition at line 356 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onStop (  )  [inline]

Definition at line 385 of file ResidualVMActivity.java.

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

Definition at line 434 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::showKeyboard ( boolean  show  )  [inline, private]

Definition at line 449 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::showKeyboardView ( boolean  show  )  [inline, private]

Definition at line 471 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::showMouseCursor ( boolean  show  )  [inline, private]

Definition at line 480 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::toggleKeyboard (  )  [inline, private]

Definition at line 461 of file ResidualVMActivity.java.


Member Data Documentation

Definition at line 48 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            emulateKeyPress(KeyEvent.KEYCODE_I);
        }
    }

Definition at line 106 of file ResidualVMActivity.java.

Definition at line 78 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            runOnUiThread(new Runnable() {
                    public void run() {
                        toggleKeyboard();
                    }
                });
        }
    }

Definition at line 64 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            emulateKeyPress(KeyEvent.KEYCODE_E);
        }
    }

Definition at line 113 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            emulateKeyPress(KeyEvent.KEYCODE_F1);
        }
    }

Definition at line 99 of file ResidualVMActivity.java.

Id to identify an external storage read request.

Definition at line 53 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {

            if(!isBtnsShowing)
                ((HorizontalScrollView)findViewById(R.id.btns_scrollview)).setVisibility(View.VISIBLE);
            else
                ((HorizontalScrollView)findViewById(R.id.btns_scrollview)).setVisibility(View.GONE);

            isBtnsShowing = !isBtnsShowing;

        }
    }

Definition at line 80 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            emulateKeyPress(KeyEvent.KEYCODE_P);
        }
    }

Definition at line 127 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            emulateKeyPress(KeyEvent.KEYCODE_ENTER);
        }
    }

Definition at line 120 of file ResidualVMActivity.java.


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


Generated on Sat Sep 26 2020 05:03:50 for ResidualVM by doxygen 1.7.1
curved edge   curved edge