Commit Graph
13 Commits
Author SHA1 Message Date
TMCandClaude Fable 5.2 38e93c3889 Folders: real icons for every app, and a fade in place when full screen
A folder opened soon after the launcher started could show blank spots
where some of its apps should be. Apps in a folder, other than those in
its icon's preview, were loaded as placeholders, and their icons were
fetched when the folder opened, on the model thread, which is busy with
the rest of the load for a while after every start and reload. With
labels off and no panel behind a full-screen folder, the placeholders
looked like missing apps. Reported from the owner's phone on 2026-11-16
(a nine-app folder showing its first row only, until some time later).
Seen on the emulator with the 1.0.2 release by restarting the launcher
and opening a folder three seconds later: two of its seven apps were
placeholder discs for about a quarter of a second. Every app in a folder
now gets its icon with the home screen's own (WorkspaceItemProcessor).

A full-screen folder fades in and out where it is
(FolderSpringAnimatorSet.buildInPlace). Its apps are at the bottom of
the screen, not at its icon, and the floating folder's animation, which
moves and scales every app between the icon's preview and its place,
looked over that distance like the apps rearranging themselves. The
folder's icon stays as it is behind the dimmed home screen. A folder
that a drag opens still floats and animates as before.

App views taken from the cache for a folder start at rest (alpha,
translation, scale, locked to the grid), in case an animation that was
cut short left one otherwise.

Checked on the emulator with a debug build: a folder opened about three
seconds after a restart shows every icon from its first frame; opening
and closing is a fade with nothing moving; six fast open, close and
reopen sequences over five folders drew every app, with no crash. Not
checked: a folder opened by dragging an app onto it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 16:57:34 +01:00
TMCandClaude Opus 5.5 7dfc8f24ea Mark every Flexera edit to Lawnchair and Launcher3 files
Comments only: git grep "Flexera Launcher:" now finds every behaviour
change Flexera made to an upstream file, so that upstream merges stay
easy. A reviewer rebuilt the files as they were before this pass and
found every code token unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:50:52 +01:00
TMCandClaude Opus 5.5 2a14ae11e0 Full-screen folders: apps at the bottom in the home screen's grid
At the user's request, a folder on the home screen or in the dock opens
over the whole screen instead of as a floating panel. Settings, Folders,
"Full screen folders", on by default; switched off, folders float as
before. Folders in the app list are unchanged.

- No panel. The home screen behind is darkened and blurred as behind the
  app drawer: black at 78% (FlexeraDrawer.BACKDROP_COLOR) and the largest
  blur radius, which the drawer's depth comes to.
- The apps sit at the bottom of the screen, centred, just above the
  navigation bar, with white labels and the folder's name below them,
  wherever the folder's icon is.
- They are laid out like the home screen's icons: its column count,
  filled row by row (FolderGridOrganizer.createFullScreenFolderGridOrganizer),
  in cells the size of the home screen's cells as a page lays them out
  (larger than the device profile's cell size, which the page stretches),
  so that the columns line up with the home screen's. A row is never lower
  than one app with its label needs. The folder icon's preview keeps the
  folder grid.

While a full-screen folder is open, state changes leave the scrim alone
(WorkspaceStateTransitionAnimation.setScrim), so that dragging an app
inside the folder no longer lightens its backdrop; the folder hands the
scrim back as it closes. The depth controller's folder blur now carries
its own strength (FolderBlur.strength); quick launch scales its blur by
FolderBlur.STRENGTH itself and looks as before. While full-screen folders
are on, Settings hides the panel's opacity and the folder column count,
which do not apply to them.

Checked on the emulator (Android 17, 4-column test grid): open, tap an
app, tap outside, Back, rename with the keyboard (the folder lifts above
it), reorder inside the folder (the backdrop holds), drag an app out to
the home screen, the setting off and on again (the floating folder comes
back with its panel, 3 columns and dark labels), and columns and rows
259 and 243 px apart, as on the home screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:01:25 +01:00
TMCandClaude Fable 5.2 3b7388c473 Blur behind open folders; hide the icons of a switched-off dock
Folder blur: while a folder is open on the home screen, what is behind it
is blurred, icons and widgets through a RenderEffect and the wallpaper
through the launcher surface's background blur. It is a new input of the
depth controller (folderBlur, 0 to 1), because that controller already
owns both kinds of blur and cleared anything set past it on every frame
of the folder's wallpaper zoom. The folder's spring animation drives it in
step with the dimming, and the places that reset the dimming reset it too.
It works with the wallpaper depth effect switched off, without bringing
the folder's wallpaper zoom along. Setting: Folders > Blur behind open
folders, on by default (flexera_folder_blur). Folders in the app list are
left as they were.

Dock: with the dock switched off the hotseat has no height, but its icons
were still drawn just below the screen edge, and the 97.5% zoom-out behind
an open folder brought their tops into view. One more alpha channel on
the icons hides them.

Checked on the emulator (Android 17 image, window blur available): open,
close by tap outside, Back and Home, an app started from the folder, sleep
and wake, the setting off, and the depth effect off.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 18:01:33 +01:00
Pun Butrach 9f1ed85224 fix: Adapt BaseDepthControllerImpl and folder spring animation properties 2026-10-26 00:49:09 +07:00
Charlie Anderson d66ece9a9c Fix folder clip reveal for multiple different issues
- Folder pages should not swipe out of bounds while opening
- Folder pages should be revealed if swiped in bounds while opening
- Closing the folder should not clip the preview icons

Bug: 458072199
Test: opening/closing/swiping a large folder
Flag: com.android.launcher3.enable_expressive_folder_expansion
Change-Id: I3773a9c79ec0e5efc24c0ac185a516353f955cec
2026-10-26 00:11:05 +07:00
Charlie Anderson 43940b201a Fix clip reveal so that folder doesn't scroll out of bounds while opening
Bug: 449923444
Flag: com.android.launcher3.enable_expressive_folder_expansion
Test: open folder and immediately swipe to next page

Change-Id: Iafa46f3748fdf0c1982b5de6df539b8c8609204f
2026-10-26 00:10:08 +07:00
Charlie Anderson 50cab79984 Fix folder animation workspace scaling to not conflict with other animations.
Bug: 456164513
Test: manual - close app and quickly open folder
Flag: com.android.launcher3.enable_expressive_folder_expansion

Change-Id: I47886b034402549176f99618699ae90bd0356086
2026-10-26 00:10:00 +07:00
Charlie Anderson e9c655dbf6 Add functionality to DepthController to control wallpaper zoom indepedently of blur
Also add wallpaper zoom to folder motion

Bug: b/387543793
Flag: com.android.launcher3.enable_expressive_folder_expansion
Test: manually and DepthControllerTest
Change-Id: I94142806ffb6dfb93d363017ef4d13b3a5e74681
2026-10-26 00:08:46 +07:00
Charlie Anderson ea06691a37 Convert BubbleTextView Alpha to use spring animation
Flag: com.android.launcher3.enable_expressive_folder_expansion
Bug: 387543793
Test: Manually verifying


Change-Id: Ibadedb1fef2542a4b8373ab3a4557c10c8752a77
2026-10-26 00:00:31 +07:00
Pavel VolkovandCursor f2897a16b4 fix: Respect folder color preference in spring folder animations (#6994)
Expressive folder animations ignored folderColor and always used the theme charcoal background. Resolve preview/open colors from prefs in both animation paths, and return after applying a custom color.

Reveal the first-page preview before showing the folder icon again, instead of sliding page previews for ~400ms after close.

Address CodeRabbit nit: the field was never populated after dropping the post-close slide animation.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 19:10:48 +08:00
MrSluffy dfe60b6729 fix(folder): Adjust folder height and scrim handling
Compute folder height from occupied rows and ensure scrim is correctly restored after close. Added CellLayout.getDesiredHeightForOccupiedRows and updated FolderPagedView.getDesiredHeight to use per-page occupied-row heights so folders don't leave empty space above the footer. Set footer translationY to 0 in FolderOpenCloseAnimationListener. Refactored FolderScrimAnimationListener to restore scrim via setScrimColors using the Launcher state (avoids lingering black dim layer) and pass Launcher into the listener. Added an ALL_APPS guard in FolderSpringAnimatorSet to avoid replacing the drawer scrim (fixes disappearing list background)

- Closes: #6551
2026-04-02 23:28:47 +08:00
Charlie Anderson b71758624a update folder anim for new folder specs and spring animation
- Refactors FolderAnimationManager into several classes including new FolderSpringBuilderAnimationManager
- Changes Folder animations to use animators resembling SpringAnimation
- Split up calculations from creating AnimatorSet

Bug: 387543793
Test: tested opening closing folders of different sizes
Flag: com.android.launcher3.enable_launcher_icon_shapes
Flag: com.android.launcher3.enable_expressive_folder_expansion
Change-Id: Idf1f21374f987389979ad45544ade1506b26fc0c
2025-04-11 13:57:38 -07:00