Skip to content

feat(gif): autoplay visible GIF tiles with a Preview toggle - #869

Merged
LeanBitLab merged 1 commit into
mainfrom
feat/gif-autoplay-preview
Nov 19, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
feat/gif-autoplay-preview

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner
  • New switch in GIF settings, titled with the existing sound_pack_preview string (Preview), no summary. Disabled below Android 9 (needs AnimatedImageDrawable).
  • When on, only attached (visible) non-pack tiles decode, downsampled to gif_thumb_height, and animate; they stop on detach/recycle. Long-press live preview is unchanged when off.
  • Pref pref_gif_autoplay, default false.
  • Verified: assembleStandardDebug. Not tested on device.

https://claude.ai/code/session_017YwBxUSEvTqdtVVtF8FUkv

A Preview switch in GIF settings plays the tiles on screen without a
long-press. Only attached tiles decode and animate (downsampled to the tile
height) and they stop on detach, so off-screen items cost no CPU. Pack tiles
stay static. Needs Android 9+, the switch is greyed out below.
@LeanBitLab
LeanBitLab merged commit de9fed6 into main Nov 19, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the feat/gif-autoplay-preview branch November 19, 2026 00:02
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.

1 participant