Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 189) sorted by relevance

12345678

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttributeInfo.java204 @NonNull String value, in isValid()
214 if (value.isEmpty()) { in isValid()
222 char first = value.charAt(0); in isValid()
230 if (value.equals("@null")) { in isValid()
234 if (value.startsWith(NEW_ID_PREFIX) || value.startsWith(ID_PREFIX)) { in isValid()
242 if (value.startsWith(ANDROID_PREFIX) || value.startsWith(ANDROID_THEME_PREFIX)) { in isValid()
244 return frameworkResources.hasResourceItem(value); in isValid()
247 return projectResources.hasResourceItem(value); in isValid()
251 String url = value; in isValid()
271 } else if (value.startsWith(PREFIX_THEME_REF)) { in isValid()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/
DShaderUniformDetailsProvider.java69 Object value = valueProperty.getValue(); in updateControl() local
70 mTextControl.setText(formatUniform(name, type, value)); in updateControl()
78 private String formatUniform(String name, GLEnum type, Object value) { in formatUniform() argument
94 valueText = formatVector(value); in formatUniform()
97 valueText = formatMatrix(2, value); in formatUniform()
100 valueText = formatMatrix(3, value); in formatUniform()
103 valueText = formatMatrix(4, value); in formatUniform()
108 valueText = value.toString(); in formatUniform()
115 private String formatVector(Object value) { in formatVector() argument
116 if (value instanceof List<?>) { in formatVector()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcolor1-expected-completion46b.txt2 android:state_focused : State value for StateListDrawable, set when a view has input focus. [bool…
3 android:state_window_focused : State value for StateListDrawable, set when a view's window has inp…
4 android:state_enabled : State value for StateListDrawable, set when a view is enabled. [boolean]
7 android:state_selected : State value for StateListDrawable, set when a view (or one of its parents…
8 android:state_pressed : State value for StateListDrawable, set when the user is pressing down in a…
9 android:state_activated : State value for StateListDrawable, set when a view or its parent has bee…
10 android:state_active : State value for StateListDrawable. [boolean]
11 android:state_single : State value for StateListDrawable. [boolean]
12 android:state_first : State value for StateListDrawable. [boolean]
13 android:state_middle : State value for StateListDrawable. [boolean]
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DBooleanXmlPropertyEditor.java52 Object value = property.getValue(); in paint() local
53 assert value == null || value instanceof String; in paint()
54 if (value == null || value instanceof String) { in paint()
55 String text = (String) value; in paint()
103 Object value = property.getValue(); in cycleValue() local
104 if (value == null || value instanceof String) { in cycleValue()
106 String text = (String) value; in cycleValue()
DXmlPropertyComposite.java87 Object value = NO_VALUE; in getValue() local
90 if (value == NO_VALUE) { in getValue()
91 value = propertyValue; in getValue()
92 } else if (!Objects.equal(value, propertyValue)) { in getValue()
97 return value; in getValue()
101 public void setValue(final Object value) throws Exception { in setValue() argument
104 property.setValue(value); in setValue()
DValueCompleter.java135 for (String value : values) { in getProposals()
136 if (prefix.equals(value)) { in getProposals()
149 for (String value : values) { in getProposals()
150 if (SdkUtils.startsWithIgnoreCase(value, prefix)) { in getProposals()
151 if (prepend != null && prepend.contains(value)) { in getProposals()
156 match = prepend + value; in getProposals()
158 match = value; in getProposals()
167 for (String value : values) { in getProposals()
168 if (SdkUtils.startsWithIgnoreCase(value, prefix)) { in getProposals()
169 proposals.add(new ContentProposal(value)); in getProposals()
[all …]
DXmlPropertyEditor.java116 Object value = property.getValue(); in getText() local
117 if (value instanceof String) { in getText()
118 return (String) value; in getText()
147 String value = resValue.getValue(); in paint() local
148 if (value.startsWith(PREFIX_RESOURCE_REF) in paint()
149 || value.startsWith(PREFIX_THEME_REF)) { in paint()
152 || value.startsWith(ANDROID_PREFIX) in paint()
153 || value.startsWith(ANDROID_THEME_PREFIX); in paint()
155 if (v != null && !value.equals(v.getValue())) { in paint()
170 String value = resValue.getValue(); in paint() local
[all …]
DEnumXmlPropertyEditor.java36 Object value = property.getValue(); in getText() local
37 if (value == null) { in getText()
39 } else if (value instanceof String) { in getText()
40 return (String) value; in getText()
41 } else if (value == Property.UNKNOWN_VALUE) { in getText()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTypedVariable.java32 String value = attributes.getValue(TemplateHandler.ATTR_VALUE); in parseGlobal() local
37 return value; in parseGlobal()
39 return Boolean.parseBoolean(value); in parseGlobal()
42 return Integer.parseInt(value); in parseGlobal()
44 return value; in parseGlobal()
48 return value; in parseGlobal()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLStringProperty.java35 public void setValue(Object value) { in setValue() argument
36 if (value instanceof String) { in setValue()
37 mCurrentValue = (String) value; in setValue()
44 public void setValue(String value) { in setValue() argument
45 mCurrentValue = value; in setValue()
/sdk/eclipse/sites/internal/web/
Dsite.xsl13 <p class="bodyText"><xsl:value-of select="description"/></p>
21 <xsl:value-of select="@name"/>
24 <xsl:value-of select="@label"/>
42 <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@label"/></a>
45 …(<xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-of select="ancestor::feature//@versi…
49 …<a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-o…
58 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@os"/></td>
63 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@ws"/></td>
68 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@nl"/></td>
73 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@arch"/></td>
[all …]
/sdk/eclipse/sites/external/web/
Dsite.xsl13 <p class="bodyText"><xsl:value-of select="description"/></p>
21 <xsl:value-of select="@name"/>
24 <xsl:value-of select="@label"/>
42 <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@label"/></a>
45 …(<xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-of select="ancestor::feature//@versi…
49 …<a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-o…
58 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@os"/></td>
63 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@ws"/></td>
68 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@nl"/></td>
73 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@arch"/></td>
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DViewNode.java66 id = namedProperties.get("mID").value; in decode()
98 return Boolean.parseBoolean(p.value); in getBoolean()
110 return Integer.parseInt(p.value); in getInt()
167 public String value; field in ViewNode.Property
171 return name + '=' + value; in toString()
187 … return !(this.value != other.value && (this.value == null || !this.value.equals(other.value))); in equals()
194 hash = 61 * hash + (this.value != null ? this.value.hashCode() : 0); in hashCode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiAbstractTextAttributeNode.java56 public final void setCurrentValue(String value) { in setCurrentValue() argument
57 mCurrentValue = value; in setCurrentValue()
67 public abstract void setTextWidgetValue(String value); in setTextWidgetValue() argument
105 String value = getTextWidgetValue(); in commit() local
106 if (parent.commitAttributeToXml(this, value)) { in commit()
107 mCurrentValue = value; in commit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DDynamicIdMap.java62 Integer value = mDynamicIds.get(resource); in getId() local
63 if (value == null) { in getId()
64 value = Integer.valueOf(++mDynamicSeed); in getId()
65 mDynamicIds.put(resource, value); in getId()
66 mRevDynamicIds.put(value, resource); in getId()
69 return value; in getId()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
DTextValueCellEditor.java35 protected void doSetValue(Object value) { in doSetValue() argument
36 if (value instanceof UiAttributeNode) { in doSetValue()
37 super.doSetValue(((UiAttributeNode)value).getCurrentValue()); in doSetValue()
41 super.doSetValue(value); in doSetValue()
DFlagValueCellEditor.java49 protected void doSetValue(Object value) { in doSetValue() argument
50 if (value instanceof UiFlagAttributeNode) { in doSetValue()
51 mUiFlagAttribute = (UiFlagAttributeNode)value; in doSetValue()
56 super.doSetValue(value); in doSetValue()
DResourceValueCellEditor.java50 protected void doSetValue(Object value) { in doSetValue() argument
51 if (value instanceof UiResourceAttributeNode) { in doSetValue()
52 mUiResourceAttribute = (UiResourceAttributeNode)value; in doSetValue()
57 super.doSetValue(value); in doSetValue()
DEditableDialogCellEditor.java195 protected void updateContents(Object value) { in updateContents() argument
196 Assert.isTrue(text != null && (value == null || (value instanceof String))); in updateContents()
197 if (value != null) { in updateContents()
199 text.setText((String) value); in updateContents()
227 String value = text.getText(); in editOccured() local
228 if (value == null) { in editOccured()
229 value = "";//$NON-NLS-1$ in editOccured()
231 Object typedValue = value; in editOccured()
238 new Object[] { value })); in editOccured()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestInfo.java136 String value = activity.getAttributeNS(NS_RESOURCES, ATTRIBUTE_ICON); in ActivityAttributes() local
137 if (value != null && value.length() > 0) { in ActivityAttributes()
138 mIcon = value; in ActivityAttributes()
144 value = activity.getAttributeNS(NS_RESOURCES, ATTRIBUTE_LABEL); in ActivityAttributes()
145 if (value != null && value.length() > 0) { in ActivityAttributes()
146 mLabel = value; in ActivityAttributes()
152 value = activity.getAttributeNS(NS_RESOURCES, ATTRIBUTE_PARENT_ACTIVITY_NAME); in ActivityAttributes()
153 if (value == null || value.length() == 0) { in ActivityAttributes()
160 value = data.getAttributeNS(NS_RESOURCES, ATTRIBUTE_VALUE); in ActivityAttributes()
161 if (value != null) { in ActivityAttributes()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadata.java95 String value = parser.getAttributeValue(TOOLS_URI, name); in getProperty() local
96 if (value != null && value.isEmpty()) { in getProperty()
97 value = null; in getProperty()
100 return value; in getProperty()
152 String value = element.getAttributeNS(TOOLS_URI, name); in getProperty() local
153 if (value != null && value.isEmpty()) { in getProperty()
154 value = null; in getProperty()
157 return value; in getProperty()
176 @Nullable final String value) { in setProperty() argument
183 AdtUtils.setToolsAttribute(editor, element, undoLabel, name, value, in setProperty()
[all …]
DSimpleAttribute.java51 public SimpleAttribute(String uri, String name, String value) { in SimpleAttribute() argument
54 mValue = value == null ? "" : value; in SimpleAttribute()
91 static SimpleAttribute parseString(String value) { in parseString() argument
92 Matcher m = REGEXP.matcher(value); in parseString()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DPredicates.java28 public boolean apply(Object value) { in apply() argument
29 return value instanceof Integer && ((Integer) value).intValue() == mExpected; in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DConfigurationSelector.java671 String value = ((ResourceQualifier)element).getShortDisplayValue(); in getColumnText() local
672 if (value == null || value.length() == 0) { in getColumnText()
676 return value; in getColumnText()
765 String value = mText.getText(); in onTextChange() local
767 if (value.length() == 0) { in onTextChange()
775 CountryCodeQualifier.getFolderSegment(Integer.parseInt(value))); in onTextChange()
831 String value = mText.getText(); in onTextChange() local
833 if (value.length() == 0) { in onTextChange()
841 NetworkCodeQualifier.getFolderSegment(Integer.parseInt(value))); in onTextChange()
912 String value = mLanguage.getText(); in onLanguageChange() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/
DDebugPortProvider.java95 String value = store.getString(PREFS_STATIC_PORT_LIST); in computePortList() local
97 if (value != null && value.length() > 0) { in computePortList()
102 String[] portSegments = value.split("\\|"); //$NON-NLS-1$ in computePortList()
157 String value = sb.toString(); in setPortList() local
163 store.setValue(PREFS_STATIC_PORT_LIST, value); in setPortList()

12345678