Lines Matching defs:mApps
176 private ArrayList<ApplicationInfo> mApps;
253 mApps = new ArrayList<ApplicationInfo>();
309 int numApps = mApps.size();
335 if (index < mApps.size()) {
340 return mNumAppsPages + ((index - mApps.size()) / numItemsPerPage);
353 mNumAppsPages = (int) Math.ceil((float) mApps.size() / (mCellCountX * mCellCountY));
439 if (mApps.size() > 0 && !mWidgets.isEmpty()) {
1022 int endIndex = Math.min(startIndex + numCells, mApps.size());
1029 ApplicationInfo info = mApps.get(i);
1527 * We should call thise method whenever the core data changes (mApps, mWidgets) so that we can
1544 mApps = list;
1545 Collections.sort(mApps, LauncherModel.getAppNameComparator());
1554 int index = Collections.binarySearch(mApps, info, LauncherModel.getAppNameComparator());
1556 mApps.add(-(index + 1), info);
1581 int removeIndex = findAppByComponent(mApps, info);
1583 mApps.remove(removeIndex);
1623 ApplicationInfo.dumpApplicationInfoList(TAG, "mApps", mApps);