Release 0.1.2 with navigation sounds and smoother Home scrolling
All checks were successful
Validate and publish Kaleido / android (push) Successful in 2m14s
All checks were successful
Validate and publish Kaleido / android (push) Successful in 2m14s
This commit is contained in:
parent
6269425b33
commit
430616330b
21 changed files with 232 additions and 18 deletions
|
|
@ -31,6 +31,8 @@ def browse():
|
|||
launch();key(20)
|
||||
if focus(snapshot()) in ('Play','Resume'):key(20)
|
||||
wait(lambda r:focus(r) not in ('','Home','Play','Resume'),'Content focus')
|
||||
tracing='--trace' in sys.argv
|
||||
if tracing:adb('shell','atrace','--async_start','-b','32768','-a','tv.kaleido.app','gfx','view','sched')
|
||||
adb('shell','dumpsys','gfxinfo','tv.kaleido.app','reset')
|
||||
geometry=[]
|
||||
for _ in range(5):
|
||||
|
|
@ -40,6 +42,7 @@ def browse():
|
|||
adb('shell','input','keyevent',*(['KEYCODE_DPAD_RIGHT']*15))
|
||||
adb('shell','input','keyevent',*(['KEYCODE_DPAD_UP']*12))
|
||||
stats=adb('shell','dumpsys','gfxinfo','tv.kaleido.app','framestats').decode(errors='replace')
|
||||
if tracing:(OUT/'browse-regression-atrace.txt').write_bytes(adb('shell','atrace','--async_stop','-a','tv.kaleido.app','gfx','view','sched'))
|
||||
(OUT/'browse-framestats.txt').write_text(stats)
|
||||
(OUT/'browse-geometry.json').write_text(json.dumps(geometry,indent=2))
|
||||
print(json.dumps(geometry),flush=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue