|
| | CXBMCApp (ANativeActivity *nativeActivity, IInputHandler &inputhandler) |
| |
| | ~CXBMCApp () override |
| |
| void | Announce (ANNOUNCEMENT::AnnouncementFlag flag, const std::string &sender, const std::string &message, const CVariant &data) override |
| |
| void | onReceive (CJNIIntent intent) override |
| |
| void | onNewIntent (CJNIIntent intent) override |
| |
| void | onActivityResult (int requestCode, int resultCode, CJNIIntent resultData) override |
| |
| void | onVolumeChanged (int volume) override |
| |
| virtual void | onAudioFocusChange (int focusChange) |
| |
| void | doFrame (int64_t frameTimeNanos) override |
| |
| void | onVisibleBehindCanceled () override |
| |
| void | onInputDeviceAdded (int deviceId) override |
| |
| void | onInputDeviceChanged (int deviceId) override |
| |
| void | onInputDeviceRemoved (int deviceId) override |
| |
| void | onDisplayAdded (int displayId) override |
| |
| void | onDisplayChanged (int displayId) override |
| |
| void | onDisplayRemoved (int displayId) override |
| |
| jni::jhobject | getDisplayListener () |
| |
| bool | isValid () |
| |
| const ANativeActivity * | getActivity () const |
| |
| void | onStart () override |
| |
| void | onResume () override |
| |
| void | onPause () override |
| |
| void | onStop () override |
| |
| void | onDestroy () override |
| |
| void | onSaveState (void **data, size_t *size) override |
| |
| void | onConfigurationChanged () override |
| |
| void | onLowMemory () override |
| |
| void | onCreateWindow (ANativeWindow *window) override |
| |
| void | onResizeWindow () override |
| |
| void | onDestroyWindow () override |
| |
| void | onGainFocus () override |
| |
| void | onLostFocus () override |
| |
| void | Initialize () |
| |
| void | Deinitialize () |
| |
| void | OnPlayBackStarted () |
| |
| void | OnPlayBackPaused () |
| |
| void | OnPlayBackStopped () |
| |
| void | UpdateSessionMetadata () |
| |
| void | UpdateSessionState () |
| |
| void | ProcessSlow () |
| |
| bool | getVideosurfaceInUse () |
| |
| void | setVideosurfaceInUse (bool videosurfaceInUse) |
| |
| bool | GetMemoryInfo (long &availMem, long &totalMem) |
| |
| void | surfaceChanged (CJNISurfaceHolder holder, int format, int width, int height) override |
| |
| void | surfaceCreated (CJNISurfaceHolder holder) override |
| |
| void | surfaceDestroyed (CJNISurfaceHolder holder) override |
| |
Public Member Functions inherited from CJNIMainActivity |
| | CJNIMainActivity (const ANativeActivity *nativeActivity) |
| |
| | ~CJNIMainActivity () override |
| |
| CJNIRect | getDisplayRect () |
| |
| | IAnnouncer ()=default |
| |
| virtual | ~IAnnouncer ()=default |
| |
|
| static CXBMCApp * | get () |
| |
| static ANativeWindow * | GetNativeWindow (int timeout) |
| |
| static int | SetBuffersGeometry (int width, int height, int format) |
| |
| static int | android_printf (const char *format,...) |
| |
| static int | GetBatteryLevel () |
| |
| static bool | EnableWakeLock (bool on) |
| |
| static bool | HasFocus () |
| |
| static bool | IsHeadsetPlugged () |
| |
| static bool | IsHDMIPlugged () |
| |
| static bool | StartActivity (const std::string &package, const std::string &intent=std::string(), const std::string &dataType=std::string(), const std::string &dataURI=std::string()) |
| |
| static std::vector< androidPackage > | GetApplications () |
| |
| static bool | GetExternalStorage (std::string &path, const std::string &type="") |
| | If external storage is available, it returns the path for the external storage (for the specified type) More...
|
| |
| static bool | GetStorageUsage (const std::string &path, std::string &usage) |
| |
| static int | GetMaxSystemVolume () |
| |
| static float | GetSystemVolume () |
| |
| static void | SetSystemVolume (float percent) |
| |
| static void | SetRefreshRate (float rate) |
| |
| static void | SetDisplayMode (int mode, float rate) |
| |
| static int | GetDPI () |
| |
| static CRect | MapRenderToDroid (const CRect &srcRect) |
| |
| static int | WaitForActivityResult (const CJNIIntent &intent, int requestCode, CJNIIntent &result) |
| |
| static void | RegisterInputDeviceCallbacks (IInputDeviceCallbacks *handler) |
| |
| static void | UnregisterInputDeviceCallbacks () |
| |
| static const CJNIViewInputDevice | GetInputDevice (int deviceId) |
| |
| static std::vector< int > | GetInputDeviceIds () |
| |
| static void | RegisterInputDeviceEventHandler (IInputDeviceEventHandler *handler) |
| |
| static void | UnregisterInputDeviceEventHandler () |
| |
| static bool | onInputDeviceEvent (const AInputEvent *event) |
| |
| static void | InitFrameCallback (CVideoSyncAndroid *syncImpl) |
| |
| static void | DeinitFrameCallback () |
| |
| static bool | WaitVSync (unsigned int milliSeconds) |
| |
| static int64_t | GetNextFrameTime () |
| |
| static float | GetFrameLatencyMs () |
| |
Static Public Member Functions inherited from CJNIMainActivity |
| static CJNIMainActivity * | GetAppInstance () |
| |
| static void | _onNewIntent (JNIEnv *env, jobject context, jobject intent) |
| |
| static void | _onActivityResult (JNIEnv *env, jobject context, jint requestCode, jint resultCode, jobject resultData) |
| |
| static void | _onVolumeChanged (JNIEnv *env, jobject context, jint volume) |
| |
| static void | _doFrame (JNIEnv *env, jobject context, jlong frameTimeNanos) |
| |
| static void | _onInputDeviceAdded (JNIEnv *env, jobject context, jint deviceId) |
| |
| static void | _onInputDeviceChanged (JNIEnv *env, jobject context, jint deviceId) |
| |
| static void | _onInputDeviceRemoved (JNIEnv *env, jobject context, jint deviceId) |
| |
| static void | _onVisibleBehindCanceled (JNIEnv *env, jobject context) |
| |
| static void | _callNative (JNIEnv *env, jobject context, jlong funcAddr, jlong variantAddr) |
| |
| static void | runNativeOnUiThread (void(*callback)(CVariant *), CVariant *variant) |
| |
| static void | registerMediaButtonEventReceiver () |
| |
| static void | unregisterMediaButtonEventReceiver () |
| |