virtualx-engine/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 Update Android dependencies for the project 2024-01-18 10:35:32 -08:00
lib Improve performance by extracting windowManager and getRotatedValues() 2024-04-04 14:17:28 +01:00
nativeSrcsConfigs Update Android dependencies for the project 2024-01-18 10:35:32 -08:00
scripts
build.gradle Merge pull request #84674 from m4gr3d/add_flag_to_run_scons_from_gradle 2024-01-29 23:24:05 +01:00
gradle.properties Fix gradle build errors when the build path contains non-ASCII characters 2024-02-13 14:31:08 -08:00
gradlew
gradlew.bat
settings.gradle Update Android dependencies for the project 2024-01-18 10:35:32 -08:00