feat: M6.10–M6.19 批量收编 + M6.19 推卡验收
- M7 launcher 重写 5 期(虚拟化宫格/meow_theme 单一权威/横幅动画/自定义 PIN 键盘) - OOM 通用化(cachegov 上收 SDK)、自动切歌根治、meowpanel jv_free 泄漏修复、Hello 滚动卡顿修复 - ncm 歌词 UI / 媒体通知封面 / 封面分辨率 640 - 5 bug 修复:ncm 后台化 UI 叠层+点击穿透、再进 ncm 桌面叠层、播放页新旧 UI 叠层抢刷脏区(meow_ui_gfx 恢复边沿整帧重画)、PIN 亮屏亮度跳(keys.c meow_panel_on 按 settings_brightness_clamped 恢复)、通知中心封面显歌单封面(cover.c save_cover_raw 加 is_song + 命中块守卫) - 四 App 统一重链新 meow_ui.a 51caee4a;M6.19=0.8.19 固件 2d2331f2 推卡自刷验收全绿
This commit is contained in:
1 parent
c2ee7626a4
commit
3d70a3dd2c
176 files changed
+15507
-597
No files matched your search
@@ -46,9 +46,11 @@ static int g_fail = 0;
|
||||
/* pm_cx[] = util.c 同源;pm_cy[] = power_menu.c 同源 */
|
||||
static const int pm_cx[PM_NUM] = { 175, 305, 175, 305, 175, 305 };
|
||||
static const int pm_cy[PM_NUM] = { 250, 250, 390, 390, 530, 530 };
|
||||
/* SDK 图标:2 回HiBy=ARROW_BACK、5 取消=CLOSE;其余 -1=自定义画布(pm_icons 专有) */
|
||||
/* M7.0b 曾将 2 回HiBy / 5 取消 走 SDK sb_icons(meow_iconbtn),实测 meow_iconbtn 把 32×32 位图
|
||||
* 按 0.6*size 放大到 ~60px 致锯齿;定案回退 pm_icons 专有 56×56 1:1(恢复 M6.8 尺寸)。
|
||||
* 镜像:全部 -1 = 自定义画布(pm_icons 专有)。 */
|
||||
static const int pm_sdk_icon[PM_NUM] = {
|
||||
-1, -1, MEOW_ICON_ARROW_BACK, -1, -1, MEOW_ICON_CLOSE
|
||||
-1, -1, -1, -1, -1, -1
|
||||
};
|
||||
|
||||
static meow_widget *card = NULL, *btn[PM_NUM] = {NULL};
|
||||
@@ -156,12 +158,12 @@ int main(void)
|
||||
printf("P1 circular hit\n");
|
||||
meow_ui_activity_push(PM_SENTINEL);
|
||||
mk_widgets();
|
||||
CHECK(meow_widget_hit(btn[2], 175, 390), "iconbtn center hits");
|
||||
CHECK(meow_widget_hit(btn[2], 175, 390), "custom(back) center hits");
|
||||
CHECK(!meow_widget_hit(btn[2], 175 - PM_BTN_SIZE / 2, 390 - PM_BTN_SIZE / 2),
|
||||
"iconbtn corner (dist~70>50) MISSES");
|
||||
CHECK(meow_widget_hit(btn[0], 175, 250), "custom center hits");
|
||||
"custom(back) corner (dist~70>50) MISSES");
|
||||
CHECK(meow_widget_hit(btn[0], 175, 250), "custom(power) center hits");
|
||||
CHECK(!meow_widget_hit(btn[0], 175 - PM_BTN_SIZE / 2, 250 - PM_BTN_SIZE / 2),
|
||||
"custom corner MISSES");
|
||||
"custom(power) corner MISSES");
|
||||
|
||||
/* ============ P2 owner/enabled 双闸门 ============ */
|
||||
printf("P2 owner/enabled gate\n");
|
||||
@@ -188,12 +190,12 @@ int main(void)
|
||||
meow_widget_set_state(btn[0], MEOW_WS_PRESSED, 0); meow_widget_draw(btn[0]);
|
||||
unsigned short pr0b = px565(175 + 38, 250);
|
||||
CHECK(pr0 != pr0b, "custom pressed -> bg tint pixel changes");
|
||||
/* iconbtn 选中态 */
|
||||
/* 选中态(自定义画布:selected=primaryContainer 圆底变化) */
|
||||
draw_all(-1);
|
||||
unsigned short ic0 = px565(175 + PM_BTN_SIZE / 4, 390);
|
||||
meow_widget_set_selected(btn[2], 1); meow_widget_draw(btn[2]);
|
||||
unsigned short ic1 = px565(175 + PM_BTN_SIZE / 4, 390);
|
||||
CHECK(ic1 != ic0, "iconbtn selected -> circle-bg pixel changes");
|
||||
CHECK(ic1 != ic0, "custom(back) selected -> circle-bg pixel changes");
|
||||
|
||||
/* ============ P4 主题四态(MD3/MIUIx × 明暗):卡片+圆钮渲染 + export 九字段 ============ */
|
||||
printf("P4 theme 4-state render + meow_theme_export\n");
|
||||
|
||||
Reference in new issue
Block a user