Search in sources :

Example 1 with EventTypeHeader

use of com.thebluealliance.androidclient.listitems.EventTypeHeader in project the-blue-alliance-android by the-blue-alliance.

the class EventInsights2016Renderer method generate2016TowerInsights.

private void generate2016TowerInsights(JsonObject quals, JsonObject elims) {
    mEventStats.add(new EventTypeHeader(mResources.getString(R.string.breakdown2016_tower_stats)));
    addQualVsElimInsightsWithPercentage(quals, elims, towerTitles, towerKeys);
}
Also used : EventTypeHeader(com.thebluealliance.androidclient.listitems.EventTypeHeader)

Example 2 with EventTypeHeader

use of com.thebluealliance.androidclient.listitems.EventTypeHeader in project the-blue-alliance-android by the-blue-alliance.

the class EventInsights2020Renderer method generate2020BonusInsights.

private void generate2020BonusInsights(JsonObject quals, JsonObject elims) {
    mEventStats.add(new EventTypeHeader(mResources.getString(R.string.breakdown2017_bonus_stats)));
    addQualVsElimInsightsWithPercentage(quals, elims, bonusInsightTitles, bonusInsightKeys);
}
Also used : EventTypeHeader(com.thebluealliance.androidclient.listitems.EventTypeHeader)

Example 3 with EventTypeHeader

use of com.thebluealliance.androidclient.listitems.EventTypeHeader in project the-blue-alliance-android by the-blue-alliance.

the class EventInsights2020Renderer method generate2020MatchInsights.

private void generate2020MatchInsights(JsonObject quals, JsonObject elims) {
    mEventStats.add(new EventTypeHeader(mResources.getString(R.string.breakdown_match_stats)));
    addHighScore(quals, elims, "high_score");
    addQualVsElimInsights(quals, elims, matchInsightTitles, matchInsightKeys);
}
Also used : EventTypeHeader(com.thebluealliance.androidclient.listitems.EventTypeHeader)

Example 4 with EventTypeHeader

use of com.thebluealliance.androidclient.listitems.EventTypeHeader in project the-blue-alliance-android by the-blue-alliance.

the class EventInsights2022Renderer method generate2022BonusInsights.

private void generate2022BonusInsights(JsonObject quals, JsonObject elims) {
    mEventStats.add(new EventTypeHeader(mResources.getString(R.string.breakdown2017_bonus_stats)));
    addQualVsElimInsightsWithPercentage(quals, elims, BONUS_INSIGHT_TITLES, BONUS_INSIGHT_KEYS);
}
Also used : EventTypeHeader(com.thebluealliance.androidclient.listitems.EventTypeHeader)

Example 5 with EventTypeHeader

use of com.thebluealliance.androidclient.listitems.EventTypeHeader in project the-blue-alliance-android by the-blue-alliance.

the class EventInsights2022Renderer method generate2022MatchInsights.

private void generate2022MatchInsights(JsonObject quals, JsonObject elims) {
    mEventStats.add(new EventTypeHeader(mResources.getString(R.string.breakdown_match_stats)));
    addHighScore(quals, elims, "high_score");
    addQualVsElimInsights(quals, elims, MATCH_INSIGHT_TITLES, MATCH_INSIGHT_KEYS);
}
Also used : EventTypeHeader(com.thebluealliance.androidclient.listitems.EventTypeHeader)

Aggregations

EventTypeHeader (com.thebluealliance.androidclient.listitems.EventTypeHeader)15 ListItem (com.thebluealliance.androidclient.listitems.ListItem)2 Favorite (com.thebluealliance.androidclient.models.Favorite)1 Subscription (com.thebluealliance.androidclient.models.Subscription)1