History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9c7844cb91b43929d0a86b1c90aa1efb37f5463a 18-Jan-2017 Jason Monk <jmonk@google.com> Work on sysui dependencies

One of the many problems with PhoneStatusBar is that it holds
dependencies for many other parts of SysUI. Fix this by creating
a static method of grabbing dependencies that are global to sysui
this cleans up a lot of chains of interdependence.

Also add easy way to inject mocks of these dependencies for the
purpose of testing.

Test: runtest systemui
Change-Id: Ia0e947faea62d15b665facada47ac9916c99f895
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
3a8c35e33820ac258958ba4b4d88e1ad22a302ae 06-Oct-2016 Vadim Tryshev <vadimt@google.com> Make lockscreen user list closeable via keyboard.

Bug: 31994316
Test: Manual check with the keyboard
Change-Id: I0526d107ec39f6b926a7651bd501d229beee1dce
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
d390b893eafae634844d7b8b84efaa7baa199119 05-May-2016 Adrian Roos <roosa@google.com> Fix density change bugs in SystemUI

- Reinflate KeyguardUserSwitcher on density changes.
- Update size of UserAvatar on Keyguard.
- Fix brightness slider width in quick settings.
- Refetch and rescale user icons on density changes.

Change-Id: I961c59b8b224d6ac22cbbb8e115b8a12547a04b9
Fixes: 28535987
Fixes: 28454340
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
aa7f51fe8c6e54485f0b5037c17777b4695d19e0 16-Mar-2016 Evan Rosky <erosky@google.com> Centralized user icon drawing with badges

Renamed CircleFramedDrawable to UserIconDrawable and
added badge/frame support.
Replaced several instances of user icon drawing with
UserIconDrawable

Bug: 27483956
Change-Id: I10d665406ea8b085667aa8c71ffcedffe72dafbd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
07140f7ffd56bf9d4946eba4e48b21a748125659 17-Feb-2016 Fyodor Kupolov <fkupolov@google.com> Disable switching users until user 0 is unlocked

Switching with user0 locked can be re-enabled by setting
allow_user_switching_when_system_user_locked flag to a non-zero value

Bug: 26933989
Change-Id: I0958058f1cc8a059db9c20930e07183c14c8460a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
c18010f6720f606003cde3cd376ddacaca30f6e5 20-Jan-2016 Selim Cinek <cinek@google.com> Refactored the interpolators to use only one single instance

Previously many objects parsed their own interpolators leading
to memory and computational overhead.
This is now unified into a single Static class.

Change-Id: I0537aca0e6dad10a7ffd52ba64b7356b0c5e4672
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
5673353559453ecb57fc767b4e7500dd46e44079 10-Jun-2015 Jorim Jaggi <jjaggi@google.com> Animations/success state for external confirm device credentials (1/2)

Bug: 20929186
Change-Id: I8ca396e353189da7da3e9c98f841b76c876e461e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
844c92b444dca7f5ef4d0943fb14e2cbeee49701 01-Dec-2014 Adrian Roos <roosa@google.com> Refresh user list a little more eagerly

Unfortunately, we don't get a signal when user restrictions such as
for adding new users change. That means the user switcher UI could get
out of sync and showed the add user option when in fact it couldn't add one.

Also cleans up an unused method.

Bug: 18292723
Change-Id: I56f6f848d967d9d1c11bd6262eacbdb11f90cfe2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
c5db390f5b5c6c685267dd22cf3b2926f54fba35 21-Nov-2014 Adrian Roos <roosa@google.com> Revert "Only keep user switcher bitmaps if needed"

This reverts commit cba0faadbe1c8cf7c6b264b761d747f7381a2f93
with change id I416beb82156787e61ee1f59b6726fd702f135f68.

It keeps the fix preventing us from reclipping already loaded
bitmaps.

Bug: 18350670
Change-Id: I0562d38d2a6eb0b715adcd4ca77512f2cbedd320
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
cba0faadbe1c8cf7c6b264b761d747f7381a2f93 17-Nov-2014 Adrian Roos <roosa@google.com> Only keep user switcher bitmaps if needed

Only keeps icons if the user switcher is accessible. On phones, this
is any time quick settings is expanded. On tablets, this would be whenever
the keyguard shows. Reloading them on each screen off transition seems too
wasteful however, so we keep them in-memory all the time on tablets.

Bug: 18350670
Change-Id: I416beb82156787e61ee1f59b6726fd702f135f68
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
2b154a9ec32915fe4a0dbc648344586fb5fa0261 17-Nov-2014 Adrian Roos <roosa@google.com> Reduce user icon RAM usage

Reduces the size of the icon in UserInfoController. Also
prevents UserSwitcherController from being instantiated if user
switching is not available.

Bug: 18350670
Change-Id: I38fbf28fad87e5c0d999ab6e3764f93269a95e05
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
f9c0e8f02f3483d6aa9e762c97a2c02ea50eeb02 11-Nov-2014 Selim Cinek <cinek@google.com> Added dissapear animation to pattern and pin input

Bug: 18232017
Change-Id: I062d55b0870ccaad6093b672f5076c3f80c10f94
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
2d1ef3012c98c07877816f3587514cca98609550 24-Oct-2014 Adrian Roos <roosa@google.com> Close keyguard user switcher on tap outside

Also closes when tapping the current user.
Also fixes a bug, where the background alpha was
not properly initialized. And while we're at it,
fixes a bug where the user switcher was closable
in simple mode by extending quick settings.

Bug: 17691134
Change-Id: I5444fe42a8a2887ab012ef6cbdcc57ba81a8c1c2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
6becbe732a987b8adb8348e9486c6abe96e3c201 11-Aug-2014 Jason Monk <jmonk@google.com> Make simple user switcher notice setting changes.

To do this just check the state from the controller (which listens
for changes), rather than holding state locally.

Bug: 16888009
Change-Id: Ifdbf0055c7aa100941c6504cf3f469031c9c6e43
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
98f8530af3bb8636b7b173443c90686c485205d6 07-Aug-2014 Jorim Jaggi <jjaggi@google.com> Animations for Keyguard user switcher.

Bug: 15757197
Change-Id: Ia3fcc0f771cea37fc2d57181d859373c423954a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
bf1899e64c0fbb0fa211d883134012299fe79f41 07-Aug-2014 Jorim Jaggi <jjaggi@google.com> BG protection for user switcher on Keyguard.

Also fixes the position.

Bug: 15757197
Bug: 15545213
Change-Id: I9fab98652ab1ccad4e02d5cfa17b212a72a0a0b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
ccdff62159b41ab130a8f90d30edb9b9542d8c72 06-Aug-2014 Adrian Roos <roosa@google.com> Update User switcher to new spec, implement adding users

Also enforces restrictions on when guests can be added.

Bug: 15545213
Change-Id: Ia03747fbcc39f2b1b20876463c85afbac5057878
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
2daf62ce400fe58c7f0495dda432ba568a75f579 31-Jul-2014 Jason Monk <jmonk@google.com> Don't show guest when user switcher is simple

Bug: 15729059
Change-Id: I9e88f0e7d01044a7096d6fc8d67bcd328014a625
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
4538027dedbe7ebfc884ca35d20522a2a21a42d4 30-Jul-2014 Jorim Jaggi <jjaggi@google.com> Factor out keyguard components of StatusBarHeaderView

Make the header on keyguard a separate view, and move all Keyguard
components from StatusBarHeader into KeyguardHeaderView.

Change-Id: I1e2400d5c91898df3824fd8f27b10750d576a62c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
bc976e3f4c79a8565ec625564c92d316825f26a7 25-Jul-2014 Jorim Jaggi <jjaggi@google.com> Fix ordering of notifications, user switcher and QS panel

Also closes the user switcher when opening QS on Keyguard because
touch logic would interleave with QS.

Change-Id: I391dc9bcba7f9e2e99c0854d34ed0ec6efbb2f44
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
723632ea1ae30b33e9c2055194a4464f00c48c61 23-Jul-2014 Adrian Roos <roosa@google.com> Update KeyguardUserSwitcher to use UserSwitcherController

Also wires up the button to expand the keyguard user switcher.
Also respects the EDU simple switcher setting.

Bug: 16043126
Change-Id: I58871ec3323b2cafcacbc747fec5f20c56172969
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
4d75c079f35d85b687d8349e5e2940447d01198e 17-Jul-2014 Dan Sandler <dsandler@android.com> Shrink user profile bitmaps to 48dp^2.

Can save megabytes of memory.

Bug: 16371371
Change-Id: Ifec5cff3a3376d045ee4e3b605edeb8d9ac93799
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java
8ddb2da8759c29b3968b4d6bb9488f59a19f0ff2 17-Jun-2014 Adrian Roos <roosa@google.com> Implement keyguard user switcher

Bug: 15545213
Change-Id: I2d18cc3c83d76991fe11fc4bff7e8eecc25df4b5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardUserSwitcher.java