Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- activities - Variable in class yearreview.app.data.sources.fitness.databse.FitnessDatabase
-
A Set that stores all
Activities
by sorted by their starting times. - Activity - Class in yearreview.app.data.sources.fitness.databse
-
Internal representation of a fitness-activity, stored inside the
FitnessDatabase
. - Activity(String, ActivityType, GPX) - Constructor for class yearreview.app.data.sources.fitness.databse.Activity
-
Constructor for an activity that gets timing values from the GPX-track.
- Activity(String, ActivityType, Instant, Duration, Length) - Constructor for class yearreview.app.data.sources.fitness.databse.Activity
-
Constructor for an activity without a GPX-track.
- Activity(String, ActivityType, Instant, Duration, Length, GPX) - Constructor for class yearreview.app.data.sources.fitness.databse.Activity
-
Constructor for an activity with all values.
- activityIterator - Variable in class yearreview.app.data.sources.fitness.databse.FitnessTopListAdapter
-
Iterator for the Activities provided by the
FitnessDatabase
. - activityStringToType - Static variable in class yearreview.app.data.sources.fitness.adapters.StravaAdapter
-
List of Maps for all languages to convert the names of activities to the
ActivityTypes
. - ActivityType - Enum in yearreview.app.data.sources.fitness.databse
-
Enum that describes possible
Activities
stored in theFitnessDatabase
. - ActivityType() - Constructor for enum yearreview.app.data.sources.fitness.databse.ActivityType
- adapter - Variable in class yearreview.app.data.processor.toplist.TopListGenerator
-
Adapter used to get the
TopListElements
from aDataSource
. - adapters - Variable in class yearreview.app.data.sources.audio.AudioDataSource
-
Adapters used for loading the listening histories.
- adapters - Variable in class yearreview.app.data.sources.fitness.FitnessDataSource
-
List of adapters to use for loading data.
- addAnimation(AnimatedNumber) - Static method in class yearreview.app.animation.AnimationManager
-
Adds an animation to the Manager.
- addCover(ImageReference) - Method in class yearreview.app.data.sources.audio.database.AudioData
-
Adds a cover to an AudioData-object after initialization.
- addValue(Value) - Method in class yearreview.app.data.processor.toplist.TopListElement
-
Adds a given Value to the internal Value of that type.
- ALBUM - Enum constant in enum yearreview.app.data.sources.audio.database.AudioData.Type
- AnimatedNumber - Class in yearreview.app.animation
-
A Number that is animated using an AnimationCurve.
- AnimatedNumber(float) - Constructor for class yearreview.app.animation.AnimatedNumber
-
Constructs an AnimatedNumber from a starting value and with
AnimationCurve.EASE_IN_OUT
as the defaultAnimationCurve
. - AnimatedNumber(float, AnimationCurve) - Constructor for class yearreview.app.animation.AnimatedNumber
-
Constructs an AnimatedNumber from a starting value and AnimationCurve.
- AnimatedVector2D - Class in yearreview.app.animation
-
A Vector that is animated using two
AnimatedNumbers
for the x- and y-values. - AnimatedVector2D(Vector2D) - Constructor for class yearreview.app.animation.AnimatedVector2D
-
Constructs a new AnimatedVector2D from an initial position.
- AnimatedVector2D(Vector2D, AnimationCurve) - Constructor for class yearreview.app.animation.AnimatedVector2D
-
Constructs a new AnimatedVector2D from an initial position and a Curve to use for animation.
- animateTo(float) - Method in class yearreview.app.animation.AnimatedNumber
-
Animates the value to a given new value.
- animateTo(float, Duration) - Method in class yearreview.app.animation.AnimatedNumber
-
Animates the value to a given new value with a certain animation duration.
- animateTo(float, Duration, AnimationCurve) - Method in class yearreview.app.animation.AnimatedNumber
-
Animated the value to a given new value with a certain animation duration and AnimationCurve.
- animateTo(Vector2D) - Method in class yearreview.app.animation.AnimatedVector2D
-
Animates the Vector to a new position using the default Duration and Curve.
- animateTo(Vector2D, Duration) - Method in class yearreview.app.animation.AnimatedVector2D
-
Animates the Vector to a new position using the default Curve.
- animateTo(Vector2D, Duration, AnimationCurve) - Method in class yearreview.app.animation.AnimatedVector2D
-
Animates the Vector to a new position.
- ANIMATION_DURATION - Variable in class yearreview.app.grid.widgets.TestWidgetAnimation
-
Duration of the animation to play.
- ANIMATION_FRAME_COUNT - Static variable in class yearreview.app.grid.widgets.TestWidgetAnimation
-
Amount of frames to wait until the next animation should be played.
- AnimationCurve - Class in yearreview.app.animation
-
Curve used for animating.
- AnimationCurve(AnimationCurveControlPoint...) - Constructor for class yearreview.app.animation.AnimationCurve
-
Constructs a AnimationCurve from a set of Control-Points.
- AnimationCurveControlPoint - Class in yearreview.app.animation
-
A Control point used in the Creation of an
AnimationCurve
. - AnimationCurveControlPoint(float, float) - Constructor for class yearreview.app.animation.AnimationCurveControlPoint
-
Constructs a Control-Point from a position.
- AnimationCurveControlPoint(float, float, float, float) - Constructor for class yearreview.app.animation.AnimationCurveControlPoint
-
Constructs a Control-Point from a position and direction.
- AnimationCurveControlPoint(Vector2D) - Constructor for class yearreview.app.animation.AnimationCurveControlPoint
-
Constructs a Control-Point from a position.
- AnimationCurveControlPoint(Vector2D, Vector2D) - Constructor for class yearreview.app.animation.AnimationCurveControlPoint
-
Constructs a Control-Point from a position and direction.
- animationDuration - Static variable in class yearreview.app.config.GlobalSettings
-
Duration of all Animations happening in the video.
- animationEnd - Variable in class yearreview.app.animation.AnimatedNumber
-
Value at the end of the animation.
- AnimationManager - Class in yearreview.app.animation
-
Class that Stores all currently running animations and allows updating all of them in one function-call.
- AnimationManager() - Constructor for class yearreview.app.animation.AnimationManager
- animations - Static variable in class yearreview.app.animation.AnimationManager
-
Set that stores all currently running animations.
- animations - Variable in class yearreview.app.grid.widgets.TestWidgetAnimation
-
AnimatedNumbers
used to animate the dots. - animationStart - Variable in class yearreview.app.animation.AnimatedNumber
-
Value at the start of the animation.
- App - Class in yearreview.app
-
Main Application
- App() - Constructor for class yearreview.app.App
- ARTIST - Enum constant in enum yearreview.app.data.sources.audio.database.AudioData.Type
- assertAttributesExist(String...) - Method in class yearreview.app.util.xml.XmlNode
-
Makes sure that this node has certain attributes.
- assertChildNodesExist(String...) - Method in class yearreview.app.util.xml.XmlNode
-
Makes sure that this node has certain children.
- AUDIOBOOK - Enum constant in enum yearreview.app.data.sources.audio.database.AudioData.Type
- AudioData - Class in yearreview.app.data.sources.audio.database
-
Stores data about a
Piece
of audio (e.g. - AudioData(String, AudioData.Type) - Constructor for class yearreview.app.data.sources.audio.database.AudioData
-
Constructs an AudioData-object with name and type.
- AudioData(String, AudioData.Type, ImageReference) - Constructor for class yearreview.app.data.sources.audio.database.AudioData
-
Constructs an AudioData-object with name, type and image.
- AudioData.Type - Enum in yearreview.app.data.sources.audio.database
-
An enum containing the different types of AudioData available.
- AudioDatabase - Class in yearreview.app.data.sources.audio.database
- AudioDatabase() - Constructor for class yearreview.app.data.sources.audio.database.AudioDatabase
-
Constructs a Database by initializing the internal Datastructures.
- AudioDatabaseAdapter - Class in yearreview.app.data.sources.audio.adapter
-
Abstract class that defines how an adapter to an
AudioDatabase
should work. - AudioDatabaseAdapter(AudioDatabase) - Constructor for class yearreview.app.data.sources.audio.adapter.AudioDatabaseAdapter
-
Constructs an adapter.
- AudioDataSource - Class in yearreview.app.data.sources.audio
-
A
DataSource
that usesadapters
to load the listening-history from files exported from services like Spotify. - AudioDataSource(XmlNode) - Constructor for class yearreview.app.data.sources.audio.AudioDataSource
-
Constructs a new AudioDataSource from a given configuration.
- audioMap - Variable in class yearreview.app.data.sources.audio.database.AudioTopListAdapter
-
Maps all AudioData object to their associated TopListElements.
- audioMinCoverResolution - Static variable in class yearreview.app.config.GlobalSettings
-
Minimum size for covers downloaded for
AudioPieces
. - AudioPiece - Class in yearreview.app.data.sources.audio.database
- AudioPiece(String, AudioData.Type, List<AudioData>) - Constructor for class yearreview.app.data.sources.audio.database.AudioPiece
-
Constructs and AudioPiece from name, type and associated data.
- AudioTopListAdapter - Class in yearreview.app.data.sources.audio.database
-
An Adapter that transforms the data stored in an
database
so it can be processed by aTopListGenerator
. - AudioTopListAdapter(AudioDatabase, AudioData.Type) - Constructor for class yearreview.app.data.sources.audio.database.AudioTopListAdapter
-
Constructs a AudioTopListAdapter from a given database and
AudioData.Type
to get theDuraitonValues
for.
B
- backgroundColor - Static variable in class yearreview.app.config.GlobalSettings
-
Background of the video.
- BADMINTON - Enum constant in enum yearreview.app.data.sources.fitness.databse.ActivityType
- BezierCurve - Class in yearreview.app.animation
-
A Bezier-Curve used for calculation of smooth animations.
- BezierCurve(List<Vector2D>) - Constructor for class yearreview.app.animation.BezierCurve
-
Constructs a new BezierCurve from a list of Control-Points.
- BezierCurve(Vector2D...) - Constructor for class yearreview.app.animation.BezierCurve
-
Constructs a new BezierCurve from atleast two Control-Points.
- BINARY_SEARCH_PRECISION - Static variable in class yearreview.app.animation.AnimationCurve
-
Precision of the binary search when finding a certain x-value of a
BezierCurve
. - br - Variable in class yearreview.app.util.csv.CSVReader.CSVIterator
-
Reader used to read in the CSV-file.
C
- canContinue - Variable in class yearreview.app.animation.AnimationCurve
-
Whether the animation can continue another animation.
- canContinue() - Method in class yearreview.app.animation.AnimationCurve
-
Gets whether this AnimationCurve can continue another AnimationCurve by rotating the first
AnimationCurveControlPoint
. - CLIMBING - Enum constant in enum yearreview.app.data.sources.fitness.databse.ActivityType
- clipShape - Variable in class yearreview.app.grid.widgets.Widget
-
Shape that is used to clip the graphic so only the local space can be rendered to.
- comparator - Variable in class yearreview.app.data.processor.toplist.TopListGenerator
-
Comparator used to sort the
TopListElements
. - compare(TopListElement, TopListElement) - Method in class yearreview.app.data.processor.toplist.TopListElementComparator
-
Function that compares to TopListElements.
- compareTo(AudioData) - Method in class yearreview.app.data.sources.audio.database.AudioData
-
Compares AudioData-objects alphabetically by name.
- compareTo(ListeningEvent) - Method in class yearreview.app.data.sources.audio.database.ListeningEvent
-
Compares two ListeningEvents by their
ListeningEvent.time
. - compareTo(Activity) - Method in class yearreview.app.data.sources.fitness.databse.Activity
-
Compares one activity to another by comparing the starting times.
- compareTo(Value) - Method in class yearreview.app.util.value.DistanceValue
-
Compares to another Value-object.
- compareTo(Value) - Method in class yearreview.app.util.value.DurationValue
-
Compares to another Value-object.
- comparisonValue - Variable in class yearreview.app.data.processor.toplist.TopListElementComparator
-
Type of
Value
to compare by. - ConfigParser - Class in yearreview.app.config
-
Parser for the command line arguments and the configuration file.
- ConfigParser(String[]) - Constructor for class yearreview.app.config.ConfigParser
-
Constructs a ConfigParser and parses the arguments and config file.
- constructBezierBetween(AnimationCurveControlPoint, AnimationCurveControlPoint) - Static method in class yearreview.app.animation.AnimationCurveControlPoint
-
Constructs a
Bezier
between two Control-Points. - controlPoints - Variable in class yearreview.app.animation.AnimationCurve
-
BezierControlPoints used to initially create the curve.
- controlPoints - Variable in class yearreview.app.animation.BezierCurve
-
Array of Control-Points of the curve.
- cornerRadius - Static variable in class yearreview.app.config.GlobalSettings
-
Radius of the corners of the
widgets
. - count - Static variable in class yearreview.app.data.processor.toplist.TopListElement
-
Counts the TopListElements already in existence.
- cover - Variable in class yearreview.app.data.sources.audio.database.AudioData
-
Image to display alongside this data if available.
- CSVIterator(File) - Constructor for class yearreview.app.util.csv.CSVReader.CSVIterator
-
Constructs a CSV-Iterator from a given File.
- CSVReader - Class in yearreview.app.util.csv
-
A CSVReader that can create a stream of rows of a CSV directly from the file.
- CSVReader() - Constructor for class yearreview.app.util.csv.CSVReader
- CSVReader.CSVIterator - Class in yearreview.app.util.csv
-
An
Iterator
for the Rows of a CSV loading the Data right from aBufferedReader
. - currentActivity - Variable in class yearreview.app.data.sources.fitness.databse.FitnessTopListAdapter
-
Activity that is currently processed by the Adapter.
- currentActivityDistance - Variable in class yearreview.app.data.sources.fitness.databse.FitnessTopListAdapter
-
Distance of the current
Activity
that was already added to theTopListElement
. - currentActivityDuration - Variable in class yearreview.app.data.sources.fitness.databse.FitnessTopListAdapter
-
Duration of the current
Activity
that was already added to theTopListElement
. - currentEvent - Variable in class yearreview.app.data.sources.audio.database.AudioTopListAdapter
-
Events that is currently processed.
- currentEventListeningDuration - Variable in class yearreview.app.data.sources.audio.database.AudioTopListAdapter
-
Duration of the
event
that was already added to theTopListElement
. - curve - Variable in class yearreview.app.animation.AnimatedNumber
-
Curve used for the animation.
- curves - Variable in class yearreview.app.animation.AnimationCurve
-
Allows access to each Bezier by its starting x-value.
- CYCLING - Enum constant in enum yearreview.app.data.sources.fitness.databse.ActivityType
D
- data - Variable in class yearreview.app.data.sources.audio.database.AudioPiece
-
List of data associated to the piece.
- database - Variable in class yearreview.app.data.sources.audio.adapter.AudioDatabaseAdapter
-
Stores the database to insert the data into.
- database - Variable in class yearreview.app.data.sources.audio.AudioDataSource
-
Database to store the data in.
- database - Variable in class yearreview.app.data.sources.audio.database.AudioTopListAdapter
-
Database to adapt for the TopList.
- database - Variable in class yearreview.app.data.sources.fitness.adapters.FitnessAdapter
-
Database to insert the data into.
- database - Variable in class yearreview.app.data.sources.fitness.databse.FitnessTopListAdapter
-
Database to adapt for the
TopListGenerator
. - database - Variable in class yearreview.app.data.sources.fitness.FitnessDataSource
-
Database to store the activities in.
- DataManager - Class in yearreview.app.data
-
Manages all
DataSource
by creating them from a given configuration and loading them. - DataManager(XmlNode) - Constructor for class yearreview.app.data.DataManager
-
Creates a DataManager from a given configuration.
- dataMap - Variable in class yearreview.app.data.sources.audio.database.AudioDatabase
-
Map that stores the data with an associated key for fast access.
- dataPath - Variable in class yearreview.app.data.sources.audio.adapter.SpotifyAdapter
-
Path to the files exported from spotify.
- dataPath - Variable in class yearreview.app.data.sources.fitness.adapters.StravaAdapter
-
Relative path where to load the data from.
- DataSource - Class in yearreview.app.data.sources
-
A Datasource loads data from paths specified in the configuration.
- DataSource(XmlNode) - Constructor for class yearreview.app.data.sources.DataSource
-
Constructs a DataSource from a configuration.
- dataSources - Variable in class yearreview.app.config.ConfigParser
-
Configuration for the data sources.
- defaultCurve - Variable in class yearreview.app.animation.AnimatedNumber
-
Default curve used for animations if no curve is specified.
- dir - Variable in class yearreview.app.animation.AnimationCurveControlPoint
-
Direction of the Control-Point.
- distance - Variable in class yearreview.app.data.sources.fitness.databse.Activity
-
Distance of the activity.
- distance - Variable in class yearreview.app.util.value.DistanceValue
-
Internal representation of the Distance.
- DISTANCE - Enum constant in enum yearreview.app.util.value.ValueType
- DISTANCE_PRECISION - Static variable in class yearreview.app.util.value.DistanceValue
-
Precision to use in the
DistanceValue.toString()
-function. - DistanceValue - Class in yearreview.app.util.value
-
A
Value
that represents a Distance, internally using theLength
-Datatype. - DistanceValue(double, Length.Unit) - Constructor for class yearreview.app.util.value.DistanceValue
-
Constructs a DistanceValue from a distance in a certain unit.
- DistanceValue(Length) - Constructor for class yearreview.app.util.value.DistanceValue
-
Constructs a DistanceValue from a
Length
. - doubleValue() - Method in class yearreview.app.animation.AnimatedNumber
-
Gets the animation value as a double.
- DOWN - Static variable in class yearreview.app.animation.Vector2D
-
A constant Vector facing downwards: (0, 1)
- drawBackground() - Method in class yearreview.app.render.Renderer
-
Resets the
Graphics2D
to a blank frame. - duration - Variable in class yearreview.app.data.sources.audio.database.ListeningEvent
-
Duration of listening.
- duration - Variable in class yearreview.app.data.sources.fitness.databse.Activity
-
Duration of the activity.
- duration - Variable in class yearreview.app.util.value.DurationValue
-
Duration stored in this object.
- DURATION - Enum constant in enum yearreview.app.util.value.ValueType
- DURATION_SHOW_PARTS - Static variable in class yearreview.app.util.value.DurationValue
-
Parts of the Duration to output in the
DurationValue.toString()
-function. - DurationValue - Class in yearreview.app.util.value
- DurationValue(Duration) - Constructor for class yearreview.app.util.value.DurationValue
-
Constructs a new DurationValue from a Duration
E
- EASE_IN - Static variable in class yearreview.app.animation.AnimationCurve
-
A Curve for ease-in animations.
- EASE_IN_OUT - Static variable in class yearreview.app.animation.AnimationCurve
-
A Curve for ease-in-out animations.
- EASE_OUT - Static variable in class yearreview.app.animation.AnimationCurve
-
A Curve for ease-out animations.
- end() - Method in class yearreview.app.render.VideoWorker
-
Ends the ffmpeg-process.
- endTime - Static variable in class yearreview.app.config.GlobalSettings
-
Stores the time at that the video should end.
- EPISODE - Enum constant in enum yearreview.app.data.sources.audio.database.AudioData.Type
- eventIterator - Variable in class yearreview.app.data.sources.audio.database.AudioTopListAdapter
-
Iterator over the
events
of theAudioTopListAdapter.database
. - events - Variable in class yearreview.app.data.sources.audio.database.AudioDatabase
-
Set of all events sorted by time.
F
- ffmpeg - Variable in class yearreview.app.render.VideoWorker
-
ffmpeg-subprocess used for creating the video-file.
- ffmpegInput - Variable in class yearreview.app.render.VideoWorker
-
Stream used to input raw frames into ffmpeg.
- filterData(AudioData.Type) - Method in class yearreview.app.data.sources.audio.database.AudioPiece
-
Filters the
data
associated with the piece by a given type. - finished - Variable in class yearreview.app.util.csv.CSVReader.CSVIterator
-
Whether the Iterator has come to the end of the file.
- FitnessAdapter - Class in yearreview.app.data.sources.fitness.adapters
-
Abstract class that defines how an adapter to a
FitnessDatabase
should work. - FitnessAdapter(FitnessDatabase) - Constructor for class yearreview.app.data.sources.fitness.adapters.FitnessAdapter
-
Constructs a FitnessAdapter given a database to use for inserting the data
- FitnessDatabase - Class in yearreview.app.data.sources.fitness.databse
-
A Database that stores
Activities
sorted by their starting times. - FitnessDatabase() - Constructor for class yearreview.app.data.sources.fitness.databse.FitnessDatabase
-
Default Constructor for a FitnessDatabase that initializes the Set used for storing the
Activities
. - FitnessDataSource - Class in yearreview.app.data.sources.fitness
-
A
DataSource
that loads the Fitness Data exported from services like Strava usingadapters
. - FitnessDataSource(XmlNode) - Constructor for class yearreview.app.data.sources.fitness.FitnessDataSource
-
Constructs a FitnessDataSource using a configuration.
- FitnessTopListAdapter - Class in yearreview.app.data.sources.fitness.databse
-
A
TopListAdapter
for theFitnessDatabase
that outputs the Activities with their Distances and Durations. - FitnessTopListAdapter(FitnessDatabase) - Constructor for class yearreview.app.data.sources.fitness.databse.FitnessTopListAdapter
-
Constructs a FitnessDistanceTopListAdapter from a Database.
- floatValue() - Method in class yearreview.app.animation.AnimatedNumber
-
Gets the animation value as a float.
- FONT - Static variable in class yearreview.app.grid.widgets.TestWidgetAnimation
-
Font used to annotate the animations.
- frameCount - Variable in class yearreview.app.grid.widgets.TestWidgetAnimation
-
Number of frames already rendered.
G
- getAdapter(AudioDatabase, XmlNode) - Static method in class yearreview.app.data.sources.audio.adapter.AudioDatabaseAdapter
-
Creates a new Adapter by its name.
- getAdapter(FitnessDatabase, XmlNode) - Static method in class yearreview.app.data.sources.fitness.adapters.FitnessAdapter
-
Static function to get an adapter by its name
- getAnimationDuration() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the duration of all animations.
- getAttributeByName(String) - Method in class yearreview.app.util.xml.XmlNode
-
Gets an attribute by its name.
- getAudioMinCoverResolution() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the minimum resolution for covers to be downloaded for
AudioPieces
. - getBackgroundColor() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the background-color of the video.
- getChildByName(String) - Method in class yearreview.app.util.xml.XmlNode
-
Gets a child of this node by name.
- getChildContent(String) - Method in class yearreview.app.util.xml.XmlNode
-
Gets text content of a child node directly.
- getCurveWithSlope(Vector2D) - Method in class yearreview.app.animation.AnimationCurve
-
Gets a new AnimationCurve with the start angled at a certain slope.
- getData(String, AudioData.Type) - Method in class yearreview.app.data.sources.audio.database.AudioDatabase
-
Gets AudioData from the database.
- getDataById(AudioData.Type, String) - Method in class yearreview.app.data.sources.audio.database.AudioDatabase
-
Gets AudioData inside the Database by type and name.
- getDataCount() - Method in class yearreview.app.data.sources.audio.database.AudioDatabase
-
Gets the amount of
AudioData
-elements stored in this database. - getDataSource(XmlNode) - Static method in class yearreview.app.data.sources.DataSource
-
Gets a DataSource by the name stored inside the configuration and initializes it with that configuration.
- getDataSourcesSettings() - Method in class yearreview.app.config.ConfigParser
-
Gets the configuration for the data sources.
- getDistanceUntil(Instant) - Method in class yearreview.app.data.sources.fitness.databse.Activity
-
Gets the Distance of the activity until a certain time.
- getElements(Instant) - Method in interface yearreview.app.data.processor.toplist.TopListAdapter
-
Gets the collection of
TopListElements
that should be processed by theTopListGenerator
. - getElements(Instant) - Method in class yearreview.app.data.sources.audio.database.AudioTopListAdapter
-
Gets the Elements of the TopList with their values at a certain time.
- getElements(Instant) - Method in class yearreview.app.data.sources.fitness.databse.FitnessTopListAdapter
-
Gets the TopListElements at a certain time.
- getEnd() - Method in class yearreview.app.animation.BezierCurve
-
Gets the last Control-Point of the Bezier.
- getEndTime() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the ending time of the video.
- getEventCount() - Method in class yearreview.app.data.sources.audio.database.AudioDatabase
-
Gets the amount of
events
stored in the database. - getFilteredData(AudioData.Type) - Method in class yearreview.app.data.sources.audio.database.AudioDatabase
- getGridHeight() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the height of the grid used for placing the
widgets
. - getGridWidth() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the width of the grid used for placing the
widgets
. - getImage() - Method in interface yearreview.app.data.processor.toplist.TopListCompatibleItem
-
Gets the Image that should be displayed alongside the main and subtext if available.
- getImage() - Method in class yearreview.app.data.processor.toplist.TopListItem
-
Gets the Image that should be displayed alongside the data.
- getImage() - Method in class yearreview.app.data.sources.audio.database.AudioData
-
Gets the image associated the data.
- getInverted() - Method in class yearreview.app.animation.Vector2D
-
Gets an inverted version of this Vector: (-x, -y)
- getItem() - Method in class yearreview.app.data.processor.toplist.TopListElement
-
Gets the item of the element.
- getLength() - Method in class yearreview.app.animation.Vector2D
-
Gets the length of this Vector using the Pythagoras-Theorem: sqrt(x * x + y * y)
- getLengthUnit() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the unit used for all lengths.
- getMainText() - Method in interface yearreview.app.data.processor.toplist.TopListCompatibleItem
-
Gets the main text to display on the TopList.
- getMainText() - Method in class yearreview.app.data.processor.toplist.TopListItem
-
Gets the main text.
- getMainText() - Method in class yearreview.app.data.sources.audio.database.AudioData
-
Gets the main text.
- getName() - Method in class yearreview.app.util.xml.XmlNode
-
Gets the Name of the Node.
- getNewTopListElement(String) - Static method in class yearreview.app.data.sources.fitness.databse.FitnessTopListAdapter
-
Constructs a new TopListElement with a given name and Distance and Duration Values.
- getNormalized() - Method in class yearreview.app.animation.Vector2D
-
Gets a normalized version of this Vector.
- getOptions() - Static method in class yearreview.app.config.ConfigParser
-
Gets the Command line options.
- getOutputFilename() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the name of the output file of the video.
- getPiece(String, List<AudioData>, AudioData.Type) - Method in class yearreview.app.data.sources.audio.database.AudioDatabase
-
Gets AudioPiece from the database.
- getRelativePath(String) - Static method in class yearreview.app.config.GlobalSettings
-
Gets a relative path from the config file.
- getRenderHeight() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the height of the render target-resolution.
- getRenderWidth() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the width of the render target-resolution.
- getRowStream(File) - Static method in class yearreview.app.util.csv.CSVReader
-
Creates A Stream of the rows of a CSV-file.
- getScaled(float) - Method in class yearreview.app.animation.Vector2D
-
Gets this Vector scaled by a passed value.
- getScaledCornerRadius() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the corner radius of the
widgets
automatically scaled by the supersapling resolution. - getScaledGridInnerSpacing() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the scaled spacing between two
widgets
. - getScaledGridOuterSpacing() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the scaled spacing between
widgets
and the border of the video. - getSourceByTag(String) - Method in class yearreview.app.data.DataManager
-
Gets a DataSource by its tag.
- getStart() - Method in class yearreview.app.animation.BezierCurve
-
Gets the first Control-Point of the Bezier.
- getStartTime() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the starting time of the video.
- getSubText() - Method in interface yearreview.app.data.processor.toplist.TopListCompatibleItem
-
Gets the sub text that can provide additional information on the TopList.
- getSubText() - Method in class yearreview.app.data.processor.toplist.TopListItem
-
Gets the sub text.
- getSubText() - Method in class yearreview.app.data.sources.audio.database.AudioData
-
Since no sub text is available null is returned.
- getSubText() - Method in class yearreview.app.data.sources.audio.database.AudioPiece
-
Get the sub text of the piece.
- getSuperSampling() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the supersampling-resolution.
- getTextContent() - Method in class yearreview.app.util.xml.XmlNode
-
Gets the text content of a node.
- getTopList(Instant) - Method in class yearreview.app.data.processor.toplist.TopListGenerator
-
Gets a List of
TopListElements
sorted by theirValues
of at most sizeTopListGenerator.topListLength
. - getTopListAdapter() - Method in class yearreview.app.data.sources.fitness.FitnessDataSource
-
Gets a TopListAdapter for the Database that allows for creation of TopLists using the
TopListGenerator
. - getTopListAdapter(AudioData.Type) - Method in class yearreview.app.data.sources.audio.AudioDataSource
-
Gets the TopListAdapter for the
AudioDatabase
that can be used to create a TopList from thisDataSource
. - getTrackEnd(GPX) - Static method in class yearreview.app.data.sources.fitness.databse.Activity
-
Gets the ending time of a GPX-track by finding the time of the last
WayPoint
. - getTrackLength(GPX) - Static method in class yearreview.app.data.sources.fitness.databse.Activity
-
Gets the Length of a GPX-track by summing up the distances between the Waypoints.
- getTrackLengthUntil(Instant) - Method in class yearreview.app.data.sources.fitness.databse.Activity
-
Calculates the length of a GPX-track until a certain time.
- getTrackStart(GPX) - Static method in class yearreview.app.data.sources.fitness.databse.Activity
-
Gets the starting time of a GPX-track by finding the time of the first
WayPoint
. - getType() - Method in class yearreview.app.util.value.DistanceValue
-
Gets the Type of this Value.
- getType() - Method in class yearreview.app.util.value.DurationValue
-
Gets the Type of this Value.
- getType() - Method in class yearreview.app.util.value.Value
-
Gets the Type of the Value.
- getValue() - Method in class yearreview.app.util.value.DistanceValue
-
Gets the internally used Value to measure the distance.
- getValue() - Method in class yearreview.app.util.value.DurationValue
-
Gets the internally used Value to measure the duration.
- getValue() - Method in class yearreview.app.util.value.Value
-
Gets the internal representation of the Value.
- getValue(ValueType) - Method in class yearreview.app.data.processor.toplist.TopListElement
-
Gets the Value associated to the item with a certain type.
- getVector() - Method in class yearreview.app.animation.AnimatedVector2D
-
Gets the vector at the current time in the animation.
- getVideoFramerate() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the framerate of the output video.
- getVideoHeight() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the pixel-height of the output video.
- getVideoWidth() - Static method in class yearreview.app.config.GlobalSettings
-
Gets the pixel-width of the output video.
- getWidget(float, float, float, float, XmlNode) - Static method in class yearreview.app.grid.widgets.WidgetFactory
-
Creates a widget from positional data and a configuration.
- getWidgetSettings() - Method in class yearreview.app.config.ConfigParser
-
Gets the configuration for the
widgets
. - getX() - Method in class yearreview.app.animation.AnimatedVector2D
-
Gets the current x-value of the vector.
- getY() - Method in class yearreview.app.animation.AnimatedVector2D
-
Gets the current y-value of the vector.
- GlobalSettings - Class in yearreview.app.config
-
A class that stores general settings for the video.
- GlobalSettings() - Constructor for class yearreview.app.config.GlobalSettings
- graphics - Variable in class yearreview.app.render.Renderer
-
The Graphics object used for rendering.
- grid - Variable in class yearreview.app.render.Renderer
-
The
GridManager
used to get thewidgets
. - gridHeight - Static variable in class yearreview.app.config.GlobalSettings
-
Height of the grid used for placing the
widgets
. - gridInnerSpacing - Static variable in class yearreview.app.config.GlobalSettings
-
Spacing in pixels between two
widgets
next to each other. - GridManager - Class in yearreview.app.grid
-
Parses the configuration of the grid and creates the segments with according sizes.
- GridManager(XmlNode) - Constructor for class yearreview.app.grid.GridManager
-
Constructs a
GridManager
from a given configuration. - GridManager.WidgetPosition - Class in yearreview.app.grid
-
Class to store the dimensions of a widget in screen space.
- gridOuterSpacing - Static variable in class yearreview.app.config.GlobalSettings
-
Spacing in pixels between the
widgets
and the border of the video. - gridWidth - Static variable in class yearreview.app.config.GlobalSettings
-
Width of the grid used for placing the
widgets
.
H
- h - Variable in class yearreview.app.grid.GridManager.WidgetPosition
-
Position and size of the widget.
- h - Variable in class yearreview.app.grid.widgets.Widget
-
Height of the widget.
- hasChild(String) - Method in class yearreview.app.util.xml.XmlNode
-
Tests whether a child node exists.
- hasData(AudioData.Type, String) - Method in class yearreview.app.data.sources.audio.database.AudioDatabase
-
Tests whether certain data is stored in the database.
- hasHandle() - Method in class yearreview.app.animation.AnimationCurveControlPoint
-
Whether this ControlPoint has a direction/handle.
- hasNext() - Method in class yearreview.app.util.csv.CSVReader.CSVIterator
-
Tests whether the Iterator still has rows left.
- hasSubText() - Method in interface yearreview.app.data.processor.toplist.TopListCompatibleItem
-
Gets whether the Item has a subtext.
- hasSubText() - Method in class yearreview.app.data.processor.toplist.TopListItem
-
Gets whether the item has a sub text.
- hasSubText() - Method in class yearreview.app.data.sources.audio.database.AudioData
-
Always returns false since AudioData does not provide a sub text.
- hasSubText() - Method in class yearreview.app.data.sources.audio.database.AudioPiece
-
Gets whether the piece has a sub text.
- HIKING - Enum constant in enum yearreview.app.data.sources.fitness.databse.ActivityType
I
- id - Variable in class yearreview.app.data.processor.toplist.TopListElement
-
Identifier of the element.
- ImageReference - Class in yearreview.app.util.image
-
An ImageReference represents a reference to an Image that might not be stored in Memory currently but can be loaded (from a URL or file) on demand.
- ImageReference() - Constructor for class yearreview.app.util.image.ImageReference
- img - Variable in class yearreview.app.data.processor.toplist.TopListItem
-
Image to display alongside the item.
- inputPath - Static variable in class yearreview.app.config.GlobalSettings
-
Stores the path to the configuration file.
- insertActivity(Activity) - Method in class yearreview.app.data.sources.fitness.databse.FitnessDatabase
-
Inserts an Activity into the Database.
- insertEvent(ListeningEvent) - Method in class yearreview.app.data.sources.audio.database.AudioDatabase
-
Inserts an event into the database.
- INTERVAL_NAMES - Static variable in class yearreview.app.util.value.DurationValue
-
Abbreviations of the intervals.
- INTERVAL_SIZES - Static variable in class yearreview.app.util.value.DurationValue
-
Amount of values in each Interval (e.g.
- INTERVAL_VALUE_LENGTHS - Static variable in class yearreview.app.util.value.DurationValue
-
Maximum amount of spaces needed for Values in each interval (equivalent to floor(log10(INTERVAL_SIZES))).
- intValue() - Method in class yearreview.app.animation.AnimatedNumber
-
Gets the animation value as an integer.
- isBetween(Instant, Instant, Instant) - Method in class yearreview.app.data.sources.audio.adapter.SpotifyAdapter
-
Tests if a time is between to
Instant
- isNormalized - Variable in class yearreview.app.animation.AnimationCurve
-
Whether the AnimationCurve is normalized, meaning that it starts at (0, 0) and ends at (1, 1).
- isNormalized() - Method in class yearreview.app.animation.AnimationCurve
-
Gets whether the AnimationCurve is normalized (meaning that the first Control-Point is at (0, 0) and the last Control-Point is at (1,1)).
- isPiece() - Method in enum yearreview.app.data.sources.audio.database.AudioData.Type
-
Gets whether a Type represents a Piece (meaning that it should be represented by an
AudioPiece
-instance) - item - Variable in class yearreview.app.data.processor.toplist.TopListElement
-
Item to display information from.
- iterator() - Method in class yearreview.app.data.sources.audio.database.AudioDatabase
-
Needed to implement the
Iterable
-interface. - iterator() - Method in class yearreview.app.data.sources.fitness.databse.FitnessDatabase
-
Returns an iterator for the Database that provides the Activities sorted by their starting time.
- iterator() - Method in class yearreview.app.grid.GridManager
-
Gets an iterator for the widgets contained in the manager.
- iterator() - Method in class yearreview.app.util.xml.XmlNode
-
Gets an Iterator for the children contained in the node.
L
- language - Variable in class yearreview.app.data.sources.fitness.adapters.StravaAdapter
-
Index of the language of the data.
- languageNameToIdMapMap - Static variable in class yearreview.app.data.sources.fitness.adapters.StravaAdapter
-
Map to convert the shorthand of the language to the index.
- languageToDateformat - Static variable in class yearreview.app.data.sources.fitness.adapters.StravaAdapter
-
Array of DateTimeFormatters for all languages.
- LEFT - Static variable in class yearreview.app.animation.Vector2D
-
A constant Vector facing left: (-1, 0)
- LENGTH_ZERO - Static variable in class yearreview.app.data.sources.fitness.databse.FitnessTopListAdapter
-
Constant that stores a Length of 0 meters since
Length
does not provide one. - lengthUnit - Static variable in class yearreview.app.config.GlobalSettings
-
Unit used for all length.
- lengthUnitShort - Variable in class yearreview.app.util.value.DistanceValue
-
Mapping from all units to their abbreviations.
- LINEAR - Static variable in class yearreview.app.animation.AnimationCurve
-
A Curve for linear animations.
- listenedTo - Variable in class yearreview.app.data.sources.audio.database.ListeningEvent
-
Piece that was listened to.
- ListeningEvent - Class in yearreview.app.data.sources.audio.database
-
An Event that represents a
piece
that was listened to at a certain time. - ListeningEvent(AudioPiece, Instant, Duration) - Constructor for class yearreview.app.data.sources.audio.database.ListeningEvent
-
Constructs a new ListeningEvent.
- loadData() - Method in class yearreview.app.data.DataManager
-
Loads the data of all
DataSources
on multiple Threads. - loadData(Instant, Instant) - Method in class yearreview.app.data.sources.audio.adapter.AudioDatabaseAdapter
-
Loads the data of the Adapter and inserts it into the database.
- loadData(Instant, Instant) - Method in class yearreview.app.data.sources.audio.adapter.SpotifyAdapter
-
Loads the data from the specified path.
- loadData(Instant, Instant) - Method in class yearreview.app.data.sources.audio.AudioDataSource
-
Loads the data from the
adapters
. - loadData(Instant, Instant) - Method in class yearreview.app.data.sources.DataSource
-
Loads the data of the DataSource inside the given time interval.
- loadData(Instant, Instant) - Method in class yearreview.app.data.sources.fitness.adapters.FitnessAdapter
-
Function that loads the data into the
FitnessDatabase
. - loadData(Instant, Instant) - Method in class yearreview.app.data.sources.fitness.adapters.StravaAdapter
-
Load the Activities from Strava by parsing the activities.csv-file inside the export-folder.
- loadData(Instant, Instant) - Method in class yearreview.app.data.sources.fitness.FitnessDataSource
-
Loads the data from the
adapters
. - logger - Static variable in class yearreview.app.config.ConfigParser
- logger - Static variable in class yearreview.app.data.DataManager
- logger - Static variable in class yearreview.app.data.sources.DataSource
- logger - Static variable in class yearreview.app.data.sources.fitness.adapters.StravaAdapter
- logger - Static variable in class yearreview.app.data.sources.fitness.FitnessDataSource
- logger - Static variable in class yearreview.app.grid.GridManager
- logger - Static variable in class yearreview.app.render.Renderer
- logger - Static variable in class yearreview.app.render.VideoWorker
- longValue() - Method in class yearreview.app.animation.AnimatedNumber
-
Gets the animation value as a long.
M
- main(String[]) - Static method in class yearreview.app.App
-
Renders the video.
- mainText - Variable in class yearreview.app.data.processor.toplist.TopListItem
-
Main text to display for the item.
- map(float, float, float) - Static method in class yearreview.app.animation.AnimatedNumber
-
Maps a value in the interval [0, 1] to the interval [min, max].
- minus(Vector2D) - Method in class yearreview.app.animation.Vector2D
-
Gets a new Vector which is the result of subtracting this Vector with a passed Vector.
- mix(float, Vector2D, Vector2D) - Static method in class yearreview.app.animation.Vector2D
-
Mixes the values of two Vectors.
N
- name - Variable in class yearreview.app.data.sources.audio.database.AudioData
-
Might store an artist-, album- or podcast-name.
- name - Variable in class yearreview.app.data.sources.fitness.databse.Activity
-
Name of the activity.
- nameToNodeMap - Variable in class yearreview.app.util.xml.XmlNode
-
A Map used to convert the name of a child to its node directly.
- next() - Method in class yearreview.app.util.csv.CSVReader.CSVIterator
-
Gets a row from the CSV-file.
- node - Variable in class yearreview.app.util.xml.XmlNode
-
The node that is wrapped by this object.
O
- outputFilename - Static variable in class yearreview.app.config.GlobalSettings
-
Stores the name of the output video file.
P
- parseConfig(XmlNode) - Method in class yearreview.app.data.sources.audio.AudioDataSource
-
Parses the passed configuration, initializes the databse and creates the adapters.
- parseConfig(XmlNode) - Method in class yearreview.app.data.sources.DataSource
-
Parses the configuration of the DataSource.
- parseConfig(XmlNode) - Method in class yearreview.app.data.sources.fitness.FitnessDataSource
-
Parses the configuration and initializes the adapters.
- parseConfigFile(String) - Method in class yearreview.app.config.ConfigParser
-
Parses the configuration file specified in the command line arguments.
- parseCSVLine(List<String>, Instant, Instant) - Method in class yearreview.app.data.sources.fitness.adapters.StravaAdapter
-
Parses a line of the CSV representing a single Activity
- parseSettings(XmlNode) - Method in class yearreview.app.config.ConfigParser
-
Parses the settings part of the configuration file.
- parseXmlFile(File) - Static method in class yearreview.app.util.xml.XmlNode
-
Parses a given XML-file and return the root-XmlNode.
- plus(Vector2D) - Method in class yearreview.app.animation.Vector2D
-
Gets a new Vector which is the result of adding this Vector to a passed Vector.
- plus(Value) - Method in class yearreview.app.util.value.DistanceValue
-
Gets a DistanceValue that has to sum of this object and the other-object.
- plus(Value) - Method in class yearreview.app.util.value.DurationValue
-
Gets a DurationValue that has to sum of this object and the other-object.
- plus(Value) - Method in class yearreview.app.util.value.Value
-
Gets the sum of this Value and another Value
- PODCAST - Enum constant in enum yearreview.app.data.sources.audio.database.AudioData.Type
- pos - Variable in class yearreview.app.animation.AnimationCurveControlPoint
-
Position of the Control-Point.
- posEnd - Variable in class yearreview.app.animation.AnimationCurve
-
Final position of the Curve.
- posStart - Variable in class yearreview.app.animation.AnimationCurve
-
Initial position of the Curve.
- processJsonObject(JsonObject, Instant, Instant) - Method in class yearreview.app.data.sources.audio.adapter.SpotifyAdapter
-
Processes a JsonObject from the Stream and inserts it into the database.
R
- remainingAnimationDurationMs - Variable in class yearreview.app.animation.AnimatedNumber
-
Remaining duration of the currently running animation in milliseconds.
- Renderer - Class in yearreview.app.render
-
A class that manages the renderprocess by generating the frames and passing them to a
VideoWorker
. - Renderer(GridManager) - Constructor for class yearreview.app.render.Renderer
-
Default Constructor for a Renderer.
- renderFrame(int) - Method in class yearreview.app.render.Renderer
-
Renders a single frame of the video.
- renderGlobalSpace(Graphics2D, Instant) - Method in class yearreview.app.grid.widgets.Widget
-
Converts the global space to the local space of the widget and sets the clip.
- renderHeight - Variable in class yearreview.app.render.Renderer
-
Pixel-Height of the render-surface, calculated by
height
*supersampling
. - renderingSurface - Variable in class yearreview.app.render.Renderer
-
The Image where the frames of the animation are drawn on.
- renderLocalSpace(Graphics2D, Instant) - Method in class yearreview.app.grid.widgets.TestWidget
-
Renders the widget in its local space (meaning that the coordinate system goes from (0, 0) to (w, h)).
- renderLocalSpace(Graphics2D, Instant) - Method in class yearreview.app.grid.widgets.TestWidgetAnimation
-
Renders the widget in its local space (meaning that the coordinate system goes from (0, 0) to (w, h)).
- renderLocalSpace(Graphics2D, Instant) - Method in class yearreview.app.grid.widgets.Widget
-
Renders the widget in its local space (meaning that the coordinate system goes from (0, 0) to (w, h)).
- renderVideo() - Method in class yearreview.app.render.Renderer
-
Renders the video and saves it to a file.
- renderWidth - Variable in class yearreview.app.render.Renderer
-
Pixel-Width of the render-surface, calculated by
width
*supersampling
. - RIGHT - Static variable in class yearreview.app.animation.Vector2D
-
A constant Vector facing right: (1, 0)
- run() - Method in class yearreview.app.data.sources.DataSource
-
Function that loads the data on a separate Thread.
- RUNNING - Enum constant in enum yearreview.app.data.sources.fitness.databse.ActivityType
S
- sampleBezierAtX(BezierCurve, float, float, float) - Method in class yearreview.app.animation.AnimationCurve
-
Samples the Bezier at a certain x-position by doing binary search over the interval.
- sampleBezierDeltaAtX(BezierCurve, float, float, float) - Method in class yearreview.app.animation.AnimationCurve
-
Samples the direction of the given Bezier at a certain x-position using binary search.
- sampleCurve(float) - Method in class yearreview.app.animation.AnimationCurve
-
Samples the AnimationCurve at a certain x-position.
- sampleCurveSlope(float) - Method in class yearreview.app.animation.AnimationCurve
-
Samples the slope of the Curve at a certain x-value.
- samplePoint(float) - Method in class yearreview.app.animation.BezierCurve
-
Samples the Bezier at a certain point along the curve.
- setAnimationDuration(Duration) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the Duration of all animations.
- setAudioMinCoverResolution(int) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the minimum resolution for covers downloaded for
AudioPieces
- setBackgroundColor(Color) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the background color for the video.
- setCornerRadius(float) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the corner radius of the
widgets
. - setGridHeight(int) - Static method in class yearreview.app.config.GlobalSettings
- setGridInnerSpacing(int) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the inner spacing between two
widgets
. - setGridOuterSpacing(int) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the outer spacing between the
widgets
and the border of the video. - setGridSize(int, int) - Static method in class yearreview.app.config.GlobalSettings
- setGridWidth(int) - Static method in class yearreview.app.config.GlobalSettings
- setInputFilename(String) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the filename of the input file.
- setLength(float) - Method in class yearreview.app.animation.Vector2D
-
Gets a Vector facing the same direction as this Vector with a given length.
- setLengthUnit(Length.Unit) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the length unit to use.
- setOutputFilename(String) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the name of the output file.
- setPosition(float, float) - Method in class yearreview.app.grid.widgets.Widget
-
Changes the position of the widget.
- setSupersampling(int) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the supersampling resolution of the video.
- setVideoEnd(Instant) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the ending time of the video.
- setVideoFramerate(int) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the framerate of the output video.
- setVideoHeight(int) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the output video height.
- setVideoResolution(int, int) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the output video resolution.
- setVideoStart(Instant) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the starting time of the video.
- setVideoWidth(int) - Static method in class yearreview.app.config.GlobalSettings
-
Sets the output video width.
- SONG - Enum constant in enum yearreview.app.data.sources.audio.database.AudioData.Type
- sources - Variable in class yearreview.app.data.DataManager
-
List of DataSources loaded from the configuration.
- SpotifyAdapter - Class in yearreview.app.data.sources.audio.adapter
-
An Adapter to input the Spotify extended listening (that can be exported here) into the
AudioDatabase
. - SpotifyAdapter(AudioDatabase, XmlNode) - Constructor for class yearreview.app.data.sources.audio.adapter.SpotifyAdapter
-
Constructs a new SpotifyAdapter with a database to use and a configuration.
- startTime - Static variable in class yearreview.app.config.GlobalSettings
-
Stores the time at that the video should start.
- StravaAdapter - Class in yearreview.app.data.sources.fitness.adapters
-
An adapter to input the data that can be exported from Strava here.
- StravaAdapter(FitnessDatabase, XmlNode) - Constructor for class yearreview.app.data.sources.fitness.adapters.StravaAdapter
-
Constructs a StravaAdapter from a FitnessDatabase and configuration
- subtext - Variable in class yearreview.app.data.sources.audio.database.AudioPiece
-
Sub text displayed alongside the name of the piece (mostly names of authors).
- subText - Variable in class yearreview.app.data.processor.toplist.TopListItem
-
Sub text to display for the item.
- superSampling - Static variable in class yearreview.app.config.GlobalSettings
-
Resolution at which the frames will be rendered before downscaling.
T
- tag - Variable in class yearreview.app.data.sources.DataSource
-
Tag of the source.
- TestWidget - Class in yearreview.app.grid.widgets
-
Test Widget that's just a blue rectangle.
- TestWidget(float, float, float, float, XmlNode) - Constructor for class yearreview.app.grid.widgets.TestWidget
-
Constructs a TestWidget at a given position with a configuration (that isn't used).
- TestWidgetAnimation - Class in yearreview.app.grid.widgets
-
Test Widget that's a blue rectangle with four green dots animated using different
AnimationCurves
.. - TestWidgetAnimation(float, float, float, float, XmlNode) - Constructor for class yearreview.app.grid.widgets.TestWidgetAnimation
-
Constructs a TestWidgetAnimation at a given position with a configuration (that isn't used).
- time - Variable in class yearreview.app.data.sources.audio.database.ListeningEvent
-
Time the piece was listened to.
- time - Variable in class yearreview.app.data.sources.fitness.databse.Activity
-
Start time of the activity.
- TopListAdapter - Interface in yearreview.app.data.processor.toplist
-
An Interface for Classes functioning as an adapter to the
TopListGenerator
by transforming the data of aDataSource
into a Collection ofTopListElements
. - TopListCompatibleItem - Interface in yearreview.app.data.processor.toplist
-
Interface for Items that can be displayed in a TopList.
- TopListElement - Class in yearreview.app.data.processor.toplist
-
A TopListElement contains a
TopListCompatibleItem
and it's associatedValues
. - TopListElement(TopListCompatibleItem, List<Value>) - Constructor for class yearreview.app.data.processor.toplist.TopListElement
-
Constructs a TopListElement from an item and a list of Values.
- TopListElement(TopListCompatibleItem, Value) - Constructor for class yearreview.app.data.processor.toplist.TopListElement
-
Constructs a TopListElement from an item and a Value.
- TopListElementComparator - Class in yearreview.app.data.processor.toplist
-
Comparator for
TopListElement
which can specify a certainValueType
to compare by. - TopListElementComparator(ValueType) - Constructor for class yearreview.app.data.processor.toplist.TopListElementComparator
-
Constructor for a TopListElementComparator with the type to compare by.
- TopListGenerator - Class in yearreview.app.data.processor.toplist
-
Generates a TopList of
TopListElements
by sorting them by their associatedValue
. - TopListGenerator(TopListAdapter, int, ValueType) - Constructor for class yearreview.app.data.processor.toplist.TopListGenerator
-
Constructs a new TopListGenerator from an Adapter and a length.
- TopListItem - Class in yearreview.app.data.processor.toplist
-
Basic Implementation of
TopListCompatibleItem
that can be used if no special functionality is needed. - TopListItem(String) - Constructor for class yearreview.app.data.processor.toplist.TopListItem
-
Constructs a TopListItem with only main text given
- TopListItem(String, String) - Constructor for class yearreview.app.data.processor.toplist.TopListItem
-
Constructs a TopListItem with only text given
- TopListItem(String, String, ImageReference) - Constructor for class yearreview.app.data.processor.toplist.TopListItem
-
Constructs a TopListItem from all Values.
- topListLength - Variable in class yearreview.app.data.processor.toplist.TopListGenerator
-
Length of the TopList to generate.
- toString() - Method in class yearreview.app.animation.AnimationCurveControlPoint
-
Outputs a text representation of the Control-Point.
- toString() - Method in class yearreview.app.animation.Vector2D
-
Formatted output of a Vector (e.g.: "(4.3, -1.2)")
- toString() - Method in class yearreview.app.data.sources.fitness.databse.Activity
-
Custom toString()-function for activities.
- toString() - Method in class yearreview.app.util.value.DistanceValue
-
Formats the Distance to a String.
- toString() - Method in class yearreview.app.util.value.DurationValue
-
Formats the Duration to a String.
- toString() - Method in class yearreview.app.util.value.Value
-
Formats the stored Value to a String.
- toString(Length.Unit) - Method in class yearreview.app.util.value.DistanceValue
-
Formats the Distance to a String in a certain unit.
- totalAnimationDurationMs - Variable in class yearreview.app.animation.AnimatedNumber
-
Total duration of the currently running animation in milliseconds.
- track - Variable in class yearreview.app.data.sources.fitness.databse.Activity
-
GPX-track of the activity if available.
- TRAINING - Enum constant in enum yearreview.app.data.sources.fitness.databse.ActivityType
- transform(int, int, int, int) - Method in class yearreview.app.grid.GridManager
-
Transforms widget coordinates from grid space to screen space.
- type - Variable in class yearreview.app.data.sources.audio.database.AudioData
-
Type of data stored in this Object.
- type - Variable in class yearreview.app.data.sources.audio.database.AudioTopListAdapter
-
Type of data passed to the
TopListGenerator
. - type - Variable in class yearreview.app.data.sources.fitness.databse.Activity
-
Type of the activity.
- Type() - Constructor for enum yearreview.app.data.sources.audio.database.AudioData.Type
- typeMap - Variable in class yearreview.app.data.sources.fitness.databse.FitnessTopListAdapter
-
Maps all
ActivityTypes
to theirTopListElements
.
U
- UP - Static variable in class yearreview.app.animation.Vector2D
-
A constant Vector facing upwards: (0, -1)
- updateAnimation(int) - Method in class yearreview.app.animation.AnimatedNumber
-
Updates the animations by a given time that has passed since the last update.
- updateAnimations(int) - Static method in class yearreview.app.animation.AnimationManager
-
Updates all animations by a certain amount of milliseconds.
V
- validateControlPoints(AnimationCurveControlPoint[]) - Static method in class yearreview.app.animation.AnimationCurve
-
Validates the Control-Points of an AnimationCurve.
- value - Variable in class yearreview.app.animation.AnimatedNumber
-
Current value of this number.
- Value - Class in yearreview.app.util.value
-
A Value represents one of the types specified in the
ValueTypes
-enum. - Value() - Constructor for class yearreview.app.util.value.Value
- valueOf(String) - Static method in enum yearreview.app.data.sources.audio.database.AudioData.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum yearreview.app.data.sources.fitness.databse.ActivityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum yearreview.app.util.value.ValueType
-
Returns the enum constant of this type with the specified name.
- values - Variable in class yearreview.app.data.processor.toplist.TopListElement
-
Values of the element, used for sorting and displaying.
- values() - Static method in enum yearreview.app.data.sources.audio.database.AudioData.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum yearreview.app.data.sources.fitness.databse.ActivityType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum yearreview.app.util.value.ValueType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ValueType - Enum in yearreview.app.util.value
-
Enumeration of all ValueTypes currently allowed.
- ValueType() - Constructor for enum yearreview.app.util.value.ValueType
- Vector2D - Class in yearreview.app.animation
-
A class representing an immutable 2D-Vector of
Floats
. - Vector2D(float, float) - Constructor for class yearreview.app.animation.Vector2D
-
Constructs a new Vector from an x- and y-value.
- videoFramerate - Static variable in class yearreview.app.config.GlobalSettings
-
Stores the framerate of the video.
- videoHeight - Static variable in class yearreview.app.config.GlobalSettings
-
Stores the height of the video.
- videoWidth - Static variable in class yearreview.app.config.GlobalSettings
-
Stores the width of the video.
- VideoWorker - Class in yearreview.app.render
-
A class that pipes the generated images from the
Renderer
into an ffmpeg-subprocess to render the video. - VideoWorker() - Constructor for class yearreview.app.render.VideoWorker
-
Default Constructor for a VideoWorker that starts the ffmpeg-subprocess.
W
- w - Variable in class yearreview.app.grid.GridManager.WidgetPosition
-
Position and size of the widget.
- w - Variable in class yearreview.app.grid.widgets.Widget
-
Width of the widget.
- WALKING - Enum constant in enum yearreview.app.data.sources.fitness.databse.ActivityType
- Widget - Class in yearreview.app.grid.widgets
-
Abstract class that defines Methods that need to be implemented in every Widget.
- Widget(float, float, float, float) - Constructor for class yearreview.app.grid.widgets.Widget
-
Constructor for a GridSegment that initializes the position of the segment and the Shape for the
Graphics2D.clip(java.awt.Shape)
-function. - WidgetFactory - Class in yearreview.app.grid.widgets
-
Factory for Widget objects.
- WidgetFactory() - Constructor for class yearreview.app.grid.widgets.WidgetFactory
- WidgetPosition(float, float, float, float) - Constructor for class yearreview.app.grid.GridManager.WidgetPosition
-
Constructs a new Widget with the given position and size.
- widgets - Variable in class yearreview.app.config.ConfigParser
-
Configuration for the widgets.
- widgets - Variable in class yearreview.app.grid.GridManager
-
A List of all Widgets managed by this
GridManager
. - writeFrame(BufferedImage) - Method in class yearreview.app.render.VideoWorker
-
Writes a
BufferedImage
to theOutputStream
connected to ffmpeg.
X
- x - Variable in class yearreview.app.animation.AnimatedVector2D
-
Animator for the x-value.
- x - Variable in class yearreview.app.animation.Vector2D
-
X-value of the Vector.
- x - Variable in class yearreview.app.grid.GridManager.WidgetPosition
-
Position and size of the widget.
- x - Variable in class yearreview.app.grid.widgets.Widget
-
x-position of the widget.
- XML_VERSION - Static variable in class yearreview.app.config.ConfigParser
-
Version of the configuration.
- XmlNode - Class in yearreview.app.util.xml
-
A Wrapper around a
node
that allows for easier access of child nodes. - XmlNode(Node) - Constructor for class yearreview.app.util.xml.XmlNode
-
Constructs a ConfigNode from a
Node
. - xScale - Variable in class yearreview.app.grid.GridManager
-
Horizontal scale used to position the nodes.
Y
- y - Variable in class yearreview.app.animation.AnimatedVector2D
-
Animator for the y-value.
- y - Variable in class yearreview.app.animation.Vector2D
-
Y-value of the Vector.
- y - Variable in class yearreview.app.grid.GridManager.WidgetPosition
-
Position and size of the widget.
- y - Variable in class yearreview.app.grid.widgets.Widget
-
y-position of the widget.
- yearreview.app - package yearreview.app
- yearreview.app.animation - package yearreview.app.animation
- yearreview.app.config - package yearreview.app.config
- yearreview.app.data - package yearreview.app.data
- yearreview.app.data.processor.toplist - package yearreview.app.data.processor.toplist
- yearreview.app.data.sources - package yearreview.app.data.sources
- yearreview.app.data.sources.audio - package yearreview.app.data.sources.audio
- yearreview.app.data.sources.audio.adapter - package yearreview.app.data.sources.audio.adapter
- yearreview.app.data.sources.audio.database - package yearreview.app.data.sources.audio.database
- yearreview.app.data.sources.fitness - package yearreview.app.data.sources.fitness
- yearreview.app.data.sources.fitness.adapters - package yearreview.app.data.sources.fitness.adapters
- yearreview.app.data.sources.fitness.databse - package yearreview.app.data.sources.fitness.databse
- yearreview.app.grid - package yearreview.app.grid
- yearreview.app.grid.widgets - package yearreview.app.grid.widgets
- yearreview.app.render - package yearreview.app.render
- yearreview.app.util.csv - package yearreview.app.util.csv
- yearreview.app.util.image - package yearreview.app.util.image
- yearreview.app.util.value - package yearreview.app.util.value
- yearreview.app.util.xml - package yearreview.app.util.xml
- yScale - Variable in class yearreview.app.grid.GridManager
-
Vertical scale used to position the nodes.
Z
A B C D E F G H I L M N O P R S T U V W X Y ZAll Classes and Interfaces|All Packages|Constant Field Values|Serialized Form