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 onRequestPermissionsResult (int requestCode,@NonNull String[] permissions,@NonNull int[] grantResults)
boolean onCreateOptionsMenu (Menu menu)
boolean onOptionsItemSelected (MenuItem item)
void onStart ()
void onResume ()
void onPause ()
void onStop ()
void onDestroy ()
boolean onTrackballEvent (MotionEvent e)
boolean onTouchEvent (MotionEvent e)

Public Attributes

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

Static Public Attributes

static final String[] REQUIRED_PERMISSIONS = {Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE}

Static Package Functions

 [static initializer]

Static Package Attributes

static int PERMISSION_REQUEST_REQUIRED_PERMISSIONS = 1001

Private Member Functions

void emulateKeyPress (int keyCode)
boolean checkPermissions ()
void launchResidualVM ()
void showKeyboard (boolean show)

Private Attributes

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

Static Private Attributes

static boolean _hoverAvailable

Detailed Description

Definition at line 38 of file ResidualVMActivity.java.


Member Function Documentation

org::residualvm::residualvm::ResidualVMActivity::[static initializer] (  )  [inline, static, package]
boolean org::residualvm::residualvm::ResidualVMActivity::checkPermissions (  )  [inline, private]

Definition at line 215 of file ResidualVMActivity.java.

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

Definition at line 59 of file ResidualVMActivity.java.

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

Definition at line 251 of file ResidualVMActivity.java.

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

Definition at line 225 of file ResidualVMActivity.java.

boolean org::residualvm::residualvm::ResidualVMActivity::onCreateOptionsMenu ( Menu  menu  )  [inline]

Definition at line 309 of file ResidualVMActivity.java.

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

Definition at line 358 of file ResidualVMActivity.java.

boolean org::residualvm::residualvm::ResidualVMActivity::onOptionsItemSelected ( MenuItem  item  )  [inline]

Definition at line 315 of file ResidualVMActivity.java.

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

Definition at line 341 of file ResidualVMActivity.java.

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

Definition at line 237 of file ResidualVMActivity.java.

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

Definition at line 331 of file ResidualVMActivity.java.

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

Definition at line 324 of file ResidualVMActivity.java.

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

Definition at line 351 of file ResidualVMActivity.java.

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

Definition at line 386 of file ResidualVMActivity.java.

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

Definition at line 378 of file ResidualVMActivity.java.

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

Definition at line 393 of file ResidualVMActivity.java.


Member Data Documentation

Definition at line 102 of file ResidualVMActivity.java.

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

Definition at line 71 of file ResidualVMActivity.java.

Definition at line 43 of file ResidualVMActivity.java.

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

Definition at line 78 of file ResidualVMActivity.java.

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

Definition at line 64 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 45 of file ResidualVMActivity.java.

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

Definition at line 92 of file ResidualVMActivity.java.

final String [] org::residualvm::residualvm::ResidualVMActivity::REQUIRED_PERMISSIONS = {Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE} [static]

Definition at line 40 of file ResidualVMActivity.java.

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

Definition at line 85 of file ResidualVMActivity.java.


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


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