/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/ |
D | AdtPluginTest.java | 25 String input = "this is a test"; in testReaderContains() local 26 assertFalse(AdtPlugin.streamContains(new StringReader(input), "hello")); in testReaderContains() 27 assertTrue(AdtPlugin.streamContains(new StringReader(input), "this")); in testReaderContains() 28 assertFalse(AdtPlugin.streamContains(new StringReader(input), "thiss")); in testReaderContains() 29 assertTrue(AdtPlugin.streamContains(new StringReader(input), "is a")); in testReaderContains() 37 String input = "this is a test"; in testReadStream() local 38 String contents = AdtPlugin.readFile(new StringReader(input)); in testReadStream() 39 assertEquals(input, contents); in testReadStream()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/ |
D | BinaryXMLMultiPageEditorPart.java | 48 protected void setInput(IEditorInput input) { in setInput() argument 49 if (input instanceof JarEntryEditorInput) { in setInput() 50 JarEntryEditorInput jarInput = (JarEntryEditorInput) input; in setInput() 56 super.setInput(input); in setInput() 61 super.setInput(input); in setInput() 69 super.setInput(input); in setInput() 82 super.setInput(input); in setInput()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.traceview/src/com/android/ide/eclipse/traceview/editors/ |
D | TraceviewEditor.java | 105 final IEditorInput input = getEditorInput(); in doSaveAs() local 109 if (input instanceof FileEditorInput) { in doSaveAs() 111 FileEditorInput fileEditorInput = (FileEditorInput) input; in doSaveAs() 154 } else if (input instanceof FileStoreEditorInput) { in doSaveAs() 156 FileStoreEditorInput fileStoreEditorInput = (FileStoreEditorInput) input; in doSaveAs() 220 public void init(IEditorSite site, IEditorInput input) throws PartInitException { in init() argument 223 if (input instanceof FileEditorInput) { in init() 225 FileEditorInput fileEditorInput = (FileEditorInput) input; in init() 228 setInput(input); in init() 229 setPartName(input.getName()); in init() [all …]
|
/sdk/testapps/javaProjectTest/app/src/com/android/tests/javaprojecttest/app/ |
D | App.java | 11 InputStream input = App.class.getResourceAsStream("App.txt"); in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/basicJar2/src/com/android/tests/basicjar2/ |
D | BasicJar2.java | 11 …InputStream input = BasicJar2.class.getResourceAsStream("/com/android/tests/basicjar2/basicJar2.tx… in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/basicJar3/src/com/android/tests/basicjar3/ |
D | BasicJar3.java | 11 …InputStream input = BasicJar3.class.getResourceAsStream("/com/android/tests/basicjar3/basicJar3.tx… in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/javaProjectTest/lib2/src/com/android/tests/javaprojecttest/lib2/ |
D | Lib2.java | 11 InputStream input = Lib2.class.getResourceAsStream("Lib2.txt"); in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/libsAndJarTest/app/src/com/android/tests/javaprojecttest/app/ |
D | App.java | 11 InputStream input = App.class.getResourceAsStream("App.txt"); in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/javaProjectTest/javaProject/src/com/android/tests/javaprojecttest/javaproject/ |
D | JavaProject.java | 11 …InputStream input = JavaProject.class.getResourceAsStream("/com/android/tests/javaprojecttest/java… in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/javaProjectTest/javaProject2/src/com/android/tests/javaprojecttest/javaproject2/ |
D | JavaProject2.java | 11 …InputStream input = JavaProject2.class.getResourceAsStream("/com/android/tests/javaprojecttest/jav… in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/javaProjectTest/javaProject3/src/com/android/tests/javaprojecttest/javaproject3/ |
D | JavaProject3.java | 11 …InputStream input = JavaProject3.class.getResourceAsStream("/com/android/tests/javaprojecttest/jav… in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/javaProjectTest/lib1/src/com/android/tests/javaprojecttest/lib1/ |
D | Lib1.java | 11 InputStream input = Lib1.class.getResourceAsStream("Lib1.txt"); in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/libsAndJarTest/lib2/src/com/android/tests/javaprojecttest/lib2/ |
D | Lib2.java | 11 InputStream input = Lib2.class.getResourceAsStream("Lib2.txt"); in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/basicJar/src/com/android/tests/basicjar/ |
D | BasicJar.java | 11 …InputStream input = BasicJar.class.getResourceAsStream("/com/android/tests/basicjar/basicJar.txt"); in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/libsAndJarTest/lib1/src/com/android/tests/javaprojecttest/lib1/ |
D | Lib1.java | 11 InputStream input = Lib1.class.getResourceAsStream("Lib1.txt"); in getContent() local 12 if (input == null) { in getContent() 18 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
D | ExportEditor.java | 79 protected void setInput(IEditorInput input) { in setInput() argument 80 super.setInput(input); in setInput() 81 if (input instanceof FileEditorInput) { in setInput() 82 FileEditorInput fileInput = (FileEditorInput) input; in setInput()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | GLProtoBuf.java | 1530 … com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseFrom(java.io.InputStream input) in parseFrom() argument 1532 return newBuilder().mergeFrom(input).buildParsed(); in parseFrom() 1535 java.io.InputStream input, in parseFrom() argument 1538 return newBuilder().mergeFrom(input, extensionRegistry) in parseFrom() 1541 …oid.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType parseDelimitedFrom(java.io.InputStream input) in parseDelimitedFrom() argument 1544 if (builder.mergeDelimitedFrom(input)) { in parseDelimitedFrom() 1551 java.io.InputStream input, in parseDelimitedFrom() argument 1555 if (builder.mergeDelimitedFrom(input, extensionRegistry)) { in parseDelimitedFrom() 1562 com.google.protobuf.CodedInputStream input) in parseFrom() argument 1564 return newBuilder().mergeFrom(input).buildParsed(); in parseFrom() [all …]
|
/sdk/testapps/libsTest/lib2/src/com/android/tests/libstest/lib2/ |
D | Lib2.java | 21 InputStream input = Lib2.class.getResourceAsStream("Lib2.txt"); in getContent() local 22 if (input == null) { in getContent() 28 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/libsTest/lib1/src/com/android/tests/libstest/lib1/ |
D | Lib1.java | 21 InputStream input = Lib1.class.getResourceAsStream("Lib1.txt"); in getContent() local 22 if (input == null) { in getContent() 28 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/testapps/libsTest/app/src/com/android/tests/libstest/app/ |
D | App.java | 21 InputStream input = App.class.getResourceAsStream("App.txt"); in getContent() local 22 if (input == null) { in getContent() 28 reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); in getContent()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.traceview/src/com/android/ide/eclipse/traceview/ |
D | TraceviewLauncher.java | 52 IAdaptable input; in openFile() 54 input= page.getInput(); in openFile() 56 input= ResourcesPlugin.getWorkspace().getRoot(); in openFile() 59 window, input); in openFile()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/ |
D | CommonXmlDelegate.java | 132 public void delegateSetInput(IEditorInput input) { in delegateSetInput() argument 133 if (input instanceof FileEditorInput) { in delegateSetInput() 134 FileEditorInput fileInput = (FileEditorInput) input; in delegateSetInput() 137 } else if (input instanceof IURIEditorInput) { in delegateSetInput() 138 IURIEditorInput uriInput = (IURIEditorInput) input; in delegateSetInput()
|
D | CommonMatchingStrategy.java | 42 public boolean matches(IEditorReference editorRef, IEditorInput input) { in matches() argument 43 if (input instanceof FileEditorInput) { in matches() 44 FileEditorInput fileInput = (FileEditorInput)input; in matches() 76 return input.equals(editorRef.getEditorInput()); in matches()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ |
D | Draw9PatchEditor.java | 64 public void init(IEditorSite site, IEditorInput input) throws PartInitException { in init() argument 66 setInput(input); in init() 67 setPartName(input.getName()); in init() 71 if (input instanceof FileEditorInput) { in init() 73 mFileEditorInput = (FileEditorInput) input; in init() 79 input == null ? "null" : input.toString()); //$NON-NLS-1$ in init()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | ConvertToDpFix.java | 98 public String isValid(String input) { in isValid() argument 99 if (input == null || input.length() == 0) in isValid() 103 int i = Integer.parseInt(input); in isValid()
|