Searched refs:launcher (Results 51 - 75 of 98) sorted by relevance

1234

/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
H A DAllAppsSearchBarController.java63 Launcher launcher, Callbacks cb) {
65 mLauncher = launcher;
61 initialize( SearchAlgorithm searchAlgorithm, ExtendedEditText input, Launcher launcher, Callbacks cb) argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPinchAnimationManager.java72 public PinchAnimationManager(Launcher launcher) { argument
73 mLauncher = launcher;
74 mWorkspace = launcher.mWorkspace;
H A DWidgetPreviewLoader.java174 * This ensures that we remove entries for packages which changed while the launcher was dead.
291 private Bitmap generatePreview(BaseActivity launcher, WidgetItem item, Bitmap recycle, argument
294 return generateWidgetPreview(launcher, item.widgetInfo,
297 return generateShortcutPreview(launcher, item.activityInfo,
306 * @param launcher
313 public Bitmap generateWidgetPreview(BaseActivity launcher, LauncherAppWidgetProviderInfo info, argument
325 // an OOM error here should be safe & not affect other parts of launcher.
347 DeviceProfile dp = launcher.getDeviceProfile();
415 Drawable icon = info.getIcon(launcher, mIconCache);
417 int appIconSize = launcher
448 generateShortcutPreview(BaseActivity launcher, ShortcutConfigActivityInfo info, int maxWidth, int maxHeight, Bitmap preview) argument
[all...]
H A DDeviceProfile.java606 public void layout(Launcher launcher, boolean notifyListeners) { argument
612 View searchBar = launcher.getDropTargetBar();
620 PagedView workspace = (PagedView) launcher.findViewById(R.id.workspace);
627 Hotseat hotseat = (Hotseat) launcher.findViewById(R.id.hotseat);
681 View pageIndicator = launcher.findViewById(R.id.page_indicator);
701 ViewGroup overviewMode = launcher.getOverviewPanel();
715 View view = launcher.findViewById(R.id.apps_list_view);
H A DWorkspaceStateTransitionAnimation.java207 public WorkspaceStateTransitionAnimation(Launcher launcher, Workspace workspace) { argument
208 mLauncher = launcher;
212 Resources res = launcher.getResources();
H A DFocusHelper.java207 final Launcher launcher = Launcher.getLauncher(v.getContext());
208 final DeviceProfile profile = launcher.getDeviceProfile();
336 Launcher launcher = Launcher.getLauncher(v.getContext());
337 DeviceProfile profile = launcher.getDeviceProfile();
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DFolderAdaptiveIcon.java69 final Launcher launcher, final long folderId, Point dragViewSize) {
71 int margin = launcher.getResources()
90 FolderIcon icon = launcher.findFolderIcon(folderId);
68 createFolderAdaptiveIcon( final Launcher launcher, final long folderId, Point dragViewSize) argument
H A DDragView.java125 * @param launcher The Launcher instance
130 public DragView(Launcher launcher, Bitmap bitmap, int registrationX, int registrationY, argument
132 super(launcher);
133 mLauncher = launcher;
134 mDragLayer = launcher.getDragLayer();
135 mDragController = launcher.getDragController();
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DGradientView.java77 Launcher launcher = Launcher.getLauncher(context);
78 this.mAlphaStart = launcher.getDeviceProfile().isVerticalBarLayout() ? 0 : 100;
80 this.mWallpaperColorInfo = WallpaperColorInfo.getInstance(launcher);
/packages/apps/Launcher3/src/com/android/launcher3/notification/
H A DNotificationMainView.java129 Launcher launcher = Launcher.getLauncher(getContext());
130 launcher.getPopupDataProvider().cancelNotification(
132 launcher.getUserEventDispatcher().logActionOnItem(
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAllAppsGridAdapter.java211 public AllAppsGridAdapter(Launcher launcher, AlphabeticalAppsList apps, View.OnClickListener argument
213 Resources res = launcher.getResources();
214 mLauncher = launcher;
218 mGridLayoutMgr = new AppsGridLayoutManager(launcher);
220 mLayoutInflater = LayoutInflater.from(launcher);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppWidgetResizeFrame.java16 import com.android.launcher.R;
339 static void updateWidgetSizeRanges(AppWidgetHostView widgetView, Launcher launcher, argument
342 getWidgetSizeRanges(launcher, spanX, spanY, mTmpRect);
347 static Rect getWidgetSizeRanges(Launcher launcher, int spanX, int spanY, Rect rect) { argument
351 Rect landMetrics = Workspace.getCellLayoutMetrics(launcher, CellLayout.LANDSCAPE);
352 Rect portMetrics = Workspace.getCellLayoutMetrics(launcher, CellLayout.PORTRAIT);
353 final float density = launcher.getResources().getDisplayMetrics().density;
H A DInfoDropTarget.java30 import com.android.launcher.R;
H A DDragController.java36 import com.android.launcher.R;
148 public DragController(Launcher launcher) { argument
149 Resources r = launcher.getResources();
150 mLauncher = launcher;
154 mVibrator = (Vibrator) launcher.getSystemService(Context.VIBRATOR_SERVICE);
H A DInstallWidgetReceiver.java36 import com.android.launcher.R;
45 "com.android.launcher.action.INSTALL_WIDGET";
47 "com.android.launcher.action.SUPPORTS_CLIPDATA_MIMETYPE";
52 "com.android.launcher.extra.widget.COMPONENT";
54 "com.android.launcher.extra.widget.CONFIGURATION_DATA_MIME_TYPE";
56 "com.android.launcher.extra.widget.CONFIGURATION_DATA";
H A DUninstallShortcutReceiver.java28 import com.android.launcher.R;
38 "com.android.launcher.action.UNINSTALL_SHORTCUT";
H A DFocusHelper.java27 import com.android.launcher.R;
495 final ViewGroup launcher = (ViewGroup) parent.getParent();
496 final Workspace workspace = (Workspace) launcher.findViewById(R.id.workspace);
668 final ViewGroup launcher = (ViewGroup) workspace.getParent();
669 final ViewGroup tabs = (ViewGroup) launcher.findViewById(R.id.qsb_bar);
670 final ViewGroup hotseat = (ViewGroup) launcher.findViewById(R.id.hotseat);
H A DWidgetPreviewLoader.java31 import com.android.launcher.R;
149 public WidgetPreviewLoader(Launcher launcher) { argument
150 mContext = mLauncher = launcher;
157 LauncherApplication app = (LauncherApplication) launcher.getApplicationContext();
163 SharedPreferences sp = launcher.getSharedPreferences(
/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DFolderIcon.java156 public static FolderIcon fromXml(int resId, Launcher launcher, ViewGroup group, argument
166 DeviceProfile grid = launcher.getDeviceProfile();
178 icon.setOnClickListener(launcher);
180 icon.mLauncher = launcher;
181 icon.mBadgeRenderer = launcher.getDeviceProfile().mBadgeRenderer;
182 icon.setContentDescription(launcher.getString(R.string.folder_name_format, folderInfo.title));
183 Folder folder = Folder.fromXml(launcher);
184 folder.setDragController(launcher.getDragController());
188 icon.setAccessibilityDelegate(launcher.getAccessibilityDelegate());
192 icon.setOnFocusChangeListener(launcher
[all...]
H A DPreviewBackground.java131 public void setup(Launcher launcher, View invalidateDelegate, argument
134 mBgColor = Themes.getAttrColor(launcher, android.R.attr.colorPrimary);
136 DeviceProfile grid = launcher.getDeviceProfile();
146 mStrokeWidth = launcher.getResources().getDisplayMetrics().density;
/packages/apps/Launcher3/src/com/android/launcher3/popup/
H A DPopupContainerWithArrow.java155 Launcher launcher = Launcher.getLauncher(icon.getContext());
156 if (getOpen(launcher) != null) {
166 PopupDataProvider popupDataProvider = launcher.getPopupDataProvider();
174 (PopupContainerWithArrow) launcher.getLayoutInflater().inflate(
175 R.layout.popup_container, launcher.getDragLayer(), false);
177 launcher.getDragLayer().addView(container);
948 public static PopupContainerWithArrow getOpen(Launcher launcher) { argument
949 return getOpenView(launcher, TYPE_POPUP_CONTAINER_WITH_ARROW);
H A DPopupDataProvider.java60 /** Maps launcher activity components to their list of shortcut ids. */
65 public PopupDataProvider(Launcher launcher) { argument
66 mLauncher = launcher;
157 * Updates the icons on launcher (workspace, folders, all apps) to refresh their badges.
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DFlingAnimation.java40 public FlingAnimation(DragObject d, PointF vel, ButtonDropTarget dropTarget, Launcher launcher) { argument
42 mLauncher = launcher;
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DWidgetHostViewLoader.java30 // TODO: technically, this class should not have to know the existence of the launcher.
41 public WidgetHostViewLoader(Launcher launcher, View view) { argument
42 mLauncher = launcher;
H A DWidgetsBottomSheet.java252 public static WidgetsBottomSheet getOpen(Launcher launcher) { argument
253 return getOpenView(launcher, TYPE_WIDGETS_BOTTOM_SHEET);

Completed in 189 milliseconds

1234