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

1 2

  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherAppWidgetHost.java 41 private Launcher mLauncher;
45 mLauncher = launcher;
107 mLauncher.notifyWidgetProvidersChanged();
132 mLauncher, appWidget);
LauncherClings.java 52 @Thunk Launcher mLauncher;
58 mLauncher = launcher;
59 mInflater = LayoutInflater.from(mLauncher);
70 LauncherModel model = mLauncher.getModel();
76 SharedPreferences.Editor editor = Utilities.getPrefs(mLauncher).edit();
94 mLauncher.hideWorkspaceSearchAndHotseat();
96 ViewGroup root = (ViewGroup) mLauncher.findViewById(R.id.launcher);
103 mLauncher.showWorkspaceSearchAndHotseat();
112 dismissCling(mLauncher.findViewById(R.id.migration_cling), cb,
116 mLauncher.getWorkspace().post(dismissCb)
    [all...]
SpringLoadedDragController.java 29 private Launcher mLauncher;
32 mLauncher = launcher;
53 Workspace w = mLauncher.getWorkspace();
59 mLauncher.getDragController().cancelDrag();
Hotseat.java 35 private Launcher mLauncher;
51 mLauncher = (Launcher) context;
52 mHasVerticalHotseat = mLauncher.getDeviceProfile().isVerticalBarLayout();
95 DeviceProfile grid = mLauncher.getDeviceProfile();
120 mLauncher.resizeIconDrawable(d);
129 if (mLauncher != null) {
130 mLauncher.setAllAppsButton(allAppsButton);
131 allAppsButton.setOnTouchListener(mLauncher.getHapticFeedbackTouchListener());
132 allAppsButton.setOnClickListener(mLauncher);
133 allAppsButton.setOnLongClickListener(mLauncher);
    [all...]
Stats.java 105 private final Launcher mLauncher;
109 mLauncher = launcher;
147 String[] packages = mLauncher.getResources().getStringArray(R.array.launch_broadcast_targets);
150 mLauncher.sendBroadcast(broadcastIntent, mLaunchBroadcastPermission);
BubbleTextView.java 66 private final Launcher mLauncher;
101 mLauncher = (Launcher) context;
102 DeviceProfile grid = mLauncher.getDeviceProfile();
152 FastBitmapDrawable iconDrawable = mLauncher.createIconDrawable(b);
169 FastBitmapDrawable iconDrawable = mLauncher.createIconDrawable(info.iconBitmap);
186 setIcon(mLauncher.createIconDrawable(info.iconBitmap), mIconSize);
203 setIcon(mLauncher.resizeIconDrawable(d), mIconSize);
546 mLauncher.getWorkspace().getHomescreenIconByItemId(info.container);
Workspace.java 164 @Thunk Launcher mLauncher;
294 mLauncher.getModel().bindRemainingSynchronousPages();
320 mLauncher = (Launcher) context;
321 mStateTransitionAnimation = new WorkspaceStateTransitionAnimation(mLauncher, this);
323 DeviceProfile grid = mLauncher.getDeviceProfile();
395 mLauncher.lockScreenOrientation();
396 mLauncher.onInteractionBegin();
426 mLauncher.unlockScreenOrientation(false);
432 mLauncher.onInteractionEnd();
441 DeviceProfile grid = mLauncher.getDeviceProfile()
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherAppWidgetHost.java 31 Launcher mLauncher;
35 mLauncher = launcher;
53 mLauncher.bindPackagesUpdated(LauncherModel.getSortedWidgetsAndShortcuts(mLauncher));
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;
InfoDropTarget.java 92 mLauncher.startApplicationDetailsActivity(componentName, user);
SpringLoadedDragController.java 29 private Launcher mLauncher;
32 mLauncher = launcher;
53 Workspace w = mLauncher.getWorkspace();
59 mLauncher.getDragController().cancelDrag();
InstallWidgetReceiver.java 76 private Launcher mLauncher;
87 mLauncher = l;
191 mLauncher.addAppWidgetFromDrop(createInfo, LauncherSettings.Favorites.CONTAINER_DESKTOP,
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;
DeleteDropTarget.java 205 DragLayer dragLayer = mLauncher.getDragLayer();
217 mLauncher.exitSpringLoadedDragMode();
232 mLauncher.startApplicationUninstallActivity((ApplicationInfo) item, item.user);
234 LauncherModel.deleteItemFromDatabase(mLauncher, item);
238 mLauncher.removeFolder(folderInfo);
239 LauncherModel.deleteFolderContentsFromDatabase(mLauncher, folderInfo);
242 mLauncher.removeAppWidget((LauncherAppWidgetInfo) item);
243 LauncherModel.deleteItemFromDatabase(mLauncher, item);
246 final LauncherAppWidgetHost appWidgetHost = mLauncher.getAppWidgetHost();
396 final ViewConfiguration config = ViewConfiguration.get(mLauncher);
    [all...]
ButtonDropTarget.java 38 protected Launcher mLauncher;
62 mLauncher = launcher;
125 DragLayer dragLayer = mLauncher.getDragLayer();
164 mLauncher.getDragLayer().getLocationInDragLayer(this, loc);
Cling.java 57 private Launcher mLauncher;
91 mLauncher = l;
182 Folder f = mLauncher.getWorkspace().getOpenFolder();
198 mLauncher.getWindowManager().getDefaultDisplay().getMetrics(metrics);
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);
DragLayer.java 55 private Launcher mLauncher;
97 mLauncher = launcher;
140 Folder currentFolder = mLauncher.getWorkspace().getOpenFolder();
141 if (currentFolder != null && !mLauncher.isFolderClingVisible() && intercept) {
151 mLauncher.closeFolder();
171 if (mLauncher == null || mLauncher.getWorkspace() == null) {
174 Folder currentFolder = mLauncher.getWorkspace().getOpenFolder();
227 Folder currentFolder = mLauncher.getWorkspace().getOpenFolder();
241 Folder currentFolder = mLauncher.getWorkspace().getOpenFolder()
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/widget/
WidgetsContainerView.java 59 @Thunk Launcher mLauncher;
83 mLauncher = (Launcher) context;
84 mDragController = mLauncher.getDragController();
85 mAdapter = new WidgetsListAdapter(context, this, this, mLauncher);
115 if (!mLauncher.isWidgetsViewVisible()
116 || mLauncher.getWorkspace().isSwitchingState()
139 if (!mLauncher.isWidgetsViewVisible() ||
140 mLauncher.getWorkspace().isSwitchingState()) return false;
142 if (!mLauncher.isDraggingEnabled()) return false;
146 WidgetHostViewLoader hostLoader = new WidgetHostViewLoader(mLauncher, v)
    [all...]
WidgetsListAdapter.java 58 private Launcher mLauncher;
78 mLauncher = launcher;
144 PendingAddWidgetInfo pawi = new PendingAddWidgetInfo(mLauncher, info, null);
151 widget.applyFromResolveInfo(mLauncher.getPackageManager(), info, mWidgetPreviewLoader);
211 Resources r = mLauncher.getResources();
212 DeviceProfile profile = mLauncher.getDeviceProfile();
WidgetHostViewLoader.java 31 @Thunk Launcher mLauncher;
42 mLauncher = launcher;
58 mLauncher.getDragController().removeDragListener(this);
65 mLauncher.getAppWidgetHost().deleteAppWidgetId(mWidgetLoadingId);
74 mLauncher.getDragLayer().removeView(mInfo.boundWidget);
75 mLauncher.getAppWidgetHost().deleteAppWidgetId(mInfo.boundWidget.getAppWidgetId());
89 final Bundle options = getDefaultOptionsForWidget(mLauncher, mInfo);
100 mWidgetLoadingId = mLauncher.getAppWidgetHost().allocateAppWidgetId();
104 if(AppWidgetManagerCompat.getInstance(mLauncher).bindAppWidgetIdIfAllowed(
122 AppWidgetHostView hostView = mLauncher.getAppWidgetHost().createView
    [all...]
WidgetCell.java 81 private Launcher mLauncher;
95 mLauncher = (Launcher) context;
106 DeviceProfile profile = mLauncher.getDeviceProfile();
206 int cellWidth = mLauncher.getDeviceProfile().cellWidthPx;
  /packages/apps/Launcher3/src/com/android/launcher3/accessibility/
LauncherAccessibilityDelegate.java 69 @Thunk final Launcher mLauncher;
75 mLauncher = launcher;
139 DeleteDropTarget.removeWorkspaceOrFolderItem(mLauncher, item, host);
142 InfoDropTarget.startDetailsActivityForInfo(item, mLauncher);
145 return UninstallDropTarget.startUninstallActivity(mLauncher, item);
151 mLauncher.showWorkspace(true, new Runnable() {
157 LauncherModel.addItemToDatabase(mLauncher, info,
163 mLauncher.bindItems(itemList, 0, itemList.size(), true);
166 Workspace workspace = mLauncher.getWorkspace();
168 mLauncher.addPendingItem(info, LauncherSettings.Favorites.CONTAINER_DESKTOP
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsContainerView.java 135 private final Launcher mLauncher;
174 mLauncher = (Launcher) context;
177 mAdapter = new AllAppsGridAdapter(mLauncher, mApps, this, mLauncher, this);
231 mSearchBarController.initialize(mApps, mSearchInput, mLauncher, this);
319 mLauncher.updateOverlayBounds(newBounds);
334 DeviceProfile grid = mLauncher.getDeviceProfile();
442 if (!mLauncher.isAppsViewVisible() ||
443 mLauncher.getWorkspace().isSwitchingState()) return false;
445 if (!mLauncher.isDraggingEnabled()) return false
    [all...]
AllAppsSearchBarController.java 44 protected Launcher mLauncher;
60 mLauncher = launcher;
111 return mLauncher.startActivitySafely(v, createMarketSearchIntent(query), null);

Completed in 738 milliseconds

1 2