Home
last modified time | relevance | path

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

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DAccordionControl.java217 final CLabel label = new CLabel(this, SWT.SHADOW_OUT); in AccordionControl() local
218 label.setText(header.toString().replace("&", "&&")); //$NON-NLS-1$ //$NON-NLS-2$ in AccordionControl()
219 updateBackground(label, false); in AccordionControl()
223 label.setFont(labelFont); in AccordionControl()
224 label.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); in AccordionControl()
225 setHeader(header, label); in AccordionControl()
226 label.addMouseListener(new MouseAdapter() { in AccordionControl()
230 toggle(label, true, mSingle); in AccordionControl()
234 label.addMouseTrackListener(new MouseTrackListener() { in AccordionControl()
237 updateBackground(label, true); in AccordionControl()
[all …]
DDynamicContextMenu.java227 String label; in insertParentItems() local
229 label = BaseViewRule.stripIdPrefix(id); in insertParentItems()
232 label = parent.getFqcn(); in insertParentItems()
234 label = label.substring(label.lastIndexOf('.') + 1); in insertParentItems()
236 mMenuManager.insertBefore(endId, new NestedParentMenu(label, parent)); in insertParentItems()
418 String label = createActionLabel(action, nodes); in createToggleAction()
419 mEditorDelegate.getEditor().wrapUndoEditXmlModel(label, new Runnable() { in createToggleAction()
439 String label = createActionLabel(action, nodes); in createPlainAction()
440 mEditorDelegate.getEditor().wrapUndoEditXmlModel(label, new Runnable() { in createPlainAction()
477 String label = action.getTitle(); in createActionLabel() local
[all …]
DLintTooltip.java69 Label label = new Label(this, SWT.WRAP); in createContents() local
71 label.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false, 1, 1)); in createContents()
84 label.setText(String.format("%1$s: %2$s", id, message)); in createContents()
DLayoutActionBar.java159 String label = null; in updateSelection() local
170 label = selectedNode.getStringAttr(ANDROID_URI, ATTR_ID); in updateSelection()
171 if (label != null) { in updateSelection()
172 label = BaseViewRule.stripIdPrefix(label); in updateSelection()
180 updateToolbar(actions, index, label); in updateSelection()
187 final String label) { in updateToolbar() argument
195 addActions(actions, labelIndex, label); in updateToolbar()
268 private void addActions(List<RuleAction> actions, int labelIndex, String label) { in addActions() argument
280 button.setText(label); in addActions()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
DSectionHelper.java120 public Label createLabel(Composite parent, FormToolkit toolkit, String label, in createLabel() argument
122 return SectionHelper.createLabel(parent, toolkit, label, tooltip); in createLabel()
137 public Text createLabelAndText(Composite parent, FormToolkit toolkit, String label, in createLabelAndText() argument
139 return SectionHelper.createLabelAndText(parent, toolkit, label, value, tooltip); in createLabelAndText()
158 String label, boolean setupLayoutData) { in createFormText() argument
159 return SectionHelper.createFormText(parent, toolkit, isHtml, label, setupLayoutData); in createFormText()
245 Label label = toolkit.createLabel(parent, label_text); in createLabelAndText() local
246 label.setLayoutData(new TableWrapData(TableWrapData.LEFT, TableWrapData.MIDDLE)); in createLabelAndText()
250 addControlTooltip(label, tooltip); in createLabelAndText()
266 Label label = toolkit.createLabel(parent, label_text); in createLabel() local
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DViewHierarchyScene.java79 LabelWidget label = new LabelWidget(this); in createBox() local
80 label.setFont(getDefaultFont().deriveFont(Font.PLAIN, 12.0f)); in createBox()
81 label.setLabel(shortName); in createBox()
82 label.setBorder(BorderFactory.createEmptyBorder(6, 6, 0, 6)); in createBox()
83 label.setAlignment(LabelWidget.Alignment.CENTER); in createBox()
85 box.addChild(label); in createBox()
87 label = new LabelWidget(this); in createBox()
88 label.setFont(getDefaultFont().deriveFont(Font.PLAIN, 10.0f)); in createBox()
89 label.setLabel(getAddress(nodeName)); in createBox()
90 label.setBorder(BorderFactory.createEmptyBorder(3, 6, 0, 6)); in createBox()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
DProjectCheckPage.java89 Label label = new Label(projectComposite, SWT.NONE); in createControl() local
90 label.setLayoutData(gd = new GridData(GridData.FILL_HORIZONTAL)); in createControl()
92 label.setText("Select the project to export:"); in createControl()
198 Label label = new Label(mErrorComposite, SWT.NONE); in buildErrorUi() local
201 label.setLayoutData(gd); in buildErrorUi()
202 label.setText("No errors found. Click Next."); in buildErrorUi()
219 Label label = new Label(parent, SWT.NONE); in addError() local
220 label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); in addError()
221 label.setText(message); in addError()
239 Label label = new Label(parent, SWT.NONE); in addWarning() local
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DScreenViewer.java375 JLabel label; in LoupeStatus() local
377 add(label = new JLabel("#ffffff"), new GridBagConstraints(0, 2, 1, 1, 0.0f, 0.0f, in LoupeStatus()
380 label.setForeground(Color.WHITE); in LoupeStatus()
381 hLabel = label; in LoupeStatus()
383 add(label = new JLabel("R:"), new GridBagConstraints(1, 0, 1, 1, 0.0f, 0.0f, in LoupeStatus()
386 label.setForeground(Color.WHITE); in LoupeStatus()
387 add(label = new JLabel("255"), new GridBagConstraints(2, 0, 1, 1, 0.0f, 0.0f, in LoupeStatus()
390 label.setForeground(Color.WHITE); in LoupeStatus()
391 rLabel = label; in LoupeStatus()
393 add(label = new JLabel("G:"), new GridBagConstraints(1, 1, 1, 1, 0.0f, 0.0f, in LoupeStatus()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DImportInsteadPage.java38 CLabel label = new CLabel(container, SWT.NONE); in createControl() local
39 label.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, true, false, 1, 1)); in createControl()
40 label.setText( in createControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DUpdateToolsPage.java42 Label label = new Label(container, SWT.WRAP); in createControl() local
45 label.setLayoutData(layoutData); in createControl()
46 label.setText( in createControl()
DTemplateTestPage.java57 Label label = new Label(container, SWT.NONE); in createControl() local
58 label.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1)); in createControl()
59 label.setText("Template Location:"); in createControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DSeparatorAttributeDescriptor.java33 public SeparatorAttributeDescriptor(String label) { in SeparatorAttributeDescriptor() argument
34 super(label /* xmlLocalName */, null /* nsUri */, null /* info */); in SeparatorAttributeDescriptor()
/sdk/emulator/mksdcard/src/source/
Dmksdcard.c113 boot_sector_init( Bytes boot, Bytes info, Wide disk_size, const char* label ) in boot_sector_init() argument
121 if (label == NULL) in boot_sector_init()
122 label = "SDCARD"; in boot_sector_init()
151 strncpy( (char*)boot + 0x47, label, 11 ); /* Volume Label */ in boot_sector_init()
227 const char* label = NULL; in main() local
244 label = arg; in main()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringInputPage.java163 Label label = new Label(group, SWT.NONE); in createStringGroup() local
164 label.setText("&String"); in createStringGroup()
183 label = new Label(group, SWT.NONE); in createStringGroup()
184 label.setText("ID &R.string."); in createStringGroup()
186 label.setText("&Replace by R.string."); in createStringGroup()
188 label.setText("New &R.string."); in createStringGroup()
222 Label label; in createResFileGroup() local
223 label = new Label(group, SWT.NONE); in createResFileGroup()
224 label.setText("&Configuration:"); in createResFileGroup()
236 label = new Label(group, SWT.NONE); in createResFileGroup()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationChooser.java1045 String label = getRenderingTargetLabel(target, true); in selectTarget() local
1046 mTargetCombo.setText(label); in selectTarget()
1082 String label = getActivityLabel(fqcn, true); in selectActivity() local
1083 mActivityCombo.setText(label); in selectActivity()
1117 String label = Strings.nullToEmpty(getLocaleLabel(this, locale, true)); in selectLocale() local
1118 mLocaleCombo.setText(label); in selectLocale()
1190 String label = fqcn; in getActivityLabel() local
1191 int packageIndex = label.lastIndexOf('.'); in getActivityLabel()
1193 label = label.substring(packageIndex + 1); in getActivityLabel()
1195 int innerClass = label.lastIndexOf('$'); in getActivityLabel()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DEditTextRule.java68 final String label = hasFocus ? "Clear Focus" : "Request Focus"; in addContextMenuActions() local
77 selectedNode.editXml(label, new INodeHandler() { in addContextMenuActions()
92 actions.add(RuleAction.createAction("_setfocus", label, onChange, //$NON-NLS-1$ in addContextMenuActions()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiFlagAttributeNode.java87 Label label = toolkit.createLabel(parent, desc.getUiName()); in createUiControl() local
88 label.setLayoutData(new TableWrapData(TableWrapData.LEFT, TableWrapData.MIDDLE)); in createUiControl()
89 SectionHelper.addControlTooltip(label, DescriptorsUtils.formatTooltip(desc.getTooltip())); in createUiControl()
227 Label label = new Label(composite, SWT.NONE); in createDialogArea() local
228 label.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false)); in createDialogArea()
229 label.setText(String.format("Select the flag values for attribute %1$s:", in createDialogArea()
DUiSeparatorAttributeNode.java92 Label label = toolkit.createLabel(row, getDescriptor().getXmlLocalName()); in createUiControl() local
93 label.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false)); in createUiControl()
DUiListAttributeNode.java70 Label label = toolkit.createLabel(parent, desc.getUiName()); in createUiControl() local
71 label.setLayoutData(new TableWrapData(TableWrapData.LEFT, TableWrapData.MIDDLE)); in createUiControl()
72 SectionHelper.addControlTooltip(label, DescriptorsUtils.formatTooltip(desc.getTooltip())); in createUiControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/
DUsagePermissionPage.java66 Label label = new Label(container, SWT.WRAP); in createControl() local
69 label.setLayoutData(gd_lblByChoosingTo); in createControl()
70 label.setText(SdkStatsPermissionDialog.BODY_TEXT); in createControl()
/sdk/eclipse/sites/external/web/
Dsite.xsl16 <xsl:sort select="@label" order="ascending" case-order="upper-first"/>
24 <xsl:value-of select="@label"/>
41 <xsl:when test="ancestor::feature//@label">
42 <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@label"/></a>
113 <xsl:when test="@label">
114 <a href="{@url}"><xsl:value-of select="@label"/></a>
168 <xsl:when test="@label">
169 <a href="{@url}"><xsl:value-of select="@label"/></a>
/sdk/eclipse/sites/internal/web/
Dsite.xsl16 <xsl:sort select="@label" order="ascending" case-order="upper-first"/>
24 <xsl:value-of select="@label"/>
41 <xsl:when test="ancestor::feature//@label">
42 <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@label"/></a>
113 <xsl:when test="@label">
114 <a href="{@url}"><xsl:value-of select="@label"/></a>
168 <xsl:when test="@label">
169 <a href="{@url}"><xsl:value-of select="@label"/></a>
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiPackageAttributeNode.java97 StringBuilder label = new StringBuilder(); in createUiControl() local
98 label.append("<form><p><a href='unused'>"); //$NON-NLS-1$ in createUiControl()
99 label.append(desc.getUiName()); in createUiControl()
100 label.append("</a></p></form>"); //$NON-NLS-1$ in createUiControl()
102 label.toString(), true /* setupLayoutData */); in createUiControl()
DUiManifestPkgAttrNode.java97 StringBuilder label = new StringBuilder(); in createUiControl() local
98 label.append("<form><p><a href='unused'>"); //$NON-NLS-1$ in createUiControl()
99 label.append(desc.getUiName()); in createUiControl()
100 label.append("</a></p></form>"); //$NON-NLS-1$ in createUiControl()
102 label.toString(), true /* setupLayoutData */); in createUiControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/templates/
Dactivity.template2 android:label="APPLICATION_NAME">

123