33namespace CarouselHeroKeylines
45 qreal small_leading = 0;
46 qreal small_center = 0;
47 qreal large_leading = 0;
48 qreal large_center = 0;
49 qreal medium_leading = 0;
50 qreal medium_center = 0;
51 qreal scroll_step_leading = 0;
52 qreal scroll_step_center = 0;
55auto computeMetrics(
const CarouselLayoutInput& in) -> HeroMetrics;
56auto phaseKeylines(
const CarouselLayoutInput& in, HeroPhase phase,
bool keep_leading_peek) -> KeylineList;
57void computeHeroSnapOffsets(CarouselLayoutOutput& out,
const CarouselLayoutInput& in,
58 bool keep_leading_peek);
59auto keepLeadingPeek(
const CarouselLayoutInput& in) -> bool;