Home
last modified time | relevance | path

Searched refs:dataRemaining (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreference.java258 long dataRemaining = mDataplanSize - mDataplanUse; in updateDataUsageLabels() local
259 if (dataRemaining >= 0) { in updateDataUsageLabels()
262 DataUsageUtils.formatDataUsage(getContext(), dataRemaining))); in updateDataUsageLabels() local
268 DataUsageUtils.formatDataUsage(getContext(), -dataRemaining))); in updateDataUsageLabels()
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java480 TextView dataRemaining = mSummaryPreference.getDataRemaining(mHolder); in testSetUsageInfo_withOverflowStrings_dataRemainingNotShown() local
483 dataRemaining.measure(width, MeasureSpec.UNSPECIFIED); in testSetUsageInfo_withOverflowStrings_dataRemainingNotShown()
485 assertThat(dataRemaining.getVisibility()).isEqualTo(View.VISIBLE); in testSetUsageInfo_withOverflowStrings_dataRemainingNotShown()