|
|
@ -25,7 +25,7 @@ import org.isoron.uhabits.core.utils.*;
|
|
|
|
|
|
|
|
|
|
|
|
public class HabitFixtures
|
|
|
|
public class HabitFixtures
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public boolean NON_DAILY_HABIT_CHECKS[] = {
|
|
|
|
public boolean[] NON_DAILY_HABIT_CHECKS = {
|
|
|
|
true, false, false, true, true, true, false, false, true, true
|
|
|
|
true, false, false, true, true, true, false, false, true, true
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -58,7 +58,7 @@ public class HabitFixtures
|
|
|
|
habit.setColor(4);
|
|
|
|
habit.setColor(4);
|
|
|
|
|
|
|
|
|
|
|
|
Timestamp today = DateUtils.getToday();
|
|
|
|
Timestamp today = DateUtils.getToday();
|
|
|
|
int marks[] = {0, 1, 3, 5, 7, 8, 9, 10, 12, 14, 15, 17, 19, 20, 26, 27,
|
|
|
|
int[] marks = {0, 1, 3, 5, 7, 8, 9, 10, 12, 14, 15, 17, 19, 20, 26, 27,
|
|
|
|
28, 50, 51, 52, 53, 54, 58, 60, 63, 65, 70, 71, 72, 73, 74, 75, 80,
|
|
|
|
28, 50, 51, 52, 53, 54, 58, 60, 63, 65, 70, 71, 72, 73, 74, 75, 80,
|
|
|
|
81, 83, 89, 90, 91, 95, 102, 103, 108, 109, 120};
|
|
|
|
81, 83, 89, 90, 91, 95, 102, 103, 108, 109, 120};
|
|
|
|
|
|
|
|
|
|
|
@ -81,8 +81,8 @@ public class HabitFixtures
|
|
|
|
saveIfSQLite(habit);
|
|
|
|
saveIfSQLite(habit);
|
|
|
|
|
|
|
|
|
|
|
|
Timestamp today = DateUtils.getToday();
|
|
|
|
Timestamp today = DateUtils.getToday();
|
|
|
|
int times[] = {0, 1, 3, 5, 7, 8, 9, 10};
|
|
|
|
int[] times = {0, 1, 3, 5, 7, 8, 9, 10};
|
|
|
|
int values[] = {100, 200, 300, 400, 500, 600, 700, 800};
|
|
|
|
int[] values = {100, 200, 300, 400, 500, 600, 700, 800};
|
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < times.length; i++)
|
|
|
|
for (int i = 0; i < times.length; i++)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -105,14 +105,14 @@ public class HabitFixtures
|
|
|
|
habit.setColor(1);
|
|
|
|
habit.setColor(1);
|
|
|
|
saveIfSQLite(habit);
|
|
|
|
saveIfSQLite(habit);
|
|
|
|
|
|
|
|
|
|
|
|
int times[] = {0, 5, 9, 15, 17, 21, 23, 27, 28, 35, 41, 45, 47, 53, 56, 62, 70, 73, 78,
|
|
|
|
int[] times = {0, 5, 9, 15, 17, 21, 23, 27, 28, 35, 41, 45, 47, 53, 56, 62, 70, 73, 78,
|
|
|
|
83, 86, 94, 101, 106, 113, 114, 120, 126, 130, 133, 141, 143, 148, 151, 157, 164,
|
|
|
|
83, 86, 94, 101, 106, 113, 114, 120, 126, 130, 133, 141, 143, 148, 151, 157, 164,
|
|
|
|
166, 171, 173, 176, 179, 183, 191, 259, 264, 268, 270, 275, 282, 284, 289, 295,
|
|
|
|
166, 171, 173, 176, 179, 183, 191, 259, 264, 268, 270, 275, 282, 284, 289, 295,
|
|
|
|
302, 306, 310, 315, 323, 325, 328, 335, 343, 349, 351, 353, 357, 359, 360, 367,
|
|
|
|
302, 306, 310, 315, 323, 325, 328, 335, 343, 349, 351, 353, 357, 359, 360, 367,
|
|
|
|
372, 376, 380, 385, 393, 400, 404, 412, 415, 418, 422, 425, 433, 437, 444, 449,
|
|
|
|
372, 376, 380, 385, 393, 400, 404, 412, 415, 418, 422, 425, 433, 437, 444, 449,
|
|
|
|
455, 460, 462, 465, 470, 471, 479, 481, 485, 489, 494, 495, 500, 501, 503, 507};
|
|
|
|
455, 460, 462, 465, 470, 471, 479, 481, 485, 489, 494, 495, 500, 501, 503, 507};
|
|
|
|
|
|
|
|
|
|
|
|
int values[] = {230, 306, 148, 281, 134, 285, 104, 158, 325, 236, 303, 210, 118, 124,
|
|
|
|
int[] values = {230, 306, 148, 281, 134, 285, 104, 158, 325, 236, 303, 210, 118, 124,
|
|
|
|
301, 201, 156, 376, 347, 367, 396, 134, 160, 381, 155, 354, 231, 134, 164, 354,
|
|
|
|
301, 201, 156, 376, 347, 367, 396, 134, 160, 381, 155, 354, 231, 134, 164, 354,
|
|
|
|
236, 398, 199, 221, 208, 397, 253, 276, 214, 341, 299, 221, 353, 250, 341, 168,
|
|
|
|
236, 398, 199, 221, 208, 397, 253, 276, 214, 341, 299, 221, 353, 250, 341, 168,
|
|
|
|
374, 205, 182, 217, 297, 321, 104, 237, 294, 110, 136, 229, 102, 271, 250, 294,
|
|
|
|
374, 205, 182, 217, 297, 321, 104, 237, 294, 110, 136, 229, 102, 271, 250, 294,
|
|
|
|