Commit Graph

1066 Commits

Author SHA1 Message Date
二刺螈
809586ee86 fix: TriStateSwitch a11y not working
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-05-26 12:18:42 +08:00
二刺螈
5a00f84498 chore: v1.12.1
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-05-20 17:35:29 +08:00
二刺螈
28f7d340a7 fix: check a11y running state 2026-05-20 16:45:28 +08:00
二刺螈
84bfecff08 fix: can not receive ACTION_PACKAGE_ADDED 2026-05-18 11:54:30 +08:00
Ling0402
2530f82a06
feat: SnapShot Toast in Multiple Situation (#1363)
Some checks failed
Build-Apk / build (push) Has been cancelled
* feat: 快照成功toast判断截图tip

"快照成功"判断是否存在截图toast提示

* perf: 简写为also函数 & 布尔值语义纠正

* feat: 增加第三种情况demo

- 新增"目标App疑似截屏保护",判定逻辑ing
- when枚举

* feat: App拒绝提供画面逻辑 (方差法)

* fix: gpu位图崩溃隐患&防截屏判定逻辑

- 修复部分设备上 HARDWARE 位图无法直接读取像素导致的崩溃问题(强制转为 ARGB_8888)
- 引入 `recycleIfTemp` 辅助函数,统一并安全回收临时 Bitmap
- 增加裁剪状态栏逻辑,并将边缘忽略比例由 0.2 调整为 0.1
- 优化判定算法:引入纯黑极值像素占比统计,放宽方差阈值

* perf: 删除状态栏预处理&降低图片边缘排除阈值

- 调用函数涂黑属于写操作,且与忽略图片边缘操作本质相同,纯副操作.故删除
- 调低排除四周图片阈值至8%,降低纯黑界面却有字(正常)情况下错误识别

* perf: 死代码

bitmap !== bitmap为不成立,啥也没干

* perf: 简化toast语句

* fix: toast text

---------

Co-authored-by: 二刺螈 <i@songe.li>
2026-05-16 08:33:55 +08:00
二刺螈
dabf129292 chore: v1.12.0 2026-05-15 18:14:08 +08:00
二刺螈
3f369540e0 chore: v1.12.0-beta.9
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-05-09 11:16:50 +08:00
二刺螈
6811211dc7 fix: a11y update activity not work 2026-05-09 11:14:57 +08:00
二刺螈
b4009b85d2 fix: rm WeakHashMap in LifecycleCallbacks 2026-05-06 15:21:06 +08:00
二刺螈
42a5b3204f chore: v1.12.0-beta.8 2026-04-29 20:18:06 +08:00
二刺螈
370807bb26 fix: ignore a11y event from other display (#1350) 2026-04-29 18:21:43 +08:00
二刺螈
fa7eaac256 perf: TrackService FloatLayer
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-04-27 23:24:36 +08:00
二刺螈
27382b7de4 perf: upgrade to android 17
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-04-24 15:21:45 +08:00
二刺螈
78d1607fc6 chore: v1.12.0-beta.7 2026-04-23 10:36:06 +08:00
二刺螈
ade5ace9a2 fix: hidden api type
- IWindowManager.thawRotation
- IWindowManager.freezeRotation
2026-04-23 10:33:30 +08:00
二刺螈
b78cff60b0 chore: v1.12.0-beta.6
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-04-22 20:38:35 +08:00
二刺螈
b8a1d271bd fix: rule filter not work in AppConfigPage (#1340) 2026-04-22 20:37:44 +08:00
二刺螈
78f04005e9 chore: v1.12.0-beta.5 2026-04-21 14:40:18 +08:00
二刺螈
959f751c1d fix: globalGroup show in AppConfigPage 2026-04-21 14:38:24 +08:00
二刺螈
7adffb6cea chore: v1.12.0-beta.4 2026-04-21 11:38:14 +08:00
二刺螈
fa606991f8 fix: actualCheckedGroupSet not work 2026-04-21 11:04:48 +08:00
二刺螈
2f738b7148 chore: v1.12.0-beta.3 2026-04-20 11:56:40 +08:00
二刺螈
4cd0209507 fix: auto check app update
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-04-17 18:15:29 +08:00
二刺螈
4830e1f42e chore: update comment
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-04-16 12:23:27 +08:00
二刺螈
4d02537aaf feat: auto fix group key 2026-04-16 11:57:18 +08:00
二刺螈
e5768146e4 chore: v1.12.0-beta.2 2026-04-14 21:16:56 +08:00
二刺螈
352c6f8004 pref: resetScroll 2026-04-13 21:39:55 +08:00
二刺螈
22fc6812f7 fix: preFillExpVars screenHeight/screenWidth (#1334) 2026-04-13 20:37:41 +08:00
二刺螈
fbc16529eb fix: Swipe ActionResult (#1334) 2026-04-13 19:43:25 +08:00
二刺螈
fd24993c49 refactor: loc 2026-04-13 18:19:32 +08:00
二刺螈
7b841b83ad fix: getExternalFilesDir null (#1333)
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-04-13 15:10:53 +08:00
二刺螈
d2e337c0bf fix: add imageLoader to add cache/gif 2026-04-13 11:44:47 +08:00
二刺螈
86034d721c perf: use remap plugin access android hidden api
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-04-10 14:59:08 +08:00
二刺螈
0858914a9b perf: position calc
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-04-07 20:37:43 +08:00
二刺螈
2401cfc788 chore: v1.12.0-beta.1 2026-04-05 18:24:30 +08:00
二刺螈
3da6fcd82e fix: set maximumObscuringOpacityForTouch for TrackService (#1325)
Some checks failed
Build-Apk / build (push) Has been cancelled
close #1325
2026-04-05 15:05:35 +08:00
二刺螈
24c4069f79 feat: TrackService (#1321) 2026-04-04 20:11:12 +08:00
二刺螈
9927fdf181 perf: dialog layout 2026-04-04 20:11:12 +08:00
Ling0402
997e4de37a
perf: Apk Sign fullback (#1323)
* perf: Apk Sign fullback

* Clean up signing configuration comments in build.gradle.kts

Removed commented-out signing configuration management sections.

---------

Co-authored-by: 二刺螈 <i@songe.li>
2026-04-04 12:53:00 +08:00
二刺螈
917fa55059 perf: delete the wrapper key function of rememberSaveable (#1322) 2026-04-03 21:13:09 +08:00
二刺螈
5fb7ae15f9 perf: rm toast, add route log 2026-04-03 20:20:07 +08:00
二刺螈
6c29dc6b5e perf: make performAction suspend 2026-04-03 11:22:21 +08:00
Ling0402
95f5d00608
refactor: ImagePreviewPage (#1316)
* feat: img preview load err details print

* style: tap image to toggle top bar visibility

- toggle top/bottom bars via tap using detectTapGestures
- animate bars with fade + slide transitions
- replace magic bottom padding with navigationBars insets
- rename showTopBar → showBars for clearer semantics
- improve error retry tap handling

* refactor: img preview UI

- Box background: pure black
- Top bar with semi-transparent background, icons and text use white color on this page
- Pill-style page indicator

perf
Removed WindowInsets.navigationBars calculation at the bottom, centralized all UI control elements at the top to reduce visual clutter.

Used fontWeight = FontWeight.Bold to enhance number readability

* feat: add zoom, pan and double-tap support to image preview  Implement pinch zoom and pan gestures for images in ImagePreviewPage. Add double-tap zoom centered on the tap position and clamp offsets to image bounds.  When the image is zoomed in, HorizontalPager scrolling is temporarily disabled to avoid gesture conflicts. Pager scrolling is restored when scale returns to 1f.  Also allow tapping the image to toggle the top bar visibility.

- Implement pinch zoom and pan gestures for images in ImagePreviewPage.
Add double-tap zoom centered on the tap position and clamp offsets
to image bounds.

- When the image is zoomed in, HorizontalPager scrolling is temporarily
disabled to avoid gesture conflicts. Pager scrolling is restored when
scale returns to 1f.

* refactor: Telephoto for enhanced zoom gestures

- deps: add me.saket.telephoto:zoomable (0.18.0) to version catalog and app module.
- refactor(ImagePreviewPage):
    - Normalize single/multiple URI inputs into a unified `previewUris` list.
    - Implement immersive system bar handling using WindowInsetsController (hide on enter, restore on dispose).
    - Replace manual scale/offset logic with `Modifier.zoomable()` for smoother pinch-to-zoom and double-tap gestures.
    - Retain `AsyncImagePainter.State` branching to maintain existing Loading/Error UI feedback.
    - Integrate `ZoomableContentLocation` with `intrinsicSize` to ensure precise content boundary detection and pager gesture co-operation.

* fix: black background (not global)

* feat: show loading img preview info

* feat: preload all rule group preview images

* feat: view rules-name with h2

* perf: limit preview prefetch concurrency/merge rule titles

- 预加载改成最多 2 个并发,整组图片会分批预取,不再一次性全冲出去。

- 去掉了 `newBuilder().build()` 的临时 loader,图片显示和预取都改成走 `LocalContext.current.imageLoader`,阶段监听挂到 `ImageRequest` 上。

- 规则组图片标题改成 `uri -> List<title>` 聚合,同一张图被多个子规则复用时,副标题会合并展示,不再只保留第一个命中的归属。

- 清除preKeys标题生成的多余强转

* fix: improve status bar visibility handling, background color, contentScale

---------

Co-authored-by: 二刺螈 <i@songe.li>
2026-04-03 11:21:08 +08:00
二刺螈
6ca5853419 perf: always screenshot 2026-04-02 18:21:56 +08:00
二刺螈
50a6baa9fd fix: rm appRect 2026-04-02 18:08:17 +08:00
二刺螈
fec8090ba0 feat: AppConfigPage showDisabledRule (#1319)
Some checks failed
Build-Apk / build (push) Has been cancelled
2026-04-01 23:39:10 +08:00
二刺螈
2e4b058210 feat: swipe action 2026-04-01 22:01:13 +08:00
二刺螈
a5ee78e345 perf: ignore other a11y services 2026-04-01 17:40:20 +08:00
二刺螈
1e47ef7c96 feat: backup all config (#1230) 2026-03-30 22:01:16 +08:00
二刺螈
913d0de89c fix: windowInsets may be null (#1315) 2026-03-29 00:24:18 +08:00