Members

(static, constant) PROGRESS_BAR_STRIP

VideoProgressBar's own height: the strip the bar occupies along the poster's bottom edge.

Default Value
  • 9

(static, constant) VERSIONS_BADGE_GAP

Gap between the versions badge and the bar. Without it the badge's bottom edge IS the bar's top edge, and the two read as one welded element on a partly-watched tile.

Default Value
  • 6

Methods

(static) createProgressBar() → {object}

Returns:
Type: 
object

(static) init() → {void}

Returns:
Type: 
void

(static) onIsWatchedChanged() → {void}

Returns:
Type: 
void

(static) onMediaSourceCountChanged() → {void}

Marks a tile whose item has more than one version, so the choice is visible while browsing instead of only on the details screen.

Pinned to the BOTTOM-LEFT, clear of the progress bar's strip plus a gap. The bar is added and removed on demand, so this badge cannot depend on whether it is there; the offset is computed from the constants, not from a bar node that may not exist yet.

Still flush to the LEFT edge, matching the watched badge's flush top-right anchoring. If the badge system later adopts a uniform inset, both move together (see poster-badge-system-undesigned).

Returns:
Type: 
void

(static) onPlayedPercentageChanged() → {void}

Returns:
Type: 
void

(static) onUnplayedCountChanged() → {void}

Returns:
Type: 
void

(static) resetBadge() → {void}

Returns:
Type: 
void

(static) updateBadgeSize() → {void}

Returns:
Type: 
void