Home
last modified time | relevance | path

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

12345678910>>...24

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DPropertyMetadata.java69 sAdvanced.add("alwaysDrawnWithCache");
70 sAdvanced.add("animationCache");
71 sAdvanced.add("animationDuration");
72 sAdvanced.add("animationResolution");
73 sAdvanced.add("baseline");
74 sAdvanced.add("bufferType");
75 sAdvanced.add("calendarViewShown");
76 sAdvanced.add("completionHint");
77 sAdvanced.add("completionHintView");
78 sAdvanced.add("completionThreshold");
[all …]
DValueCompleter.java81 proposals.add(new ContentProposal(contents)); in getProposals()
101 proposals.add(new ContentProposal(number + UNIT_SP)); in getProposals()
103 proposals.add(new ContentProposal(number + UNIT_DP)); in getProposals()
105 proposals.add(new ContentProposal(number)); in getProposals()
118 proposals.add(new ContentProposal(match)); in getProposals()
138 proposals.add(new ContentProposal(contents)); in getProposals()
160 proposals.add(new ContentProposal(match)); in getProposals()
169 proposals.add(new ContentProposal(value)); in getProposals()
175 proposals.add(new ContentProposal(value)); in getProposals()
180 proposals.add(new ContentProposal(VALUE_TRUE)); in getProposals()
[all …]
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DBuiltinIssueRegistry.java61 issues.add(AccessibilityDetector.ISSUE);
62 issues.add(LabelForDetector.ISSUE);
63 issues.add(MathDetector.ISSUE);
64 issues.add(FieldGetterDetector.ISSUE);
65 issues.add(SdCardDetector.ISSUE);
66 issues.add(ApiDetector.UNSUPPORTED);
67 issues.add(DuplicateIdDetector.CROSS_LAYOUT);
68 issues.add(DuplicateIdDetector.WITHIN_LAYOUT);
69 issues.add(WrongIdDetector.UNKNOWN_ID);
70 issues.add(WrongIdDetector.UNKNOWN_ID_LAYOUT);
[all …]
DUselessViewDetector.java95 CONTAINERS.add(ABSOLUTE_LAYOUT);
96 CONTAINERS.add(FRAME_LAYOUT);
97 CONTAINERS.add(GRID_LAYOUT);
98 CONTAINERS.add(GRID_VIEW);
99 CONTAINERS.add(HORIZONTAL_SCROLL_VIEW);
100 CONTAINERS.add("ImageSwitcher"); //$NON-NLS-1$
101 CONTAINERS.add(LINEAR_LAYOUT);
102 CONTAINERS.add(RADIO_GROUP);
103 CONTAINERS.add(RELATIVE_LAYOUT);
104 CONTAINERS.add(SCROLL_VIEW);
[all …]
/sdk/layoutlib_api/src/com/android/resources/
DFolderTypeRelationship.java40 add(ResourceType.ANIM, ResourceFolderType.ANIM); in add() method
41 add(ResourceType.ANIMATOR, ResourceFolderType.ANIMATOR); in add() method
42 add(ResourceType.ARRAY, ResourceFolderType.VALUES); in add() method
43 add(ResourceType.ATTR, ResourceFolderType.VALUES); in add() method
44 add(ResourceType.BOOL, ResourceFolderType.VALUES); in add() method
45 add(ResourceType.COLOR, ResourceFolderType.VALUES); in add() method
46 add(ResourceType.COLOR, ResourceFolderType.COLOR); in add() method
47 add(ResourceType.DECLARE_STYLEABLE, ResourceFolderType.VALUES); in add() method
48 add(ResourceType.DIMEN, ResourceFolderType.VALUES); in add() method
49 add(ResourceType.DRAWABLE, ResourceFolderType.VALUES); in add() method
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestGraphics.java56 mDrawn.add("drawBoxedStrings(" + x + "," + y + "," + strings + ")"); in drawBoxedStrings()
61 mDrawn.add("drawLine(" + x1 + "," + y1 + "," + x2 + "," + y2 + ")"); in drawLine()
66 mDrawn.add("drawLine(" + p1 + "," + p2 + ")"); in drawLine()
71 mDrawn.add("drawRect(" + x1 + "," + y1 + "," + x2 + "," + y2 + ")"); in drawRect()
76 mDrawn.add("drawRect(" + p1 + "," + p2 + ")"); in drawRect()
81 mDrawn.add("drawRect(" + rectToString(r) + ")"); in drawRect()
86 mDrawn.add("drawString(" + x + "," + y + "," + string + ")"); in drawString()
91 mDrawn.add("drawString(" + string + "," + topLeft + ")"); in drawString()
96 mDrawn.add("fillRect(" + x1 + "," + y1 + "," + x2 + "," + y2 + ")"); in fillRect()
101 mDrawn.add("fillRect(" + p1 + "," + p2 + ")"); in fillRect()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/views/
DTreeViewView.java71 mm.add(SaveTreeViewAction.getAction(getSite().getShell())); in placeActions()
72 mm.add(CapturePSDAction.getAction(getSite().getShell())); in placeActions()
73 mm.add(new Separator()); in placeActions()
74 mm.add(RefreshViewAction.getAction()); in placeActions()
75 mm.add(DisplayViewAction.getAction(getSite().getShell())); in placeActions()
76 mm.add(new Separator()); in placeActions()
77 mm.add(InvalidateAction.getAction()); in placeActions()
78 mm.add(RequestLayoutAction.getAction()); in placeActions()
79 mm.add(DumpDisplayListAction.getAction()); in placeActions()
83 tm.add(SaveTreeViewAction.getAction(getSite().getShell())); in placeActions()
[all …]
DPixelPerfectView.java51 mm.add(SavePixelPerfectAction.getAction(getSite().getShell())); in placeActions()
52 mm.add(RefreshPixelPerfectAction.getAction()); in placeActions()
53 mm.add(LoadOverlayAction.getAction(getSite().getShell())); in placeActions()
57 tm.add(SavePixelPerfectAction.getAction(getSite().getShell())); in placeActions()
58 tm.add(RefreshPixelPerfectAction.getAction()); in placeActions()
59 tm.add(LoadOverlayAction.getAction(getSite().getShell())); in placeActions()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/
DKeystoreHelper.java83 commandList.add(keytoolCommand); in createNewStore()
84 commandList.add("-genkey"); in createNewStore()
85 commandList.add("-alias"); in createNewStore()
86 commandList.add(alias); in createNewStore()
87 commandList.add("-keyalg"); in createNewStore()
88 commandList.add("RSA"); in createNewStore()
89 commandList.add("-dname"); in createNewStore()
90 commandList.add(description); in createNewStore()
91 commandList.add("-validity"); in createNewStore()
92 commandList.add(Integer.toString(validityYears * 365)); in createNewStore()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/
DMonitorActionBarAdvisor.java80 menuBar.add(fileMenu); in fillMenuBar()
81 menuBar.add(editMenu); in fillMenuBar()
82 menuBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS)); in fillMenuBar()
83 menuBar.add(windowMenu); in fillMenuBar()
84 menuBar.add(helpMenu); in fillMenuBar()
87 fileMenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS)); in fillMenuBar()
88 fileMenu.add(mQuitAction); in fillMenuBar()
91 editMenu.add(mCopyAction); in fillMenuBar()
92 editMenu.add(mSelectAllAction); in fillMenuBar()
93 editMenu.add(mFindAction); in fillMenuBar()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/
DEventLogView.java92 menuManager.add(clearAction); in placeActions()
93 menuManager.add(new Separator()); in placeActions()
94 menuManager.add(saveAction); in placeActions()
95 menuManager.add(loadAction); in placeActions()
96 menuManager.add(importBugAction); in placeActions()
97 menuManager.add(new Separator()); in placeActions()
98 menuManager.add(optionAction); in placeActions()
102 toolBarManager.add(clearAction); in placeActions()
103 toolBarManager.add(new Separator()); in placeActions()
104 toolBarManager.add(saveAction); in placeActions()
[all …]
DFileExplorerView.java130 menuManager.add(pullAction); in createPartControl()
131 menuManager.add(pushAction); in createPartControl()
132 menuManager.add(new Separator()); in createPartControl()
133 menuManager.add(deleteAction); in createPartControl()
134 menuManager.add(new Separator()); in createPartControl()
135 menuManager.add(createNewFolderAction); in createPartControl()
137 toolBarManager.add(pullAction); in createPartControl()
138 toolBarManager.add(pushAction); in createPartControl()
139 toolBarManager.add(new Separator()); in createPartControl()
140 toolBarManager.add(deleteAction); in createPartControl()
[all …]
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/packages/
DFullRevisionPackageTest.java53 list.add(new MockToolPackage(null, new FullRevision(1, 0, 0, 0), 8)); in testCompareTo()
54 list.add(new MockToolPackage(null, new FullRevision(1, 0, 0, 1), 8)); in testCompareTo()
55 list.add(new MockToolPackage(null, new FullRevision(1, 0, 1, 0), 8)); in testCompareTo()
56 list.add(new MockToolPackage(null, new FullRevision(1, 0, 1, 1), 8)); in testCompareTo()
57 list.add(new MockToolPackage(null, new FullRevision(1, 1, 0, 0), 8)); in testCompareTo()
58 list.add(new MockToolPackage(null, new FullRevision(1, 1, 0, 1), 8)); in testCompareTo()
59 list.add(new MockToolPackage(null, new FullRevision(2, 1, 1, 0), 8)); in testCompareTo()
60 list.add(new MockToolPackage(null, new FullRevision(2, 1, 1, 1), 8)); in testCompareTo()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DWrapInWizard.java172 combo.add(RADIO_GROUP); in addLayouts()
174 classNames.add(Pair.of(RADIO_GROUP, (ViewElementDescriptor) null)); in addLayouts()
176 combo.add(SEPARATOR_LABEL); in addLayouts()
177 classNames.add(Pair.<String,ViewElementDescriptor>of(null, null)); in addLayouts()
185 combo.add(view); in addLayouts()
186 classNames.add(Pair.of(view, (ViewElementDescriptor) null)); in addLayouts()
188 combo.add(SEPARATOR_LABEL); in addLayouts()
189 classNames.add(Pair.<String,ViewElementDescriptor>of(null, null)); in addLayouts()
219 combo.add(d.getUiName()); in addLayouts()
220 classNames.add(Pair.of(className, d)); in addLayouts()
[all …]
DChangeViewWizard.java121 combo.add(base); in getWidgetTypes()
122 classNames.add(className); in getWidgetTypes()
124 combo.add(SEPARATOR_LABEL); in getWidgetTypes()
125 classNames.add(null); in getWidgetTypes()
135 combo.add(view); in getWidgetTypes()
136 classNames.add(view); in getWidgetTypes()
138 combo.add(SEPARATOR_LABEL); in getWidgetTypes()
139 classNames.add(null); in getWidgetTypes()
144 combo.add(view); in getWidgetTypes()
145 classNames.add(view); in getWidgetTypes()
[all …]
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/mock/
DMockLog.java34 private void add(String code, String format, Object... args) { in add() method in MockLog
36 mMessages.add(formatter.format(code + format, args).toString()); in add()
42 add("W ", format, args); in warning()
47 add("P ", format, args); in info()
52 add("V ", format, args); in verbose()
58 add("T", "%s", t.toString()); in error()
60 add("E ", format, args); in error()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DBuildHelper.java159 resPaths.add(resFolder.getLocation().toOSString()); in updateCrunchCache()
231 osResPaths.add(resLocation.toOSString()); in packageResources()
276 pathList.add(testFile.getAbsolutePath()); in addFolderToList()
387 consoleMsgs.add(String.format( in finalPackage()
392 …consoleMsgs.add("Additionally some of those libraries will interfer with the installation of the a… in finalPackage()
393 consoleMsgs.add("lib/ is reserved for NDK libraries."); in finalPackage()
396 consoleMsgs.add("The following libraries were found:"); in finalPackage()
399 consoleMsgs.add(" - " + lib); in finalPackage()
470 command.add(AdtPlugin.getOsAbsoluteProguard()); in runProguard()
473 command.add("-include"); //$NON-NLS-1$ in runProguard()
[all …]
DSourceChangeHandler.java52 mToCompile.add(sourceFile); in handleGeneratedFile()
64 mRemoved.add(file); in handleSourceFile()
66 mToCompile.add(file); in handleSourceFile()
91 mToCompile.add(file); in addFileToCompile()
99 mRemoved.add(file); in addRemovedFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DThemeMenuAction.java105 manager.add(action); in showThemeMenu()
106 manager.add(new Separator()); in showThemeMenu()
111 manager.add(new SelectThemeAction(configChooser, in showThemeMenu()
114 manager.add(new Separator()); in showThemeMenu()
126 manager.add(new ThemeMenuAction(MENU_PROJECT, "Project Themes", in showThemeMenu()
128 manager.add(new ThemeMenuAction(MENU_MANIFEST, "Manifest Themes", in showThemeMenu()
131 manager.add(new Separator()); in showThemeMenu()
134 manager.add(new ThemeMenuAction(MENU_HOLO, "Holo", in showThemeMenu()
136 manager.add(new ThemeMenuAction(MENU_HOLO_LIGHT, "Holo.Light", in showThemeMenu()
140 manager.add(new ThemeMenuAction(MENU_DEVICE, "DeviceDefault", in showThemeMenu()
[all …]
/sdk/anttasks/src/com/android/ant/
DApkBuilderTask.java143 mZipList.add(path); in createZip()
165 mSourceList.add(path); in createSourcefolder()
174 mJarfolderList.add(path); in createJarfolder()
183 mJarfileList.add(path); in createJarfile()
192 mNativeList.add(path); in createNativefolder()
233 inputPaths.add(resourceInputPath); in execute()
237 inputPaths.add(new InputPath(dexFile)); in execute()
245 zipFiles.add(f); in execute()
246 inputPaths.add(new InputPath(f)); in execute()
256 sourceFolderList.add(f); in execute()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionHandles.java107 mHandles.add(new SelectionHandle(x1, my, Position.LEFT_MIDDLE)); in createHandles()
109 mHandles.add(new SelectionHandle(x1, y1, Position.TOP_LEFT)); in createHandles()
112 mHandles.add(new SelectionHandle(x1, y2, Position.BOTTOM_LEFT)); in createHandles()
116 mHandles.add(new SelectionHandle(x2, my, Position.RIGHT_MIDDLE)); in createHandles()
118 mHandles.add(new SelectionHandle(x2, y1, Position.TOP_RIGHT)); in createHandles()
121 mHandles.add(new SelectionHandle(x2, y2, Position.BOTTOM_RIGHT)); in createHandles()
125 mHandles.add(new SelectionHandle(mx, y1, Position.TOP_MIDDLE)); in createHandles()
128 mHandles.add(new SelectionHandle(mx, y2, Position.BOTTOM_MIDDLE)); in createHandles()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DWorkspace.java189 add(buildMainPanel()); in Workspace()
218 mainPanel.add(commandButtonsPanel, BorderLayout.PAGE_START); in buildMainPanel()
219 mainPanel.add(deviceSelector = buildDeviceSelector(), BorderLayout.CENTER); in buildMainPanel()
220 mainPanel.add(buildStatusPanel(), BorderLayout.SOUTH); in buildMainPanel()
263 panel.add(devicesScroller, new GridBagConstraints(0, 0, 1, 1, 0.5, 1.0, in buildDeviceSelector()
276 panel.add(windowsScroller, new GridBagConstraints(2, 0, 1, 1, 0.5, 1.0, in buildDeviceSelector()
332 leftSide.add(Box.createHorizontalStrut(6)); in buildStatusPanel()
347 group.add(graphViewButton); in buildStatusPanel()
348 leftSide.add(graphViewButton); in buildStatusPanel()
361 group.add(pixelPerfectViewButton); in buildStatusPanel()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DBaseViewRule.java280 newValues.add(valueId); in addContextMenuActions()
375 actions.add(RuleAction.createAction(PROP_PREFIX + ATTR_TEXT, "Edit Text...", onChange, in addContextMenuActions()
381 actions.add(RuleAction.createAction(ATTR_ID, editIdLabel, onChange, null, 20, true)); in addContextMenuActions()
386 actions.add(RuleAction.createSeparator(32)); in addContextMenuActions()
388 widthChoices.add(Pair.of(VALUE_WRAP_CONTENT, "Wrap Content")); in addContextMenuActions()
390 widthChoices.add(Pair.of(VALUE_MATCH_PARENT, "Match Parent")); in addContextMenuActions()
392 widthChoices.add(Pair.of(VALUE_FILL_PARENT, "Fill Parent")); in addContextMenuActions()
395 widthChoices.add(Pair.of(width, width)); in addContextMenuActions()
397 widthChoices.add(Pair.of(ZCUSTOM, "Other...")); in addContextMenuActions()
398 actions.add(RuleAction.createChoices( in addContextMenuActions()
[all …]
/sdk/monkeyrunner/src/com/android/monkeyrunner/controller/
DMonkeyControllerFrame.java96 toolbar.add(createToolbarButton(PhysicalButton.HOME)); in MonkeyControllerFrame()
97 toolbar.add(createToolbarButton(PhysicalButton.BACK)); in MonkeyControllerFrame()
98 toolbar.add(createToolbarButton(PhysicalButton.SEARCH)); in MonkeyControllerFrame()
99 toolbar.add(createToolbarButton(PhysicalButton.MENU)); in MonkeyControllerFrame()
101 add(toolbar); in MonkeyControllerFrame()
102 add(refreshButton); in MonkeyControllerFrame()
103 add(variablesButton); in MonkeyControllerFrame()
104 add(imageLabel); in MonkeyControllerFrame()
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/sources/
DSdkRepoSourceTest.java273 extraPaths.add(ep.getPath()); in testLoadXml_1()
274 extraVendors.add(ep.getVendorId() + "/" + ep.getVendorDisplay()); in testLoadXml_1()
275 extraInstall.add(ep.getInstallFolder(osSdkPath, sdkManager)); in testLoadXml_1()
353 extraPaths.add(ep.getPath()); in testLoadXml_2()
354 extraVendors.add(ep.getVendorId() + "/" + ep.getVendorDisplay()); in testLoadXml_2()
355 extraInstall.add(ep.getInstallFolder(osSdkPath, sdkManager)); in testLoadXml_2()
431 extraPaths.add(ep.getPath()); in testLoadXml_3()
432 extraVendors.add(ep.getVendorId() + "/" + ep.getVendorDisplay()); in testLoadXml_3()
433 extraInstall.add(ep.getInstallFolder(osSdkPath, sdkManager)); in testLoadXml_3()
507 layoutlibVers.add(((PlatformPackage) p).getLayoutlibVersion()); in testLoadXml_4()
[all …]

12345678910>>...24