Home
last modified time | relevance | path

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

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DAndroidLaunchConfiguration.java109 mLaunchAction = config.getAttribute(LaunchConfigDelegate.ATTR_LAUNCH_ACTION, in set()
118 mReuseLastUsedDevice = config.getAttribute( in set()
120 mLastUsedDevice = config.getAttribute( in set()
127 mAvdName = config.getAttribute(LaunchConfigDelegate.ATTR_AVD_NAME, mAvdName); in set()
134 index = config.getAttribute(LaunchConfigDelegate.ATTR_SPEED, index); in set()
142 index = config.getAttribute(LaunchConfigDelegate.ATTR_DELAY, index); in set()
149 mEmulatorCommandLine = config.getAttribute( in set()
156 mWipeData = config.getAttribute(LaunchConfigDelegate.ATTR_WIPE_DATA, mWipeData); in set()
162 mNoBootAnim = config.getAttribute(LaunchConfigDelegate.ATTR_NO_BOOT_ANIM, in set()
175 String value = config.getAttribute(LaunchConfigDelegate.ATTR_TARGET_MODE, in parseTargetMode()
[all …]
DEmulatorConfigTab.java405 reuseLastUsedDevice = configuration.getAttribute( in initializeFrom()
426 stringValue = configuration.getAttribute( in initializeFrom()
460 stringValue = configuration.getAttribute(LaunchConfigDelegate.ATTR_AVD_NAME, in initializeFrom()
475 value = configuration.getAttribute(LaunchConfigDelegate.ATTR_WIPE_DATA, value); in initializeFrom()
483 value = configuration.getAttribute(LaunchConfigDelegate.ATTR_NO_BOOT_ANIM, value); in initializeFrom()
493 index = configuration.getAttribute(LaunchConfigDelegate.ATTR_SPEED, in initializeFrom()
506 index = configuration.getAttribute(LaunchConfigDelegate.ATTR_DELAY, in initializeFrom()
520 commandLine = configuration.getAttribute( in initializeFrom()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationDescription.java179 String displayName = element.getAttribute(ATTR_NAME); in fromXml()
184 String config = element.getAttribute(ATTR_CONFIG); in fromXml()
188 String theme = element.getAttribute(ATTR_THEME); in fromXml()
193 String targetId = element.getAttribute(ATTR_TARGET); in fromXml()
199 String localeString = element.getAttribute(ATTR_LOCALE); in fromXml()
218 String activity = element.getAttribute(ATTR_ACTIVITY); in fromXml()
223 String deviceString = element.getAttribute(ATTR_DEVICE); in fromXml()
228 String stateName = element.getAttribute(ATTR_STATE); in fromXml()
239 String uiModeString = element.getAttribute(ATTR_UIMODE); in fromXml()
247 String nightModeString = element.getAttribute(ATTR_NIGHTMODE); in fromXml()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintColumn.java167 String message = marker.getAttribute(IMarker.MESSAGE, ""); in getStyledValue()
181 int severity = marker.getAttribute(IMarker.SEVERITY, 0); in getImage()
203 int severity = marker.getAttribute(IMarker.SEVERITY, 0); in getFont()
268 return marker1.getAttribute(IMarker.LINE_NUMBER, 0) in compare()
269 - marker2.getAttribute(IMarker.LINE_NUMBER, 0); in compare()
332 int line = marker.getAttribute(IMarker.LINE_NUMBER, -1); in getStyledValue()
370 return marker1.getAttribute(IMarker.LINE_NUMBER, 0) in compare()
371 - marker2.getAttribute(IMarker.LINE_NUMBER, 0); in compare()
468 int line = marker.getAttribute(IMarker.LINE_NUMBER, -1); in getLine()
DDocumentFix.java46 int start = mMarker.getAttribute(IMarker.CHAR_START, -1); in apply()
47 int end = mMarker.getAttribute(IMarker.CHAR_END, -1); in apply()
DLintFixGenerator.java123 String id = marker.getAttribute(EclipseLintRunner.MARKER_CHECKID_PROPERTY, in getResolutions()
133 resolutions.add(new MoreInfoProposal(id, marker.getAttribute(IMarker.MESSAGE, null))); in getResolutions()
179 String id = marker.getAttribute(EclipseLintRunner.MARKER_CHECKID_PROPERTY, in computeQuickAssistProposals()
190 String message = marker.getAttribute(IMarker.MESSAGE, null); in computeQuickAssistProposals()
278 int start = marker.getAttribute(IMarker.CHAR_START, -1); in addSuppressAnnotation()
279 int end = marker.getAttribute(IMarker.CHAR_END, -1); in addSuppressAnnotation()
DSetPropertyFix.java49 protected abstract String getAttribute(); in getAttribute() method in SetPropertyFix
75 String localAttribute = getAttribute(); in apply()
DTypoFix.java61 String message = mMarker.getAttribute(IMarker.MESSAGE, ""); in apply()
106 String message = mMarker.getAttribute(IMarker.MESSAGE, ""); in getAllFixes()
DAddSuppressAttribute.java150 int offset = marker.getAttribute(IMarker.CHAR_START, -1); in createFixes()
182 String message = marker.getAttribute(IMarker.MESSAGE, null); in createFixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
DNdkDebuggerTab.java263 mGdbPathText.setText(getAttribute(config, NdkLaunchConstants.ATTR_NDK_GDB, in initializeFrom()
265 mGdbInitPathText.setText(getAttribute(config, in initializeFrom()
268 mGdbRemotePortText.setText(getAttribute(config, IGDBLaunchConfigurationConstants.ATTR_PORT, in initializeFrom()
271 List<String> solibs = getAttribute(config, NdkLaunchConstants.ATTR_NDK_SOLIB, in initializeFrom()
279 private String getAttribute(ILaunchConfiguration config, String key, String defaultValue) { in getAttribute() method in NdkDebuggerTab
281 return config.getAttribute(key, defaultValue); in getAttribute()
287 private List<String> getAttribute(ILaunchConfiguration config, String key, in getAttribute() method in NdkDebuggerTab
290 return config.getAttribute(key, defaultValue); in getAttribute()
DNdkGdbLaunchDelegate.java332 String localport = config.getAttribute(IGDBLaunchConfigurationConstants.ATTR_PORT, in doLaunch()
357 boolean reuse = config.getAttribute(LaunchConfigDelegate.ATTR_REUSE_LAST_USED_DEVICE, in getLastUsedDevice()
363 String serial = config.getAttribute(LaunchConfigDelegate.ATTR_LAST_USED_DEVICE, in getLastUsedDevice()
397 String userGdbPath = wcopy.getAttribute(NdkLaunchConstants.ATTR_NDK_GDB, in performVariableSubstitutions()
407 List<String> solibPaths = wcopy.getAttribute( in performVariableSubstitutions()
487 activityName = configuration.getAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, empty); in getActivityNameInLaunchConfig()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateMetadata.java102 String versionString = mDocument.getDocumentElement().getAttribute(ATTR_FORMAT); in isSupported()
118 String name = mDocument.getDocumentElement().getAttribute(ATTR_NAME); in getTitle()
128 String description = mDocument.getDocumentElement().getAttribute(ATTR_DESCRIPTION); in getDescription()
139 String api = mDocument.getDocumentElement().getAttribute(ATTR_MIN_API); in getMinSdk()
157 String api = mDocument.getDocumentElement().getAttribute(ATTR_MIN_BUILD_API); in getMinBuildApi()
175 String revision = mDocument.getDocumentElement().getAttribute(ATTR_REVISION); in getRevision()
196 String formFactor = element.getAttribute(ATTR_VALUE); in getFormFactor()
211 String category = element.getAttribute(ATTR_VALUE); in getCategory()
347 String value = element.getAttribute(name); in getAttributeOrNull()
427 String name = element.getAttribute(ATTR_NAME); in getDependencies()
[all …]
DParameter.java224 String typeName = parameter.getAttribute(TemplateHandler.ATTR_TYPE); in Parameter()
228 id = parameter.getAttribute(ATTR_ID); in Parameter()
229 initial = parameter.getAttribute(ATTR_DEFAULT); in Parameter()
230 suggest = parameter.getAttribute(ATTR_SUGGEST); in Parameter()
231 name = parameter.getAttribute(ATTR_NAME); in Parameter()
232 help = parameter.getAttribute(ATTR_HELP); in Parameter()
233 String constraintString = parameter.getAttribute(ATTR_CONSTRAINTS); in Parameter()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DExplodedRenderingHelper.java144 String orientation = getAttribute(view, "orientation", null); //$NON-NLS-1$ in computePadding()
290 String viewId = getAttribute(node, "id", attributes); //$NON-NLS-1$ in getBiggestMarginInDirection()
293 String toLeftOfRef = getAttribute(node, relativeTo, attributes); in getBiggestMarginInDirection()
357 String viewId = getAttribute(node, "id", null); //$NON-NLS-1$ in computeIdNodeMap()
389 String value = getAttribute(node, attribute, null); in getMatchingNode()
407 private static String getAttribute(Node node, String name, NamedNodeMap attributes) { in getAttribute() method in ExplodedRenderingHelper
DUiElementPullParser.java143 private Node getAttribute(int i) { in getAttribute() method in UiElementPullParser
262 Node attribute = getAttribute(i); in getAttributeName()
284 Node attribute = getAttribute(i); in getAttributeNamespace()
307 Node attribute = getAttribute(i); in getAttributePrefix()
328 Node attribute = getAttribute(i); in getAttributeValue()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/
DUiItemElementNode.java48 String type = elem.getAttribute(SdkConstants.ATTR_TYPE); in getShortDescription()
49 String name = elem.getAttribute(SdkConstants.ATTR_NAME); in getShortDescription()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptParserTest.java189 String message = marker.getAttribute(IMarker.MESSAGE, ""); //$NON-NLS-1$ in checkRanges()
192 int start = marker.getAttribute(IMarker.CHAR_START, 0); in checkRanges()
193 int end = marker.getAttribute(IMarker.CHAR_END, 0); in checkRanges()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleElementTest.java239 assertNull(e.getAttribute("unknown uri", "name")); in testAddGetAttribute()
240 assertNull(e.getAttribute("uri", "unknown name")); in testAddGetAttribute()
242 e.getAttribute("uri", "name")); in testAddGetAttribute()
244 e.getAttribute("my-uri", "second-name")); in testAddGetAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFix.java93 message = (String) marker.getAttribute(IMarker.MESSAGE); in hasResolutions()
108 String message = (String) marker.getAttribute(IMarker.MESSAGE); in getResolutions()
118 int start = marker.getAttribute(IMarker.CHAR_START, 0); in getResolutions()
119 int end = marker.getAttribute(IMarker.CHAR_END, 0); in getResolutions()
180 String message = marker.getAttribute(IMarker.MESSAGE, ""); //$NON-NLS-1$ in computeQuickAssistProposals()
182 int start = marker.getAttribute(IMarker.CHAR_START, 0); in computeQuickAssistProposals()
183 int end = marker.getAttribute(IMarker.CHAR_END, 0); in computeQuickAssistProposals()
DAaptParser.java553 int tmpBegin = marker.getAttribute(IMarker.CHAR_START, -1); in checkAndMark()
557 int tmpEnd = marker.getAttribute(IMarker.CHAR_END, -1); in checkAndMark()
563 int tmpLine = marker.getAttribute(IMarker.LINE_NUMBER, -1); in checkAndMark()
568 int tmpSeverity = marker.getAttribute(IMarker.SEVERITY, -1); in checkAndMark()
573 String tmpMsg = marker.getAttribute(IMarker.MESSAGE, null); in checkAndMark()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DViewMetadataRepository.java228 String name = element.getAttribute("name"); //$NON-NLS-1$ in getCategories()
255 String fqcn = child.getAttribute("class"); //$NON-NLS-1$ in createViewData()
259 String fill = child.getAttribute("fill"); //$NON-NLS-1$ in createViewData()
267 String skip = child.getAttribute("skip"); //$NON-NLS-1$ in createViewData()
269 String render = child.getAttribute("render"); //$NON-NLS-1$ in createViewData()
273 String displayName = child.getAttribute("name"); //$NON-NLS-1$ in createViewData()
278 String relatedTo = child.getAttribute("relatedTo"); //$NON-NLS-1$ in createViewData()
279 String topAttrs = child.getAttribute("topAttrs"); //$NON-NLS-1$ in createViewData()
280 String resize = child.getAttribute("resize"); //$NON-NLS-1$ in createViewData()
285 String init = child.getAttribute("init"); //$NON-NLS-1$ in createViewData()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DFixLaunchConfig.java96 String activity = config.getAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, in run()
143 if (config.getAttribute( in findConfigs()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DOutlineLabelProvider.java71 id = e.getAttribute(ATTR_NAME); in getText()
84 id = e.getAttribute(ATTR_LAYOUT); in getText()
DHyperlinks.java236 Attr attribute = context.getAttribute(); in isAttributeValueLink()
278 Attr attribute = context.getAttribute(); in isActivity()
292 Attr attribute = context.getAttribute(); in isManifestName()
315 String permission = context.getAttribute().getValue(); in openManifestName()
330 String intent = context.getAttribute().getValue(); in openManifestName()
366 Attr attribute = context.getAttribute(); in isClassAttribute()
380 Attr attribute = context.getAttribute(); in isOnClickAttribute()
389 if (context.getAttribute() != null) { in isClassElement()
402 String value = context.getAttribute().getValue(); in getClassFqcn()
426 Attr attribute = context.getAttribute(); in isService()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
DUiViewElementNode.java152 String className = ((Element) xmlNode).getAttribute(ATTR_CLASS); in getIcon()
179 int severity = marker.getAttribute(IMarker.SEVERITY, 0); in getIcon()

123