Searched defs:attr (Results 1 - 25 of 50) sorted by relevance

12

/frameworks/av/include/media/
H A DAudioPolicyHelper.h21 static audio_stream_type_t audio_attributes_to_stream_type(const audio_attributes_t *attr) argument
24 if ((attr->flags & AUDIO_FLAG_AUDIBILITY_ENFORCED) == AUDIO_FLAG_AUDIBILITY_ENFORCED) {
27 if ((attr->flags & AUDIO_FLAG_SCO) == AUDIO_FLAG_SCO) {
32 switch (attr->usage) {
65 audio_attributes_t *attr) {
66 memset(attr, 0, sizeof(audio_attributes_t));
71 attr->content_type = AUDIO_CONTENT_TYPE_MUSIC;
72 attr->usage = AUDIO_USAGE_MEDIA;
75 attr->content_type = AUDIO_CONTENT_TYPE_SPEECH;
76 attr
64 stream_type_to_audio_attributes(audio_stream_type_t streamType, audio_attributes_t *attr) argument
[all...]
/frameworks/base/libs/androidfw/tests/data/app/
H A DR.h23 namespace attr { namespace in namespace:app::R
/frameworks/base/libs/androidfw/tests/data/lib/
H A DR.h23 namespace attr { namespace in namespace:lib::R
/frameworks/base/libs/androidfw/tests/data/system/
H A DR.h23 namespace attr { namespace in namespace:android::R
/frameworks/base/tools/aapt/
H A DAaptXml.h38 const char* attr, android::String8* outError = NULL);
54 const char* attr, int32_t defValue = -1, android::String8* outError = NULL);
62 const char* attr, android::String8* outError) {
63 return getIntegerAttribute(tree, ns, attr, -1, outError);
61 getIntegerAttribute(const android::ResXMLTree& tree, const char* ns, const char* attr, android::String8* outError) argument
H A DAaptXml.cpp80 const char* attr, String8* outError) {
81 ssize_t idx = tree.indexOfAttribute(ns, attr);
124 const char* attr, int32_t defValue, String8* outError) {
125 ssize_t idx = tree.indexOfAttribute(ns, attr);
79 getAttribute(const ResXMLTree& tree, const char* ns, const char* attr, String8* outError) argument
123 getIntegerAttribute(const ResXMLTree& tree, const char* ns, const char* attr, int32_t defValue, String8* outError) argument
/frameworks/compile/mclinker/include/mcld/MC/
H A DInputFactory.h46 /// attr - the last touched attribute.
47 const AttributeProxy& attr() const { return *m_pLast; } function in class:mcld::InputFactory
48 AttributeProxy& attr() { return *m_pLast; } function in class:mcld::InputFactory
H A DAttribute.h198 const Attribute* attr() const function in class:mcld::AttributeProxy
/frameworks/av/media/libstagefright/tests/
H A DDummyRecorder.cpp43 pthread_attr_t attr; local
44 pthread_attr_init(&attr);
45 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
46 int err = pthread_create(&mThread, &attr, threadWrapper, this);
47 pthread_attr_destroy(&attr);
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DR$attr.class ... android.layoutlib.test.myapplication.R$attr extends java.lang.Object { public void " href= ...
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouterThemeHelper.java35 public static int getThemeResource(Context context, int attr) { argument
37 return context.getTheme().resolveAttribute(attr, value, true) ? value.resourceId : 0;
40 public static Drawable getThemeDrawable(Context context, int attr) { argument
41 int res = getThemeResource(context, attr);
47 return context.getTheme().resolveAttribute(R.attr.isLightTheme, value, true)
/frameworks/base/include/androidfw/
H A DAttributeFinder.h25 static inline uint32_t getPackage(uint32_t attr) { argument
26 return attr >> 24;
61 Iterator find(uint32_t attr);
145 Iterator BackTrackingAttributeFinder<Derived, Iterator>::find(uint32_t attr) { argument
162 const uint32_t needlePackageId = getPackage(attr);
171 if (needlePackageId == haystackPackageId && attr < mCurrentAttr) {
196 if (attr == prevAttr) {
/frameworks/base/libs/androidfw/tests/data/basic/
H A DR.h23 namespace attr { namespace in namespace:base::R
/frameworks/compile/mclinker/unittests/
H A DLinkerTest.cpp409 LDSection* attr = builder.CreateELFHeader(*input, local
415 SectionData* attr_data = builder.CreateSectionData(*attr);
448 ResolveInfo::Define, ResolveInfo::Local, 0, 0x0, attr);
/frameworks/av/media/libstagefright/
H A DAMRWriter.cpp134 pthread_attr_t attr; local
135 pthread_attr_init(&attr);
136 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
141 pthread_create(&mThread, &attr, ThreadWrapper, this);
142 pthread_attr_destroy(&attr);
H A DAACWriter.cpp144 pthread_attr_t attr; local
145 pthread_attr_init(&attr);
146 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
151 pthread_create(&mThread, &attr, ThreadWrapper, this);
152 pthread_attr_destroy(&attr);
H A DTimedEventQueue.cpp67 pthread_attr_t attr; local
68 pthread_attr_init(&attr);
69 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
71 pthread_create(&mThread, &attr, ThreadWrapper, this);
73 pthread_attr_destroy(&attr);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DClassHasNativeVisitor.java61 public void visitAttribute(Attribute attr) { argument
/frameworks/compile/mclinker/lib/CodeGen/
H A DMCLinker.cpp323 cl::list<bool>::iterator attr, attrBegin, attrEnd; local
326 for (attr = attrBegin; attr != attrEnd; ++attr) {
327 unsigned int pos = ArgWholeArchiveList.getPosition(attr - attrBegin);
334 for (attr = attrBegin; attr != attrEnd; ++attr) {
335 unsigned int pos = ArgNoWholeArchiveList.getPosition(attr - attrBegin);
342 for (attr
[all...]
/frameworks/compile/mclinker/tools/mcld/lib/
H A DPositionalOptions.cpp252 llvm::cl::list<bool>::iterator attr, attrBegin, attrEnd; local
255 for (attr = attrBegin; attr != attrEnd; ++attr) {
256 unsigned int pos = m_WholeArchiveList.getPosition(attr - attrBegin);
263 for (attr = attrBegin; attr != attrEnd; ++attr) {
264 unsigned int pos = m_NoWholeArchiveList.getPosition(attr - attrBegin);
271 for (attr
[all...]
/frameworks/wilhelm/src/itf/
H A DIPlay.c32 unsigned attr = ATTR_NONE; local
57 attr = ATTR_PLAY_STATE;
62 attr |= ATTR_BQ_ENQUEUE;
100 attr = ATTR_PLAY_STATE;
105 interface_unlock_exclusive_attributes(thiz, attr);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java49 public KeyguardSecurityViewFlipper(Context context, AttributeSet attr) { argument
50 super(context, attr);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DTintManager.java45 * Drawables which should be tinted with the value of {@code R.attr.colorControlNormal},
67 * Drawables which should be tinted with the value of {@code R.attr.colorControlActivated},
77 * Drawables which should be tinted with the value of {@code android.R.attr.colorBackground},
88 * {@code R.attr.colorControlNormal} and {@code R.attr.colorControlActivated}
167 colorAttr = R.attr.colorControlNormal;
170 colorAttr = R.attr.colorControlActivated;
173 colorAttr = android.R.attr.colorBackground;
177 colorAttr = android.R.attr.colorForeground;
235 final int colorControlNormal = getThemeAttrColor(R.attr
356 getThemeAttrColor(int attr) argument
368 getThemeAttrColor(int attr, float alpha) argument
376 getDisabledThemeAttrColor(int attr) argument
[all...]
/frameworks/av/media/libstagefright/webm/
H A DWebmFrameThread.cpp40 pthread_attr_t attr; local
41 pthread_attr_init(&attr);
42 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
43 pthread_create(&mThread, &attr, WebmFrameThread::wrap, this);
44 pthread_attr_destroy(&attr);
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterfaceImplLegacy.cpp233 status_t AudioPolicyService::getInputForAttr(const audio_attributes_t *attr, argument
245 audio_source_t inputSource = attr->source;
563 status_t AudioPolicyService::getOutputForAttr(const audio_attributes_t *attr, argument
573 if (attr != NULL) {
574 *stream = audio_attributes_to_stream_type(attr);

Completed in 3321 milliseconds

12