glowprobe

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: 15 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 glowprobe measures what an animated RadialGradient costs on a device (#1009). It draws Daysong's cover the way Player builds it: a 300 dp square holding a full-size LinearGradient, two centred RadialGradients whose size and start colour breathe, and a glyph over them. A ticker updates the two glows at a chosen rate, as Player's animation cap does.

Buttons above the cover pick the rate (0, 2, 10, 30 or 60 updates a second) and "glow only" hides the LinearGradient and the glyph, which separates the glows' own cost from that of what lies under them. "tiny" makes each update change a 4 dp square under the buttons instead of the glows: the same frames with almost nothing to draw, which separates a frame's fixed cost from the glows'. Each change prints a line, and once ready the probe prints where each button is, in pixels:

glowprobe ready scale=2.225 button rate0=212,480 rate2=... glowonly=...
glowprobe rate=30 glowonly=false
glowprobe updates=1800 in 60.0s

Drive it with adb: `adb shell input tap <x> <y>` with a button's pixels. It quits by itself after thirty minutes.

Android: package with `bellui package --target android/arm64 --app-id com.trendvidia.glowprobe` from this directory.

Jump to

Keyboard shortcuts

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