|
|
|
|
@ -4,8 +4,6 @@ import java.util.ArrayList;
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import com.todoroo.astrid.service.StatisticsConstants;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Helper class to define options with their probabilities and descriptions
|
|
|
|
|
* @author Sam Bosley <sam@astrid.com>
|
|
|
|
|
@ -169,17 +167,5 @@ public class ABOptions {
|
|
|
|
|
|
|
|
|
|
private void initialize() { // Set up
|
|
|
|
|
//Calls to addOption go here
|
|
|
|
|
addOption(AB_THEME_KEY, AB_THEME_PROBS, AB_THEME_DESCRIPTIONS, AB_THEME_EVENTS);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static final String AB_THEME_KEY = "ab-theme";
|
|
|
|
|
private static final int[] AB_THEME_PROBS = { 9, 1 };
|
|
|
|
|
private static final String[] AB_THEME_DESCRIPTIONS = { "ab-theme-white", "ab-theme-black" };
|
|
|
|
|
private static final String[] AB_THEME_EVENTS = { StatisticsConstants.USER_FIRST_TASK,
|
|
|
|
|
StatisticsConstants.USER_FIRST_LIST,
|
|
|
|
|
StatisticsConstants.ACTFM_NEW_USER,
|
|
|
|
|
StatisticsConstants.TASK_ONE_WEEK,
|
|
|
|
|
StatisticsConstants.TASK_TWO_WEEKS,
|
|
|
|
|
StatisticsConstants.TASK_THREE_WEEKS };
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|