This commit migrates the dock and drawer QSB to use Jetpack Compose. This should open up greater customization possibilities, and also simplify implementation of certain features.
* fix: Font not updated to expressive variant
Change-Id: 6a36a1d751f327b639ae825d
Change-Summary: Font has not been updated to expressive variant in Launcher3
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
* fix: Add this file to version control
Change-Id: 6a36a1d751f327b639ae825d
Change-Summary: Font has not been updated to expressive variant in Launcher3
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
* chore: Apply suggestions
Change-Id: 6a36a1d751f327b639ae825d
Change-Summary: Font has not been updated to expressive variant in Launcher3
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
---------
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
Remove the automatic white background that gets added behind icons with
transparent areas, exposed via a Settings toggle. Relabels the existing
preference and ungates it from the themed-icons state.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds user-configurable spacing controls (similar to Nova Launcher):
- Workspace padding: horizontal & vertical sliders (Home screen > Layout).
Horizontal factor is applied to the source margin so cells fill the
freed space; vertical factor preserves the dock reservation so the last
row never overlaps the hotseat.
- Widget padding: slider (Home screen > Widgets), 0% removes the forced
padding, up to 200%.
- App drawer top padding slider (App drawer > Grid).
- Widget resize: respect the overridden resize mode so force/unlimited
resize shows handles even for widgets whose provider limits resizing.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
* fix(wallpaper): downsample carousel thumbnails and scope image loads to the view
The carousel decoded full-resolution wallpapers (often several MB each)
into small thumbnails, which can cause OutOfMemory with many/large
wallpapers. Decode with inSampleSize based on the thumbnail width, and
run the image-loading coroutines on a view-scoped CoroutineScope that is
cancelled in onDetachedFromWindow instead of leaking a new
CoroutineScope per image.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* refactor: extract bitmap downsampling to LawnchairUtils
Address review feedback: the inSampleSize calculation was duplicated by
the new carousel code and SearchTargetFactory.FilesTarget. Move it into
LawnchairUtils as calculateInSampleSize() plus a decodeSampledBitmapFromFile()
helper, and reuse it from both call sites.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* fix(wallpaper): read view dimensions on the main thread before decoding
decodeSampledWallpaper accessed View properties (height, layoutParams)
from inside withContext(Dispatchers.IO). Capture the requested width and
height on the main thread in loadWallpaperImage and pass them in, so no
View property is read off the main thread.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
* fix: Reimplement and only handle touch target on configured app
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
* feat: Promote to stable
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
* fix: Prevent app icons from conflicting with edit mode state
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
* fix: Address reviewer
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
* refactor: Make icon swipe settings enable by mandatory default
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
---------
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
- Shows store link in app long-press menu based on installer package
- Supports Play Store, F-Droid, Aurora Store, Droidify, and others
- Filters out system package installers
- Fix clipped text in internet search section headers on tablets.
- Use flexible header height with a minimum height to keep layout consistency.
- Keep spacer rows with fixed heights while allowing normal headers to grow.
- Increase tablet search row dimensions for better readability on large screens.
- Correct search result side margins by applying left/right padding independently.