partpressprobe

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: 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 partpressprobe shows the pressed state of segmented-button segments and split-button halves (#1156) on a device, for a screenshot taken while a press is held.

A segmented button with three segments sits above a split button. Every tap logs

partpressprobe: TAP <what>

Expected, with the change: a press held on the first segment shows a state layer rounded on the left only; on the middle segment, square; on the last, rounded on the right only. Nothing spills past the outline and no gap shows at a seam. A press on the split button's primary half shows on that half, rounded on the left; one on its dropdown half shows there, rounded on the right. Before #1156 the segments and the split button showed nothing while pressed.

go run ./hack/partpressprobe

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

With -auto (desktop) it presses each segment and each split-button half itself, captures the window while the press is held, and compares two pixels per part against a capture with nothing pressed: one just inside the part's rounded outer corner, which the state layer must leave alone, and one just inside its square inner corner, which the layer must change. It logs one PASS or FAIL line per part and exits non-zero on any FAIL.

go run ./hack/partpressprobe -auto

Jump to

Keyboard shortcuts

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