Home
last modified time | relevance | path

Searched refs:totalRam (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DRunningProcessesView.java357 final long totalRam = mMemInfoReader.getTotalSize(); in refreshUi() local
369 final long highRam = totalRam - medRam - lowRam; in refreshUi()
371 if (mCurTotalRam != totalRam || mCurHighRam != highRam || mCurMedRam != medRam in refreshUi()
373 mCurTotalRam = totalRam; in refreshUi()
390 int progress = (int) ((highRam/(float) totalRam) * 100); in refreshUi()
392 mColorBar.setSecondaryProgress(progress + (int) ((medRam/(float) totalRam) * 100)); in refreshUi()
DProcessStatsSummary.java74 double totalRam = memInfo.realTotalRam; in refreshUi() local
78 String totalString = Formatter.formatShortFileSize(context, (long) totalRam); in refreshUi()
95 mAverageUsed.setSummary(Utils.formatPercentage((long) usedRam, (long) totalRam)); in refreshUi()
DProcStatsData.java372 double totalRam; field in ProcStatsData.MemInfo
387 totalRam = usedRam + freeRam; in MemInfo()
388 totalScale = realTotalRam / totalRam; in MemInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningProcessesView.java357 final long totalRam = mMemInfoReader.getTotalSize(); in refreshUi() local
369 final long highRam = totalRam - medRam - lowRam; in refreshUi()
371 if (mCurTotalRam != totalRam || mCurHighRam != highRam || mCurMedRam != medRam in refreshUi()
373 mCurTotalRam = totalRam; in refreshUi()
390 int progress = (int) ((highRam/(float) totalRam) * 100); in refreshUi()
392 mColorBar.setSecondaryProgress(progress + (int) ((medRam/(float) totalRam) * 100)); in refreshUi()
DProcessStatsSummary.java74 double totalRam = memInfo.realTotalRam; in refreshUi() local
78 String totalString = Formatter.formatShortFileSize(context, (long) totalRam); in refreshUi()
95 mAverageUsed.setSummary(Utils.formatPercentage((long) usedRam, (long) totalRam)); in refreshUi()
DProcStatsData.java372 double totalRam; field in ProcStatsData.MemInfo
387 totalRam = usedRam + freeRam; in MemInfo()
388 totalScale = realTotalRam / totalRam; in MemInfo()