Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DGLCallGroups.java150 List<GLCallNode> items = new ArrayList<GLCallNode>(); in constructCallHierarchy() local
164 items.add(group); in constructCallHierarchy()
177 items.add(new GLLeafNode(c)); in constructCallHierarchy()
184 items.add(leaf); in constructCallHierarchy()
189 return items; in constructCallHierarchy()
193 List<GLCallNode> items = new ArrayList<GLCallNode>(); in flatHierarchy() local
197 items.add(new GLLeafNode(calls.get(i))); in flatHierarchy()
200 return items; in flatHierarchy()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
DListValueCellEditor.java51 String[] items = uiListAttribute.getPossibleValues(null); in doSetValue() local
52 mItems = new String[items.length]; in doSetValue()
53 System.arraycopy(items, 0, mItems, 0, items.length); in doSetValue()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourceChooser.java487 ResourceItem[] items = setupResourceList(); in createNewResButtons()
488 selectItemName(newName, items); in createNewResButtons()
507 ResourceItem[] items = setupResourceList(); in createNewResButtons()
513 for (ResourceItem item : items) { in createNewResButtons()
520 ResourceItem[] newItems = new ResourceItem[items.length + 1]; in createNewResButtons()
521 System.arraycopy(items, 0, newItems, 0, items.length); in createNewResButtons()
522 newItems[items.length] = new ResourceItem(newName); in createNewResButtons()
523 items = newItems; in createNewResButtons()
524 Arrays.sort(items); in createNewResButtons()
525 setListElements(items); in createNewResButtons()
[all …]
DConfigurationSelector.java880 String[] items = codes.toArray(new String[codes.size()]); in LocaleEdit() local
881 Arrays.sort(items); in LocaleEdit()
882 mLanguage.setItems(items); in LocaleEdit()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSwtUtilsTest.java236 List<Rectangle> items = new ArrayList<Rectangle>(); in testCrop1() local
237 items.add(new Rectangle(30, 60, 20, 20)); in testCrop1()
239 SwtUtils.drawRectangles(image, items, ImageUtils.getBoundingRectangle(items), in testCrop1()
274 List<Rectangle> items = new ArrayList<Rectangle>(); in testCrop2() local
275 items.add(new Rectangle(10, 10, 20, 20)); in testCrop2()
276 items.add(new Rectangle(110, 80, 20, 20)); in testCrop2()
278 SwtUtils.drawRectangles(image, items, ImageUtils.getBoundingRectangle(items), in testCrop2()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionItem.java172 static SimpleElement[] getAsElements(@NonNull List<SelectionItem> items) { in getAsElements() argument
173 return getAsElements(items, null); in getAsElements()
185 @NonNull List<SelectionItem> items, in getAsElements()
196 for (SelectionItem cs : items) { in getAsElements()
DDynamicContextMenu.java134 IContributionItem[] items = mMenuManager.getItems(); in setupDynamicMenuActions()
136 mMenuManager.remove(items[i]); in setupDynamicMenuActions()
197 List<IContributionItem> items = new ArrayList<IContributionItem>(availableIds.size() + 10); in getMenuItems() local
214 items.add(createContributionItem(action, nodes, defaultId)); in getMenuItems()
217 return items; in getMenuItems()
DImageUtils.java723 public static Rectangle getBoundingRectangle(List<Rectangle> items) { in getBoundingRectangle() argument
724 Iterator<Rectangle> iterator = items.iterator(); in getBoundingRectangle()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/
DNotificationStudioActivity.java120 LinearLayout items = (LinearLayout) findViewById(R.id.items);
121 items.removeAllViews();
128 items.addView(dividerView);
131 View editorView = Editors.newEditor(this, items, item);
133 items.addView(editorView);
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DGLTraceOptionsDialog.java298 List<String> items = new ArrayList<String>(devices.length); in createDeviceDropdown() local
300 items.add(d.getName()); in createDeviceDropdown()
302 mDeviceCombo.setItems(items.toArray(new String[items.size()])); in createDeviceDropdown()
305 if (items.contains(mLastUsedDevice)) { in createDeviceDropdown()
306 index = items.indexOf(mLastUsedDevice); in createDeviceDropdown()
308 if (index >= 0 && index < items.size()) { in createDeviceDropdown()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DProjectChooserHelper.java231 String[] items = new String[mAvailableProjects.length + 1]; in ProjectCombo() local
232 items[0] = "--- Choose Project ---"; in ProjectCombo()
239 items[i + 1] = labelProvider.getText(project); in ProjectCombo()
244 setItems(items); in ProjectCombo()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DInputDensityDialog.java73 String[] items = s.toArray(new String[s.size()]); in createDialogArea() local
74 mCombo.setItems(items); in createDialogArea()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
DSystraceOptionsDialogV2.java142 String[] items = new String[mCurrentApps.size() + 1]; in createDialogArea() local
143 items[0] = "None"; in createDialogArea()
145 items[i+1] = mCurrentApps.get(i); in createDialogArea()
147 mTraceAppCombo.setItems(items); in createDialogArea()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceNameValidator.java232 Collection<ResourceItem> items = projectResources.getResourceItemsOfType(type); in create() local
233 for (ResourceItem item : items) { in create()
DResourceHelper.java574 NodeList items = document.getElementsByTagName(TAG_ITEM); in resolveColor() local
576 value = findColorValue(items); in resolveColor()
602 private static String findColorValue(NodeList items) { in findColorValue() argument
603 for (int i = 0, n = items.getLength(); i < n; i++) { in findColorValue()
605 Node item = items.item(i); in findColorValue()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletionvalues1-expected-completion30.txt4 …anges : Defines whether changes in layout (caused by adding and removing items) should cause a La…
Dcompletionvalues1-expected-completion32.txt10 …anges : Defines whether changes in layout (caused by adding and removing items) should cause a La…
182 android:numStars : The number of stars (or rating items) to show. [integer]
248 … use a more refined calculation method based on the pixels height of the items visible on screen.…
308 android:unselectedAlpha : Sets the alpha on the items that are not selected. [float]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DPropertyFactory.java126 public Property[] getProperties(List<CanvasViewInfo> items) { in getProperties() argument
129 if (items == null || items.size() == 0) { in getProperties()
131 } else if (items.size() == 1) { in getProperties()
132 CanvasViewInfo item = items.get(0); in getProperties()
139 for (CanvasViewInfo node : items) { in getProperties()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DAddTranslationDialog.java217 Collection<ResourceItem> items = resources.getResourceItemsOfType(ResourceType.STRING); in fillStrings() local
219 ResourceItem[] array = items.toArray(new ResourceItem[items.size()]); in fillStrings()
231 mTranslations = Maps.newHashMapWithExpectedSize(items.size()); in fillStrings()
DNewXmlFileCreationPage.java1070 List<String> items = new ArrayList<String>(sTypes.length);
1075 items.add(type.getUiName());
1079 mTypeCombo.setItems(items.toArray(new String[items.size()]));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DActivityPage.java146 String[] items = names.toArray(new String[names.size()]); in onEnter() local
147 mList.setItems(items); in onEnter()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DApplicationInfoPage.java250 String[] items = new String[targets.length]; in setSdkTargets() local
252 items[i] = targetLabel(targets[i]); in setSdkTargets()
259 mSdkCombo.setItems(items); in setSdkTargets()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
DCustomViewDescriptorService.java329 Collection<ResourceItem> items = in findAttrsFiles() local
331 for (ResourceItem item : items) { in findAttrsFiles()
/sdk/eclipse/
Dchanges.txt110 * LogCat: Ctrl + F now brings up a Find dialog to find items (rather
301 you can pick any arbitrary layout to be used for the list items,
338 context menu items on text fields to change the focus.
372 all the matches in the project and allows you jump to specific items
374 - The Resource Chooser can create items such as dimensions, integers,
560 add new items by drag'n'drop from the palette. There is no support
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java766 String[] items = path.split("/"); //$NON-NLS-1$ in findUiChildNode() local
768 for (String item : items) { in findUiChildNode()