Android 9.0 Launcher3 removes the drawer mode and changes it to a single-layer series four

1 Overview

   In the 9.0 system product development, the system defaults to the sliding drawer mode in Launcher3, and the product requirements require modification to the single-layer mode, and the first part, the second part, and the third part have been modified in the previous two articles. Next To continue to modify Launcher3 to remove the drawer mode, modify the fourth lecture of the double-layer to single-layer series

2.Launcher3 removes the drawer mode double layer and changes it to the core class of single layer series 4

    packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/PortraitStatesTouchController.java
    packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java


  3. Analysis and implementation of the core function of Launcher3 removing the double layer drawer mode and changing it to a single layer series 4

    public class AllAppsTransitionController implements StateHandler, OnDeviceProfileChangeListener {
      
          private static final float SPRING_DAMPING_RATIO = 0.9f;
          private static final float SPRING_STIFFNESS = 600f;
      
          public static final FloatProperty<AllAppsTransitionController> ALL_APPS_PROGRESS =
                  new FloatProperty<AllAppsTransi

Guess you like

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