decideprobe

command
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2026 License: BSD-3-Clause Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command decideprobe live-verifies that sliders, carousels and scrolls still follow the finger on a touch device now that a drag's direction is decided after 10 pt rather than 4 (#1589).

The window has, from the top: a three-page carousel, a slider on its own, and a vertical scroll whose first row is a second slider. That second slider is the case the rule is about: a sideways drag on it must move the slider, and a vertical drag must scroll the list, even when the finger drifts the other way first.

Every change is printed as a machine-greppable line (logcat tag Bellui on Android), t in milliseconds since launch:

decideprobe ready scale=2.500 content=0,32 carousel=0,0+432x200pt slider=0,200+432x40pt inner=0,248+432x40pt scroll=0,240+432x600pt
decideprobe carousel pos t=1234 cur=0 x=[-57 375 off]
decideprobe carousel changed cur=1 t=1300
decideprobe slider v=42.0 t=1400
decideprobe slider ended v=55.0 t=1500
decideprobe inner v=10.0 t=1600
decideprobe inner ended v=10.0 t=1700
decideprobe scroll y=120 t=1800

Positions are in points relative to the window content. On a phone the content starts below the status bar, at content= (points); a touch at screen pixels (px, py) is at ((px/scale)-content.x, (py/scale)-content.y).

With a finger: drag each slider slowly and fast, from a standing start and with a slight vertical wobble first; swipe the carousel slowly and with a flick; scroll the list by dragging on the inner slider's row vertically. The slider's first change should land where the finger is, not 10 pt behind, and nothing should jump.

Scripted over adb, `input motionevent DOWN/MOVE/UP` gives a drift before the sideways move, which `input swipe` cannot. Start every gesture at least 150 px from the screen's left and right edges: Android takes a drag that starts at the edge as the system Back gesture, and the probe leaves the screen.

It quits by itself after fifteen minutes.

Android: package with `bellui package --target android/arm64 --app-id com.trendvidia.decideprobe` from this directory, install, launch, then `adb logcat -s 'Bellui:*' | grep decideprobe`. iOS: `bellui package -os ios --app-id com.trendvidia.decideprobe` from this directory, install with devicectl, and launch it. On iOS every line is also appended to Documents/decideprobe.log in the app's container, since a console capture ends with the process; copy it off with `xcrun devicectl device copy from --domain-type appDataContainer --domain-identifier com.trendvidia.decideprobe --source Documents/decideprobe.log --destination decideprobe.log`. The ready line carries the process id, so a relaunch shows in the file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL