Introduce WindowAnimationScalePreferenceController

- Create new WindowAnimationScalePreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I71c17f4ea7ca9a0273a84cb75e506e9668817473
This commit is contained in:
jeffreyhuang
2017-10-10 14:51:55 -07:00
parent e2fc925bb3
commit 9c4a8c104f
3 changed files with 256 additions and 1 deletions

View File

@@ -296,7 +296,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
controllers.add(new ShowSurfaceUpdatesPreferenceController(context));
controllers.add(new ShowLayoutBoundsPreferenceController(context));
controllers.add(new RtlLayoutPreferenceController(context));
// window animation scale
controllers.add(new WindowAnimationScalePreferenceController(context));
// transition animation scale
// animator duration scale
// simulate secondary displays