Home
last modified time | relevance | path

Searched refs:mSelectionManager (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumPage.java93 protected SelectionManager mSelectionManager; field in AlbumPage
207 } else if (mSelectionManager.inSelectionMode()) { in onBackPressed()
208 mSelectionManager.leaveSelectionMode(); in onBackPressed()
254 if (mSelectionManager.inSelectionMode()) { in onSingleTapUp()
257 mSelectionManager.toggle(item.getPath()); in onSingleTapUp()
341 mSelectionManager.setAutoLeaveSelectionMode(true); in onLongTap()
342 mSelectionManager.toggle(item.getPath()); in onLongTap()
376 mSelectionManager.selectAll(); in onCreate()
440 if (mSelectionManager.inSelectionMode()) { in onPause()
441 mSelectionManager.leaveSelectionMode(); in onPause()
[all …]
DAlbumSetPage.java96 protected SelectionManager mSelectionManager; field in AlbumSetPage
173 } else if (mSelectionManager.inSelectionMode()) { in onBackPressed()
174 mSelectionManager.leaveSelectionMode(); in onBackPressed()
193 if (mSelectionManager.inSelectionMode()) { in onSingleTapUp()
196 mSelectionManager.toggle(targetSet.getPath()); in onSingleTapUp()
304 mSelectionManager.setAutoLeaveSelectionMode(true); in onLongTap()
305 mSelectionManager.toggle(set.getPath()); in onLongTap()
479 mSelectionManager.setSourceMediaSet(mMediaSet); in initializeData()
487 mSelectionManager = new SelectionManager(mActivity, true); in initializeViews()
488 mSelectionManager.setSelectionListener(this); in initializeViews()
[all …]
DManageCachePage.java70 protected SelectionManager mSelectionManager; field in ManageCachePage
172 boolean isSelected = mSelectionManager.isItemSelected(path); in onSingleTapUp()
189 mSelectionManager.toggle(path); in onSingleTapUp()
274 mSelectionManager.setSourceMediaSet(mMediaSet); in initializeData()
277 mSelectionManager.setAutoLeaveSelectionMode(false); in initializeData()
278 mSelectionManager.enterSelectionMode(); in initializeData()
288 mSelectionManager = new SelectionManager(mActivity, true); in initializeViews()
289 mSelectionManager.setSelectionListener(this); in initializeViews()
293 mSelectionDrawer = new ManageCacheDrawer(mActivity, mSelectionManager, mSlotView, in initializeViews()
332 ArrayList<Path> ids = mSelectionManager.getSelected(false); in onClick()
[all …]
DPhotoPage.java127 private SelectionManager mSelectionManager; field in PhotoPage
257 mSelectionManager = new SelectionManager(mActivity, false); in onCreate()
258 mMenuExecutor = new MenuExecutor(mActivity, mSelectionManager); in onCreate()
450 mSelectionManager.setSourceMediaSet(originalSet); in onCreate()
1097 mSelectionManager.deSelectAll(); in onItemSelected()
1098 mSelectionManager.toggle(path); in onItemSelected()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DActionModeHandler.java69 private final SelectionManager mSelectionManager; field in ActionModeHandler
128 mSelectionManager = Utils.checkNotNull(selectionManager); in ActionModeHandler()
172 mSelectionManager.leaveSelectionMode(); in onActionItemClicked()
181 R.plurals.delete_selection, mSelectionManager.getSelectedCount()); in onActionItemClicked()
212 int count = mSelectionManager.getSelectedCount(); in updateSelectionMenu()
219 mSelectionMenu.updateSelectAllMode(mSelectionManager.inSelectAllMode()); in updateSelectionMenu()
226 mSelectionManager.leaveSelectionMode();
262 mSelectionManager.leaveSelectionMode(); in onDestroyActionMode()
266 ArrayList<Path> unexpandedPaths = mSelectionManager.getSelected(false); in getSelectedMediaObjects()
321 ArrayList<Path> expandedPaths = mSelectionManager.getSelected(true, maxItems); in computePanoramaSharingIntent()
[all …]
DMenuExecutor.java67 private final SelectionManager mSelectionManager; field in MenuExecutor
94 mSelectionManager = Utils.checkNotNull(selectionManager); in MenuExecutor()
112 mSelectionManager.leaveSelectionMode(); in MenuExecutor()
215 ArrayList<Path> ids = mSelectionManager.getSelected(true); in getSingleSelectedPath()
236 if (mSelectionManager.inSelectAllMode()) { in onMenuClicked()
237 mSelectionManager.deSelectAll(); in onMenuClicked()
239 mSelectionManager.selectAll(); in onMenuClicked()
335 ArrayList<Path> ids = mSelectionManager.getSelected(false); in startAction()
DAlbumSlotRenderer.java44 private final SelectionManager mSelectionManager; field in AlbumSlotRenderer
58 mSelectionManager = selectionManager; in AlbumSlotRenderer()
155 } else if (mInSelectionMode && mSelectionManager.isItemSelected(entry.path)) { in renderOverlay()
183 mInSelectionMode = mSelectionManager.inSelectionMode(); in prepareDrawing()
DAlbumSetSlotRenderer.java42 private final SelectionManager mSelectionManager; field in AlbumSetSlotRenderer
73 mSelectionManager = selectionManager; in AlbumSetSlotRenderer()
162 } else if (mInSelectionMode && mSelectionManager.isItemSelected(entry.setPath)) { in renderOverlay()
205 mInSelectionMode = mSelectionManager.inSelectionMode(); in prepareDrawing()
DManageCacheDrawer.java34 private final SelectionManager mSelectionManager; field in ManageCacheDrawer
55 mSelectionManager = selectionManager; in ManageCacheDrawer()
71 boolean selected = mSelectionManager.isItemSelected(entry.setPath); in renderSlot()
/packages/apps/Gallery2/src/com/android/photos/
DMultiChoiceManager.java63 private SelectionManager mSelectionManager; field in MultiChoiceManager
73 mSelectionManager = new SelectionManager(activity); in MultiChoiceManager()
125 mSelectionManager.onItemSelectedStateChanged(mShareActionProvider, in onItemCheckedStateChanged()
130 mSelectionManager.getSupportedOperations()); in onItemCheckedStateChanged()
153 mSelectionManager.setSelectedUriSource(this); in onCreateActionMode()
170 mSelectionManager.onClearSelection(); in onDestroyActionMode()
171 mSelectionManager.setSelectedUriSource(null); in onDestroyActionMode()