Searched defs:attribute (Results 1 - 25 of 68) 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.cpp25 EGLint attribute; member in struct:Attribute
81 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:__anon1528
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.h62 void visitSubValues(Attribute* attribute) { argument
63 for (Attribute::Symbol& symbol : attribute->symbols) {
/frameworks/base/tools/aapt2/link/
H A DXmlReferenceLinker.cpp83 // There is a valid package name for this attribute. We will look this up.
97 // Convert the string value into a compiled Value if this is a valid attribute.
108 const Attribute* attribute = &attr.compiledAttribute.value().attribute; variable
110 attribute);
112 !(attribute->typeMask & android::ResTable_map::TYPE_STRING)) {
116 << "is incompatible with attribute "
118 << *attribute);
124 << "attribute '" << package << ":"
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.h65 id(i), attribute(attr), isPublic(pub) {
74 std::shared_ptr<Attribute> attribute; member in struct:aapt::SymbolTable::Symbol
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DBridgeXmlPullAttributes.java50 * the name of the attribute.
55 // get the attribute name.
58 // get the attribute namespace
70 // this is not an attribute in the android namespace, we query the customviewloader, if
83 public int getAttributeListValue(String namespace, String attribute, argument
85 String value = getAttributeValue(namespace, attribute);
100 public boolean getAttributeBooleanValue(String namespace, String attribute, argument
102 String value = getAttributeValue(namespace, attribute);
117 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { argument
118 String value = getAttributeValue(namespace, attribute);
124 getAttributeIntValue(String namespace, String attribute, int defaultValue) argument
141 getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) argument
158 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.cpp89 struct {EGLint attribute; const char* name;} names[] = { member in struct:__anon1650
127 EGLBoolean returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
/frameworks/base/core/java/android/content/pm/
H A DIntentFilterVerificationInfo.java114 String getStringFromXml(XmlPullParser parser, String attribute, String defaultValue) { argument
115 String value = parser.getAttributeValue(null, attribute);
117 String msg = "Missing element under " + TAG +": " + attribute + " at " +
126 int getIntFromXml(XmlPullParser parser, String attribute, int defaultValue) { argument
127 String value = parser.getAttributeValue(null, attribute);
129 String msg = "Missing element under " + TAG +": " + attribute + " at " +
174 serializer.attribute(null, ATTR_PACKAGE_NAME, mPackageName);
175 serializer.attribute(null, ATTR_STATUS, String.valueOf(mMainStatus));
178 serializer.attribute(null, ATTR_DOMAIN_NAME, str);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethod.java143 * @param attribute The attribute of the text box (typically, a EditText)
148 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/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/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.java268 EditorInfo attribute) {
270 missingMethods, inputContext, attribute));
276 EditorInfo attribute) {
278 missingMethods, inputContext, attribute));
266 startInput(IInputContext inputContext, @InputConnectionInspector.MissingMethodFlags final int missingMethods, EditorInfo attribute) argument
274 restartInput(IInputContext inputContext, @InputConnectionInspector.MissingMethodFlags final int missingMethods, EditorInfo attribute) 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/libs/hwui/debug/
H A Dnullegl.cpp99 EGLint attribute, EGLint *value) {
109 EGLint attribute, EGLint value) {
98 eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value) argument
108 eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) argument
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.h72 aapt::Attribute attribute; member in struct:aapt::xml::AaptAttribute
76 * An XML attribute.

Completed in 1508 milliseconds

123