Full-screen folders: fixes from the pre-release audit

The audit of 2026-11-14 found these in the new full-screen folders, all
confirmed by independent reviewers and checked on the emulator where
marked:
- A folder that a drag opens (hovering an app over its icon) opens as a
  floating folder around its icon again, so the drop lands in it
  (emulator: the app went into the folder). The page for that drag is
  worked out with the grid the folder actually opens with.
- A tap beside the apps or beside the name closes the folder; only the
  name's text starts renaming (emulator). Swipes between pages still
  work from the grid's empty cells.
- Rows are capped to what fits above the folder's bottom margin; extra
  apps go to the next page instead of being cut off.
- A folder that finishes closing no longer resets the backdrop, blur,
  scale and status bar of a folder that has just opened; one still
  closing is finished at once when another opens. A folder animating
  closed also lets a new touch through, so a tap on another folder right
  after closing one opens it (emulator, 0.25 s apart).
- Status bar icons are light over a full-screen folder (a new
  SystemUiController state), and the page dots are white on its backdrop.

flexera_strings.xml carries the new strings of this whole round of
fixes, so that each of the following commits finds them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TMCandClaude Opus 5.5 committed 2026-11-14 18:50:49 +01:00
1 parent ea4e823df7
commit f79b503ffb
7 files changed
+285 -37

No files matched your search

@@ -130,6 +130,7 @@ public class FolderPagedView extends PagedView<PageIndicatorDots> implements Cli
super(context, attrs);
ActivityContext activityContext = ActivityContext.lookupContext(context);
mOrganizer = folderGridOrganizer;
// Flexera Launcher: the grid a floating folder goes back to (setFullScreen).
mFloatingOrganizer = folderGridOrganizer;
mIsRtl = Utilities.isRtl(getResources());
@@ -148,14 +149,22 @@ public class FolderPagedView extends PagedView<PageIndicatorDots> implements Cli
/**
* Flexera Launcher: a full-screen folder (app.flexera.home.FullScreenFolders) lays its apps out
* in the home screen's columns, each as wide as on the home screen; a floating one in its own
* grid. Called as the folder opens, before its items are bound.
* grid. Called as the folder opens, before its items are bound. {@code maxHeight} is the most
* this view can be high in the folder, its padding included.
*/
void setFullScreen(boolean fullScreen) {
void setFullScreen(boolean fullScreen, int maxHeight) {
mFullScreen = fullScreen;
mOrganizer = fullScreen
? FolderGridOrganizer.createFullScreenFolderGridOrganizer(
mFolder.mActivityContext.getDeviceProfile())
: mFloatingOrganizer;
if (fullScreen && mFolder.mActivityContext instanceof Launcher launcher) {
// No more rows, of the cells createAndAddNewPage gives them, than fit in that height;
// the apps that do not fit go to the next pages.
DeviceProfile grid = launcher.getDeviceProfile();
int gap = grid.folderCellLayoutBorderSpacePx.y;
int room = maxHeight - getPaddingTop() - getPaddingBottom();
int rowsThatFit = (room + gap) / (FullScreenFolders.cellSize(launcher).y + gap);
mOrganizer = FolderGridOrganizer.createFullScreenFolderGridOrganizer(grid, rowsThatFit);
} else {
mOrganizer = mFloatingOrganizer;
}
}
/**