How lawnchairlauncher/lawnchair works
Lawnchair is an Android home app built on Launcher3, combining a home-screen launcher with Pixel-inspired features and customization. The principal workflow begins with a user interacting with the launcher and ends in home-screen content or an invoked action. Global search, widget picking, theming, icon/font customization, At a Glance, and Recents integration are distinct product branches. The tree and README identify these capabilities, but most implementation excerpts were not supplied; links between their modules are therefore limited to the documented workflow rather than asserted internal calls.
Main entry points: LawnchairLauncher.kt Launcher Activity · LawnchairSearchUiDelegate.kt Home Search UI · PreferenceManager.kt User Preferences · LawnchairLayoutFactory.kt Workspace & Layout
Components 18
Home Experience
- Launcher Activity
lawnchair/src/app/lawnchair/LawnchairLauncher.kt - Workspace & Layout
lawnchair/src/app/lawnchair/LawnchairLayoutFactory.kt - Gesture Actions
lawnchair/src/app/lawnchair/gestures/GestureController.kt - Widget Picker
compose/features/com/android/launcher3/widgetpicker/WidgetPickerComposeWrapperImpl.kt - Launcher Data
lawnchair/src/app/lawnchair/data/AppDatabase.kt
Search
- Home Search UI
lawnchair/src/app/lawnchair/search/LawnchairSearchUiDelegate.kt - Search Algorithms
lawnchair/src/app/lawnchair/search/algorithms/LawnchairSearchAlgorithm.kt - Search Providers
lawnchair/src/app/lawnchair/search/algorithms/engine/provider/ContactsSearchProvider.kt - Web Search Choices
lawnchair/src/app/lawnchair/qsb/providers/QsbSearchProvider.kt - Search Results
lawnchair/src/app/lawnchair/allapps/views/SearchResultView.kt
Customization
- Icon Themes
lawnchair/src/app/lawnchair/icons/LawnchairThemeManager.kt - Icon Packs
lawnchair/src/app/lawnchair/icons/iconpack/IconPack.kt - Font Management
lawnchair/src/app/lawnchair/font/FontManager.kt - User Preferences
lawnchair/src/app/lawnchair/preferences/PreferenceManager.kt
Platform Features
- At a Glance
lawnchair/src/app/lawnchair/nexuslauncher/SmartSpaceHostView.kt - QuickSwitch & Recents
lawnchair/src/app/lawnchair/overview/TaskOverlayFactoryImpl.kt - Android Compatibility
compatLib/src/main/java/app/lawnchair/compatlib/QuickstepCompatFactory.java
Other components
- Android User
Connections 17
- Android User → Launcher Activity: opens and interacts
- Launcher Activity → Workspace & Layout: shows home screen
- Launcher Activity → Home Search UI: offers global search
- Home Search UI → Search Algorithms: queries
- Search Algorithms → Search Providers: searches contacts
- Home Search UI → Web Search Choices: selects web search
- Home Search UI → Search Results: presents results
- Launcher Activity → Widget Picker: offers widget selection
- Launcher Activity → Gesture Actions: handles gestures
- Launcher Activity → User Preferences: exposes customization
- User Preferences → Icon Themes: configures appearance
- User Preferences → Icon Packs: configures icons
- User Preferences → Font Management: configures fonts
- Launcher Activity → At a Glance: hosts At a Glance
- Launcher Activity → QuickSwitch & Recents: integrates Recents
- QuickSwitch & Recents → Android Compatibility: uses platform compatibility
- Workspace & Layout → Launcher Data: persists launcher data