Home
last modified time | relevance | path

Searched refs:mActionMode (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DBugleActionBarActivity.java52 private CustomActionMode mActionMode; field in BugleActionBarActivity
179 if (mActionMode != null && in onCreateOptionsMenu()
180 mActionMode.getCallback().onCreateActionMode(mActionMode, menu)) { in onCreateOptionsMenu()
189 if (mActionMode != null && in onPrepareOptionsMenu()
190 mActionMode.getCallback().onPrepareActionMode(mActionMode, menu)) { in onPrepareOptionsMenu()
198 if (mActionMode != null && in onOptionsItemSelected()
199 mActionMode.getCallback().onActionItemClicked(mActionMode, menuItem)) { in onOptionsItemSelected()
205 if (mActionMode != null) { in onOptionsItemSelected()
215 mActionMode = new CustomActionMode(callback); in startActionMode()
218 return mActionMode; in startActionMode()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DActionModeController.java58 private @Nullable ActionMode mActionMode; field in ActionModeController
77 if (mActionMode == null) { in onSelectionChanged()
81 mActionMode = mActivity.startActionMode(this); in onSelectionChanged()
85 if (mActionMode != null) { in onSelectionChanged()
89 mActionMode.finish(); in onSelectionChanged()
93 if (mActionMode != null) { in onSelectionChanged()
97 mActionMode.setTitle(title); in onSelectionChanged()
110 if (mActionMode == null) { in onDestroyActionMode()
116 assert(mActionMode.equals(mode)); in onDestroyActionMode()
121 mActionMode = null; in onDestroyActionMode()
[all …]
/packages/apps/Gallery2/src/com/android/photos/
DMultiChoiceManager.java65 private ActionMode mActionMode; field in MultiChoiceManager
80 if (mActionMode != null) { in setDelegate()
81 mActionMode.finish(); in setDelegate()
154 mActionMode = mode; in onCreateActionMode()
173 mActionMode = null; in onDestroyActionMode()
184 mActionMode.finish(); in onShareTargetSelected()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperPickerActivity.java72 private ActionMode mActionMode; field in WallpaperPickerActivity
228 if (mActionMode != null) { in onClick()
251 if (mActionMode != null) { in onLongClick()
252 mActionMode.invalidate(); in onLongClick()
255 mActionMode = startActionMode(this); in onLongClick()
567 mActionMode = null; in onDestroyActionMode()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DActionModeHandler.java80 private ActionMode mActionMode; field in ActionModeHandler
136 mActionMode = a.startActionMode(this); in startActionMode()
139 mActionMode.setCustomView(customView); in startActionMode()
146 mActionMode.finish(); in finishActionMode()