/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumPage.java | 93 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 …]
|
D | ManageCachePage.java | 70 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 …]
|
D | AlbumSetPage.java | 96 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 …]
|
D | PhotoPage.java | 127 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/ |
D | ActionModeHandler.java | 69 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 …]
|
D | MenuExecutor.java | 67 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()
|
D | AlbumSlotRenderer.java | 44 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()
|
D | AlbumSetSlotRenderer.java | 42 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()
|
D | ManageCacheDrawer.java | 34 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/ |
D | MultiChoiceManager.java | 63 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()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | MenuManager.java | 48 private final SelectionTracker<String> mSelectionManager; field in MenuManager 66 mSelectionManager = selectionManager; in MenuManager() 271 mSelectionManager.getSelection().iterator().hasNext()) { in updateViewInOwner() 275 String selectedModelId = mSelectionManager.getSelection().iterator().next(); in updateViewInOwner()
|