Searched refs:rename (Results 1 – 18 of 18) sorted by relevance
56 private TestMenuItem rename; field in MenuManagerTest94 rename = testMenu.findItem(R.id.menu_rename); in setUp()159 rename.assertEnabled(); in testActionMenu()175 rename.assertDisabled(); in testActionMenu_ContainsPartial()215 rename.assertDisabled(); in testActionMenu_cantRename()458 rename.assertVisible(); in testContextMenu_OnFile()499 rename.assertVisible(); in testContextMenu_OnWritableDirectory()514 rename.assertVisible(); in testContextMenu_OnNonWritableDirectory()
122 MenuItem rename = menu.findItem(R.id.menu_rename); in updateContextMenuForFiles() local128 updateRename(rename, selectionDetails); in updateContextMenuForFiles()149 MenuItem rename = menu.findItem(R.id.menu_rename); in updateContextMenuForDirs() local153 updateRename(rename, selectionDetails); in updateContextMenuForDirs()271 protected void updateRename(MenuItem rename, SelectionDetails selectionDetails) { in updateRename() argument272 rename.setVisible(false); in updateRename()
52 private TestMenuItem rename; field in MenuManagerTest82 rename = testMenu.findItem(R.id.menu_rename); in setUp()115 rename.assertInvisible(); in testActionMenu()270 rename.assertInvisible(); in testContextMenu_OnFile()284 rename.assertInvisible(); in testContextMenu_OnDirectory()
262 protected void updateRename(MenuItem rename, SelectionDetails selectionDetails) { in updateRename() argument263 rename.setVisible(true); in updateRename()264 rename.setEnabled(!selectionDetails.containsPartialFiles() && selectionDetails.canRename()); in updateRename()
1745 boolean rename = srcDir.renameTo(destDir); in moveDirectory()1746 if (!rename) { in moveDirectory()1820 boolean rename = srcFile.renameTo(destFile); in moveFile()1821 if (!rename) { in moveFile()
387 final MenuItem rename = menu.findItem(R.id.storage_rename); in onPrepareOptionsMenu()397 rename.setVisible(false); in onPrepareOptionsMenu()404 rename.setVisible(mVolume.getType() == VolumeInfo.TYPE_PRIVATE); in onPrepareOptionsMenu()
14 os.rename(os.path.join(root, before), os.path.join(root, after))
14 # we rename it in order to avoid leaking the pre-obfuscation class name.
46 # TODO: remove or rename android.util.Pools.java from our source.
120 if (rename(tmpDirPath, dictDirPath) != 0) { in flushHeaderAndDictBuffers()
138 if (rename(tmpDirPath, dictDirPath) != 0) { in flushHeaderAndDictBuffers()
87 # TODO: remove or rename android.util.Pools.java from our source.
203 if (!mDm.rename(getContext(), id, displayName)) { in renameDocument()
607 mFingerprintManager.rename(fingerId, mUserId, newName); in renameFingerPrint()
4219 c) rename any non-standard executables so the names do not conflict
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...