kMinimizeThreshold constant
double
const kMinimizeThreshold
Downward travel, since the last direction reversal, that reads as intent to minimize.
Roughly 1.5 lines of body text, or about 100 ms at a typical 200 px/s reading scroll: far enough that a thumb resting on a settling list cannot trip it, near enough that the bar is already shrinking before the first row leaves the viewport.
Implementation
static const double kMinimizeThreshold = 20.0;