天天看点

android8.0 Launcher源码 (12) --- Launcher 启动流程 桌面布局参数

这篇主要是讲各布局的细节参数的计算。
           

我们来看一下这一步的具体代码。

mDeviceProfile.layout(this, false /* notifyListeners */);
        loadExtractedColorsAndColorItems();

        mPopupDataProvider = new PopupDataProvider(this);

        ((AccessibilityManager) getSystemService(ACCESSIBILITY_SERVICE))
                .addAccessibilityStateC
           

继续阅读