/external/chromium/chrome/browser/extensions/ |
extension_bookmark_manager_apitest.cc | 35 const BookmarkNode* folder = model->AddFolder(bar, 0, ASCIIToUTF16("Folder")); local 38 node = model->AddURL(folder, 0, ASCIIToUTF16("BBB"),
|
extension_bookmarks_unittest.cc | 22 folder = model_->AddFolder( 23 model_->other_node(), 0, ASCIIToUTF16("outer folder")); 24 model_->AddFolder(folder, 0, ASCIIToUTF16("inner folder 1")); 25 model_->AddFolder(folder, 0, ASCIIToUTF16("inner folder 2")); 26 model_->AddURL(folder, 0, ASCIIToUTF16("Digg"), GURL("http://reddit.com")); 27 model_->AddURL(folder, 0, ASCIIToUTF16("CNet"), GURL("http://cnet.com")); 31 const BookmarkNode* folder; member in class:ExtensionBookmarksTest 55 folder, [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
Perspective.java | 43 IFolderLayout folder; local 45 folder = layout.createFolder("logcat", IPageLayout.BOTTOM, 0.8f, //$NON-NLS-1$ 47 folder.addPlaceholder(LogCatView.ID + ":*"); //$NON-NLS-1$ 48 folder.addView(LogCatView.ID); 50 folder = layout.createFolder("devices", IPageLayout.LEFT, 0.3f, //$NON-NLS-1$ 52 folder.addPlaceholder(DeviceView.ID + ":*"); //$NON-NLS-1$ 53 folder.addView(DeviceView.ID); 55 folder = layout.createFolder("emulator", IPageLayout.BOTTOM, 0.5f, //$NON-NLS-1$ 57 folder.addPlaceholder(EmulatorControlView.ID + ":*"); //$NON-NLS-1$ 58 folder.addView(EmulatorControlView.ID) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/ |
PixelPerfectPespective.java | 38 IFolderLayout folder; local 40 folder = layout.createFolder("tree", IPageLayout.LEFT, 0.25f, editorArea); //$NON-NLS-1$ 41 folder.addView(DeviceSelectorView.ID); 42 folder.addView(PixelPerfectTreeView.ID); 44 folder = layout.createFolder("overview", IPageLayout.RIGHT, 0.4f, editorArea); //$NON-NLS-1$ 45 folder.addView(PixelPerfectView.ID); 47 folder = layout.createFolder("main", IPageLayout.RIGHT, 0.35f, editorArea); //$NON-NLS-1$ 48 folder.addView(PixelPerfectLoupeView.ID);
|
TreeViewPerspective.java | 38 IFolderLayout folder; local 40 folder = layout.createFolder("properties", IPageLayout.LEFT, 0.10f, editorArea); //$NON-NLS-1$ 41 folder.addView(DeviceSelectorView.ID); 42 folder.addView(PropertyView.ID); 44 folder = layout.createFolder("main", IPageLayout.RIGHT, 0.24f, "properties"); //$NON-NLS-1$ //$NON-NLS-2$ 45 folder.addView(TreeViewView.ID); 47 folder = layout.createFolder("panel-top", IPageLayout.RIGHT, 0.7f, "main"); //$NON-NLS-1$ //$NON-NLS-2$ 48 folder.addView(TreeOverviewView.ID); 51 folder = layout.createFolder("panel-bottom", IPageLayout.BOTTOM, 0.5f, "panel-top"); //$NON-NLS-1$ //$NON-NLS-2$ 52 folder.addView(LayoutView.ID) [all...] |
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 43 String folder = null; local 48 folder = name.substring(0, index); 51 copyFile(resources, folder, name); 66 File folder = null; local 68 folder = File.createTempFile("hyts_resources", "", null); 69 folder.delete(); 70 folder.mkdirs(); 74 folder.deleteOnExit(); 75 return folder; 78 public static void copyFile(File root, String folder, String file) [all...] |
/libcore/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 46 String folder = null; local 51 folder = name.substring(0, index); 54 copyFile(resources, folder, name); 71 File folder = null; local 73 folder = File.createTempFile("hyts_resources", "", null); 74 folder.delete(); 75 folder.mkdirs(); 80 folder.deleteOnExit(); 81 return folder; 84 public static File copyFile(File root, String folder, String file) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt.ndk/src/com/android/ide/eclipse/adt/ndk/internal/templates/ |
SetFolders.java | 86 IFolder folder = project.getFolder(new Path(sourceFolder));
local 87 if (!folder.exists())
88 folder.create(true, true, monitor);
89 newEntries.add(CoreModel.newSourceEntry(folder.getFullPath()));
93 IFolder folder = project.getFolder(new Path(outputFolder));
local 94 if (!folder.exists())
95 folder.create(true, true, monitor);
96 newEntries.add(CoreModel.newOutputEntry(folder.getFullPath()));
|
/cts/tools/vm-tests/src/util/build/ |
BuildStep.java | 33 final File folder; field in class:BuildStep.BuildFile 36 BuildFile(String folder, String fileName) { 37 this.folder = new File(folder); 38 this.fileName = new File(this.folder, fileName);
|
/cts/tools/vm-tests-tf/src/util/build/ |
BuildStep.java | 33 final File folder; field in class:BuildStep.BuildFile 36 BuildFile(String folder, String fileName) { 37 this.folder = new File(folder); 38 this.fileName = new File(this.folder, fileName);
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_context_menu_controller_unittest.cc | 119 // Tests open all on a folder with a couple of bookmarks. 121 const BookmarkNode* folder = model_->GetBookmarkBarNode()->GetChild(1); local 123 NULL, profile_.get(), &navigator_, folder, NEW_FOREGROUND_TAB); 127 ASSERT_TRUE(folder->GetChild(0)->GetURL() == navigator_.urls_[0]); 187 // folder.
|
bookmark_node_data_unittest.cc | 115 // Tests writing a folder to the clipboard. 116 TEST_F(BookmarkNodeDataTest, Folder) { 154 // Tests reading/writing a folder with children. 162 const BookmarkNode* folder = model->AddFolder(root, 0, ASCIIToUTF16("g1")); local 167 model->AddURL(folder, 0, title, url); 169 BookmarkNodeData drag_data(folder); 190 EXPECT_TRUE(folder == r_folder); 201 const BookmarkNode* folder = model->AddFolder(root, 0, ASCIIToUTF16("g1")); local 206 const BookmarkNode* url_node = model->AddURL(folder, 0, title, url); 210 nodes.push_back(folder); [all...] |
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_context_menu_test.cc | 124 // Tests open all on a folder with a couple of bookmarks. 126 const BookmarkNode* folder = model_->GetBookmarkBarNode()->GetChild(1); local 128 NULL, profile_.get(), &navigator_, folder, NEW_FOREGROUND_TAB); 132 ASSERT_TRUE(folder->GetChild(0)->GetURL() == navigator_.urls_[0]); 190 // folder.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
FolderDecorator.java | 47 IFolder folder = (IFolder)element; local 50 IProject project = folder.getProject(); 51 if (project == null || !project.exists() || !folder.exists()) { 57 // check the folder is directly under the project. 58 if (folder.getParent().getType() == IResource.PROJECT) { 59 String name = folder.getName();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
BaseBuilder.java | 79 * Finds a matching Source folder for the current path. This checks if the current path 80 * leads to, or is a source folder. 83 * @return The segments of the source folder, or null if no match was found 110 // this folder, or one of this children is a source 111 // folder! 211 * @param folder The container from which to delete the markers. 215 protected final void removeMarkersFromContainer(IContainer folder, String markerId) { 217 if (folder.exists()) { 218 folder.deleteMarkers(markerId, true, IResource.DEPTH_INFINITE); 221 String msg = String.format(Messages.Marker_Delete_Error, markerId, folder.toString()) 368 IFolder folder = (IFolder)rootResource; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
pathutils.cc | 49 // FOLDER_DELIMS separate folder segments and the filename 80 Pathname::Pathname(const std::string& folder, const std::string& filename) 82 SetPathname(folder, filename); 144 void Pathname::SetPathname(const std::string& folder, 146 SetFolder(folder); 156 std::string Pathname::folder() const { function in class:talk_base::Pathname 184 void Pathname::SetFolder(const std::string& folder) { 185 folder_.assign(folder); 186 // Ensure folder ends in a path delimiter 192 void Pathname::AppendFolder(const std::string& folder) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/ |
IFolderWrapper.java | 42 public IFolderWrapper(IFolder folder) { 43 mContainer = mFolder = folder; 145 IFolder folder = mFolder.getFolder(name); local 146 return new IFolderWrapper(folder); 149 IFolder folder = mContainer.getFolder(new Path(name)); local 150 return new IFolderWrapper(folder);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/ |
DebugKeyProvider.java | 119 String folder = AndroidLocation.getFolder(); local 120 if (folder == null) { 123 String osKeyStorePath = folder + "debug.keystore";
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
PlatformPackage.java | 254 * Computes a potential installation folder if an archive of this package were
261 * @param osSdkRoot The OS path of the SDK root folder.
276 File folder = new File(platforms,
local 279 return folder;
|
SourcePackage.java | 107 * @param srcDir The SDK/sources/android-N folder
134 // Try to parse the first number out of the platform folder name.
254 * Computes a potential installation folder if an archive of this package were
259 * @param osSdkRoot The OS path of the SDK root folder.
265 File folder = new File(osSdkRoot, SdkConstants.FD_PKG_SOURCES);
local 266 folder = new File(folder, "android-" + mVersion.getApiString()); //$NON-NLS-1$
267 return folder;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
NewXmlFileWizard.java | 62 * the resource folder, resource type and file name. It then creates the XML file. 275 * @param folderType the folder type to create a file for 276 * @return true if this wizard can create new files for the given folder type 285 * Creates a new XML file using the template according to the given folder type 289 * @param folderType the type of folder to look up a template for 311 if (wsPath.getType() == IResource.FOLDER) { 316 IFolder folder = (IFolder) wsPath; local 319 folder.create(true /* force */, true /* local */, null /* monitor */); 409 * Returns null if the project, filename or folder are invalid and the
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
ImapStoreUnitTests.java | 48 import com.android.emailcommon.mail.Folder; 49 import com.android.emailcommon.mail.Folder.FolderType; 50 import com.android.emailcommon.mail.Folder.OpenMode; 81 /** Default folder name. In order to test for encoding, we use a non-ascii name. */ 83 /** Folder name encoded in UTF-7. */ 86 * Flag bits to specify whether or not a folder can be selected. This corresponds to 103 private Folder mCopyToFolder; 184 // TODO: inject specific facts in the initial folder SELECT and check them here 505 // Now open the folder. Although the server indicates ID in the capabilities, 511 * Test small Folder functions that don't really do anything in Ima 1448 final Folder folder = mStore.getFolder("test"); local 1510 Folder folder = mStore.getFolder("\\u65E5\\u672C\\u8A9E"); local 1537 Folder folder = mStore.getFolder("\\u65E5\\u672C\\u8A9E"); local 2078 Folder folder = mStore.getFolder("INBOX"); local 2306 ImapFolder folder = new ImapFolder(null, serverId); local 2343 testMap.put(folder.getName(), folder); local [all...] |
/external/icu4c/test/intltest/ |
normconf.cpp | 71 const char *folder; local 76 folder=pathToDataDirectory(); 77 if(folder!=NULL) { 78 strcpy(unidataPath, folder); 89 folder=loadTestData(errorCode); 91 strcpy(unidataPath, folder); 104 folder=loadTestData(errorCode); 106 strcpy(unidataPath, folder); 117 folder=loadTestData(errorCode); 119 strcpy(unidataPath, folder); [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldRuntimeTest.java | 306 String folder = resources.getAbsolutePath() + "/" + dirName; local 309 String command = "mkdir " + folder; 310 String [] commandArguments = {"mkdir", folder}; 339 File f = new File(folder);
|
/sdk/anttasks/src/com/android/ant/ |
ApkBuilderTask.java | 257 // because this is a source folder but we only care about non 269 File folder = new File(path); local 270 if (folder.isDirectory()) { 271 String[] filenames = folder.list(new FilenameFilter() { 278 File f = new File(folder, filename); 295 // now the native lib folder. 300 File folder = new File(path); local 301 if (folder.isDirectory()) { 302 List<FileEntry> entries = ApkBuilder.getNativeFiles(folder, 356 File folder = new File(path) local [all...] |