Update pin keyboard UI in the views based lockscreen

Desktop / Chromium - Sarah Hu [chromium.org] - 14 July 2017 19:21 EDT

Refine the pin keyboard UI in the lockscreen which includes 1. Update the style/icon of the pin button 2. Tweak the spacing between user view, password view and pin keyboard. 3. Add ripple to pin button.

Mocks: https://gallery.googleplex.com/projects/MCHbtQVoQ2HCZdwfnbqy2eSi/files/MCHm5Lyh8lQ6SZ3vjzwd3Uo8wMSJbxAVNpw


Bug: 719015 Change-Id: I83a2ea93848498f9bb4023cfb677aa176b3b4174 Reviewed-on: https://chromium-review.googlesource.com/562239

745c82a Update pin keyboard UI in the views based lockscreen.
ash/login/ui/login_auth_user_view.cc | 27 ++-
ash/login/ui/login_password_view.cc | 8 +-
ash/login/ui/login_pin_view.cc | 181 +++++++++++++++++----
ash/login/ui/login_pin_view.h | 4 +-
ash/login/ui/login_user_view.cc | 2 +-
ash/resources/vector_icons/BUILD.gn | 6 +
.../vector_icons/lock_screen_arrow.1x.icon | 16 ++
ash/resources/vector_icons/lock_screen_arrow.icon | 15 ++
.../vector_icons/lock_screen_backspace.1x.icon | 31 ++++
.../vector_icons/lock_screen_backspace.icon | 31 ++++
.../vector_icons/lock_screen_dropdown.1x.icon | 14 ++
.../vector_icons/lock_screen_dropdown.icon | 13 ++
12 files changed, 304 insertions(+), 44 deletions(-)

Upstream: git.chromium.org


  • Share