Lines Matching refs:UsageStats
20 import android.app.usage.UsageStats;
59 public static class AppNameComparator implements Comparator<UsageStats> {
67 public final int compare(UsageStats a, UsageStats b) { in compare()
74 public static class LastTimeUsedComparator implements Comparator<UsageStats> {
76 public final int compare(UsageStats a, UsageStats b) { in compare()
82 public static class UsageTimeComparator implements Comparator<UsageStats> {
84 public final int compare(UsageStats a, UsageStats b) { in compare()
107 private final ArrayList<UsageStats> mPackageStats = new ArrayList<>();
113 final List<UsageStats> stats = in UsageStatsAdapter()
120 ArrayMap<String, UsageStats> map = new ArrayMap<>(); in UsageStatsAdapter()
123 final android.app.usage.UsageStats pkgStats = stats.get(i); in UsageStatsAdapter()
131 UsageStats existingStats = in UsageStatsAdapter()
191 UsageStats pkgStats = mPackageStats.get(position); in getView()