Searched refs:mUnmount (Results 1 – 3 of 3) sorted by relevance
71 private Button mUnmount; field in PublicVolumeSettings140 mUnmount = new Button(getActivity()); in onCreate()141 mUnmount.setText(R.string.storage_menu_unmount); in onCreate()142 mUnmount.setOnClickListener(mUnmountListener); in onCreate()156 container.addView(mUnmount, new ViewGroup.LayoutParams( in onActivityCreated()193 mUnmount.setVisibility(View.GONE); in update()
67 MenuItem mUnmount; field in VolumeOptionMenuController98 mUnmount = menu.findItem(R.id.storage_unmount); in onPrepareOptionsMenu()110 if (mRename == null || mMount == null || mUnmount == null || mFormat == null in updateOptionsMenu()119 mUnmount.setVisible(false); in updateOptionsMenu()161 mUnmount.setVisible(true); in updateOptionsMenu()
93 verify(mController.mUnmount, never()).setVisible(true); in onPrepareOptionsMenu_unSupportedDiskInfo_formatIsVisible()112 verify(mController.mUnmount, never()).setVisible(true); in onPrepareOptionsMenu_missingVolumeRecord_forgetIsVisible()129 verify(mController.mUnmount, never()).setVisible(true); in onPrepareOptionsMenu_unmountedStorage_mountIsVisible()159 verify(mController.mUnmount, never()).setVisible(true); in onPrepareOptionsMenu_privateDefaultInternal_mostMenusAreNotVisible()179 verify(mController.mUnmount, atLeastOnce()).setVisible(true); in onPrepareOptionsMenu_publicStorage_someMenusArcVisible()