virtualx-engine/platform/android/java/lib/src
melquiadess f09d033156 Improve performance by extracting windowManager and getRotatedValues()
Once sensor listeners are registered, onSensorChanged() (and subsequently
getRotatedValues()) gets called multiple times per socond. Obtaining
WindowManager on each of those calls is superfluous and can be avoided
by extracting it to a lazy class val. getRotatedValue() can also be
called before checking sensor type, and used for each one of them,
resulting in less code repetition.
2024-04-04 14:17:28 +01:00
..
com/google/android/vending Replace HTTP links with HTTPS for sites with HTTPS versions 2021-08-22 20:13:11 -05:00
org/godotengine/godot Improve performance by extracting windowManager and getRotatedValues() 2024-04-04 14:17:28 +01:00