History log of /packages/apps/Settings/src/com/android/settings/widget/VideoPreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a358ba47c8bc04833ca9a567c0f6d0970652402 30-Mar-2018 Lei Yu <jackqdyulei@google.com> Add battery illustration

Also update the VideoPreference to handle the full screen
illustration by adding attr isFullWidth and aspectRadio.

Change-Id: If2ccba4ce792801c6fd79b7c60af4e3826c091cc
Fixes: 74409022
Test: Screenshot | RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/widget/VideoPreference.java
c84001528c7d798bf4ed6a9fc59cbd38276068c5 20-Jul-2017 Doris Ling <dling@google.com> Fix gesture preview image visibility not set correctly.

- update for the preview image is done only in onStart()/Stop().
Move the handling to onPause()/onResume() instead so that visibility
updates will also be done when switching between pages.
- remove the obsolete GesturePreference class.

Change-Id: I743a9d41f17aab3303201e11e5bba708ca5810ae
Fix: 63783217
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/widget/VideoPreference.java
a689787b71ffba193a5d5dd0a82767447dd922a0 11-Jul-2017 Doris Ling <dling@google.com> Automatically play the gesture video when the setting is launched.

- and save the video pause state on config change so that the paused
video will not auto start again on screen rotation.

Change-Id: I3f41849ee3063942fb4141e4556e494bc8439226
Fix: 63145847
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/widget/VideoPreference.java
26ce68c0ead793888b4c8e13b317fc122d7644b0 08-Mar-2017 Fan Zhang <zhfan@google.com> Hide video preference when video is not avaiable.

Change-Id: Ic4efc21d41b328591f2146534b7edecd86cb83ac
Fix: 35855399
Test: manual
/packages/apps/Settings/src/com/android/settings/widget/VideoPreference.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/widget/VideoPreference.java