Searched refs:attribute (Results 1 - 25 of 75) sorted by relevance

123

/frameworks/base/core/java/android/util/
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...]
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...]
/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
72 public int getAttributeListValue(String namespace, String attribute, argument
77 public boolean getAttributeBooleanValue(String namespace, String attribute, argument
82 public int getAttributeResourceValue(String namespace, String attribute, argument
87 public int getAttributeIntValue(String namespace, String attribute, argument
92 public int getAttributeUnsignedIntValue(String namespace, String attribute, argument
97 public float getAttributeFloatValue(String namespace, String attribute, argument
H A DBridgeXmlBlockParser.java374 public boolean getAttributeBooleanValue(String namespace, String attribute, argument
376 return mAttrib.getAttributeBooleanValue(namespace, attribute, defaultValue);
383 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { argument
384 return mAttrib.getAttributeFloatValue(namespace, attribute, defaultValue);
391 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { argument
392 return mAttrib.getAttributeIntValue(namespace, attribute, defaultValue);
399 public int getAttributeListValue(String namespace, String attribute, argument
401 return mAttrib.getAttributeListValue(namespace, attribute, options, defaultValue);
412 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { argument
413 return mAttrib.getAttributeResourceValue(namespace, attribute, defaultValu
420 getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) argument
[all...]
/frameworks/media/libvideoeditor/osal/src/
H A DM4OSA_Mutex.c60 pthread_mutexattr_t attribute = { 0 }; local
78 /* Initialize the mutex attribute. */
79 if ( 0 == pthread_mutexattr_init( &attribute ) )
82 if ( 0 == pthread_mutexattr_settype( &attribute, PTHREAD_MUTEX_RECURSIVE ) )
85 if (0 == pthread_mutex_init( &pMutexContext->mutex, &attribute ) )
91 /* Destroy the mutex attribute. */
92 pthread_mutexattr_destroy( &attribute );
H A DM4OSA_Thread.c210 pthread_attr_t attribute = { 0, 0, 0, 0, 0, 0 }; local
241 if ( 0 == pthread_attr_init( &attribute ) )
243 if ( 0 == pthread_attr_setdetachstate( &attribute, PTHREAD_CREATE_DETACHED ) )
245 if ( 0 == pthread_attr_setstacksize( &attribute, (size_t)threadContext->stackSize ) )
247 if ( 0 == pthread_attr_setschedpolicy( &attribute, SCHED_OTHER ) )
285 if ( 0 == pthread_attr_setschedparam( &attribute, &sched ) )
288 &attribute,
303 pthread_attr_destroy( &attribute );
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethod.aidl43 void startInput(in IInputContext inputContext, in EditorInfo attribute);
45 void restartInput(in IInputContext inputContext, in EditorInfo attribute);
/frameworks/base/media/java/android/media/videoeditor/
H A DVideoEditorImpl.java1377 serializer.attribute("",
1380 serializer.attribute("", ATTR_REGENERATE_PCM,
1386 serializer.attribute("", ATTR_ID, mediaItem.getId());
1387 serializer.attribute("", ATTR_TYPE,
1389 serializer.attribute("", ATTR_FILENAME, mediaItem.getFilename());
1390 serializer.attribute("", ATTR_RENDERING_MODE, Integer.toString(
1395 .attribute("", ATTR_BEGIN_TIME,
1397 serializer.attribute("", ATTR_END_TIME,
1399 serializer.attribute("", ATTR_VOLUME,
1401 serializer.attribute("", ATTR_MUTE
[all...]
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java314 public int getAttributeListValue(String namespace, String attribute, argument
316 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute);
322 public boolean getAttributeBooleanValue(String namespace, String attribute, argument
324 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute);
330 public int getAttributeResourceValue(String namespace, String attribute, argument
332 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute);
338 public int getAttributeIntValue(String namespace, String attribute, argument
340 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute);
346 public int getAttributeUnsignedIntValue(String namespace, String attribute, argument
349 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute);
355 getAttributeFloatValue(String namespace, String attribute, float defaultValue) argument
[all...]
/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/media/libvideoeditor/vss/common/inc/
H A DM4SYS_AccessUnit.h34 /** The attribute of a fragment*/
50 M4SYS_FragAttr isCorrupted; /**< The attribute of this fragment*/
53 /**< The attribute of an access unit*/
70 M4SYS_AU_Attr attribute; /**< The attribute of the access unit*/ member in struct:__anon1463
/frameworks/base/opengl/tests/configdump/
H A Dconfigdump.cpp25 EGLint attribute; member in struct:Attribute
81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value);
/frameworks/base/core/java/com/android/internal/util/
H A DXmlUtils.java217 * @param name Name attribute to include with this list's tag, or null for
240 out.attribute(null, "name", name);
256 * @param name Name attribute to include with this list's tag, or null for
276 out.attribute(null, "name", name);
299 out.attribute(null, "name", name);
314 * @param name Name attribute to include with this array's tag, or null for
333 out.attribute(null, "name", name);
337 out.attribute(null, "num", Integer.toString(N));
358 * @param name Name attribute to include with this array's tag, or null for
378 out.attribute(nul
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DEGLLogWrapper.java166 int attribute, int[] value) {
170 arg("attribute", attribute);
172 boolean result = mEgl10.eglGetConfigAttrib(display, config, attribute,
278 int attribute, int[] value) {
282 arg("attribute", attribute);
284 boolean result = mEgl10.eglQueryContext(display, context, attribute,
304 int attribute, int[] value) {
308 arg("attribute", attribut
165 eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value) argument
277 eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value) argument
303 eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
H A DEGL10.java105 boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); argument
114 boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value); argument
116 boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value); argument
/frameworks/base/services/java/com/android/server/pm/
H A DSettings.java695 serializer.attribute(null, "name", pkg.name);
697 serializer.attribute(null, "nl", "1");
870 serializer.attribute(null, "internal", Integer.toString(mInternalSdkPlatform));
871 serializer.attribute(null, "external", Integer.toString(mExternalSdkPlatform));
876 serializer.attribute(null, "device", mVerifierDeviceIdentity.toString());
910 serializer.attribute(null, "name", usr.name);
911 serializer.attribute(null, "userId",
917 serializer.attribute(null, "name", name);
927 serializer.attribute(null, "name", mPackagesToBeCleaned.get(i));
935 serializer.attribute(nul
[all...]
H A DPackageSignatures.java53 serializer.attribute(null, "count",
64 serializer.attribute(null, "index", Integer.toString(j));
70 serializer.attribute(null, "index", Integer.toString(numPast));
71 serializer.attribute(null, "key", sig.toCharsString());
/frameworks/base/core/java/android/content/
H A DSyncAdaptersCache.java81 out.attribute(null, "authority", item.authority);
82 out.attribute(null, "accountType", item.accountType);
/frameworks/base/opengl/tests/lib/
H A DglTestLib.cpp73 struct {EGLint attribute; const char* name;} names[] = { member in struct:__anon1156
111 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute,
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DBridgeXmlPullAttributes.java51 * the name of the attribute.
56 // get the attribute name.
59 // get the attribute namespace
71 // this is not an attribute in the android namespace, we query the customviewloader, if
99 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { argument
100 String value = getAttributeValue(namespace, attribute);
/frameworks/base/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/base/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.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/base/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java172 EGLConfig config, int attribute, int defaultValue) {
174 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) {
264 int attribute = attributes[i];
266 if ( egl.eglGetConfigAttrib(display, config, attribute, value)) {
171 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
/frameworks/base/services/java/com/android/server/
H A DPreferredComponent.java169 serializer.attribute(null, "name", mShortComponent);
171 serializer.attribute(null, "match", Integer.toHexString(mMatch));
173 serializer.attribute(null, "set", Integer.toString(NS));
176 serializer.attribute(null, "name", mSetComponents[s]);
/frameworks/media/libvideoeditor/osal/inc/
H A DM4OSA_FileCommon_priv.h86 M4OSA_FileAttribute* attribute);

Completed in 693 milliseconds

123