summaryrefslogtreecommitdiff
path: root/core/java/android/widget/WidgetFlags.java
Commit message (Collapse)AuthorAgeFilesLines
* Add a config value for the default of the analog clock flagStevie Kideckel2021-06-251-3/+0
| | | | | | | | | Also, handle this config value being set to 0 by hiding the seconds hand and ticking once per minute. Bug: 191269485 Test: locally Change-Id: Ib2b705437d570d46328174d618ec0de6193212ca
* Add a flag for the fps of the AnalogClockStevie Kideckel2021-05-201-0/+11
| | | | | | Bug: 188414386 Test: tested locally Change-Id: I3e28f63bea6aafa0760c6938b706e44643fc12f3
* Add DeviceConfig flag for drag direction angle threshold for cursor dragNikita Dubrovsky2020-08-041-0/+22
| | | | | | | | Bug: 160786691 Test: Manual and unit tests atest FrameworksCoreTests:EditorTouchStateTest atest FrameworksCoreTests:EditorCursorDragTest Change-Id: Ib2e88fbdce4f901772d73bc7ee60483c98e02509
* Makes the line slop ratio configurable.Shu Chen2020-05-211-0/+18
| | | | | | Bug: 157187942 Test: locally verfied. Change-Id: I9d7f4e21bc22800350b35cbee8dbcf445f55eb1f
* Makes the finger-to-cursor distance configurable via DeviceConfig.Shu Chen2020-03-121-0/+19
| | | | | | Bug: 149885871 Test: manual tested. Change-Id: I545be8aa594dde6c3412167fcdf1bad3403a11a3
* Allow setting defaults for DeviceConfig flags plumbed via settingsNikita Dubrovsky2020-02-191-4/+36
| | | | | | Bug: 149790259 Test: Manually Change-Id: Ie456cf27edab204dfc028023c6364a11b7e5de48
* Use DeviceConfig flags for cursor drag and insertion handle gesturesNikita Dubrovsky2020-02-181-7/+20
| | | | | | | | Bug: 149751656 Test: Manually and ran automated tests atest FrameworksCoreTests:TextViewActivityTest atest FrameworksCoreTests:EditorCursorDragTest Change-Id: I431dd7c13b573d7acd9ce20e16a6476370202b5f
* Adds more flags for cursor control features.Shu Chen2020-01-221-0/+60
| | | | | | | | | - The delta height & opacity for the insertion handle. - The zoom factor & aspect ratio for the new magnifier. Test: m -j & manual tested. Bug: 145558249, 145550493, 145545591, 145555868 Change-Id: Ie69bd606ff738b19f3af166e7beeac2c32c705ba
* Reads "enable_cursor_control" device config flag in Editor.Shu Chen2020-01-201-0/+40
Test: m -j & manually verified via logcat. Bug:145558249 Change-Id: I1ec42f7cffd898032ae32dce6a1c502f7b03c1b6