summaryrefslogtreecommitdiff
path: root/apps/lang
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2024-07-30 19:12:33 +0200
committerChristian Soffke <christian.soffke@gmail.com>2024-08-11 13:18:50 -0400
commit48400b6ec112118b69123d2374a3bb7d8df78f89 (patch)
tree70fafdc76f0b5c91455afec84e672f3f9ce93295 /apps/lang
parent28badc5703615d71dbffbdb6b4be499513727980 (diff)
downloadrockbox-48400b6ec112118b69123d2374a3bb7d8df78f89.tar.gz
rockbox-48400b6ec112118b69123d2374a3bb7d8df78f89.zip
fileop: fix slow pre-scan & flashing progress bar
Scanning files before a delete or copy operation was slowed down by splashf() being called too frequently. - Delay and update splashf every 0.5s (the scan will often be finished in a split second) - Only clear screen buffer before scan info is redrawn - Display name of *top* level item only, to prevent bar from jumping around due to the string length changing - Use item size for progress bar, so that the overall progress isn't interrupted by each file's progress - Display processed & total file sizes (KiB if total is < 10MiB, or MiB otherwise) - Move delete confirmation before scan to provide instant UI feedback Change-Id: I882a8db4161a46aca2d398e371ec4ed018fc8501
Diffstat (limited to 'apps/lang')
0 files changed, 0 insertions, 0 deletions