Lock screen notification layout of Android9.0 native system SystemUI drop-down status bar and notification bar view

1 Introduction


 In the 9.0 system rom customization development, the function of the lock screen interface of the system's native systemui is also very important, so in the lock screen page layout, there is also a notification bar layout, so the next step is for the notification bar of the off screen and bright
screen Analyze the relevant process of the layout, and see what functions the lock screen page does after the screen is turned on

 

2. The core class of the lock screen notification layout of the native system SystemUI drop-down status bar and notification bar view

frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
frameworks/base/services/core/java/com/android/server/policy/PhoneWindowManager.java
frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java

3. Core function analysis and implementation of the lock screen notification layout of the native system SystemUI drop-down status bar and notification bar view
3.1 Analysis of bright screen related methods in PhoneWindowManager.java

    // Called on the DisplayManager's DisplayPowerController thread.
      @Override
      public void screenTurningOn(final ScreenOnListener screenOnListener) {
          if (DEBUG_WAKEUP) Slog.i(

Guess you like

Origin blog.csdn.net/baidu_41666295/article/details/130515560