pressprobe

command
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: BSD-3-Clause Imports: 8 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 pressprobe shows the press feedback of Button and IconButton (#1085) on a device, for a screen recording.

The top row holds a Button of each importance, one with an icon, and two IconButtons. Below them, a scrolling list of buttons checks that a touch that turns into a scroll leaves no pressed state behind and taps nothing. Every tap logs

pressprobe: TAP <label>

Expected, with the change: a press shows a state layer that spreads from the finger while it is down, and finishes and fades after the lift, so a quick tap still shows it. A scroll that starts on a list button cancels its press and logs no TAP. Before #1085 a tap showed a faint ripple only after the lift.

go run ./hack/pressprobe

On Android, package it and read logcat for "pressprobe".

Jump to

Keyboard shortcuts

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