sdl2_frt/src/video/android
Sam Lantinga 6ee661398d Fixed bug 3235 - Make the Android window creation similar to iOS' window creation
Sylvain

Here's a patch.
It tries to get the hint first. Resizable will allow any orientation. Otherwise it uses width/height window.

setOrientation method is splitted in static and non-static, so that it can be overloaded in a user subclass.

Some artefact observed :
surfaceChanged() can be called twice at the beginning. When the phone starts in portrait and run a landscape application.
2017-08-13 20:55:59 -07:00
..
SDL_androidclipboard.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidclipboard.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidevents.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidevents.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidgl.c Fixed bug 3690 - SDL2 KMS/DRM render context support 2017-08-02 10:22:48 -07:00
SDL_androidgl.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidkeyboard.c Fixed bug 3703 - Missing media keys support on Amazon Fire TV remote control 2017-07-20 10:46:38 -07:00
SDL_androidkeyboard.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidmessagebox.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidmessagebox.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidmouse.c Fixed part of bug 3227 - patch for multiple buttons at the same time not working 2017-08-12 08:06:16 -07:00
SDL_androidmouse.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidtouch.c Fixed bug 3128 - Removing all the static variables from android SDLActivity and accompanying JNI calls. 2017-08-12 12:24:59 -07:00
SDL_androidtouch.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidvideo.c Compile fix for android. 2017-03-14 07:22:08 -07:00
SDL_androidvideo.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidwindow.c Fixed bug 3235 - Make the Android window creation similar to iOS' window creation 2017-08-13 20:55:59 -07:00
SDL_androidwindow.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00