Search in sources :

Example 11 with EventTypeHeader

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

the class EventInsights2017Renderer method generate2017BonusInsights.

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

Example 12 with EventTypeHeader

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

the class EventInsights2018Renderer method generate2018MatchInsights.

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

Example 13 with EventTypeHeader

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

the class EventInsights2018Renderer method generate2018BonusInsights.

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

Example 14 with EventTypeHeader

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

the class EventInsights2019Renderer method generate2019BonusInsights.

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

Example 15 with EventTypeHeader

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

the class EventInsights2019Renderer method generate2019MatchInsights.

private void generate2019MatchInsights(JsonObject quals, JsonObject elims) {
    mEventStats.add(new EventTypeHeader(mResources.getString(R.string.breakdown_match_stats)));
    addHighScore(quals, elims, "high_score");
    addQualVsElimInsights(quals, elims, matchTitles, matchKeys);
}
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