Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java489 final View ejectIcon = adapterMenuInfo.targetView.findViewById(R.id.action_icon); in onContextItemSelected() local
490 ejectClicked(ejectIcon, rootItem.root, mActionHandler); in onContextItemSelected()
525 static void ejectClicked(View ejectIcon, RootInfo root, ActionHandler actionHandler) { in ejectClicked() argument
526 assert(ejectIcon != null); in ejectClicked()
528 ejectIcon.setEnabled(false); in ejectClicked()
540 if (ejectIcon.getVisibility() == View.VISIBLE) { in ejectClicked()
541 ejectIcon.setEnabled(!ejected); in ejectClicked()