Searched refs:daysLeft (Results 1 – 3 of 3) sorted by relevance
192 int daysLeft = (int) (millisLeft / MILLIS_IN_A_DAY); in getRemainingBillingCycleTimeText() local193 return daysLeft < 1 in getRemainingBillingCycleTimeText()196 R.plurals.billing_cycle_days_left, daysLeft, daysLeft); in getRemainingBillingCycleTimeText()
293 int daysLeft = (int) (millisLeft / MILLIS_IN_A_DAY); in updateCycleTimeText() local294 cycleTime.setText(daysLeft < 1 in updateCycleTimeText()297 R.plurals.billing_cycle_days_left, daysLeft, daysLeft)); in updateCycleTimeText()
288 final int daysLeft = 3; in testSetUsageInfo_cycleRemainingTimeDaysLeft_shouldUsePlurals() local289 final long cycleEnd = System.currentTimeMillis() + TimeUnit.DAYS.toMillis(daysLeft) in testSetUsageInfo_cycleRemainingTimeDaysLeft_shouldUsePlurals()298 .isEqualTo(daysLeft + " days left"); in testSetUsageInfo_cycleRemainingTimeDaysLeft_shouldUsePlurals()499 final int daysLeft = 3; in testSetWifiMode_withUsageInfo_dataUsageShown() local500 final long cycleEnd = System.currentTimeMillis() + TimeUnit.DAYS.toMillis(daysLeft) in testSetWifiMode_withUsageInfo_dataUsageShown()