Home
last modified time | relevance | path

Searched refs:builder (Results 1 – 25 of 25) sorted by relevance

/sdk/apps/NotificationStudio/src/com/android/notificationstudio/generator/
DNotificationGenerator.java58 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); in build() local
60 builder.setSmallIcon(SMALL_ICON.getValueInt()); in build()
62 builder.setContentTitle(CONTENT_TITLE.getValueString()); in build()
64 builder.setContentText(CONTENT_TEXT.getValueString()); in build()
66 builder.setSubText(SUB_TEXT.getValueString()); in build()
68 builder.setLargeIcon(LARGE_ICON.getValueBitmap()); in build()
70 builder.setContentInfo(CONTENT_INFO.getValueString()); in build()
72 builder.setNumber(NUMBER.getValueInt()); in build()
74 builder.setWhen(WHEN.getValueLong()); in build()
76 builder.setProgress(0, 0, true); in build()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/
DGLMessageFormatterTest.java176 Builder builder = GLMessage.newBuilder(); in constructGLMessage() local
177 builder.setFunction(func); in constructGLMessage()
180 builder.setContextId(0); in constructGLMessage()
181 builder.setStartTime(0); in constructGLMessage()
182 builder.setDuration(0); in constructGLMessage()
186 builder.setReturnValue(retValue); in constructGLMessage()
190 builder.addArgs(arg); in constructGLMessage()
193 return builder.build(); in constructGLMessage()
/sdk/eventanalyzer/src/com/android/eventanalyzer/
DEventAnalyzer.java332 StringBuilder builder = new StringBuilder(); in analyzeData() local
339 builder.append(activity).append(DATA_SEPARATOR); in analyzeData()
341 writer.write(builder.append('\n').toString()); in analyzeData()
348 builder.setLength(0); in analyzeData()
355 builder.append(list.get(index).longValue()).append(DATA_SEPARATOR); in analyzeData()
357 builder.append(DATA_SEPARATOR); in analyzeData()
363 writer.write(builder.append('\n').toString()); in analyzeData()
371 builder.setLength(0); in analyzeData()
372 builder.append(activity).append(DATA_SEPARATOR); in analyzeData()
381 builder.append(list.get(0).longValue()).append(DATA_SEPARATOR); in analyzeData()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilitiesTest.java38 DocumentBuilder builder = factory.newDocumentBuilder(); in testIsEquivalent() local
39 Document document1 = builder.newDocument(); in testIsEquivalent()
40 Document document2 = builder.newDocument(); in testIsEquivalent()
91 DocumentBuilder builder = factory.newDocumentBuilder(); in testIsContiguous() local
92 Document document = builder.newDocument(); in testIsContiguous()
120 DocumentBuilder builder = factory.newDocumentBuilder(); in testGetCommonAncestor() local
121 Document document = builder.newDocument(); in testGetCommonAncestor()
159 DocumentBuilder builder = factory.newDocumentBuilder(); in testGetDepth() local
160 Document document = builder.newDocument(); in testGetDepth()
193 DocumentBuilder builder = factory.newDocumentBuilder(); in testHasChildren() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DExportGradleTest.java68 final ProjectSetupBuilder builder = new ProjectSetupBuilder(); in testSimpleAndroidApp() local
69 builder.setProject(Collections.singletonList(javaProject)); in testSimpleAndroidApp()
75 BuildFileCreator.createBuildFiles(builder, null, monitor); in testSimpleAndroidApp()
149 final ProjectSetupBuilder builder = new ProjectSetupBuilder(); in testSimpleAndroidLib()
150 builder.setProject(Collections.singletonList(javaProject)); in testSimpleAndroidLib()
152 BuildFileCreator.createBuildFiles(builder, null, monitor); in testSimpleAndroidLib()
213 final ProjectSetupBuilder builder = new ProjectSetupBuilder(); in testPlainJavaProject() local
214 builder.setProject(Collections.singletonList(javaProject)); in testPlainJavaProject()
216 BuildFileCreator.createBuildFiles(builder, null, null); in testPlainJavaProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DBuildFileCreator.java111 @NonNull ProjectSetupBuilder builder, in createBuildFiles()
128 Collection<GradleModule> modules = builder.getModules(); in createBuildFiles()
143 IPath commonRoot = builder.getCommonRoot(); in createBuildFiles()
186 builder.setStatus(status); in createBuildFiles()
347 private static void appendBuildScript(StringBuilder builder) { in appendBuildScript() argument
348 builder.append("buildscript {\n"); //$NON-NLS-1$ in appendBuildScript()
349 builder.append(" repositories {\n"); //$NON-NLS-1$ in appendBuildScript()
350 builder.append(" " + MAVEN_REPOSITORY + "\n"); //$NON-NLS-1$ in appendBuildScript()
351 builder.append(" }\n"); //$NON-NLS-1$ in appendBuildScript()
352 builder.append(" dependencies {\n"); //$NON-NLS-1$ in appendBuildScript()
[all …]
DFinalPage.java42 public FinalPage(ProjectSetupBuilder builder) { in FinalPage() argument
44 mBuilder = builder; in FinalPage()
DConfirmationPage.java65 public ConfirmationPage(ProjectSetupBuilder builder) { in ConfirmationPage() argument
67 mBuilder = builder; in ConfirmationPage()
113 ProjectSetupBuilder builder = (ProjectSetupBuilder) inputElement; in createControl()
114 Collection<GradleModule> modules = builder.getModules(); in createControl()
DProjectSelectionPage.java66 public ProjectSelectionPage(ProjectSetupBuilder builder) { in ProjectSelectionPage() argument
68 mBuilder = builder; in ProjectSelectionPage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAidlProcessor.java102 protected void doCompileFiles(List<IFile> sources, BaseBuilder builder, in doCompileFiles() argument
137 builder.removeMarkersFromResource(project, AdtConstants.MARKER_AIDL); in doCompileFiles()
164 builder.removeMarkersFromResource(sourceFile, AdtConstants.MARKER_AIDL); in doCompileFiles()
189 if (execAidl(builder, project, commands, sourceFile, verbose) == false) { in doCompileFiles()
243 private boolean execAidl(BaseBuilder builder, IProject project, String[] command, IFile file, in execAidl() argument
DSourceProcessor.java243 public final int compileFiles(BaseBuilder builder, in compileFiles() argument
266 doCompileFiles(mToCompile, builder, project, projectTarget, sourceFolders, in compileFiles()
297 List<IFile> filesToCompile, BaseBuilder builder, in doCompileFiles() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/
DNdkDiscoveryUpdater.java124 IBuilder builder = info.getDefaultConfiguration().getBuilder(); in calcEnvironment() local
126 if (builder.appendEnvironment()) { in calcEnvironment()
128 .getDescriptionForConfiguration(builder.getParent().getParent()); in calcEnvironment()
137 Map<String, String> builderEnv = builder.getExpandedEnvironment(); in calcEnvironment()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DGLProtoBuf.java1543 Builder builder = newBuilder(); in parseDelimitedFrom() local
1544 if (builder.mergeDelimitedFrom(input)) { in parseDelimitedFrom()
1545 return builder.buildParsed(); in parseDelimitedFrom()
1554 Builder builder = newBuilder(); in parseDelimitedFrom() local
1555 if (builder.mergeDelimitedFrom(input, extensionRegistry)) { in parseDelimitedFrom()
1556 return builder.buildParsed(); in parseDelimitedFrom()
1592 Builder builder = new Builder(); in create() local
1593 builder.result = new com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType(); in create()
1594 return builder; in create()
2218 Builder builder = newBuilder(); in parseDelimitedFrom() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPreCompilerDeltaVisitor.java101 public PreCompilerDeltaVisitor(BaseBuilder builder, List<IPath> sourceFolders, in PreCompilerDeltaVisitor() argument
103 super(builder); in PreCompilerDeltaVisitor()
109 mAndroidOutputFolder = BaseProjectHelper.getAndroidOutputFolder(builder.getProject()); in PreCompilerDeltaVisitor()
DBaseBuilder.java94 public BaseDeltaVisitor(BaseBuilder builder) { in BaseDeltaVisitor() argument
95 mBuilder = builder; in BaseDeltaVisitor()
DPostCompilerBuilder.java897 private void writeClassFilesIntoJar(JarBuilder builder, IFolder folder, IFolder rootFolder) in writeClassFilesIntoJar() argument
902 writeClassFilesIntoJar(builder, (IFolder) member, rootFolder); in writeClassFilesIntoJar()
905 builder.addFile(file, rootFolder); in writeClassFilesIntoJar()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGraphicalEditorPart.java1861 StringBuilder builder = new StringBuilder(200); in displayUserStackTrace() local
1864 builder.append("Diagnostic info for ADT bug report:\n"); in displayUserStackTrace()
1865 builder.append("Failed path: ").append(lastFailedPath).append('\n'); in displayUserStackTrace()
1867 builder.append("Normal temp dir: ").append(tempDir).append('\n'); in displayUserStackTrace()
1869 builder.append("Normalized temp dir: ").append(normalized.getPath()).append('\n'); in displayUserStackTrace()
1871 builder.append("Canonical temp dir: ").append(normalized.getCanonicalPath()) in displayUserStackTrace()
1876 builder.append("os.name: ").append(System.getProperty("os.name")).append('\n'); in displayUserStackTrace()
1877 builder.append("os.version: ").append(System.getProperty("os.version")); in displayUserStackTrace()
1878 builder.append('\n'); in displayUserStackTrace()
1879 builder.append("java.runtime.version: "); in displayUserStackTrace()
[all …]
DDomUtilities.java870 DocumentBuilder builder; in createEmptyPlainDocument() local
872 builder = factory.newDocumentBuilder(); in createEmptyPlainDocument()
873 return builder.newDocument(); in createEmptyPlainDocument()
897 DocumentBuilder builder = factory.newDocumentBuilder(); in parseDocument() local
898 return builder.parse(is); in parseDocument()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DViewMetadataRepository.java140 DocumentBuilder builder = factory.newDocumentBuilder(); in getRenderingConfigDoc() local
141 return builder.parse(is); in getRenderingConfigDoc()
215 DocumentBuilder builder = factory.newDocumentBuilder(); in getCategories() local
216 Document document = builder.parse(is); in getCategories()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiElementNodeTest.java267 DocumentBuilder builder = factory.newDocumentBuilder(); in testCreateNameSpace() local
268 Document document = builder.newDocument(); in testCreateNameSpace()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttrsXmlParser.java258 DocumentBuilder builder = factory.newDocumentBuilder(); in getDocument() local
259 mDocument = builder.parse(new File(mOsAttrsXmlPath)); in getDocument()
/sdk/attribute_stats/src/
DAnalyzer.java204 DocumentBuilder builder = factory.newDocumentBuilder(); in analyzeLayout() local
205 document = builder.parse(is); in analyzeLayout()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceHelper.java572 DocumentBuilder builder = factory.newDocumentBuilder(); in resolveColor() local
573 Document document = builder.parse(is); in resolveColor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestInfo.java343 DocumentBuilder builder = factory.newDocumentBuilder(); in sync() local
344 document = builder.parse(is); in sync()
/sdk/eclipse/
Dchanges.txt764 - Misc incremental builder fixes.
842 - aidl builder. The Android Resources PreBuilder now also converts
851 - Package builder now supports custom application assets placed in