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

123

/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
H A DBindingMethod.java19 * Used within an {@link BindingMethods} annotation to describe a renaming of an attribute to
20 * the setter used to set that attribute. By default, an attribute attr will be associated with
26 * @return the View Class that the attribute is associated with.
31 * @return The attribute to rename. Use android: namespace for all android attributes or
34 String attribute(); method in interface:BindingMethod
37 * @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.cpp73 struct {EGLint attribute; const char* name;} names[] = { member in struct:__anon1464
111 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].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/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.java95 L.e("@BindingAdapter requires at least one attribute. %s", element);
129 final String attribute = bindingAdapter.value()[0];
131 store.addBindingAdapter(processingEnv, attribute, executableElement,
177 private static void warnAttributeNamespace(String attribute) { argument
178 if (attribute.contains(":") && !attribute.startsWith("android:")) {
179 L.w("Application namespace for attribute %s will be ignored.", attribute);
184 for (String attribute : attributes) {
185 warnAttributeNamespace(attribute);
[all...]
/frameworks/rs/driver/
H A DrsdGL.cpp89 struct {EGLint attribute; const char* name;} names[] = { member in struct:__anon1559
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
H A DBridgeIInputMethodManager.java188 EditorInfo attribute, int controlFlags) throws RemoteException {
230 int controlFlags, int softInputMode, int windowFlags, EditorInfo attribute,
187 startInput(IInputMethodClient client, IInputContext inputContext, EditorInfo attribute, int controlFlags) argument
229 windowGainedFocus(IInputMethodClient client, IBinder windowToken, int controlFlags, int softInputMode, int windowFlags, EditorInfo attribute, IInputContext inputContext) 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.java261 public void startInput(IInputContext inputContext, EditorInfo attribute) { argument
263 inputContext, attribute));
267 public void restartInput(IInputContext inputContext, EditorInfo attribute) { argument
269 inputContext, attribute));
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java166 public XmlSerializer attribute(String namespace, String name, String value) throws IOException, method in class:FastXmlSerializer
/frameworks/base/libs/hwui/tests/
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/
H A DLinker.cpp142 const Attribute* Linker::doResolveAttribute(Reference& attribute, const SourceLine& source) { argument
143 Maybe<IResolver::Entry> result = mResolver->findAttribute(attribute.name);
145 addUnresolvedSymbol(attribute.name, source);
153 attribute.id = entry.id;
155 attribute.id = 0;
229 << " is not compatible with attribute "
H A DSourceXmlPullParser.cpp182 * Extracts the namespace and name of an expanded element or attribute name.
223 Attribute attribute; local
224 splitName(*attrs++, attribute.namespaceUri, attribute.name);
225 attribute.value = util::utf8ToUtf16(*attrs++);
228 auto iter = std::lower_bound(data.attributes.begin(), data.attributes.end(), attribute);
229 data.attributes.insert(iter, std::move(attribute));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java332 * Looks for an attribute in the current theme.
335 * @param name the name of the attribute
337 * @param isFrameworkAttr if the attribute is in android namespace
338 * @return the value of the attribute or the default one if not found.
380 * Returns the raw value from the given attribute float-type value string.
383 public static TypedValue getValue(String attribute, String value, boolean requireUnit) { argument
384 if (parseFloatAttribute(attribute, value, mValue, requireUnit)) {
392 * Parse a float attribute and return the parsed value into a given TypedValue.
393 * @param attribute the name of the attribute
399 parseFloatAttribute(String attribute, @NonNull String value, TypedValue outValue, boolean requireUnit) argument
[all...]
/frameworks/compile/mclinker/include/mcld/MC/
H A DInput.h79 const Attribute* attribute() const { return m_pAttr; } function in class:mcld::Input
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp66 static const char gVertexShader[] = "attribute vec4 vPosition;\n"
181 struct {EGLint attribute; const char* name;} names[] = { member in struct:__anon1457
219 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java169 EGLConfig config, int attribute, int defaultValue) {
171 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) {
261 int attribute = attributes[i];
263 if ( egl.eglGetConfigAttrib(display, config, attribute, value)) {
168 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp100 struct {EGLint attribute; const char* name;} names[] = { member in struct:__anon1460
138 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);

Completed in 740 milliseconds

123