Java Code Examples for com.eveningoutpost.dexdrip.UtilityModels.AlertPlayer#isAscendingMode()

The following examples show how to use com.eveningoutpost.dexdrip.UtilityModels.AlertPlayer#isAscendingMode() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AlertType.java    From xDrip with GNU General Public License v3.0 5 votes vote down vote up
public long getNextAlertTime(Context ctx) {
    int time = minutes_between;
    if (time < 1 || AlertPlayer.isAscendingMode(ctx)) {
        time = 1;
    }
    Calendar calendar = Calendar.getInstance();
    return calendar.getTimeInMillis() + (time * 60000);
}
 
Example 2
Source File: AlertType.java    From xDrip with GNU General Public License v3.0 5 votes vote down vote up
public long getNextAlertTime(Context ctx) {
    int time = minutes_between;
    if (time < 1 || AlertPlayer.isAscendingMode(ctx)) {
        time = 1;
    }
    Calendar calendar = Calendar.getInstance();
    return calendar.getTimeInMillis() + (time * 60000);
}
 
Example 3
Source File: AlertType.java    From xDrip-plus with GNU General Public License v3.0 5 votes vote down vote up
public long getNextAlertTime(Context ctx) {
    int time = minutes_between;
    if (time < 1 || AlertPlayer.isAscendingMode(ctx)) {
        time = 1;
    }
    Calendar calendar = Calendar.getInstance();
    return calendar.getTimeInMillis() + (time * 60000);
}
 
Example 4
Source File: AlertType.java    From xDrip-plus with GNU General Public License v3.0 5 votes vote down vote up
public long getNextAlertTime(Context ctx) {
    int time = minutes_between;
    if (time < 1 || AlertPlayer.isAscendingMode(ctx)) {
        time = 1;
    }
    Calendar calendar = Calendar.getInstance();
    return calendar.getTimeInMillis() + (time * 60000);
}
 
Example 5
Source File: AlertType.java    From xDrip-Experimental with GNU General Public License v3.0 5 votes vote down vote up
public long getNextAlertTime(Context ctx) {
    int time = minutes_between;
    if (time < 1 || AlertPlayer.isAscendingMode(ctx)) {
        time = 1;
    }
    Calendar calendar = Calendar.getInstance();
    return calendar.getTimeInMillis() + (time * 60000);
}