Searched refs:daysLeft (Results 1 – 6 of 6) sorted by relevance
124 final int daysLeft = (int) (millisLeft / MILLIS_IN_A_DAY); in getCycleTime() local125 return daysLeft < 1 ? mContext.getString(R.string.billing_cycle_less_than_one_day_left) in getCycleTime()127 daysLeft, daysLeft); in getCycleTime()
187 int daysLeft = (int) (millisLeft / MILLIS_IN_A_DAY); in getRemainingBillingCycleTimeText() local188 return daysLeft < 1 in getRemainingBillingCycleTimeText()191 R.plurals.billing_cycle_days_left, daysLeft, daysLeft); in getRemainingBillingCycleTimeText()
292 int daysLeft = (int) (millisLeft / MILLIS_IN_A_DAY); in updateCycleTimeText() local293 cycleTime.setText(daysLeft < 1 in updateCycleTimeText()296 R.plurals.billing_cycle_days_left, daysLeft, daysLeft)); in updateCycleTimeText()
290 final int daysLeft = 3; in testSetUsageInfo_cycleRemainingTimeDaysLeft_shouldUsePlurals() local291 final long cycleEnd = System.currentTimeMillis() + TimeUnit.DAYS.toMillis(daysLeft) in testSetUsageInfo_cycleRemainingTimeDaysLeft_shouldUsePlurals()298 assertThat(mCycleTime.getText()).isEqualTo(daysLeft + " days left"); in testSetUsageInfo_cycleRemainingTimeDaysLeft_shouldUsePlurals()482 final int daysLeft = 3; in testSetWifiMode_withUsageInfo_dataUsageShown() local483 final long cycleEnd = System.currentTimeMillis() + TimeUnit.DAYS.toMillis(daysLeft) in testSetWifiMode_withUsageInfo_dataUsageShown()