Searched refs:mApps (Results 1 - 13 of 13) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAllAppsSearchBarController.java32 protected AlphabeticalAppsList mApps; field in class:AllAppsSearchBarController
39 mApps = apps;
H A DDefaultAppSearchAlgorithm.java34 private final List<AppInfo> mApps; field in class:DefaultAppSearchAlgorithm
38 mApps = apps;
67 for (AppInfo info : mApps) {
H A DAllAppsRecyclerView.java47 private AlphabeticalAppsList mApps; field in class:AllAppsRecyclerView
81 mApps = apps;
128 if (mApps.hasFilter()) {
142 int rowCount = mApps.getNumAppRows();
152 mApps.getFastScrollerSections();
169 getCurScrollState(mScrollPosState, mApps.getAdapterItems());
218 List<AlphabeticalAppsList.AdapterItem> items = mApps.getAdapterItems();
227 int rowCount = mApps.getNumAppRows();
318 AlphabeticalAppsList.AdapterItem item = mApps.getAdapterItems().get(position);
H A DAlphabeticalAppsList.java145 private final List<AppInfo> mApps = new ArrayList<>(); field in class:AlphabeticalAppsList
200 return mApps;
312 mApps.clear();
313 mApps.addAll(mComponentToAppMap.values());
314 Collections.sort(mApps, mAppNameComparator.getAppInfoComparator());
325 for (AppInfo info : mApps) {
339 List<AppInfo> allApps = new ArrayList<>(mApps.size());
344 mApps.clear();
345 mApps.addAll(allApps);
348 for (AppInfo info : mApps) {
[all...]
H A DAllAppsGridAdapter.java83 if (mApps.hasNoFilteredResults()) {
88 switch (mApps.getAdapterItems().get(position).viewType) {
112 if (mApps.hasFilter() || mAppsPerRow == 0) {
123 List<AlphabeticalAppsList.AdapterItem> items = mApps.getAdapterItems();
283 @Thunk AlphabeticalAppsList mApps; field in class:AllAppsGridAdapter
306 mApps = apps;
417 AppInfo info = mApps.getAdapterItems().get(position).appInfo;
423 AppInfo info = mApps.getAdapterItems().get(position).appInfo;
437 if (mApps.hasNoFilteredResults()) {
441 return mApps
[all...]
H A DAllAppsContainerView.java146 @Thunk AlphabeticalAppsList mApps; field in class:AllAppsContainerView
184 mApps = new AlphabeticalAppsList(context);
185 mAdapter = new AllAppsGridAdapter(context, mApps, this, mLauncher, this);
187 mApps.setAdapter(mAdapter);
201 mApps.setPredictedApps(apps);
208 mApps.setApps(apps);
215 mApps.addApps(apps);
222 mApps.updateApps(apps);
229 mApps.removeApps(apps);
240 mSearchBarController.initialize(mApps, thi
[all...]
H A DDefaultAppSearchController.java97 if (query.isEmpty() || mApps.hasNoFilteredResults()) {
118 mSearchManager = new DefaultAppSearchAlgorithm(mApps.getApps());
173 if (mApps.getSize() != 1) {
177 List<AlphabeticalAppsList.AdapterItem> items = mApps.getAdapterItems();
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DContextMap.java124 List<App> mApps = new ArrayList<App>(); field in class:ContextMap
133 synchronized (mApps) {
134 mApps.add(new App(uuid, callback));
142 synchronized (mApps) {
143 Iterator<App> i = mApps.iterator();
159 synchronized (mApps) {
160 Iterator<App> i = mApps.iterator();
204 Iterator<App> i = mApps.iterator();
217 Iterator<App> i = mApps.iterator();
296 synchronized (mApps) {
[all...]
H A DGattService.java1415 for(ClientMap.App app:mClientMap.mApps){
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppOpsCategory.java121 List<AppOpEntry> mApps; field in class:AppOpsCategory.AppListLoader
148 mApps = apps;
172 if (mApps != null) {
175 deliverResult(mApps);
187 if (takeContentChanged() || mApps == null || configChange) {
224 if (mApps != null) {
225 onReleaseResources(mApps);
226 mApps = null;
H A DAppOpsState.java53 List<AppOpEntry> mApps; field in class:AppOpsState
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java64 private Map <BluetoothHealthAppConfiguration, AppInfo> mApps; field in class:HealthService
89 mApps = Collections.synchronizedMap(new HashMap<BluetoothHealthAppConfiguration,
115 if (mApps != null) {
117 = mApps.entrySet().iterator();
140 if(mApps != null) {
141 mApps.clear();
159 AppInfo appInfo = mApps.get(appConfig);
172 mApps.remove(appConfig);
192 int appId = (mApps.get(appConfig)).mAppId;
204 int appId = (mApps
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppsCustomizePagedView.java176 private ArrayList<ApplicationInfo> mApps; field in class:AppsCustomizePagedView
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, mWidget
[all...]

Completed in 372 milliseconds