HomeSort by relevance Sort by last modified time
    Searched refs:mLauncher (Results 1 - 25 of 39) sorted by null

1 2

  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherAppWidgetHost.java 31 Launcher mLauncher;
35 mLauncher = launcher;
53 mLauncher.bindPackagesUpdated(LauncherModel.getSortedWidgetsAndShortcuts(mLauncher));
SpringLoadedDragController.java 29 private Launcher mLauncher;
32 mLauncher = launcher;
53 Workspace w = mLauncher.getWorkspace();
59 mLauncher.getDragController().cancelDrag();
HandleView.java 32 private Launcher mLauncher;
56 if (newFocus == null && !mLauncher.isAllAppsVisible()) {
57 final Workspace workspace = mLauncher.getWorkspace();
67 if (ev.getAction() == MotionEvent.ACTION_DOWN && mLauncher.isAllAppsVisible()) {
74 mLauncher = launcher;
PagedViewWithDraggableItems.java 40 private Launcher mLauncher;
52 mLauncher = (Launcher) context;
108 if (!mLauncher.isAllAppsVisible() ||
109 mLauncher.getWorkspace().isSwitchingState()) return false;
111 if (!mLauncher.isDraggingEnabled()) return false;
Hotseat.java 35 private Launcher mLauncher;
69 mLauncher = launcher;
122 if (mLauncher != null &&
124 mLauncher.onTouchDownAllAppsButton(v);
133 if (mLauncher != null) {
134 mLauncher.onClickAllAppsButton(v);
DeleteDropTarget.java 196 DragLayer dragLayer = mLauncher.getDragLayer();
208 mLauncher.exitSpringLoadedDragMode();
223 mLauncher.startApplicationUninstallActivity((ApplicationInfo) item);
225 LauncherModel.deleteItemFromDatabase(mLauncher, item);
229 mLauncher.removeFolder(folderInfo);
230 LauncherModel.deleteFolderContentsFromDatabase(mLauncher, folderInfo);
233 mLauncher.removeAppWidget((LauncherAppWidgetInfo) item);
234 LauncherModel.deleteItemFromDatabase(mLauncher, item);
237 final LauncherAppWidgetHost appWidgetHost = mLauncher.getAppWidgetHost();
387 final ViewConfiguration config = ViewConfiguration.get(mLauncher);
    [all...]
Folder.java 63 protected Launcher mLauncher;
145 mLauncher = (Launcher) context;
204 mLauncher.startActivitySafely(v, item.intent, item);
210 if (!mLauncher.isDraggingEnabled()) return true;
219 mLauncher.dismissFolderCling(null);
221 mLauncher.getWorkspace().onDragStartedWithItem(v);
222 mLauncher.getWorkspace().beginDragShared(v, this);
258 LauncherModel.updateItemInDatabase(mLauncher, mInfo);
377 LauncherModel.deleteItemFromDatabase(mLauncher, item);
438 Cling cling = mLauncher.showFirstRunFoldersCling()
    [all...]
ButtonDropTarget.java 38 protected Launcher mLauncher;
62 mLauncher = launcher;
125 DragLayer dragLayer = mLauncher.getDragLayer();
164 mLauncher.getDragLayer().getLocationInDragLayer(this, loc);
AppsCustomizePagedView.java 163 private Launcher mLauncher;
355 mWidgetPreviewLoader = new WidgetPreviewLoader(mLauncher);
421 mLauncher.getDragLayer().getLocationInDragLayer(this, offset);
426 pos[1] += offset[1] - mLauncher.getDragLayer().getPaddingTop();
427 mLauncher.showFirstRunAllAppsCling(pos);
455 int[] spanXY = Launcher.getSpanForWidget(mLauncher, widget);
456 int[] minSpanXY = Launcher.getMinSpanForWidget(mLauncher, widget);
502 if (!mLauncher.isAllAppsVisible() ||
503 mLauncher.getWorkspace().isSwitchingState()) return;
517 mLauncher.updateWallpaperVisibility(true)
    [all...]
Workspace.java 136 private Launcher mLauncher;
258 mLauncher.getModel().bindRemainingSynchronousPages();
288 mLauncher = (Launcher) context;
311 mLauncher.getWindowManager().getDefaultDisplay().getCurrentSizeRange(minDims, maxDims);
359 CellLayout cl = (CellLayout) mLauncher.getWorkspace().getChildAt(0);
384 mLauncher.lockScreenOrientation();
394 mLauncher.unlockScreenOrientation(false);
423 Display display = mLauncher.getWindowManager().getDefaultDisplay();
464 DragLayer dragLayer = mLauncher.getDragLayer();
520 layout = mLauncher.getHotseat().getLayout()
    [all...]
InstallWidgetReceiver.java 76 private Launcher mLauncher;
87 mLauncher = l;
191 mLauncher.addAppWidgetFromDrop(createInfo, LauncherSettings.Favorites.CONTAINER_DESKTOP,
DragController.java 67 private Launcher mLauncher;
150 mLauncher = launcher;
180 mLauncher.getDragLayer().getLocationInDragLayer(v, loc);
220 mLauncher.getSystemService(Context.INPUT_METHOD_SERVICE);
246 final DragView dragView = mDragObject.dragView = new DragView(mLauncher, b, registrationX,
397 mLauncher.getDragLayer().getLocalVisibleRect(mDragLayerRect);
480 mLauncher.getDragLayer().onExitScrollArea();
531 final int slop = ViewConfiguration.get(mLauncher).getScaledWindowTouchSlop();
533 final DragLayer dragLayer = mLauncher.getDragLayer();
626 ViewConfiguration config = ViewConfiguration.get(mLauncher);
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherAppWidgetHost.java 31 Launcher mLauncher;
35 mLauncher = launcher;
53 mLauncher.bindPackagesUpdated(LauncherModel.getSortedWidgetsAndShortcuts(mLauncher));
LauncherClings.java 48 private Launcher mLauncher;
55 mLauncher = launcher;
56 mInflater = mLauncher.getLayoutInflater();
62 Cling cling = (Cling) mLauncher.findViewById(clingId);
65 scrim = mLauncher.findViewById(scrimId);
68 cling.init(mLauncher, scrim);
89 final AccessibilityManager a11yManager = (AccessibilityManager) mLauncher.getSystemService(
99 Account[] accounts = AccountManager.get(mLauncher).getAccounts();
101 UserManager um = (UserManager) mLauncher.getSystemService(Context.USER_SERVICE);
112 Cling cling = (Cling) mLauncher.findViewById(R.id.folder_cling)
    [all...]
SpringLoadedDragController.java 29 private Launcher mLauncher;
32 mLauncher = launcher;
53 Workspace w = mLauncher.getWorkspace();
59 mLauncher.getDragController().cancelDrag();
PagedViewWithDraggableItems.java 40 private Launcher mLauncher;
52 mLauncher = (Launcher) context;
108 if (!mLauncher.isAllAppsVisible() ||
109 mLauncher.getWorkspace().isSwitchingState()) return false;
111 if (!mLauncher.isDraggingEnabled()) return false;
Hotseat.java 40 private Launcher mLauncher;
66 mLauncher = launcher;
110 Utilities.getDescendantCoordRelativeToParent(this, mLauncher.getDragLayer(),
157 if (mLauncher != null) {
158 allAppsButton.setOnTouchListener(mLauncher.getHapticFeedbackTouchListener());
163 if (mLauncher != null) {
164 mLauncher.onClickAllAppsButton(v);
183 if (mLauncher.getWorkspace().isSmall()) {
Stats.java 54 private final Launcher mLauncher;
62 mLauncher = launcher;
68 mLog = new DataOutputStream(mLauncher.openFileOutput(LOG_FILE_NAME, Context.MODE_APPEND));
123 mLauncher.sendBroadcast(broadcastIntent, PERM_LAUNCH);
159 stats = new DataOutputStream(mLauncher.openFileOutput(STATS_FILE_NAME + ".tmp", Context.MODE_PRIVATE));
169 mLauncher.getFileStreamPath(STATS_FILE_NAME + ".tmp")
170 .renameTo(mLauncher.getFileStreamPath(STATS_FILE_NAME));
189 stats = new DataInputStream(mLauncher.openFileInput(STATS_FILE_NAME));
ButtonDropTarget.java 36 protected Launcher mLauncher;
60 mLauncher = launcher;
118 mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(this, coords);
127 DragLayer dragLayer = mLauncher.getDragLayer();
161 mLauncher.getDragLayer().getLocationInDragLayer(this, loc);
Workspace.java 168 private Launcher mLauncher;
280 mLauncher.getModel().bindRemainingSynchronousPages();
311 mLauncher = (Launcher) context;
385 mLauncher.lockScreenOrientation();
386 mLauncher.onInteractionBegin();
404 mLauncher.unlockScreenOrientation(false);
411 mLauncher.onInteractionEnd();
440 Display display = mLauncher.getWindowManager().getDefaultDisplay();
496 DragLayer dragLayer = mLauncher.getDragLayer();
558 mLauncher.getLayoutInflater().inflate(R.layout.workspace_screen, null)
    [all...]
Folder.java 64 protected Launcher mLauncher;
168 mLauncher = (Launcher) context;
227 mLauncher.onClick(v);
233 if (!mLauncher.isDraggingEnabled()) return true;
242 mLauncher.getLauncherClings().dismissFolderCling(null);
244 mLauncher.getWorkspace().onDragStartedWithItem(v);
245 mLauncher.getWorkspace().beginDragShared(v, this);
280 LauncherModel.updateItemInDatabase(mLauncher, mInfo);
395 LauncherModel.deleteItemFromDatabase(mLauncher, item);
468 Cling cling = mLauncher.getLauncherClings().showFoldersCling()
    [all...]
DeleteDropTarget.java 230 final DragLayer dragLayer = mLauncher.getDragLayer();
245 mLauncher.exitSpringLoadedDragMode();
282 mLauncher.startApplicationUninstallActivity(appInfo.componentName, appInfo.flags);
291 mLauncher.startApplicationUninstallActivity(componentName, flags);
310 mLauncher.addOnResumeCallback(checkIfUninstallWasSuccess);
314 LauncherModel.deleteItemFromDatabase(mLauncher, item);
318 mLauncher.removeFolder(folderInfo);
319 LauncherModel.deleteFolderContentsFromDatabase(mLauncher, folderInfo);
322 mLauncher.removeAppWidget((LauncherAppWidgetInfo) item);
323 LauncherModel.deleteItemFromDatabase(mLauncher, item)
    [all...]
AppsCustomizePagedView.java 161 private Launcher mLauncher;
304 mWidgetPreviewLoader = new WidgetPreviewLoader(mLauncher);
417 mLauncher.getDragLayer().getLocationInDragLayer(this, offset);
422 pos[1] += offset[1] - mLauncher.getDragLayer().getPaddingTop();
456 int[] spanXY = Launcher.getSpanForWidget(mLauncher, widget);
457 int[] minSpanXY = Launcher.getMinSpanForWidget(mLauncher, widget);
503 if (!mLauncher.isAllAppsVisible() ||
504 mLauncher.getWorkspace().isSwitchingState()) return;
514 mLauncher.startActivitySafely(v, appInfo.intent, appInfo);
515 mLauncher.getStats().recordLaunch(appInfo.intent)
    [all...]
DragController.java 60 private Launcher mLauncher;
141 mLauncher = launcher;
170 mLauncher.getDragLayer().getLocationInDragLayer(v, loc);
210 mLauncher.getSystemService(Context.INPUT_METHOD_SERVICE);
234 final DragView dragView = mDragObject.dragView = new DragView(mLauncher, b, registrationX,
244 mLauncher.getDragLayer().performHapticFeedback(HapticFeedbackConstants.LONG_PRESS);
390 mLauncher.getDragLayer().getLocalVisibleRect(mDragLayerRect);
476 mLauncher.getDragLayer().onExitScrollArea();
524 final int slop = ViewConfiguration.get(mLauncher).getScaledWindowTouchSlop();
526 final DragLayer dragLayer = mLauncher.getDragLayer()
    [all...]
InstallWidgetReceiver.java 74 private Launcher mLauncher;
83 mLauncher = l;
186 mLauncher.addAppWidgetFromDrop(createInfo, LauncherSettings.Favorites.CONTAINER_DESKTOP,

Completed in 288 milliseconds

1 2