/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
D | SdkSources.java | 55 ArrayList<SdkSource> list = mSources.get(category); in add() local 56 if (list == null) { in add() 57 list = new ArrayList<SdkSource>(); in add() 58 mSources.put(category, list); in add() 61 list.add(source); in add() 74 ArrayList<SdkSource> list = entry.getValue(); in remove() local 76 if (list.remove(source)) { in remove() 77 if (list.isEmpty()) { in remove() 109 ArrayList<SdkSource> list = mSources.get(cat); in getCategories() local 110 if (list != null && !list.isEmpty()) { in getCategories() [all …]
|
/sdk/ide_common/src/com/android/ide/common/resources/ |
D | ResourceRepository.java | 93 List<ResourceFolder> list = mFolderMap.get(type); in add() local 95 if (list == null) { in add() 96 list = new ArrayList<ResourceFolder>(); in add() 99 list.add(cf); in add() 101 mFolderMap.put(type, list); in add() 107 for (ResourceFolder cFolder : list) { in add() 119 list.add(cf); in add() 133 List<ResourceFolder> list = mFolderMap.get(type); in removeFolder() local 135 if (list != null) { in removeFolder() 136 int count = list.size(); in removeFolder() [all …]
|
D | MultiResourceFile.java | 134 Map<String, ResourceValue> list = mResourceItems.get(type); in hasResources() local 135 return (list != null && list.size() > 0); in hasResources() 145 Map<String, ResourceValue> list = mResourceItems.get(type); in updateResourceItems() local 147 if (list != null) { in updateResourceItems() 148 Collection<ResourceValue> values = list.values(); in updateResourceItems() 185 Map<String, ResourceValue> list = mResourceItems.get(resType); in addResourceValue() local 188 if (list == null) { in addResourceValue() 189 list = new HashMap<String, ResourceValue>(); in addResourceValue() 190 mResourceItems.put(resType, list); in addResourceValue() 193 ResourceValue oldValue = list.get(value.getName()); in addResourceValue() [all …]
|
D | ResourceItem.java | 155 ArrayList<ResourceFile> list = new ArrayList<ResourceFile>(); in getSourceFileArray() local 156 list.addAll(mFiles); in getSourceFileArray() 158 Collections.sort(list, sComparator); in getSourceFileArray() 160 return list.toArray(new ResourceFile[list.size()]); in getSourceFileArray()
|
D | FrameworkResources.java | 191 List<ResourceItem> list = mPublicResourceMap.get(type); in loadPublicResources() local 192 if (list == null) { in loadPublicResources() 193 list = Collections.emptyList(); in loadPublicResources() 195 list = Collections.unmodifiableList(list); in loadPublicResources() 199 mPublicResourceMap.put(type, list); in loadPublicResources()
|
/sdk/common/src/com/android/resources/ |
D | FolderTypeRelationship.java | 78 List<ResourceType> list = mFolderToTypeMap.get(folderType); in getRelatedResourceTypes() local 79 if (list != null) { in getRelatedResourceTypes() 80 return list; in getRelatedResourceTypes() 93 List<ResourceFolderType> list = mTypeToFolderMap.get(resType); in getRelatedFolders() local 94 if (list != null) { in getRelatedFolders() 95 return list; in getRelatedFolders() 109 List<ResourceFolderType> list = mTypeToFolderMap.get(resType); in match() local 111 if (list != null) { in match() 112 return list.contains(folderType); in match() 151 List<ResourceFolderType> list = mTypeToFolderMap.get(type); in makeSafe() local [all …]
|
/sdk/eventanalyzer/src/com/android/eventanalyzer/ |
D | EventAnalyzer.java | 285 String[] files = f.list(new FilenameFilter() { in parseFolder() 352 ArrayList<Long> list = mLaunchMap.get(activity); in analyzeData() local 353 if (index < list.size()) { in analyzeData() 355 builder.append(list.get(index).longValue()).append(DATA_SEPARATOR); in analyzeData() 375 ArrayList<Long> list = mLaunchMap.get(activity); in analyzeData() local 378 Collections.sort(list); in analyzeData() 381 builder.append(list.get(0).longValue()).append(DATA_SEPARATOR); in analyzeData() 382 builder.append(list.get(list.size()-1).longValue()).append(DATA_SEPARATOR); in analyzeData() 385 builder.append(list.get(list.size()/2).longValue()).append(DATA_SEPARATOR); in analyzeData() 390 for (Long value : list) { in analyzeData() [all …]
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/ |
D | PackageTest.java | 174 ArrayList<Package> list = new ArrayList<Package>(); in testCompareTo() local 177 list.add(p1 = new MockPlatformPackage(1, 2)); in testCompareTo() 178 list.add(new MockAddonPackage(p1, 3)); in testCompareTo() 179 list.add(new MockSystemImagePackage(p1, 4, "x86")); in testCompareTo() 180 list.add(new MockBrokenPackage(BrokenPackage.MIN_API_LEVEL_NOT_SPECIFIED, 1)); in testCompareTo() 181 list.add(new MockExtraPackage("vendor", "path", 5, 6)); in testCompareTo() 182 list.add(new MockToolPackage(7, 8)); in testCompareTo() 184 Collections.sort(list); in testCompareTo() 193 Arrays.toString(list.toArray())); in testCompareTo()
|
/sdk/common/src/com/android/io/ |
D | FolderWrapper.java | 104 String[] match = list(new FilenameFilter() { in hasFile() 138 public String[] list(FilenameFilter filter) { in list() method in FolderWrapper 141 ArrayList<String> list = new ArrayList<String>(); in list() local 145 list.add(file.getName()); in list() 149 return list.toArray(new String[list.size()]); in list()
|
/sdk/files/ |
D | android.el | 64 (list 88 (interactive (list (expand-file-name 102 (list 109 (list 121 (list
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
D | drawable1-expected-completion47.txt | 1 Code completion in drawable1.xml for ^<layer-list: 3 <animation-list /> : Drawable used to render several animated frames. 8 <layer-list ></layer-list> : Drawable used to render several drawables stacked on top of each othe…
|
D | drawable1-expected-completion50.txt | 3 <animation-list /> : Drawable used to render several animated frames. 8 <layer-list ></layer-list> : Drawable used to render several drawables stacked on top of each othe…
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/log/ |
D | EventLogParser.java | 197 ArrayList<EventValueDescription> list = new ArrayList<EventValueDescription>(); in processDescription() local 221 list.add(new EventValueDescription(name, eventValueType, valueType)); in processDescription() 223 list.add(new EventValueDescription(name, eventValueType)); in processDescription() 238 if (list.size() == 0) { in processDescription() 242 return list.toArray(new EventValueDescription[list.size()]); in processDescription() 261 ArrayList<Object> list = new ArrayList<Object>(); in parse() local 262 if (parseBinaryEvent(entry.data, inOffset, list) == -1) { in parse() 267 if (list.size() == 1) { in parse() 268 data = list.get(0); in parse() 270 data = list.toArray(); in parse() [all …]
|
D | EventContainer.java | 402 Object[] list = (Object[]) data; in getValue() local 403 if (valueIndex >= 0 && valueIndex < list.length) { in getValue() 404 return getValue(list[valueIndex], valueIndex, false); in getValue() 425 Object[] list = (Object[]) data; in getValueAsDouble() local 426 if (valueIndex >= 0 && valueIndex < list.length) { in getValueAsDouble() 427 return getValueAsDouble(list[valueIndex], valueIndex, false); in getValueAsDouble() 448 Object[] list = (Object[]) data; in getValueAsString() local 449 if (valueIndex >= 0 && valueIndex < list.length) { in getValueAsString() 450 return getValueAsString(list[valueIndex], valueIndex, false); in getValueAsString()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
D | WidgetClassLoader.java | 310 ArrayList<IClassDescriptor> list = new ArrayList<IClassDescriptor>(); in findClassesDerivingFrom() local 311 list.addAll(mWidgetMap.values()); in findClassesDerivingFrom() 312 map.put(SdkConstants.CLASS_VIEW, list); in findClassesDerivingFrom() 314 list = new ArrayList<IClassDescriptor>(); in findClassesDerivingFrom() 315 list.addAll(mLayoutMap.values()); in findClassesDerivingFrom() 316 map.put(SdkConstants.CLASS_VIEWGROUP, list); in findClassesDerivingFrom() 318 list = new ArrayList<IClassDescriptor>(); in findClassesDerivingFrom() 319 list.addAll(mLayoutParamsMap.values()); in findClassesDerivingFrom() 320 map.put(SdkConstants.CLASS_VIEWGROUP_LAYOUTPARAMS, list); in findClassesDerivingFrom()
|
D | LayoutDeviceManager.java | 299 private void parseLayoutDevices(File deviceXml, List<LayoutDevice> list) { in parseLayoutDevices() argument 317 list.addAll(handler.getDevices()); in parseLayoutDevices() 334 ArrayList<LayoutDevice> list = new ArrayList<LayoutDevice>(); in loadDefaultLayoutDevices() local 339 parseLayoutDevices(deviceXml, list); in loadDefaultLayoutDevices() 342 mDefaultLayoutDevices = Collections.unmodifiableList(list); in loadDefaultLayoutDevices() 346 ArrayList<LayoutDevice> list = new ArrayList<LayoutDevice>(); in combineLayoutDevices() local 347 list.addAll(mDefaultLayoutDevices); in combineLayoutDevices() 348 list.addAll(mAddOnLayoutDevices); in combineLayoutDevices() 349 list.addAll(mUserLayoutDevices); in combineLayoutDevices() 351 mLayoutDevices = Collections.unmodifiableList(list); in combineLayoutDevices()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | ExplodedRenderingHelper.java | 299 ArrayList<Node> list = null; in getBiggestMarginInDirection() local 302 list = getMatchingNode(nodeSet, cleanUpIdReference(viewId), inverseRelation); in getBiggestMarginInDirection() 307 if (list == null) { in getBiggestMarginInDirection() 308 list = new ArrayList<Node>(); in getBiggestMarginInDirection() 311 if (list.indexOf(toLeftOf) == -1) { in getBiggestMarginInDirection() 312 list.add(toLeftOf); in getBiggestMarginInDirection() 318 if (list != null) { in getBiggestMarginInDirection() 321 for (Node nodeOnLeft : list) { in getBiggestMarginInDirection() 386 ArrayList<Node> list = new ArrayList<Node>(); in getMatchingNode() local 393 list.add(node); in getMatchingNode() [all …]
|
D | LayoutReloadMonitor.java | 122 List<ILayoutReloadListener> list = mListenerMap.get(project); in addListener() local 123 if (list == null) { in addListener() 124 list = new ArrayList<ILayoutReloadListener>(); in addListener() 125 mListenerMap.put(project, list); in addListener() 128 list.add(listener); in addListener() 137 List<ILayoutReloadListener> list = mListenerMap.get(project); in removeListener() local 138 if (list != null) { in removeListener() 139 list.remove(listener); in removeListener() 150 for (List<ILayoutReloadListener> list : mListenerMap.values()) { in removeListener() 151 Iterator<ILayoutReloadListener> it = list.iterator(); in removeListener()
|
/sdk/layoutopt/libs/uix/src/com/android/layoutopt/uix/groovy/ |
D | LayoutAnalysisCategory.java | 77 NodeList list = DOMCategory.depthFirst(element); in all() local 78 int count = list.getLength(); in all() 81 nodes.add(list.item(i)); in all() 176 NodeList list = node.getChildNodes(); in depth() local 177 int count = list.getLength(); in depth() 180 maxDepth = Math.max(maxDepth, depth(list.item(i))); in depth()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
D | DdmsPlugin.java | 332 ArrayList<IToolsLocator> list = new ArrayList<IToolsLocator>(); in instantiateToolsLocators() local 341 list.add((IToolsLocator) obj); in instantiateToolsLocators() 345 return list.toArray(new IToolsLocator[list.size()]); in instantiateToolsLocators() 355 ArrayList<IDebuggerConnector> list = new ArrayList<IDebuggerConnector>(); in instantiateDebuggerConnectors() local 364 list.add((IDebuggerConnector) obj); in instantiateDebuggerConnectors() 368 return list.toArray(new IDebuggerConnector[list.size()]); in instantiateDebuggerConnectors() 378 ArrayList<ISourceRevealer> list = new ArrayList<ISourceRevealer>(); in instantiateSourceRevealers() local 387 list.add((ISourceRevealer) obj); in instantiateSourceRevealers() 391 return list.toArray(new ISourceRevealer[list.size()]); in instantiateSourceRevealers() 402 ArrayList<ITraceviewLauncher> list = new ArrayList<ITraceviewLauncher>(); in instantiateTraceviewLauncher() local [all …]
|
/sdk/anttasks/src/com/android/ant/ |
D | ApkBuilderTask.java | 217 String[] dexFiles = mDexPath.list(); in execute() 241 for (String path : pathList.list()) { in execute() 252 for (String path : pathList.list()) { in execute() 265 for (String path : pathList.list()) { in execute() 269 String[] filenames = folder.list(new FilenameFilter() { in execute() 286 for (String path : pathList.list()) { in execute() 296 for (String path : pathList.list()) { in execute() 352 for (String path : pathList.list()) { in execute() 356 String[] filenames = folder.list(new FilenameFilter() { in execute()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | FixLaunchConfig.java | 137 ArrayList<ILaunchConfiguration> list = new ArrayList<ILaunchConfiguration>(); in findConfigs() local 146 list.add(config); in findConfigs() 152 return list.toArray(new ILaunchConfiguration[list.size()]); in findConfigs()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/ |
D | IFolderWrapper.java | 157 public String[] list(FilenameFilter filter) { in list() method in IFolderWrapper 161 ArrayList<String> list = new ArrayList<String>(); in list() local 164 list.add(res.getName()); in list() 168 return list.toArray(new String[list.size()]); in list()
|
/sdk/emulator/qemud/ |
D | qemud.c | 750 FDHandlerList* list; member 791 fdhandler_prepend( FDHandler* f, FDHandler** list ) in fdhandler_prepend() argument 793 f->next = list[0]; in fdhandler_prepend() 794 f->pref = list; in fdhandler_prepend() 795 list[0] = f; in fdhandler_prepend() 802 fdhandler_list_init( FDHandlerList* list, Looper* looper ) in fdhandler_list_init() argument 804 list->looper = looper; in fdhandler_list_init() 805 list->active = NULL; in fdhandler_list_init() 806 list->closing = NULL; in fdhandler_list_init() 840 looper_del( f->list->looper, f->fd ); in fdhandler_close() [all …]
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/ |
D | SdkManager.java | 142 ArrayList<IAndroidTarget> list = new ArrayList<IAndroidTarget>(); in createManager() local 143 loadPlatforms(osSdkPath, list, log); in createManager() 144 loadAddOns(osSdkPath, list, log); in createManager() 147 Collections.sort(list); in createManager() 149 manager.setTargets(list.toArray(new IAndroidTarget[list.size()])); in createManager() 249 ArrayList<IAndroidTarget> list = new ArrayList<IAndroidTarget>(); in reloadSdk() local 250 loadPlatforms(mOsSdkPath, list, log); in reloadSdk() 251 loadAddOns(mOsSdkPath, list, log); in reloadSdk() 258 Collections.sort(list); in reloadSdk() 259 setTargets(list.toArray(new IAndroidTarget[list.size()])); in reloadSdk() [all …]
|