angle/util/osx
Cody Northrop 6fe87f4a22 Tests: Change screen orientation for traces on Android
This CL adds a reverse JNI call to our Android Native Activity that
sets the orientation of the screen based on width and height.

To achieve this we:
* Attach to the java thread once at the beginning to grab JNI env.
* Detach from the thread once when platform sends APP_CMD_DESTROY
* Set the orientation during test init

Bug: angleproject:4327
Change-Id: Ifbe31a6a84dd60a0dfe7d7032962c99b290d8b81
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2289054
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
2020-07-15 23:41:16 +00:00
..
OSXPixmap.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
OSXPixmap.mm Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
OSXWindow.h Tests: Change screen orientation for traces on Android 2020-07-15 23:41:16 +00:00
OSXWindow.mm Tests: Change screen orientation for traces on Android 2020-07-15 23:41:16 +00:00