/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 | 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...] |
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
SpringLoadedDragController.java | 34 private Launcher mLauncher; 37 mLauncher = launcher; 58 Workspace w = mLauncher.getWorkspace(); 64 mLauncher.getDragController().cancelDrag();
|
ExternalDragPreviewProvider.java | 38 private final Launcher mLauncher; 45 mLauncher = launcher; 48 mOutlineSize = mLauncher.getWorkspace().estimateItemSize(mAddInfo, false); 53 DeviceProfile dp = mLauncher.getDeviceProfile(); 75 HolographicOutlineHelper.obtain(mLauncher).applyExpensiveOutlineWithBlur(b, canvas);
|
DragLayer.java | 94 private Launcher mLauncher; 162 mLauncher = launcher; 166 boolean isAccessibilityEnabled = ((AccessibilityManager) mLauncher.getSystemService( 182 ? null : new PinchToOverviewListener(mLauncher); 186 getDescendantRectRelativeToSelf(mLauncher.getWorkspace().getPageIndicator(), mHitRect); 191 return isEventOverView(mLauncher.getHotseat(), ev); 203 return isEventOverView(mLauncher.getDropTargetBar(), ev); 230 DeepShortcutsContainer deepShortcutsContainer = mLauncher.getOpenShortcutsContainer(); 242 mLauncher.closeShortcutsContainer(); 250 Folder currentFolder = mLauncher.getWorkspace().getOpenFolder() [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
PinchToOverviewListener.java | 46 private Launcher mLauncher; 60 mLauncher = launcher; 61 mPinchDetector = new ScaleGestureDetector((Context) mLauncher, this); 83 if (mLauncher.mState != Launcher.State.WORKSPACE || mLauncher.isOnCustomContent()) { 91 if (mLauncher.isWorkspaceLocked()) { 96 mWorkspace = mLauncher.getWorkspace(); 98 mAnimationManager = new PinchAnimationManager(mLauncher); 105 if (mLauncher.getTopFloatingView() != null) { 115 mWorkspace.onLauncherTransitionPrepare(mLauncher, false, true) [all...] |
AnotherWindowDropTarget.java | 28 final Launcher mLauncher; 30 public AnotherWindowDropTarget (Context context) { mLauncher = (Launcher) context; } 38 LauncherModel.deleteItemFromDatabase(mLauncher, (ShortcutInfo) dragObject.dragInfo);
|
Hotseat.java | 49 private Launcher mLauncher; 70 mLauncher = Launcher.getLauncher(context); 71 mHasVerticalHotseat = mLauncher.getDeviceProfile().isVerticalBarLayout(); 114 DeviceProfile grid = mLauncher.getDeviceProfile(); 132 int allAppsButtonRank = mLauncher.getDeviceProfile().inv.getAllAppsButtonRank(); 139 mLauncher.resizeIconDrawable(d); 148 if (mLauncher != null) { 149 mLauncher.setAllAppsButton(allAppsButton); 150 allAppsButton.setOnTouchListener(mLauncher.getHapticFeedbackTouchListener()); 151 allAppsButton.setOnClickListener(mLauncher); [all...] |
LauncherAppWidgetHost.java | 40 private Launcher mLauncher; 44 mLauncher = launcher; 86 mLauncher.notifyWidgetProvidersChanged(); 111 mLauncher, appWidget);
|
Workspace.java | 166 @Thunk Launcher mLauncher; 341 mLauncher = Launcher.getLauncher(context); 342 mStateTransitionAnimation = new WorkspaceStateTransitionAnimation(mLauncher, this); 344 DeviceProfile grid = mLauncher.getDeviceProfile(); 381 float shrinkFactor = mLauncher.getDeviceProfile().workspaceSpringLoadShrinkFactor; 419 mLauncher.onDragStarted(); 420 mLauncher.lockScreenOrientation(); 421 mLauncher.onInteractionBegin(); 456 mLauncher.enterSpringLoadedDragMode(); 475 mLauncher.unlockScreenOrientation(false) [all...] |
LauncherStateTransitionAnimation.java | 127 @Thunk Launcher mLauncher; 132 mLauncher = l; 144 final AllAppsContainerView toView = mLauncher.getAppsView(); 145 final View buttonView = mLauncher.getStartViewForAllAppsRevealAnimation(); 149 int allAppsButtonSize = mLauncher.getDeviceProfile().allAppsButtonVisualSize; 166 mLauncher.getUserEventDispatcher().resetElapsedContainerMillis(); 186 final WidgetsContainerView toView = mLauncher.getWidgetsView(); 187 final View buttonView = mLauncher.getWidgetsButton(); 193 mLauncher.getUserEventDispatcher().resetElapsedContainerMillis(); 237 final Resources res = mLauncher.getResources() [all...] |
PinchAnimationManager.java | 62 private Launcher mLauncher; 71 mLauncher = launcher; 110 mWorkspace.onLauncherTransitionEnd(mLauncher, false, true); 165 mLauncher.showWorkspace(true); 168 mLauncher.showOverviewMode(true); 199 animateShowHideView(INDEX_OVERVIEW_PANEL_BUTTONS, mLauncher.getOverviewPanel(), show); 205 ObjectAnimator.ofFloat(mLauncher.getDragLayer(), "backgroundAlpha", endValue),
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetsContainerView.java | 63 @Thunk Launcher mLauncher; 90 mLauncher = Launcher.getLauncher(context); 91 mDragController = mLauncher.getDragController(); 140 if (!mLauncher.isWidgetsViewVisible() 141 || mLauncher.getWorkspace().isSwitchingState() 164 if (!mLauncher.isWidgetsViewVisible() || 165 mLauncher.getWorkspace().isSwitchingState()) return false; 167 if (!mLauncher.isDraggingEnabled()) return false; 171 WidgetHostViewLoader hostLoader = new WidgetHostViewLoader(mLauncher, v); 176 mLauncher.getDragController().addDragListener(hostLoader) [all...] |
WidgetHostViewLoader.java | 34 @Thunk Launcher mLauncher; 45 mLauncher = launcher; 61 mLauncher.getDragController().removeDragListener(this); 68 mLauncher.getAppWidgetHost().deleteAppWidgetId(mWidgetLoadingId); 77 mLauncher.getDragLayer().removeView(mInfo.boundWidget); 78 mLauncher.getAppWidgetHost().deleteAppWidgetId(mInfo.boundWidget.getAppWidgetId()); 92 final Bundle options = getDefaultOptionsForWidget(mLauncher, mInfo); 103 mWidgetLoadingId = mLauncher.getAppWidgetHost().allocateAppWidgetId(); 107 if(AppWidgetManagerCompat.getInstance(mLauncher).bindAppWidgetIdIfAllowed( 125 AppWidgetHostView hostView = mLauncher.getAppWidgetHost().createView [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
ShortcutMenuAccessibilityDelegate.java | 59 LauncherModel.addItemToDatabase(mLauncher, info, 64 mLauncher.bindItems(itemList, 0, itemList.size(), true); 65 mLauncher.closeShortcutsContainer(); 70 if (!mLauncher.showWorkspace(true, onComplete)) {
|
LauncherAccessibilityDelegate.java | 75 @Thunk final Launcher mLauncher; 80 mLauncher = launcher; 154 DeleteDropTarget.removeWorkspaceOrFolderItem(mLauncher, item, host); 157 InfoDropTarget.startDetailsActivityForInfo(item, mLauncher, null); 160 return UninstallDropTarget.startUninstallActivity(mLauncher, item); 166 mLauncher.showWorkspace(true, new Runnable() { 172 LauncherModel.addItemToDatabase(mLauncher, info, 178 mLauncher.bindItems(itemList, 0, itemList.size(), true); 181 Workspace workspace = mLauncher.getWorkspace(); 183 mLauncher.addPendingItem(info, LauncherSettings.Favorites.CONTAINER_DESKTOP [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
ViewOnDrawExecutor.java | 39 private Launcher mLauncher; 51 mLauncher = launcher; 108 if (mLauncher != null) { 109 mLauncher.clearPendingExecutor(this);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
AllAppsTransitionController.java | 66 private final Launcher mLauncher; 98 mLauncher = l; 114 if (!mLauncher.isAllAppsVisible() && mLauncher.getWorkspace().workspaceInModalState()) { 116 } else if (mLauncher.isAllAppsVisible() && 119 } else if (!mLauncher.isAllAppsVisible() && !shouldPossiblyIntercept(ev)) { 128 if (mLauncher.isAllAppsVisible()) { 158 DeviceProfile grid = mLauncher.getDeviceProfile(); 161 if (ev.getY() > mLauncher.getDeviceProfile().heightPx - mBezelSwipeUpHeight) { 165 if (mLauncher.getDragLayer().isEventOverHotseat(ev) | [all...] |
AllAppsCaretController.java | 33 private Launcher mLauncher; 41 mLauncher = launcher; 67 !mLauncher.useVerticalBarLayout()) { 108 if (mLauncher.useVerticalBarLayout()) {
|
AllAppsContainerView.java | 142 private final Launcher mLauncher; 180 mLauncher = Launcher.getLauncher(context); 183 mAdapter = new AllAppsGridAdapter(mLauncher, mApps, mLauncher, this); 187 DeviceProfile grid = mLauncher.getDeviceProfile(); 253 mSearchBarController.initialize(mApps, mSearchInput, mLauncher, this); 275 if (mLauncher.getDragLayer().isEventOverView(mSearchContainer, ev)) { 285 if (mLauncher.getOpenShortcutsContainer() != null) { 385 DeviceProfile grid = mLauncher.getDeviceProfile(); 478 DeviceProfile grid = mLauncher.getDeviceProfile() [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
PageIndicatorLineCaret.java | 60 private Launcher mLauncher; 128 mLauncher = Launcher.getLauncher(context); 138 mAllAppsHandle.setOnTouchListener(mLauncher.getHapticFeedbackTouchListener()); 139 mAllAppsHandle.setOnClickListener(mLauncher); 140 mAllAppsHandle.setOnLongClickListener(mLauncher); 141 mAllAppsHandle.setOnFocusChangeListener(mLauncher.mFocusHandler); 142 mLauncher.setAllAppsButton(mAllAppsHandle);
|