godot/platform/android/java
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
..
app Remove redundant semicolons from Kotlin/gradle files 2024-04-02 23:31:34 +01:00
editor Remove redundant semicolons from Kotlin/gradle files 2024-04-02 23:31:34 +01:00
gradle/wrapper
lib Improve performance by extracting windowManager and getRotatedValues() 2024-04-04 14:17:28 +01:00
nativeSrcsConfigs
scripts
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle