[go: nahoru, domu]

tree: ac923dd332c28c90e53d3bc7fb29380a2266c038 [path history] [tgz]
  1. access_code_input.cc
  2. access_code_input.h
  3. animated_rounded_image_view.cc
  4. animated_rounded_image_view.h
  5. animation_frame.h
  6. arrow_button_view.cc
  7. arrow_button_view.h
  8. bottom_status_indicator.cc
  9. bottom_status_indicator.h
  10. fake_login_detachable_base_model.cc
  11. fake_login_detachable_base_model.h
  12. horizontal_image_sequence_animation_decoder.cc
  13. horizontal_image_sequence_animation_decoder.h
  14. hover_notifier.cc
  15. hover_notifier.h
  16. image_parser.cc
  17. image_parser.h
  18. lock_contents_view.cc
  19. lock_contents_view.h
  20. lock_contents_view_unittest.cc
  21. lock_debug_view.cc
  22. lock_debug_view.h
  23. lock_screen.cc
  24. lock_screen.h
  25. lock_screen_media_controls_view.cc
  26. lock_screen_media_controls_view.h
  27. lock_screen_media_controls_view_unittest.cc
  28. lock_screen_sanity_unittest.cc
  29. lock_window_unittest.cc
  30. login_auth_user_view.cc
  31. login_auth_user_view.h
  32. login_auth_user_view_unittest.cc
  33. login_base_bubble_view.cc
  34. login_base_bubble_view.h
  35. login_base_bubble_view_unittest.cc
  36. login_big_user_view.cc
  37. login_big_user_view.h
  38. login_button.cc
  39. login_button.h
  40. login_data_dispatcher.cc
  41. login_data_dispatcher.h
  42. login_detachable_base_model.cc
  43. login_detachable_base_model.h
  44. login_display_style.h
  45. login_error_bubble.cc
  46. login_error_bubble.h
  47. login_error_bubble_unittest.cc
  48. login_expanded_public_account_view.cc
  49. login_expanded_public_account_view.h
  50. login_expanded_public_account_view_unittest.cc
  51. login_keyboard_test_base.cc
  52. login_keyboard_test_base.h
  53. login_menu_view.cc
  54. login_menu_view.h
  55. login_palette.cc
  56. login_palette.h
  57. login_password_view.cc
  58. login_password_view.h
  59. login_password_view_test.cc
  60. login_pin_input_view.cc
  61. login_pin_input_view.h
  62. login_pin_input_view_unittest.cc
  63. login_pin_view.cc
  64. login_pin_view.h
  65. login_pin_view_unittest.cc
  66. login_public_account_user_view.cc
  67. login_public_account_user_view.h
  68. login_public_account_user_view_unittest.cc
  69. login_test_base.cc
  70. login_test_base.h
  71. login_test_utils.cc
  72. login_test_utils.h
  73. login_tooltip_view.cc
  74. login_tooltip_view.h
  75. login_user_menu_view.cc
  76. login_user_menu_view.h
  77. login_user_menu_view_unittest.cc
  78. login_user_view.cc
  79. login_user_view.h
  80. login_user_view_unittest.cc
  81. media_controls_header_view.cc
  82. media_controls_header_view.h
  83. non_accessible_view.cc
  84. non_accessible_view.h
  85. note_action_launch_button.cc
  86. note_action_launch_button.h
  87. note_action_launch_button_unittest.cc
  88. OWNERS
  89. pin_keyboard_animation.cc
  90. pin_keyboard_animation.h
  91. pin_request_view.cc
  92. pin_request_view.h
  93. pin_request_view_unittest.cc
  94. pin_request_widget.cc
  95. pin_request_widget.h
  96. public_account_warning_dialog.cc
  97. public_account_warning_dialog.h
  98. README.md
  99. scrollable_users_list_view.cc
  100. scrollable_users_list_view.h
  101. system_label_button.cc
  102. system_label_button.h
  103. user_switch_flip_animation.cc
  104. user_switch_flip_animation.h
  105. views_utils.cc
  106. views_utils.h
  107. views_utils_unittest.cc
ash/login/ui/README.md

General hierarchy of UI elements in authentication UI:

LockScreen is the root element, that owns LockContentsView (potentially wrapped in LockDebugView). It resides in kShellWindowId_LockScreenContainer layer of the primary display.

LoginDataDispatcher implements LoginScreenModel and redirects calls to its observers, main of which is LockContentView.

LockContentView is a full-screen view that owns and displays all other authentication UI elements:

  • When only one user is in the list it is displayed using LoginBigUserView;
  • When two users are on the list, they are displayed using two LoginBigUserViews;
  • When 3+ users are in the list, one LoginBigUserView is used to display selected user, and rest of the users are displayed using ScrollableUsersListView;
  • LoginExpandedPublicAccountView when the user tries to sign in to public account.
    • Allows selection of language/keyboard for Public session
    • Displays monitoring warning indicator and triggers PublicAccountWarningDialog
    • Allows to actually sign in to the public account
  • Also owns/refers to following optional UI elements:
    • LockScreenMediaControlsView
    • NoteActionLaunchButton
    • UI that shows information about system.
    • Various bubbles and indicators
      • UserAddingScreenIndicator displayed when screen is used for multiprofile login
      • BottomStatusIndicator for indicating management/ADB sideloading info
      • ManagementBubble for management disclosure
      • AuthErrorBubble for displaying auth errors
      • LoginErrorBubble for displaying:
        • security warnings when detachable keyboard does not match one used on previous login
        • ext4 migration warning
        • supervised user deprecation notice
      • LoginTooltipView for easy unlock tooltips

LoginBigUserView contains one of:

  • LoginPublicAccountUserView that consists of:
    • LoginUserView (see below)
    • Arrow button to proceed to showing LoginExpandedPublicAccountView (see above)
  • LoginAuthUserView that represents user information and provides UI for authentication. It consists of:
    • LoginUserView
      • (Animated) user image
      • Name label
      • Drop-down info with an option to remove user
    • LoginPasswordView that shows:
      • Password input field
      • “Show Password” button
      • CAPS LOCK indicator
      • Submit button
      • Quick unlock indicator
    • or pair of LoginPinView (that provides digital keyboard) along with LoginPinInputView (that provides positional input field)
    • Password/PIN toggle button
    • Button to trigger online sign-in
    • FingerprintView
    • ChallengeResponseView
    • DisabledAuthMessageView (e.g. when child user has an associated time limit)
    • LockedTpmMessageView

PinRequestWidget works as a standalone UI. It contains a PinRequestView that consists of LoginPinKeyboard and one of either FixedLengthCodeInput or FlexCodeInput, both of which are subclasses of AccessCodeInput.