Home
last modified time | relevance | path

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

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DTabHostRule.java52 node.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/tabhost"); //$NON-NLS-1$ in onCreate()
53 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); in onCreate()
54 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent); in onCreate()
57 linear.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); in onCreate()
58 linear.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent); in onCreate()
59 linear.setAttribute(ANDROID_URI, ATTR_ORIENTATION, in onCreate()
63 tab.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); in onCreate()
64 tab.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, VALUE_WRAP_CONTENT); in onCreate()
65 tab.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/tabs"); //$NON-NLS-1$ in onCreate()
68 frame.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); in onCreate()
[all …]
DSlidingDrawerRule.java46 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, matchParent); in onCreate()
47 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, matchParent); in onCreate()
53 node.setAttribute(ANDROID_URI, ATTR_HANDLE, handleId); in onCreate()
54 node.setAttribute(ANDROID_URI, ATTR_CONTENT, contentId); in onCreate()
58 handle.setAttribute(ANDROID_URI, ATTR_TEXT, "Handle"); in onCreate()
59 handle.setAttribute(ANDROID_URI, ATTR_ID, handleId); in onCreate()
63 content.setAttribute(ANDROID_URI, ATTR_ID, contentId); in onCreate()
64 content.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, matchParent); in onCreate()
65 content.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, matchParent); in onCreate()
DDialerFilterRule.java45 hint.setAttribute(ANDROID_URI, ATTR_TEXT, "Hint"); in onCreate()
46 hint.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/hint"); //$NON-NLS-1$ in onCreate()
47 hint.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); in onCreate()
50 primary.setAttribute(ANDROID_URI, ATTR_TEXT, "Primary"); in onCreate()
51 primary.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/primary"); //$NON-NLS-1$ in onCreate()
52 primary.setAttribute(ANDROID_URI, ATTR_LAYOUT_BELOW, in onCreate()
54 primary.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); in onCreate()
DRelativeLayoutRule.java371 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_ALIGN_PARENT_LEFT, null); in centerHorizontally()
372 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_ALIGN_LEFT, null); in centerHorizontally()
373 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_TO_RIGHT_OF, null); in centerHorizontally()
374 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_CENTER_HORIZONTAL, null); in centerHorizontally()
375 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_ALIGN_PARENT_RIGHT, null); in centerHorizontally()
376 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_ALIGN_RIGHT, null); in centerHorizontally()
377 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_TO_LEFT_OF, null); in centerHorizontally()
378 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_CENTER_HORIZONTAL, null); in centerHorizontally()
384 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_CENTER_VERTICAL, null); in centerHorizontally()
385 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_CENTER_IN_PARENT, VALUE_TRUE); in centerHorizontally()
[all …]
DCalendarViewRule.java41 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, getFillParentValueName()); in onCreate()
42 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, getFillParentValueName()); in onCreate()
DGridViewRule.java38 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, getFillParentValueName()); in onCreate()
39 node.setAttribute(ANDROID_URI, ATTR_NUM_COLUMNS, "3"); //$NON-NLS-1$ in onCreate()
DWebViewRule.java42 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, matchParent); in onCreate()
43 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, matchParent); in onCreate()
DRadioGroupRule.java43 handle.setAttribute(ANDROID_URI, ATTR_ID, String.format("@+id/radio%d", i)); in onCreate()
45 handle.setAttribute(ANDROID_URI, ATTR_CHECKED, VALUE_TRUE); in onCreate()
DScrollViewRule.java50 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); in onChildInserted()
51 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent); in onChildInserted()
64 linear.setAttribute(ANDROID_URI, ATTR_ORIENTATION, VALUE_VERTICAL); in onCreate()
DHorizontalScrollViewRule.java50 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); in onChildInserted()
51 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent); in onChildInserted()
63 linearLayout.setAttribute(ANDROID_URI, ATTR_ORIENTATION, in onCreate()
DLinearLayoutRule.java195 child.setAttribute(ANDROID_URI, in addLayoutActions()
252 target.setAttribute(ANDROID_URI, ATTR_LAYOUT_WEIGHT, value); in distributeWeights()
257 target.setAttribute(ANDROID_URI, sizeAttribute, VALUE_ZERO_DP); in distributeWeights()
267 target.setAttribute(ANDROID_URI, ATTR_LAYOUT_WEIGHT, null); in clearWeights()
270 target.setAttribute(ANDROID_URI, sizeAttribute, VALUE_WRAP_CONTENT); in clearWeights()
579 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent);
587 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_WEIGHT, VALUE_1);
590 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent);
622 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_WEIGHT, sameWeight);
624 node.setAttribute(ANDROID_URI, sizeAttribute, VALUE_ZERO_DP);
[all …]
DPropertyCallback.java73 targetNode.setAttribute(mUri, mAttribute, valueId); in action()
76 targetNode.setAttribute(mUri, mAttribute, Boolean.toString(newValue)); in action()
DAbsoluteLayoutRule.java204 newChild.setAttribute(ANDROID_URI, ATTR_LAYOUT_X, in onDropped()
206 newChild.setAttribute(ANDROID_URI, ATTR_LAYOUT_Y, in onDropped()
230 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_X, in setNewSizeBounds()
235 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_Y, in setNewSizeBounds()
DZoomButtonRule.java32 node.setAttribute(ANDROID_URI, ATTR_SRC, "@android:drawable/btn_plus"); //$NON-NLS-1$ in onCreate()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/
DNdkHelper.java162 config.setAttribute(IGDBLaunchConfigurationConstants.ATTR_REMOTE_TCP, true); in setLaunchConfigDefaults()
163 config.setAttribute(NdkLaunchConstants.ATTR_NDK_GDB, NdkLaunchConstants.DEFAULT_GDB); in setLaunchConfigDefaults()
164 config.setAttribute(IGDBLaunchConfigurationConstants.ATTR_GDB_INIT, in setLaunchConfigDefaults()
166 config.setAttribute(IGDBLaunchConfigurationConstants.ATTR_PORT, in setLaunchConfigDefaults()
168 config.setAttribute(IGDBLaunchConfigurationConstants.ATTR_HOST, "localhost"); //$NON-NLS-1$ in setLaunchConfigDefaults()
169 config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, false); in setLaunchConfigDefaults()
170 config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE, in setLaunchConfigDefaults()
172 config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_PROGRAM_NAME, in setLaunchConfigDefaults()
175 config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE, in setLaunchConfigDefaults()
177 config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ID, in setLaunchConfigDefaults()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DGuidelineHandler.java512 n.setAttribute(ANDROID_URI, ATTR_LAYOUT_CENTER_IN_PARENT, null); in applyConstraints()
519 n.setAttribute(ANDROID_URI, ATTR_LAYOUT_CENTER_VERTICAL, VALUE_TRUE); in applyConstraints()
522 n.setAttribute(ANDROID_URI, ATTR_LAYOUT_CENTER_HORIZONTAL, VALUE_TRUE); in applyConstraints()
528 n.setAttribute(ANDROID_URI, ATTR_LAYOUT_ALIGN_PARENT_TOP, null); in applyConstraints()
529 n.setAttribute(ANDROID_URI, ATTR_LAYOUT_ALIGN_TOP, null); in applyConstraints()
530 n.setAttribute(ANDROID_URI, ATTR_LAYOUT_BELOW, null); in applyConstraints()
532 n.setAttribute(ANDROID_URI, ATTR_LAYOUT_CENTER_VERTICAL, null); in applyConstraints()
533 n.setAttribute(ANDROID_URI, ATTR_LAYOUT_ALIGN_BASELINE, null); in applyConstraints()
539 n.setAttribute(ANDROID_URI, ATTR_LAYOUT_ALIGN_PARENT_BOTTOM, null); in applyConstraints()
540 n.setAttribute(ANDROID_URI, ATTR_LAYOUT_ALIGN_BOTTOM, null); in applyConstraints()
[all …]
DDeletionHandler.java145 child.setAttribute(ANDROID_URI, name, null); in updateConstraints()
189 target.setAttribute(ANDROID_URI, transfer.name, attribute.getValue()); in transfer()
193 target.setAttribute(ANDROID_URI, name, attribute.getValue()); in transfer()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DEmulatorConfigTab.java535 configuration.setAttribute(LaunchConfigDelegate.ATTR_TARGET_MODE, in performApply()
537 configuration.setAttribute(LaunchConfigDelegate.ATTR_REUSE_LAST_USED_DEVICE, in performApply()
541 configuration.setAttribute(LaunchConfigDelegate.ATTR_AVD_NAME, avd.getName()); in performApply()
543 configuration.setAttribute(LaunchConfigDelegate.ATTR_AVD_NAME, (String)null); in performApply()
545 configuration.setAttribute(LaunchConfigDelegate.ATTR_SPEED, in performApply()
547 configuration.setAttribute(LaunchConfigDelegate.ATTR_DELAY, in performApply()
549 configuration.setAttribute(LaunchConfigDelegate.ATTR_COMMANDLINE, in performApply()
551 configuration.setAttribute(LaunchConfigDelegate.ATTR_WIPE_DATA, in performApply()
553 configuration.setAttribute(LaunchConfigDelegate.ATTR_NO_BOOT_ANIM, in performApply()
581 configuration.setAttribute(LaunchConfigDelegate.ATTR_TARGET_MODE, in setDefaults()
[all …]
DMainLaunchConfigTab.java221 configuration.setAttribute( in performApply()
223 configuration.setAttribute( in performApply()
227 configuration.setAttribute(LaunchConfigDelegate.ATTR_LAUNCH_ACTION, mLaunchAction); in performApply()
232 configuration.setAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, in performApply()
242 configuration.setAttribute(LaunchConfigDelegate.ATTR_LAUNCH_ACTION, in setDefaults()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationDescription.java272 element.setAttribute(ATTR_NAME, displayName); in toXml()
275 element.setAttribute(ATTR_CONFIG, folderName); in toXml()
277 element.setAttribute(ATTR_THEME, theme); in toXml()
280 element.setAttribute(ATTR_TARGET, Configuration.targetToString(target)); in toXml()
290 element.setAttribute(ATTR_LOCALE, value); in toXml()
294 element.setAttribute(ATTR_DEVICE, device.getName()); in toXml()
296 element.setAttribute(ATTR_STATE, state.getName()); in toXml()
301 element.setAttribute(ATTR_ACTIVITY, activity); in toXml()
305 element.setAttribute(ATTR_UIMODE, uiMode.getResourceValue()); in toXml()
309 element.setAttribute(ATTR_NIGHTMODE, nightMode.getResourceValue()); in toXml()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DBaseProjectHelper.java146 marker.setAttribute(IMarker.MESSAGE, message); in markResource()
147 marker.setAttribute(IMarker.SEVERITY, severity); in markResource()
156 marker.setAttribute(IMarker.LINE_NUMBER, lineNumber); in markResource()
160 marker.setAttribute(IMarker.CHAR_START, startOffset); in markResource()
161 marker.setAttribute(IMarker.CHAR_END, endOffset); in markResource()
213 marker.setAttribute(IMarker.MESSAGE, message); in markProject()
214 marker.setAttribute(IMarker.SEVERITY, severity); in markProject()
215 marker.setAttribute(IMarker.PRIORITY, priority); in markProject()
DXmlErrorHandler.java167 marker.setAttribute(AdtConstants.MARKER_ATTR_TYPE, in checkClass()
169 marker.setAttribute(AdtConstants.MARKER_ATTR_CLASS, className); in checkClass()
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DDebuggerConnector.java76 wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, in connectDebugger()
83 wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CONNECT_MAP, connectMap); in connectDebugger()
86 wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_VM_CONNECTOR, in connectDebugger()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/
DAndroidJUnitLaunchConfigurationTab.java490 config.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, in performApply()
492 config.setAttribute(JUnitLaunchConfigurationConstants.ATTR_TEST_CONTAINER, in performApply()
494 config.setAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, in performApply()
497 config.setAttribute(JUnitLaunchConfigurationConstants.ATTR_TEST_METHOD_NAME, in performApply()
500 config.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, in performApply()
502 config.setAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, in performApply()
504 config.setAttribute(JUnitLaunchConfigurationConstants.ATTR_TEST_CONTAINER, in performApply()
506 config.setAttribute(JUnitLaunchConfigurationConstants.ATTR_TEST_METHOD_NAME, in performApply()
517 config.setAttribute(AndroidJUnitLaunchConfigDelegate.ATTR_INSTR_NAME, in performApply()
519 config.setAttribute(AndroidJUnitLaunchConfigDelegate.ATTR_TEST_SIZE, in performApply()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilitiesTest.java70 foo1.setAttribute("attribute1", "value1"); in testIsEquivalent()
71 foo1.setAttribute("attribute2", "value2"); in testIsEquivalent()
73 foo2.setAttribute("attribute2", "value2"); in testIsEquivalent()
74 foo2.setAttribute("attribute1", "valueWrong"); in testIsEquivalent()
76 foo2.setAttribute("attribute1", "value1"); in testIsEquivalent()

123