Home
last modified time | relevance | path

Searched refs:mLauncher (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Launcher/src/com/android/launcher/
DHandleView.java30 private Launcher mLauncher; field in HandleView
52 if (newFocus == null && mLauncher.isDrawerDown()) { in focusSearch()
53 final Workspace workspace = mLauncher.getWorkspace(); in focusSearch()
65 if (!handled && !mLauncher.isDrawerDown() && !isDirectionKey(keyCode)) { in onKeyDown()
66 return mLauncher.getApplicationsGrid().onKeyDown(keyCode, event); in onKeyDown()
76 if (!handled && !mLauncher.isDrawerDown() && !isDirectionKey(keyCode)) { in onKeyUp()
77 return mLauncher.getApplicationsGrid().onKeyUp(keyCode, event); in onKeyUp()
89 mLauncher = launcher; in setLauncher()
DFolder.java40 protected Launcher mLauncher; field in Folder
77 mLauncher.startActivitySafely(app.intent); in onItemClick()
81 mLauncher.closeFolder(this); in onClick()
85 mLauncher.closeFolder(this); in onLongClick()
86 mLauncher.showRenameDialog(mInfo); in onLongClick()
98 mLauncher.closeFolder(this); in onItemLongClick()
126 mLauncher = launcher; in setLauncher()
143 final Workspace workspace = mLauncher.getWorkspace(); in onClose()
DSearch.java54 private Launcher mLauncher; field in Search
150 mLauncher.onSearchRequested(); in onClick()
210 mLauncher.showSearchDialog( in showSearchDialog()
272 return mLauncher.onKeyDown(keyCode, event); in onKey()
274 return mLauncher.onKeyMultiple(keyCode, event.getRepeatCount(), event); in onKey()
276 return mLauncher.onKeyUp(keyCode, event); in onKey()
342 mLauncher = launcher; in setLauncher()
DAllAppsGridView.java34 private Launcher mLauncher; field in AllAppsGridView
103 mLauncher.startActivitySafely(app.intent); in onItemClick()
115 mLauncher.closeAllApplications(); in onItemLongClick()
128 mLauncher = launcher; in setLauncher()
DLiveFolder.java61 mLauncher.startActivitySafely(intent); in onItemClick()
64 mLauncher.startActivitySafely(holder.intent); in onItemClick()
114 return LiveFolderAdapter.query(folder.mLauncher, mInfo); in doInBackground()
125 final Launcher launcher = folder.mLauncher; in onPostExecute()
DFolderIcon.java32 private Launcher mLauncher; field in FolderIcon
59 icon.mLauncher = launcher; in fromXml()
81 LauncherModel.addOrMoveItemInDatabase(mLauncher, item, mInfo.id, 0, 0, 0); in onDrop()
DDeleteZone.java40 private Launcher mLauncher; field in DeleteZone
107 LauncherModel.deleteUserFolderContentsFromDatabase(mLauncher, userFolderInfo); in onDrop()
111 final LauncherAppWidgetHost appWidgetHost = mLauncher.getAppWidgetHost(); in onDrop()
116 LauncherModel.deleteItemFromDatabase(mLauncher, item); in onDrop()
221 mLauncher = launcher; in setLauncher()
DWorkspace.java86 private Launcher mLauncher; field in Workspace
412 if (mLauncher.isDrawerUp()) { in dispatchDraw()
419 } else if (mLauncher.isDrawerMoving()) { in dispatchDraw()
423 final View view = mLauncher.getDrawerHandle(); in dispatchDraw()
507 if (!mLauncher.isWorkspaceLocked()) { in requestChildRectangleOnScreen()
517 if (mLauncher.isDrawerDown()) { in onRequestFocusInDescendants()
552 if (mLauncher.isDrawerDown()) { in addFocusables()
573 if (mLocked || !mLauncher.isDrawerDown()) { in onInterceptTouchEvent()
682 if (mLocked || !mLauncher.isDrawerDown()) { in onTouchEvent()
852 LauncherModel.moveItemInDatabase(mLauncher, info, in onDrop()
[all …]
DLiveFolderAdapter.java46 private final Launcher mLauncher; field in LiveFolderAdapter
52 mLauncher = launcher; in LiveFolderAdapter()
54 mLauncher.startManagingCursor(getCursor()); in LiveFolderAdapter()
187 mLauncher.stopManagingCursor(cursor); in cleanup()
DUserFolder.java46 LauncherModel.addOrMoveItemInDatabase(mLauncher, item, mInfo.id, 0, 0, 0); in onDrop()
DLauncherModel.java484 private final WeakReference<Launcher> mLauncher; field in LauncherModel.ApplicationsLoader
493 mLauncher = new WeakReference<Launcher>(launcher); in ApplicationsLoader()
517 final Launcher launcher = mLauncher.get(); in run()
724 private final WeakReference<Launcher> mLauncher; field in LauncherModel.DesktopItemsLoader
734 mLauncher = new WeakReference<Launcher>(launcher); in DesktopItemsLoader()
754 final Launcher launcher = mLauncher.get(); in run()
DLauncher.java2200 private final WeakReference<Launcher> mLauncher; field in Launcher.DesktopBinder
2208 mLauncher = new WeakReference<Launcher>(launcher); in DesktopBinder()
2259 Launcher launcher = mLauncher.get(); in handleMessage()
/packages/apps/Launcher2/src/com/android/launcher2/
DFolder.java40 protected Launcher mLauncher; field in Folder
78 mLauncher.startActivitySafely(app.intent); in onItemClick()
82 mLauncher.closeFolder(this); in onClick()
86 mLauncher.closeFolder(this); in onLongClick()
87 mLauncher.showRenameDialog(mInfo); in onLongClick()
102 mLauncher.closeFolder(this); in onItemLongClick()
134 mLauncher = launcher; in setLauncher()
151 final Workspace workspace = mLauncher.getWorkspace(); in onClose()
DHandleView.java31 private Launcher mLauncher; field in HandleView
55 if (newFocus == null && !mLauncher.isAllAppsVisible()) { in focusSearch()
56 final Workspace workspace = mLauncher.getWorkspace(); in focusSearch()
66 if (ev.getAction() == MotionEvent.ACTION_DOWN && mLauncher.isAllAppsVisible()) { in onTouchEvent()
78 mLauncher = launcher; in setLauncher()
DSearch.java56 private Launcher mLauncher; field in Search
152 mLauncher.onSearchRequested(); in onClick()
212 mLauncher.showSearchDialog( in showSearchDialog()
274 return mLauncher.onKeyDown(keyCode, event); in onKey()
276 return mLauncher.onKeyMultiple(keyCode, event.getRepeatCount(), event); in onKey()
278 return mLauncher.onKeyUp(keyCode, event); in onKey()
344 mLauncher = launcher; in setLauncher()
DDeleteZone.java43 private Launcher mLauncher; field in DeleteZone
98 mLauncher.removeAppWidget((LauncherAppWidgetInfo) item); in onDrop()
111 LauncherModel.deleteUserFolderContentsFromDatabase(mLauncher, userFolderInfo); in onDrop()
112 mLauncher.removeFolder(userFolderInfo); in onDrop()
115 final LauncherAppWidgetHost appWidgetHost = mLauncher.getAppWidgetHost(); in onDrop()
120 LauncherModel.deleteItemFromDatabase(mLauncher, item); in onDrop()
227 mLauncher = launcher; in setLauncher()
DLiveFolder.java61 mLauncher.startActivitySafely(intent); in onItemClick()
64 mLauncher.startActivitySafely(holder.intent); in onItemClick()
114 return LiveFolderAdapter.query(folder.mLauncher, mInfo); in doInBackground()
125 final Launcher launcher = folder.mLauncher; in onPostExecute()
DFolderIcon.java32 private Launcher mLauncher; field in FolderIcon
59 icon.mLauncher = launcher; in fromXml()
83 LauncherModel.addOrMoveItemInDatabase(mLauncher, item, mInfo.id, 0, 0, 0); in onDrop()
DWorkspace.java90 private Launcher mLauncher; field in Workspace
618 if (!mLauncher.isWorkspaceLocked()) { in requestChildRectangleOnScreen()
628 if (!mLauncher.isAllAppsVisible()) { in onRequestFocusInDescendants()
663 if (!mLauncher.isAllAppsVisible()) { in addFocusables()
685 if (mLauncher.isWorkspaceLocked() || mLauncher.isAllAppsVisible()) { in dispatchTouchEvent()
694 final boolean workspaceLocked = mLauncher.isWorkspaceLocked(); in onInterceptTouchEvent()
695 final boolean allAppsVisible = mLauncher.isAllAppsVisible(); in onInterceptTouchEvent()
856 if (mLauncher.isWorkspaceLocked()) { in onTouchEvent()
859 if (mLauncher.isAllAppsVisible()) { in onTouchEvent()
1047 LauncherModel.moveItemInDatabase(mLauncher, info, in onDrop()
[all …]
DLiveFolderAdapter.java46 private final Launcher mLauncher; field in LiveFolderAdapter
52 mLauncher = launcher; in LiveFolderAdapter()
54 mLauncher.startManagingCursor(getCursor()); in LiveFolderAdapter()
187 mLauncher.stopManagingCursor(cursor); in cleanup()
DAllAppsView.java75 private Launcher mLauncher; field in AllAppsView
185 mLauncher = launcher; in setLauncher()
316 mLauncher.closeAllApps(true); in onKeyDown()
321 mLauncher.startActivitySafely(app.intent); in onKeyDown()
518 mLauncher.closeAllApps(true); in onTouchEvent()
554 mLauncher.startActivitySafely(app.intent); in onClick()
576 mLauncher.closeAllApps(true); in onLongClick()
DUserFolder.java56 LauncherModel.addOrMoveItemInDatabase(mLauncher, item, mInfo.id, 0, 0, 0); in onDrop()