Skip to content

Skip redundant workspace blur clears and per-frame logging - #29

Merged
denson9874 merged 2 commits into
mainfrom
claude/project-thread-k94qqh
Sep 29, 2026
Merged

denson9874 merged 2 commits into
mainfrom
claude/project-thread-k94qqh

Conversation

@denson9874

Copy link
Copy Markdown
Owner

Requested by Daryl Denson · project thread

Before: on every depth frame (app open/close, All Apps transitions), BaseDepthController cleared the RenderEffect on Workspace and Hotseat and force-invalidated them, even when no blur was set. It also allocated a new blur RenderEffect each frame during All Apps transitions and built log strings every frame.

After: Workspace and Hotseat are only cleared and invalidated when a blur was actually applied, the blur effect is reused while the radius stays the same, and the per-frame Log.v/Log.d calls are gone.

How: a mWorkspaceEffectApplied flag gates the per-frame clear via a new private clearWorkspaceRenderEffectsIfApplied(). The public clearWorkspaceRenderEffects() still clears unconditionally (and resets the flag), so the existing stuck-blur workarounds in DepthController and Folder behave as before. Re-setting the cached effect every blur frame is a no-op in View.setRenderEffect when unchanged, and restores the blur if something external cleared it.

Not compiled or run here (no Android SDK in the environment); needs an on-device check that All Apps and swipe-home blur/un-blur cleanly.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TAW7TbURAB9ubVrCLqLMub


Generated by Claude Code

…ontroller

Only clear and invalidate workspace/hotseat RenderEffects when a blur was
actually applied, reuse the blur RenderEffect while the radius is unchanged,
and drop the Log calls that ran on every depth frame.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TAW7TbURAB9ubVrCLqLMub
@denson9874 denson9874 self-assigned this Sep 29, 2026
@denson9874
denson9874 marked this pull request as ready for review September 29, 2026 20:06
@denson9874
denson9874 merged commit 9db838d into main Sep 29, 2026
7 checks passed
denson9874 added a commit that referenced this pull request Sep 30, 2026
… fixes from public main (#29-#33)

Ports the android/ part of public main 938e9c6..73b6592 (PRs #29-#33):
- #29 BaseDepthController: skip redundant workspace blur clears and per-frame logging
- #30 stop reloading the whole model on every recreate (always-reload-icons default off)
- #31 stop re-binding prediction containers on every resume and state change
- #32 Pixel-style drawer search: instant results, calculator on by default, opaque
  focused pill, "Pixel Search (third-party)" label
- #33 locale change reloads the model; seeded provider results with session guard;
  Enter never opens a Play Store search while web suggestions load; calculator only
  answers real calculations (sqrt added)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
denson9874 added a commit that referenced this pull request Sep 30, 2026
…ge-following labels, bump to v4.0.0 (49)

Major release built on the #29-#33 port: instant drawer search that keeps rows in place, opaque
focused pill, calculator on by default and only for real calculations, Enter searches the web,
fewer blur clears, no full model reload on recreate, no prediction re-binds on resume, and labels
that follow a system language change. Default changes: "Always reload icons" off unless set,
calculator results on. Changelog 49, 4.0.0 announcement and parity ledger updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants