/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/ |
D | AttributeInfoTest.java | 55 AttributeInfo info = new AttributeInfo("test", EnumSet.noneOf(Format.class)); in testSimple() local 56 assertTrue(info.isValid("", null, null)); in testSimple() 57 assertTrue(info.isValid("a b c", null, null)); in testSimple() 58 assertTrue(info.isValid("@android foo bar", null, null)); in testSimple() 62 AttributeInfo info = new AttributeInfo("test", Format.STRING_SET); in testIsValidString() local 63 assertTrue(info.isValid("", null, null)); in testIsValidString() 64 assertTrue(info.isValid("a b c", null, null)); in testIsValidString() 65 assertTrue(info.isValid("@android foo bar", null, null)); in testIsValidString() 69 AttributeInfo info = new AttributeInfo("test", Format.BOOLEAN_SET); in testIsValidBoolean() local 70 assertTrue(info.isValid("true", null, null)); in testIsValidBoolean() [all …]
|
D | AttrsXmlParserTest.java | 57 ViewClassInfo info = new ViewClassInfo( in testLoadViewAttributes() local 61 mParser.loadViewAttributes(info); in testLoadViewAttributes() 64 info.getJavaDoc()); in testLoadViewAttributes() 65 AttributeInfo[] attrs = info.getAttributes(); in testLoadViewAttributes() 67 assertEquals("scrollbarSize", info.getAttributes()[0].getName()); in testLoadViewAttributes() 68 assertEquals(1, info.getAttributes()[0].getFormats().size()); in testLoadViewAttributes() 69 assertEquals(Format.DIMENSION, info.getAttributes()[0].getFormats().iterator().next()); in testLoadViewAttributes()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
D | ManifestInfoTest.java | 50 ManifestInfo info = getManifestInfo( in testGetActivityThemes1() local 55 Map<String, ActivityAttributes> map = info.getActivityAttributesMap(); in testGetActivityThemes1() 57 assertEquals("com.android.unittest", info.getPackage()); in testGetActivityThemes1() 58 assertEquals("Theme", ResourceHelper.styleToTheme(info.getDefaultTheme(null, NORMAL))); in testGetActivityThemes1() 59 assertEquals("@android:style/Theme", info.getDefaultTheme(null, null)); in testGetActivityThemes1() 60 assertEquals("Theme", ResourceHelper.styleToTheme(info.getDefaultTheme(null, XLARGE))); in testGetActivityThemes1() 64 ManifestInfo info = getManifestInfo( in testGetActivityThemes2() local 69 Map<String, ActivityAttributes> map = info.getActivityAttributesMap(); in testGetActivityThemes2() 71 assertEquals("com.android.unittest", info.getPackage()); in testGetActivityThemes2() 72 assertEquals("Theme.Holo", ResourceHelper.styleToTheme(info.getDefaultTheme(null, in testGetActivityThemes2() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
D | ActivityLaunchAction.java | 47 public boolean doLaunchAction(DelayedLaunchInfo info, IDevice device) { in doLaunchAction() argument 49 + (info.isDebugMode() ? " -D" //$NON-NLS-1$ in doLaunchAction() 52 + info.getPackageName() + "/" //$NON-NLS-1$ in doLaunchAction() 59 AdtPlugin.printToConsole(info.getProject(), msg); in doLaunchAction() 64 info.incrementAttemptCount(); in doLaunchAction() 67 device.executeShellCommand(command, new AMReceiver(info, device, mLaunchController)); in doLaunchAction() 71 if (info.isDebugMode() == false) { in doLaunchAction() 77 AdtPlugin.printErrorToConsole(info.getProject(), "Launch error: timeout"); in doLaunchAction() 80 AdtPlugin.printErrorToConsole(info.getProject(), String.format( in doLaunchAction() 90 AdtPlugin.printErrorToConsole(info.getProject(), in doLaunchAction() [all …]
|
D | EmptyLaunchAction.java | 28 public boolean doLaunchAction(DelayedLaunchInfo info, Collection<IDevice> devices) { in doLaunchAction() argument 30 doLaunchAction(info, d); in doLaunchAction() 36 public boolean doLaunchAction(DelayedLaunchInfo info, IDevice device) { in doLaunchAction() argument 39 info.getPackageFile().getFullPath().toOSString()); in doLaunchAction() 40 AdtPlugin.printToConsole(info.getProject(), msg, "Done!"); in doLaunchAction()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
D | AttrsXmlParser.java | 186 public void loadViewAttributes(ViewClassInfo info) { in loadViewAttributes() argument 188 String xmlName = info.getShortClassName(); in loadViewAttributes() 191 String definedBy = info.getFullClassName(); in loadViewAttributes() 198 info.setAttributes(attributes); in loadViewAttributes() 199 info.setJavaDoc(style.getJavaDoc()); in loadViewAttributes() 207 public void loadLayoutParamsAttributes(LayoutParamsInfo info) { in loadLayoutParamsAttributes() argument 210 ViewClassInfo viewLayoutClass = info.getViewLayoutClass(); in loadLayoutParamsAttributes() 213 info.getShortClassName()); in loadLayoutParamsAttributes() 227 info.setAttributes(attributes); in loadLayoutParamsAttributes() 419 AttributeInfo info = null; in parseAttr() local [all …]
|
D | AttributeInfo.java | 91 public AttributeInfo(AttributeInfo info) { in AttributeInfo() argument 92 mName = info.mName; in AttributeInfo() 93 mFormats = info.mFormats; in AttributeInfo() 94 mEnumValues = info.mEnumValues; in AttributeInfo() 95 mFlagValues = info.mFlagValues; in AttributeInfo() 96 mJavaDoc = info.mJavaDoc; in AttributeInfo() 97 mDeprecatedDoc = info.mDeprecatedDoc; in AttributeInfo()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/ |
D | AndroidJUnitLaunchAction.java | 67 public boolean doLaunchAction(DelayedLaunchInfo info, Collection<IDevice> devices) { in doLaunchAction() argument 70 AdtPlugin.printToConsole(info.getProject(), msg); in doLaunchAction() 73 mLaunchInfo.setDebugMode(info.isDebugMode()); in doLaunchAction() 76 final String mode = info.isDebugMode() ? ILaunchManager.DEBUG_MODE : in doLaunchAction() 79 junitDelegate.launch(info.getLaunch().getLaunchConfiguration(), mode, info.getLaunch(), in doLaunchAction() 80 info.getMonitor()); in doLaunchAction() 84 AdtPlugin.printErrorToConsole(info.getProject(), in doLaunchAction() 155 VMTestRunner(AndroidJUnitLaunchInfo info) { in VMTestRunner() argument 156 mJUnitInfo = info; in VMTestRunner() 184 TestRunnerProcess(VMRunnerConfiguration runConfig, AndroidJUnitLaunchInfo info) { in TestRunnerProcess() argument [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
D | LayoutParamsParser.java | 228 ExtViewClassInfo info = new ExtViewClassInfo(viewClass.isInstantiable(), in addView() local 230 mViewMap.put(fqcn, info); in addView() 237 info.setSuperClass(superClassInfo); in addView() 240 mAttrsXmlParser.loadViewAttributes(info); in addView() 241 return info; in addView() 254 ExtViewClassInfo info = new ExtViewClassInfo(groupClass.isInstantiable(), in addGroup() local 256 mGroupMap.put(fqcn, info); in addGroup() 271 if (superClassInfo != null && superClassInfo != info) { in addGroup() 272 info.setSuperClass(superClassInfo); in addGroup() 276 mAttrsXmlParser.loadViewAttributes(info); in addGroup() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
D | AbstractPropertiesFieldsPart.java | 162 IRegion info = doc.getLineInformation(i); in saveFieldsToModel() local 163 String line = doc.get(info.getOffset(), info.getLength()); in saveFieldsToModel() 183 doc.replace(info.getOffset(), info.getLength(), line); in saveFieldsToModel() 209 IRegion info = numLines > 0 ? doc.getLineInformation(numLines - 1) : null; in saveFieldsToModel() local 210 if (info != null && info.getLength() == 0) { in saveFieldsToModel() 212 doc.replace(info.getOffset(), info.getLength(), line); in saveFieldsToModel() 277 IRegion info = doc.getLineInformation(i); in onModelInit() local 278 String line = doc.get(info.getOffset(), info.getLength()); in onModelInit()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
D | TextAttributeDescriptor.java | 75 IAttributeInfo info = getAttributeInfo(); in getUiName() local 76 if (info != null) { in getUiName() 77 mUiName = DescriptorsUtils.prettyAttributeUiName(info.getName()); in getUiName() 154 IAttributeInfo info = getAttributeInfo(); in getTooltip() local 155 if (info == null) { in getTooltip() 161 String rawTooltip = info.getJavaDoc(); in getTooltip() 166 String deprecated = info.getDeprecatedDoc(); in getTooltip() 181 EnumSet<Format> formats_list = info.getFormats(); in getTooltip()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/descriptors/ |
D | OtherXmlDescriptors.java | 280 for (ViewClassInfo info : prefs) { 281 ElementDescriptor desc = convertPref(info); 290 for (ViewClassInfo info : prefGroups) { 291 ElementDescriptor desc = convertPref(info); 294 if (info.getFullClassName() == SdkConstants.CLASS_PREFERENCES) { 334 private ElementDescriptor convertPref(ViewClassInfo info) { 335 String xml_name = info.getShortClassName(); 336 String tooltip = info.getJavaDoc(); 343 info.getAttributes(), 347 for (ViewClassInfo link = info.getSuperClass(); [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
D | LayoutDescriptors.java | 140 for (ViewClassInfo info : views) { in updateDescriptors() 141 ViewElementDescriptor desc = convertView(info, infoDescMap); in updateDescriptors() 153 for (ViewClassInfo info : layouts) { in updateDescriptors() 154 ViewElementDescriptor desc = convertView(info, infoDescMap); in updateDescriptors() 225 ViewClassInfo info, in convertView() argument 227 String xmlName = info.getShortClassName(); in convertView() 229 String fqcn = info.getFullClassName(); in convertView() 233 String tooltip = info.getJavaDoc(); in convertView() 255 info.getAttributes(), in convertView() 260 if (info.getAttributes() != null && info.getAttributes().length > 0) { in convertView() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidContentAssist.java | 175 AttribInfo info = parseAttributeInfo(viewer, offset, offset - wordPrefix.length()); in computeCompletionProposals() local 177 if (info != null) { in computeCompletionProposals() 182 parentNode, currentNode, parent, info, nextChar); in computeCompletionProposals() 228 Node currentNode, String parent, AttribInfo info, char nextChar) { in computeAttributeProposals() argument 232 if (info.isInValue) { in computeAttributeProposals() 233 if (computeAttributeValues(proposals, offset, parent, info.name, currentNode, in computeAttributeProposals() 234 wordPrefix, info.skipEndTag, info.replaceLength)) { in computeAttributeProposals() 241 info, wordPrefix); in computeAttributeProposals() 246 int replaceLength = info.replaceLength; in computeAttributeProposals() 247 if (info.correctedPrefix != null) { in computeAttributeProposals() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ChangeViewRefactoringTest.java | 48 TestContext info = setupTestContext(file, basename); in checkRefactoring() local 49 TestLayoutEditorDelegate layoutEditor = info.mLayoutEditorDelegate; in checkRefactoring() 50 List<Element> selectedElements = getElements(info.mElement, ids); in checkRefactoring()
|
D | WrapInRefactoringTest.java | 49 TestContext info = setupTestContext(file, basename); in checkRefactoring() local 50 TestLayoutEditorDelegate layoutEditor = info.mLayoutEditorDelegate; in checkRefactoring() 51 List<Element> selectedElements = getElements(info.mElement, ids); in checkRefactoring()
|
D | UnwrapRefactoringTest.java | 45 TestContext info = setupTestContext(file, basename); in checkRefactoring() local 46 TestLayoutEditorDelegate layoutEditor = info.mLayoutEditorDelegate; in checkRefactoring() 47 List<Element> selectedElements = getElements(info.mElement, id); in checkRefactoring()
|
D | ChangeLayoutRefactoringTest.java | 118 TestContext info = setupTestContext(file, basename); in checkRefactoring() local 119 TestLayoutEditorDelegate layoutEditor = info.mLayoutEditorDelegate; in checkRefactoring() 120 CanvasViewInfo rootView = info.mRootView; in checkRefactoring() 121 Element element = info.mElement; in checkRefactoring()
|
D | UseCompoundDrawableRefactoringTest.java | 99 TestContext info = setupTestContext(file, basename); in checkRefactoring() local 100 TestLayoutEditorDelegate layoutEditor = info.mLayoutEditorDelegate; in checkRefactoring() 101 List<Element> selectedElements = getElements(info.mElement, new String[] { id }); in checkRefactoring()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/ |
D | SystraceTag.java | 21 public final String info; field in SystraceTag 25 info = details; in SystraceTag()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
D | AdtTestData.java | 56 sLogger.info("Cannot find test_data environment variable, init to class loader"); in AdtTestData() 60 sLogger.info("Running as an Eclipse Plug-in JUnit test, using FileLocator"); in AdtTestData() 82 sLogger.info("Running as an plain JUnit test, using url as-is"); in AdtTestData() 97 sLogger.info("Fixing test_data env variable (does not end with path separator)"); in AdtTestData()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
D | SensorActivity.java | 199 for (DisplayInfo info : mDisplayedSensors.values()) { in removeSensorUi() 200 info.release(); in removeSensorUi() 262 DisplayInfo info = null; in handleMessage() local 265 info = mDisplayedSensors.get(msg.obj); in handleMessage() 266 if (info != null) { in handleMessage() 267 info.updateState(); in handleMessage() 271 info = mDisplayedSensors.get(msg.obj); in handleMessage() 272 if (info != null) { in handleMessage() 273 info.updateValue(); in handleMessage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | RenderService.java | 491 ActivityAttributes info = manifestInfo.getActivityAttributes(activity); in createRenderSession() local 492 if (info != null) { in createRenderSession() 493 if (info.getLabel() != null) { in createRenderSession() 494 params.setAppLabel(info.getLabel()); in createRenderSession() 496 if (info.getIcon() != null) { in createRenderSession() 497 params.setAppIcon(info.getIcon()); in createRenderSession() 641 for (ViewInfo info : children) { in measureChildren() 642 if (info.getCookie() instanceof UiViewElementNode) { in measureChildren() 643 UiViewElementNode uiNode = (UiViewElementNode) info.getCookie(); in measureChildren() 645 map.put(node, new Rect(info.getLeft(), info.getTop(), in measureChildren() [all …]
|
D | OutlineOverlay.java | 87 private void drawOutline(GC gc, CanvasViewInfo info) { in drawOutline() argument 88 Rectangle r = info.getAbsRect(); in drawOutline() 102 for (CanvasViewInfo vi : info.getChildren()) { in drawOutline()
|
/sdk/find_lock/ |
D | find_lock.cpp | 321 SFileNameInfo *info = (SFileNameInfo *)param; in FileNameThreadFunc() local 322 if (info == NULL) { in FileNameThreadFunc() 329 DWORD status = sNtQueryInformationFileFunc(info->handle, iob, buf, sizeof(buf), 9); in FileNameThreadFunc() 353 info->outStr->set(buf + 4, len); in FileNameThreadFunc() 354 info->result = true; in FileNameThreadFunc() 362 SFileNameInfo info; in getFileName() local 363 info.handle = handle; in getFileName() 364 info.outStr = outStr; in getFileName() 365 info.result = false; in getFileName() 374 &info, // arglist in getFileName() [all …]
|