sdl2_frt/test/shapes
Gabriel Jacobo dad420670f Fixes #2022, do not resume on Android when surfaceChanged
If the app is in landscape mode and the user presses the power button, a pause
is followed immediately by a surfaceChanged event because the lock screen
is shown in portrait mode. This triggers a "false" resume.
So, we just pause and resume following the onWindowFocusChanged events.

Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before
blocking the event pump.
2013-08-12 11:13:50 -03:00
..
p01_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p01_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p01_shape32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p02_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p02_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p02_shape32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p03_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p03_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p04_shape1.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p04_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p04_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p04_shape32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p05_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p06_shape1alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p06_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p06_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p06_shape32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p07_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p07_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p07_shape32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p08_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p08_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p08_shape32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p09_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p09_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p09_shape32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p10_shape1.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p10_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p10_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p10_shape32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p11_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p11_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p11_shape32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p12_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p12_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p13_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p13_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p13_shape32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p14_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p14_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p15_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p15_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p15_shape32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p16_shape1.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p16_shape8.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
p16_shape24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
trollface_24.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
trollface_32alpha.bmp Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00