Searched defs:fileName (Results 1 - 22 of 22) sorted by relevance

/sdk/anttasks/src/com/android/ant/
H A DInputPath.java94 * @param fileName the filename to get the extension from
98 protected static String getExtension(String fileName) { argument
99 int index = fileName.lastIndexOf('.');
104 return fileName.substring(index + 1);
/sdk/ddms/app/src/com/android/ddms/
H A DAboutDialog.java87 private Image loadImage(Shell shell, String fileName) { argument
89 String pathName = "/images/" + fileName; //$NON-NLS-1$
H A DDeviceCommandDialog.java80 public DeviceCommandDialog(String command, String fileName, Shell parent) { argument
83 this(command, fileName, parent,
90 public DeviceCommandDialog(String command, String fileName, Shell parent, argument
95 mFileName = fileName;
358 String fileName;
370 fileName = dlg.open();
371 if (fileName != null) {
375 Log.d("ddms", "Saving output to " + fileName);
396 FileOutputStream outFile = new FileOutputStream(fileName);
409 Log.w("ddms", "Unable to save " + fileName
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
H A DISourceRevealer.java36 * @param fileName file name that contains the method, null if not known
42 boolean revealMethod(String fqmn, String fileName, int lineNumber, String perspective); argument
H A DJavaSourceRevealer.java69 public static boolean revealMethod(String fqmn, String fileName, int linenumber, argument
73 if (revealer.revealMethod(fqmn, fileName, linenumber, perspective)) {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
H A DMocks.java122 public static IFile createFile(String fileName) { argument
124 expect(file.getName()).andReturn(fileName).anyTimes();
125 expect(file.getLocation()).andReturn(new Path(fileName)).anyTimes();
/sdk/lint/cli/src/com/android/tools/lint/
H A DMultiProjectHtmlReporter.java73 String fileName;
76 fileName = String.format("%1$s%2$s.html", projectName, numberString); //$NON-NLS-1$
77 String lowercase = fileName.toLowerCase(Locale.US);
85 File output = new File(mDir, fileName);
129 projects.add(new ProjectEntry(fileName, projectErrorCount, projectWarningCount,
205 mWriter.write(entry.fileName); // TODO: Escape?
220 public String fileName; field in class:MultiProjectHtmlReporter.ProjectEntry
224 public ProjectEntry(String fileName, int errorCount, int warningCount, String path) { argument
225 this.fileName = fileName;
[all...]
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
H A DImageLoader.java161 * @param fileName the file name
171 public Image loadImage(Display display, String fileName, int width, int height, argument
174 Image img = loadImage(fileName, display);
177 Log.w("ddms", "Couldn't load " + fileName);
H A DNativeHeapPanel.java568 String fileName = fileDialog.open();
569 if (fileName != null) {
570 saveAllocations(fileName);
1636 private void saveAllocations(String fileName) { argument
1638 PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(fileName)));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
H A DLayoutCreatorDialog.java53 * @param fileName the filename associated with the configuration
56 public LayoutCreatorDialog(Shell parentShell, String fileName, FolderConfiguration config) { argument
59 mFileName = fileName;
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
H A DSourceRevealer.java117 public boolean revealMethod(String fqmn, String fileName, int lineNumber, String perspective) { argument
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
H A DHandleProfiling.java90 * @param fileName is the name of the file to which profiling data
96 public static void sendMPRS(Client client, String fileName, int bufferSize, argument
99 ByteBuffer rawBuf = allocBuffer(3*4 + fileName.length() * 2);
105 buf.putInt(fileName.length());
106 putString(buf, fileName);
109 Log.d("ddm-prof", "Sending " + name(CHUNK_MPRS) + " '" + fileName
114 client.getClientData().setPendingMethodProfiling(fileName);
H A DHandleHeap.java236 * @param fileName name of output file (on device)
238 public static void sendHPDU(Client client, String fileName) argument
240 ByteBuffer rawBuf = allocBuffer(4 + fileName.length() * 2);
244 buf.putInt(fileName.length());
245 putString(buf, fileName);
248 Log.d("ddm-heap", "Sending " + name(CHUNK_HPDU) + " '" + fileName +"'");
250 client.getClientData().setPendingHprofDump(fileName);
263 * @param fileName name of output file (on device)
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/
H A DKmlParser.java171 * @param fileName The full path of the GPX file to parse.
173 public KmlParser(String fileName) { argument
174 mFileName = fileName;
H A DGpxParser.java322 * @param fileName The full path of the GPX file to parse.
324 public GpxParser(String fileName) { argument
325 mFileName = fileName;
/sdk/manifmerger/src/com/android/manifmerger/
H A DXmlUtils.java168 * @param fileName The name to retrieve later for that document.
170 static void decorateDocument(@NonNull Document doc, @NonNull String fileName) { argument
171 doc.setUserData(DATA_FILE_NAME, fileName, null /*handler*/);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
H A DSourceRevealer.java91 * such a case, if the fileName:lineNumber argument is available, a search for that
93 * <li> The search might provide multiple results. In such a case, the fileName/lineNumber
98 * @param fileName file name in which the method is present, null if not known
105 public boolean revealMethod(String fqmn, String fileName, int lineNumber, String perspective) { argument
109 if (fileName != null && lineNumber >= 0) {
110 fileMatches = searchForFile(fileName);
112 return revealLineMatch(fileMatches, fileName, lineNumber, perspective);
126 return revealLineMatch(filteredMatches, fileName, lineNumber, perspective);
128 } else if (fileName != null && lineNumber > 0) {
177 return revealLineMatch(fileMatches, fileName, lineNumbe
222 revealLineMatch(List<SearchMatch> matches, String fileName, int lineNumber, String perspective) argument
266 filterMatchByFileName(List<SearchMatch> matches, String fileName) argument
374 searchForFile(String fileName) argument
[all...]
H A DAdtPlugin.java1926 * fileName and line number, open the corresponding line in the editor.
1930 * @param fileName the file name, or null
1935 @Nullable String method, @Nullable String fileName, int lineNumber) {
1936 return new SourceRevealer().revealMethod(fqcn + '.' + method, fileName, lineNumber, null);
1934 openStackTraceLine(@ullable String fqcn, @Nullable String method, @Nullable String fileName, int lineNumber) argument
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
H A DLintUtils.java150 * @param fileName the file name to extract the basename from
153 public static String getBaseName(@NonNull String fileName) { argument
154 int extension = fileName.indexOf('.');
156 return fileName.substring(0, extension);
158 return fileName;
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/
H A DApkBuilder.java115 String fileName = segments[segments.length-1];
117 boolean check = checkFileForPackaging(fileName);
959 * @param fileName the name of the file (including extension)
962 public static boolean checkFileForPackaging(String fileName) { argument
963 String[] fileSegments = fileName.split("\\.");
969 return checkFileForPackaging(fileName, fileExt);
974 * @param fileName the name of the file (including extension)
978 public static boolean checkFileForPackaging(String fileName, String extension) { argument
980 if (fileName.charAt(0) == '.' || fileName
[all...]
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/
H A DEventLogPanel.java155 String fileName = fileDialog.open();
156 if (fileName != null) {
157 saveLog(fileName);
172 String fileName = fileDialog.open();
173 if (fileName != null) {
174 loadLog(fileName);
187 String fileName = fileDialog.open();
188 if (fileName != null) {
189 importBugReport(fileName);
471 private void startEventLogFromFiles(final String fileName) { argument
912 runLocalEventLogService(String fileName, LogReceiver logReceiver) argument
[all...]
/sdk/emulator/opengl/tests/translator_tests/GLES_V2/
H A DtriangleV2.cpp148 const char *readShader(const char *fileName) argument
150 FILE *fp = fopen(fileName, "rb");

Completed in 541 milliseconds