Searched defs:attribute (Results 1 - 25 of 74) sorted by relevance

123

/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
H A DInverseBindingAdapter.java25 * @InverseBindingAdapter(attribute = "android:text", event = "android:textAttrChanged")
37 * The default value for event is the attribute name suffixed with "AttrChanged". In the
41 * The event attribute is used to notify the data binding system that the value has changed.
82 * The attribute that the value is to be retrieved for.
84 String attribute(); method in interface:InverseBindingAdapter
H A DInverseBindingMethod.java29 * attribute = "android:text",
35 * <code>method</code> is optional. If it isn't provided, the attribute name is used to
36 * find the method name, either prefixing with "is" or "get". For the attribute
41 * attribute name suffixed with <code>AttrChanged</code>. For the <code>android:text</code>
42 * attribute, the default event name would be <code>android:textAttrChanged</code>. The event
78 * The View type that is associated with the attribute.
83 * The attribute that supports two-way binding.
85 String attribute(); method in interface:InverseBindingMethod
88 * The event used to notify the data binding system that the attribute value has changed.
89 * Defaults to attribute()
[all...]
H A DBindingMethod.java22 * Used within an {@link BindingMethods} annotation to describe a renaming of an attribute to
23 * the setter used to set that attribute. By default, an attribute attr will be associated with
30 * @return the View Class that the attribute is associated with.
35 * @return The attribute to rename. Use android: namespace for all android attributes or
38 String attribute(); method in interface:BindingMethod
41 * @return The method to call to set the attribute value.
/frameworks/native/opengl/tests/configdump/
H A Dconfigdump.cpp26 EGLint attribute; member in struct:Attribute
84 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value);
/frameworks/native/opengl/tests/lib/
H A DglTestLib.cpp72 struct {EGLint attribute; const char* name;} names[] = { member in struct:__anon1834
110 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute,
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DResourceHelper.java30 * Get a color value from a theme attribute.
32 * @param attribute theme attribute.
36 public static int getThemeColor(Context context, int attribute, int defaultColor) { argument
45 TypedArray ta = theme.obtainStyledAttributes(new int[] {attribute});
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DResourceHelper.java30 * Get a color value from a theme attribute.
32 * @param attribute theme attribute.
36 public static int getThemeColor(Context context, int attribute, int defaultColor) { argument
45 TypedArray ta = theme.obtainStyledAttributes(new int[] {attribute});
/frameworks/base/core/java/android/util/
H A DAttributeSet.java26 * the Resources API will convert resource references (attribute values such as
32 * application of themes and styles when retrieving attribute values.
56 * identifier associated with a particular XML attribute name.
67 * Returns the name of the specified attribute.
69 * @param index Index of the desired attribute, 0...count-1.
71 * @return A String containing the name of the attribute, or null if the
72 * attribute cannot be found.
77 * Returns the value of the specified attribute as a string representation.
79 * @param index Index of the desired attribute, 0...count-1.
81 * @return A String containing the value of the attribute, o
135 getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) argument
147 getAttributeBooleanValue(String namespace, String attribute, boolean defaultValue) argument
165 getAttributeResourceValue(String namespace, String attribute, int defaultValue) argument
177 getAttributeIntValue(String namespace, String attribute, int defaultValue) argument
191 getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) argument
203 getAttributeFloatValue(String namespace, String attribute, float defaultValue) argument
[all...]
H A DXmlPullAttributes.java57 public int getAttributeListValue(String namespace, String attribute, argument
60 getAttributeValue(namespace, attribute), options, defaultValue);
63 public boolean getAttributeBooleanValue(String namespace, String attribute, argument
66 getAttributeValue(namespace, attribute), defaultValue);
69 public int getAttributeResourceValue(String namespace, String attribute, argument
72 getAttributeValue(namespace, attribute), defaultValue);
75 public int getAttributeIntValue(String namespace, String attribute, argument
78 getAttributeValue(namespace, attribute), defaultValue);
81 public int getAttributeUnsignedIntValue(String namespace, String attribute, argument
84 getAttributeValue(namespace, attribute), defaultValu
87 getAttributeFloatValue(String namespace, String attribute, float defaultValue) argument
[all...]
/frameworks/base/tools/aapt2/
H A DValueVisitor.h65 void VisitSubValues(Attribute* attribute) { argument
66 for (Attribute::Symbol& symbol : attribute->symbols) {
/frameworks/base/tools/aapt2/link/
H A DXmlReferenceLinker.cpp91 // If the attribute has no namespace, interpret values as if
94 const Attribute* attribute = &kDefaultAttribute; variable
99 // There is a valid package name for this attribute. We will look this up.
114 context_->GetDiagnostics()->Error(DiagMessage(source) << "attribute '"
121 attribute = &attr.compiled_attribute.value().attribute;
124 attr.compiled_value = ResourceUtils::TryParseItemForAttribute(attr.value, attribute);
129 } else if ((attribute->type_mask & android::ResTable_map::TYPE_STRING) == 0) {
133 << "is incompatible with attribute ";
137 msg << attr.name << " " << *attribute;
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DBridgeXmlPullAttributes.java74 * the name of the attribute.
79 // get the attribute name.
82 // get the attribute namespace
90 // this is not an attribute in the android namespace, we query the customviewloader, if
103 public int getAttributeListValue(String namespace, String attribute, argument
105 String value = getAttributeValue(namespace, attribute);
120 public boolean getAttributeBooleanValue(String namespace, String attribute, argument
122 String value = getAttributeValue(namespace, attribute);
137 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { argument
138 String value = getAttributeValue(namespace, attribute);
144 getAttributeIntValue(String namespace, String attribute, int defaultValue) argument
179 getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) argument
196 getAttributeFloatValue(String namespace, String attribute, float defaultValue) argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DProcessMethodAdapters.java101 L.e(element, "@BindingAdapter requires at least one attribute. %s",
137 final String attribute = bindingAdapter.value()[0];
138 store.addBindingAdapter(processingEnv, attribute, executableElement,
185 private static void warnAttributeNamespace(Element element, String attribute) { argument
186 if (attribute.contains(":") && !attribute.startsWith("android:")) {
187 L.w(element, "Application namespace for attribute %s will be ignored.", attribute);
192 for (String attribute : attributes) {
193 warnAttributeNamespace(element, attribute);
[all...]
/frameworks/rs/driver/
H A DrsdGL.cpp85 struct {EGLint attribute; const char* name;} names[] = { member in struct:__anon1987
123 EGLBoolean returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
/frameworks/base/core/java/android/content/pm/
H A DIntentFilterVerificationInfo.java124 String getStringFromXml(XmlPullParser parser, String attribute, String defaultValue) { argument
125 String value = parser.getAttributeValue(null, attribute);
127 String msg = "Missing element under " + TAG +": " + attribute + " at " +
136 int getIntFromXml(XmlPullParser parser, String attribute, int defaultValue) { argument
137 String value = parser.getAttributeValue(null, attribute);
139 String msg = "Missing element under " + TAG +": " + attribute + " at " +
186 serializer.attribute(null, ATTR_PACKAGE_NAME, mPackageName);
187 serializer.attribute(null, ATTR_STATUS, String.valueOf(mMainStatus));
190 serializer.attribute(null, ATTR_DOMAIN_NAME, str);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethod.java145 * @param attribute The attribute of the text box (typically, a EditText)
150 public void restartInput(InputConnection inputConnection, EditorInfo attribute); argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DCrossProfileIntentFilter.java101 String getStringFromXml(XmlPullParser parser, String attribute, String defaultValue) { argument
102 String value = parser.getAttributeValue(null, attribute);
104 String msg = "Missing element under " + TAG +": " + attribute + " at " +
113 int getIntFromXml(XmlPullParser parser, String attribute, int defaultValue) { argument
114 String stringValue = getStringFromXml(parser, attribute, null);
122 serializer.attribute(null, ATTR_TARGET_USER_ID, Integer.toString(mTargetUserId));
123 serializer.attribute(null, ATTR_FLAGS, Integer.toString(mFlags));
124 serializer.attribute(null, ATTR_OWNER_PACKAGE, mOwnerPackage);
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.h60 : id(i), attribute(attr), is_public(pub) {
69 std::shared_ptr<Attribute> attribute; member in struct:aapt::SymbolTable::Symbol
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeLayoutParamsMapAttributes.java26 * An implementation of the {@link AttributeSet} interface on top of a map of attribute in the form
79 public int getAttributeListValue(String namespace, String attribute, argument
85 public boolean getAttributeBooleanValue(String namespace, String attribute, argument
91 public int getAttributeResourceValue(String namespace, String attribute, argument
97 public int getAttributeIntValue(String namespace, String attribute, argument
103 public int getAttributeUnsignedIntValue(String namespace, String attribute, argument
109 public float getAttributeFloatValue(String namespace, String attribute, argument
/frameworks/compile/mclinker/include/mcld/
H A DLinkerConfig.h27 * attribute() - the attribute options
69 const AttributeOption& attribute() const { return m_Attribute; } function in class:mcld::LinkerConfig
70 AttributeOption& attribute() { return m_Attribute; } function in class:mcld::LinkerConfig
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DFieldAccessExpr.java109 L.e("Could not resolve %s.%s as an accessor or listener on the attribute.",
207 // This is a binding to a View's attribute, so look for matching attribute
220 // the View and change the value when the target View's attribute changes.
227 L.e("Could not resolve the two-way binding attribute '%s' on type '%s'",
249 private static boolean attributeMatchesName(String attribute, String field) { argument
250 int colonIndex = attribute.indexOf(':');
251 return attribute.substring(colonIndex + 1).equals(field);
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java382 private static String subtag(String full, String attribute) { argument
383 int start = full.indexOf(attribute);
388 start += attribute.length();
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodWrapper.java258 EditorInfo attribute, boolean restarting) {
260 missingMethods, restarting ? 1 : 0, startInputToken, inputContext, attribute));
256 startInput(IBinder startInputToken, IInputContext inputContext, @InputConnectionInspector.MissingMethodFlags final int missingMethods, EditorInfo attribute, boolean restarting) argument
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java167 public XmlSerializer attribute(String namespace, String name, String value) throws IOException, method in class:FastXmlSerializer
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.h86 : attribute(attr), id(resid) {
89 aapt::Attribute attribute; member in struct:aapt::xml::AaptAttribute
94 * An XML attribute.

Completed in 424 milliseconds

123