History log of /packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bd947c7ba9c83db0b6d6cbc52db7d2c09eb6d4a5 04-Aug-2017 Kevin Chyn <kchyn@google.com> Clean up AssistGesturePreferenceController

The preference controller shouldn't be shared between the
"Assist Gesture" parent setting, and the child setting within

Fixes: 64318213

Test: manual test of settings && make -j RunSettingsRoboTests
Change-Id: I2d2437e2036881a08977924dc1386aa1fab67070
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
204ca74397b394c6fcb93317ad820826971e16e1 19-Jul-2017 Doris Ling <dling@google.com> Move Gesture settings up one level.

Move System->Languages, input & gestures->Gestures to System->Gestures.

Change-Id: Ie81876208383f69ebf1a0465d76c760d7dd9d95d
Fix: 62276882
Test: make RunSettingsRoboTests
(cherry picked from commit 55ce7de7d06d9fd8ec153c4b6f5300fbe9349990)
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
d299b03f28fd23973b32931c3ae9a254a37d474d 01-Mar-2017 Doris Ling <dling@google.com> Remove old code relating to SystemSettings not used in new IA.

- remove activity alias: DevelopmentSettingsDashboardAlias,
DateTimeDashboardAlias, AboutDeviceDashboardAlias,
BackupResetDashboardAlias, EnterprisePrivacyDashboardAlias, and
AccessibilityDashboardAlias and updated the corresponding target
activities with the alias metadata.

- remove InputMethodAndLanguageSettingsActivity and
GestureSettingsActivity and the associated xml.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: I7d4922f8dfaac40e8ad077a68008185cd9fe3304
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
3e0ae4ed90e380a334be531d3cb2a1107e17f8a2 17-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add settings for the assist gesture."
a9831d40d081cc8c7ca32891e64c09b5e1d19abb 14-Feb-2017 Philip Quinn <pquinn@google.com> Add settings for the assist gesture.

Availability of the gesture is gated by a new FeatureProvider.

Test: make -j RunSettingsRoboTests; manual test on
supported/unsupported configurations.

Change-Id: I3529367a73e33370d5112b91d5144293ffa7fa22
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
46173a526536598dcbb2b0d8397985262c7190b7 27-Jan-2017 Matthew Fritze <mfritze@google.com> Remove extra IndexProviders that provided bad data.

Gesture Settings and Wireless settings were indexing
duplicate results that only added complexity to Search.
PowerUsageDetail was never supposed to be indexed.

Bug:33701673
Test: make RunSettingsRoboTests
Change-Id: I45d1fa4bd412c3418acec24f8c98eb4736f220ab
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
7e6df837ee23a62879d2e5182f923388d209ce56 24-Jan-2017 Fan Zhang <zhfan@google.com> Remove getCategoryKey() from DashboardFragment children.

Use the centralized registry to look up category key instead.

Bug: 32936784
Test: make RunSettingsRoboTests -j40
Change-Id: I0b8c72d70f93e4b5c58871ac90de41f69ad15653
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
65fb01b520a8eace6c5670c06e6ba5f81ab609af 15-Dec-2016 Matthew Fritze <mfritze@google.com> Add first inline switch result.

Adds gestures as Inline switch results to Settings Search.

Change-Id: Ie9b69ac2a54756d5b756401e348cae0a02c907c9
Fixes: 33669037
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
33b0d91d74bb29cbfd49e3f4c3ebd9d99001bfa9 09-Nov-2016 Fan Zhang <zhfan@google.com> Add video to each gesture preference screen.

- Refactor GesturePreference to a generic VideoPreference.
- The old video_preference.xml is only for magnification video, so
renamed.
- And use VideoPreference in gesture setting pages.
- Refactor common logic into GesturePreferenceController.

Bug: 32637613
Test: RunSettingsRoboTests

Change-Id: I58580b01a32873cb32c5dc5bf2ec021d5b1400cc
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
2c6101861884dcb297943679a8ce325994b3bd2d 09-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add more gesture setting pages."
b99ea900463af1b4ecc92dbd138670f0f182ff46 08-Nov-2016 Fan Zhang <zhfan@google.com> Add more gesture setting pages.

Bug: 32637613
Test: make -j40 RunSettingsRoboTests
Change-Id: I77f90b8b7e3348ed717ee78693860f48e13070f2
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
265d3c2a0c36251bf8a9f571d7239b6dd404d942 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
5b6478a34950d648f10e04f40c30293a99c5fa29 24-Oct-2016 Fan Zhang <zhfan@google.com> Add swipe to see notification to "Notification preferences"

Bug: 31799948
Test: RunSettingsRoboTests
Change-Id: Ib892ca4d5596c1c89e1efaf636a3eefd7cee371a
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
a902a5bd9389aa72345073f9a39c88b1dcc07333 22-Oct-2016 Doris Ling <dling@google.com> Ensure that the gesture animation video is paused properly. am: 4245ad4771 am: 5e4fce04fb
am: 12ffd7aaa7

Change-Id: I5c063fc4c1644a9d7e5360e91c1d79375f92986a
4245ad477166d60f12d45055afca3484dcd91d77 21-Oct-2016 Doris Ling <dling@google.com> Ensure that the gesture animation video is paused properly.

Add the handling to pause the animation video when user navigates away
from the gesture settings.

Test: Manual - play gesture animation videos, then switch to another app
in recents. Verifies from logcat that NuPlayerDriver is not active.
Fix: 32064123

Change-Id: I3d0fb3946e4d0d77a686aa97cfabe667862cac17
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
2bd8835fda91bf0ac15eeee960cc91cc56ea5b6f 19-Oct-2016 Adrian Roos <roosa@google.com> Separate ambient display triggers am: 82829ee0b1 am: 5ba2074e31
am: c0dfa153f4

Change-Id: I2eed4a8bfbc8ded0f5d12b3284d8ae5a0cfb1823
82829ee0b1f6a13c34a1da91350a3647a3aa4474 14-Oct-2016 Adrian Roos <roosa@google.com> Separate ambient display triggers

Allows configuring notification and sensor triggers
separately. Introduces a helper class that hosts the
logic for determining what kinds of triggers a device
supports.

Bug: 32073185
Change-Id: Ie7e8eb6b895dcc54e6f972e70642c7248b9e223a
Test: disable "ambient display", sensor triggers should still work
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
99238ff174cebc212724729a06252837cbf6d21c 17-Oct-2016 Doris Ling <dling@google.com> Add static preview images to gesture settings. am: 12e4bebabf am: df7b815980
am: fccee6adae

Change-Id: Ia745f80fa47a7316cb462918f900de001b1ecf03
df7b815980fe8fd7979e640c1fb6a380130b0546 17-Oct-2016 Doris Ling <dling@google.com> Add static preview images to gesture settings.
am: 12e4bebabf

Change-Id: I4f5f16b109c4997b15b93320945bbb3ccab06735
ec5314f2f51477c87fc63ee7e1b20d77c71e1fd7 17-Oct-2016 Doris Ling <dling@google.com> Merge "Add static preview images to gesture settings." into nyc-mr1-dev
dc9f6c71be9a448edd95c1843737eb4000f0ca90 12-Oct-2016 Doris Ling <dling@google.com> Remove pickup gesture settings if sensor is not found. am: 94e0da52fc am: 79aa718669
am: ef980e4dd1

Change-Id: I6d5ee494b26838f0c508f297a28a18ccc1867422
12e4bebabf42f5dd4c3c794073f16d3db22a82a8 30-Sep-2016 Doris Ling <dling@google.com> Add static preview images to gesture settings.

Set the animation preview image view to the newly added preview image
instead of loading it from animation video.

Test: manual - launch gesture settings and visually check the animation
preview images.

Bug: 31636637

Change-Id: If25a0e3501bea0c6343326a143d665ec79e3d7c7
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
94e0da52fc0df0ffc810cf5de56a057da8e41a4c 11-Oct-2016 Doris Ling <dling@google.com> Remove pickup gesture settings if sensor is not found.

Update gesture settings to check for available pickup sensor before
showing pickup gesture settings.

Test: manual - launch gesture settings on different device and check for
pickup preference. Auto test pending.

Bug: 32072298

Change-Id: Iaab0290dcfeb2b0c9195df685f225d092a658347
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
c037ed5bdb02f9a6e55e0910b7a482f5a58fd4b9 07-Oct-2016 Doris Ling <dling@google.com> Add condition check for double tap gesture settings. am: c8b7555fc9 am: 7f62890cad
am: a5eb66eb01

Change-Id: I0d56e0b1e3b25bd589fcfd4ba2301d51369f217e
c8b7555fc91300ca97437f9fa045d5f8474dccdf 05-Oct-2016 Doris Ling <dling@google.com> Add condition check for double tap gesture settings.

Only shows the double tap gesture preference if the config is enabled.

Test: manual - launch gesture settings on different devices and check
for double tap preference. Auto test pending.
Bug: 31930457

Change-Id: Id972f60035d0c74f0832395f0229691cd3296d60
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
430025c4d6283ce53b5c50a82ef0c425d935ed0f 24-Sep-2016 Doris Ling <dling@google.com> Split Ambient Display settings. am: 1ad58d0abf am: f89766dbab
am: 0dfe46fe58

Change-Id: I33ffaa71c09cff7a4df496c42371519367e1772c
1ad58d0abf63a2b1675a93f908367b8a2ed56a08 07-Sep-2016 Doris Ling <dling@google.com> Split Ambient Display settings.

1. Reverting the changes for Display->Ambient Display; this setting
will control incoming notification pulse.
2. Added 2 separate entries in gestures settings to control pick up
and double tap gestures-triggered pulsing for Ambient Display.
3. Added automated tests to verify the preference initializes to the
correct default value, and also verify that toggling the preference
updates the corresponding settings correctly.

Test: make SettingsTests

Bug: 30595437
Change-Id: I125bf75fc4ccfea126a00ffae4207fcb789f487a
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
d0c7de09f0ded97cb6bbdb79141e3f3685af1a7e 27-Aug-2016 Doris Ling <dling@google.com> Re-enable Ambient Display double tab. am: fec320324c am: 6bc8858379
am: 5d4c701707

Change-Id: I01c2e3a4a207f0338744228171a0cee7ff6bfbab
fec320324cefe96c677fff12597c39cd47ad9d6f 26-Aug-2016 Doris Ling <dling@google.com> Re-enable Ambient Display double tab.

Restoring the changes to move Display->Ambient Display to Moves->Quick screen

This reverts commit 9b3000d8ac256093bbf62d04c518b67df244c311, except for
the removal of res/raw/gesture_ambient_move_lift.mp4

Test: Manual - Go to Settings->Display->Quick screen check and verify
the preference is restored.

Bug: 30595437
Change-Id: Ie50bcebd119714d49422b7139d0d0234f27584e2
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
e668afed14ee4952febd7575cff72d43446ed1e6 24-Aug-2016 Fan Zhang <zhfan@google.com> Merge "Use isOemUnlockEnabled to drive oem unlocking toggle." into nyc-mr1-dev am: 2c8178db3a am: a9d2aa8dfa
am: 77ba0620ea

Change-Id: I7a557b4ce9923b7d9b3bd2add8c02fdbadfe589d
008ba4ec402c6b223ff4126d9a180b3931a049ef 24-Aug-2016 Doris Ling <dling@google.com> Fix animation video render issue when Settings->Moves is resumed from
screen off.

Re-initialize the animation video if necessary when the preference is
visible to the user.

Fixes: 31023261

Test: manual -
1. Go to Settings -> Moves and verify that the animation video are
displayed correctly on load.
2. Press power button to turn screen off, then on again. Verify when
Moves settings resumes, the animation video is displayed correctly.
3. Repeat #2 above but let display time out instead of turning off
screen by power button.

Change-Id: I0ee21d23a4c402b3a8463dca3b36fce67d651993
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
6507613ebcd22e4691c2af92a5c161bd327db336 08-Aug-2016 Fan Zhang <zhfan@google.com> Log visibility change for all fragments.

Bug: 30681771
Test: SettingsUnitTests

Refactor visibility logging from InstrumentedFragment into a mixin. And
apply mixin in remaining fragments.

Change-Id: Ibbb59904336254a3e4bb9e8c7d0b36e5a6bc2622
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
9b3000d8ac256093bbf62d04c518b67df244c311 05-Aug-2016 Doris Ling <dling@google.com> Revert change to move Display->Ambient Display to Moves->Quick screen
check.

1. Add back original toggle for Display->Ambient Display and revert
summary text.
2. Remove Moves->Quick screen check preference and related scroll logic.
3. Remove ambient display related animation videos

Bug: 30686297
Change-Id: Ie01a201f0a8deb0a858bc2a7f9cc607b749ab6e4
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
d59fcc94be38e49d9259b614f33ea14907b85dc4 28-Jul-2016 Doris Ling <dling@google.com> Update UI for gesture settings.

1. Add list divider between each gesture preference
2. Increase top-padding from 16dp to 24dp
3. Move fingerprint swipe preference to the top of the list
4. Change default value for fingerprint swipe to OFF.

Bug: 30416729
Change-Id: If0a6ee080defb2e3dbd36fbda6e047c23a1b1026
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
de991f457d0fae9c2a084df02147374d379caa41 20-Jul-2016 Doris Ling <dling@google.com> Get gestures animation preview image in async loader.

When user scrolls in Gestures Settings, the textureview used for the
animation video will be destroyed if the view is scrolled outside the
screen. When the view is scrolled back in, a slight flicker is seen as
the animation video is not instantly made available on the new surface
texture. We are now retrieving the preview image in an async loader
after the preference is created, so that it will not delay the original
loading of the gestures settings page, but the preview will be made
available while we initialize the animation video in the new surface
texture.

Bug: 29790087
Change-Id: I83f4a5bc4f24b7aab4c0cc851cb524c10e74f328
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
c2733db43fde3c98b5cd979a27de5bd3ee458f33 19-Jul-2016 Doris Ling <dling@google.com> Merge "Fix janky scrolling for Gestures Settings." into nyc-mr1-dev
ffb87f7e2a6df2a3695f717ae5a13bb7dbe6cd78 19-Jul-2016 Doris Ling <dling@google.com> Add Gestures settings to search index.

Add GestureSettings class to the resource map of
SearchIndeSearchIndexableResources so that the preferences in the
gestures settings will be indexed and showed up as search result.

Bug: 30169776
Change-Id: I51be9e82dc8bce93e2abd13b48ceb3cd051cbcf4
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
9345e4b3b69d13db7ca8db07b92f13c68cf69e11 19-Jul-2016 Doris Ling <dling@google.com> Fix janky scrolling for Gestures Settings.

1. Move the media player initialization/cleanup to construstor and
onDetach() of GesturePreference correspondingly, so that it's only
done once instead of every time when a new texture surface is available.
2. Pause the animation video when user scrolls.

Bug: 29790087
Change-Id: I51e6a787f9f2964b6bfc5288f7f5af801ccecc31
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
6b1a2a8cc8edd802a9a1bf5d9834e5ecbea5d112 06-Jul-2016 Doris Ling <dling@google.com> Add handling for gesture settings for double twist for camera flip.

Add handling for updating the secure settings for camera double twist
when user updates the on/off toggle, and move
SYSTEM_NAVIGATION_KEYS_ENABLED from Global to Secure.

Bug: 29869445
Change-Id: Iebb937509a661b012688a3eb36efe08d2292ff26
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
9a3cf7725baf16afdce5a8380af8bf5939de2ee6 01-Jul-2016 Doris Ling <dling@google.com> Fix layout transition from Display->Ambient Display to Gestures

1. Add handling in Gestures settings to scroll to the corresponding
preference when launching from Display->Ambient Display
2. Remove the bitmap creation for the video preview image
3. Use a custom aspect ration framee layout to hold the animation
instead to avoid resizing of the animation view.

Bug: 29795707
Change-Id: I67209ba2508a93da4fc46ff20986309dbe5a83d5
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
ec208fdb8f9af6afb7fddc2e9fef01c56f00bd53 30-Jun-2016 Doris Ling <dling@google.com> Add help url for gestures settings.

Override getHelpResource() in GestureSettings and added corresponding
resource string for the help url.

Bug: 29792538
Change-Id: I2f2d93fc25b63266504bd13b954fefa5692e9ddf
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
f6e4c5f1ff7b2298777b8e0e3c1c0b5d84192d8a 23-Jun-2016 Andrew Sapperstein <asapperstein@google.com> Flip default value for nav key setting.

It's on by default.

BUG: 28565958
BUG: 29550614
Change-Id: I3bec47f9f495bfec946f09d314407e6b48672b0a
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
9b223788ee7ace5690950e5a7e3839ab21ba9e52 22-Jun-2016 Andrew Sapperstein <asapperstein@google.com> Flip default values of two gesture settings.

The settings are enabled by default but the UI wasn't reflecting
that.

Change-Id: Ia321d12bcced4a7e2aa8c4a9fc0a0b7b3f5dad4a
FIXES: 29550614
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
b1eadb11b43edb72de550c620bcf668aedfee9df 16-Jun-2016 Doris Ling <dling@google.com> Add handling for fingerprint swipe in gesture settings.

Hide fingerprint swipe setting if it is not supported, and update the
corresponding config when user enable/disable the fingerprint gesture.

Bug: 28565958
Change-Id: I5a124d3b6933ea6d3aadceaa0eecaa4bee2ccd9d
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
d0c8fd724de38e6389e5b99a9d042c983365186a 14-Jun-2016 Doris Ling <dling@google.com> Update gesture related settings in Display.

1. Remove "Press power button twice for camera. Toggle is now available
in Settings->Gestures.
2. Remove toggle from "Ambient Display" and make it point to
Settings->Gestures->Quick screen check.

Bug: 28565958
Change-Id: I32fd2253a40be76ac9843a627df153eb4f1307d8
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java
9136523a434cb9ddf4619f7013753e42bfc2e64a 24-May-2016 Doris Ling <dling@google.com> Added new setting for gestures.

Added a new entry to the top level Settings' Device section to
enable/disable gestures.

Bug: 28565958

Change-Id: Icf642b6a3058c692fb2be9914579996598f03b7d
/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java