Introduce RtlLayoutPreferenceController

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ieefd8dc97b0e1f781d97aca781bba0243c3875b9
This commit is contained in:
jeffreyhuang
2017-09-27 15:33:41 -07:00
parent ae6c29d10f
commit 30c143b1e4
3 changed files with 227 additions and 1 deletions

View File

@@ -281,7 +281,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
controllers.add(new PointerLocationPreferenceController(context));
controllers.add(new ShowSurfaceUpdatesPreferenceController(context));
// show layout bounds
// force rtl layout direction
controllers.add(new RtlLayoutPreferenceController(context));
// window animation scale
// transition animation scale
// animator duration scale