Android 10.0 systemui status bar pulls down to the left to display the notification bar and slides to the right to display the process analysis of the control center module

1 Introduction


  In the system rom customization development of android10.0, when the native systemui of the system customizes the layout of the custom drop-down status bar, when the systemui pull-down status bar slides down, it is necessary to judge whether to slide out the notification bar
or Slide out the control center module, so it is necessary to distinguish the x coordinate value according to the screen width, which is the left slide out notification bar or right slide out control center module, and then analyze the related function code analysis effect diagram such as the status bar slide coordinates
,
etc. picture:

 

 

 

2. Slide down the systemui status bar to the left to display the notification bar and slide to the right to display the core class of the process analysis of the control center module

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java

3. The systemui status bar pulls down to the left to display the notification bar and slides to the right to display the core function analysis and implementation of the process analysis of the control center module


 In 10.0, the layout management of the sliding status bar in systemui is in NotificationPanelView.java, by monitoring the related methods of gesture sliding, to
pull down the status bar layout according to the sliding distance, etc. Next, analyze the relevant code flow

  @Over

Guess you like

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