/frameworks/av/include/media/ |
H A D | AudioPolicyHelper.h | 21 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/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ThemeUtils.java | 33 static final int[] DISABLED_STATE_SET = new int[]{-android.R.attr.state_enabled}; 34 static final int[] FOCUSED_STATE_SET = new int[]{android.R.attr.state_focused}; 35 static final int[] ACTIVATED_STATE_SET = new int[]{android.R.attr.state_activated}; 36 static final int[] PRESSED_STATE_SET = new int[]{android.R.attr.state_pressed}; 37 static final int[] CHECKED_STATE_SET = new int[]{android.R.attr.state_checked}; 38 static final int[] SELECTED_STATE_SET = new int[]{android.R.attr.state_selected}; 40 -android.R.attr.state_pressed, -android.R.attr.state_focused}; 65 public static int getThemeAttrColor(Context context, int attr) { argument 66 TEMP_ARRAY[0] = attr; 75 getThemeAttrColorStateList(Context context, int attr) argument 85 getDisabledThemeAttrColor(Context context, int attr) argument 111 getThemeAttrColor(Context context, int attr, float alpha) argument [all...] |
/frameworks/base/docs/html/ndk/reference/ |
H A D | dynsections.js | 3 var base = $(linkObj).attr('id'); 7 var src=$(trigger).attr('src'); 12 $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); 17 $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); 34 i.attr('src','ftv2folderopen.png'); 35 a.attr('src','ftv2mnode.png'); 38 i.attr('src','ftv2folderclosed.png'); 39 a.attr('src','ftv2pnode.png'); 65 currentRowImages.filter("[id^=arr]").attr('src', 'ftv2pnode.png'); 66 currentRowImages.filter("[id^=img]").attr('sr [all...] |
/frameworks/base/libs/androidfw/tests/data/app/ |
H A D | R.h | 23 namespace attr { namespace in namespace:app::R
|
/frameworks/base/libs/androidfw/tests/data/lib/ |
H A D | R.h | 23 namespace attr { namespace in namespace:lib::R
|
/frameworks/base/tools/aapt2/ |
H A D | ProguardRules.cpp | 89 for (const auto& attr : node->attributes) { 90 if (checkClass && attr.namespaceUri.empty() && attr.name == u"class" && 91 util::isJavaClassName(attr.value)) { 92 addClass(node->lineNumber, attr.value); 93 } else if (checkName && attr.namespaceUri == kSchemaAndroid && attr.name == u"name" && 94 util::isJavaClassName(attr.value)) { 95 addClass(node->lineNumber, attr.value); 96 } else if (attr 116 xml::Attribute* attr = node->findAttribute(kSchemaAndroid, u"fragment"); variable 134 xml::Attribute* attr = node->findAttribute({}, u"class"); variable 152 xml::Attribute* attr = node->findAttribute({}, u"package"); variable 158 xml::Attribute* attr = node->findAttribute(kSchemaAndroid, u"backupAgent"); variable 173 xml::Attribute* attr = node->findAttribute(kSchemaAndroid, u"name"); variable [all...] |
H A D | BindingXmlPullParser.cpp | 74 for (auto attr = mParser->beginAttributes(); attr != endAttrIter; ++attr) { 75 if (attr->namespaceUri == kAndroidNamespaceUri && attr->name == u"id") { 76 idValue = util::utf16ToUtf8(attr->value); 78 StringPiece16 value = util::trimWhitespace(attr->value); 84 attr->namespaceUri, 85 attr->name, 90 mAttributes.emplace_back(*attr); [all...] |
H A D | Linker.cpp | 144 if (!result || !result.value().attr) { 157 return entry.attr; 187 const Attribute& attr, std::unique_ptr<Item>& value) { 200 convertedValue = ResourceParser::parseItemForAttribute(*str.value, attr, 202 if (!convertedValue && attr.typeMask & android::ResTable_map::TYPE_STRING) { 225 const uint32_t typeMask = attr.typeMask | android::ResTable_map::TYPE_REFERENCE; 230 << attr 245 const Attribute* attr = doResolveAttribute(styleEntry.key, args.source); local 246 if (attr) { 247 processAttributeValue(args.referrer, args.source, *attr, styleEntr 186 processAttributeValue(const ResourceNameRef& name, const SourceLine& source, const Attribute& attr, std::unique_ptr<Item>& value) argument 252 visit(Attribute& attr, ValueVisitorArgs& a) argument [all...] |
H A D | Resolver.h | 51 const Attribute* attr; member in struct:aapt::IResolver::Entry 61 * Returns an Entry if the name is found. Entry::attr
|
/frameworks/base/libs/androidfw/tests/data/system/ |
H A D | R.h | 23 namespace attr { namespace in namespace:android::R
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
H A D | R$attr.class | ... android.layoutlib.test.myapplication.R$attr extends java.lang.Object {
public static final int ... |
/frameworks/base/core/java/android/util/ |
H A D | StateSet.java | 67 R.attr.state_window_focused, VIEW_STATE_WINDOW_FOCUSED, 68 R.attr.state_selected, VIEW_STATE_SELECTED, 69 R.attr.state_focused, VIEW_STATE_FOCUSED, 70 R.attr.state_enabled, VIEW_STATE_ENABLED, 71 R.attr.state_pressed, VIEW_STATE_PRESSED, 72 R.attr.state_activated, VIEW_STATE_ACTIVATED, 73 R.attr.state_accelerated, VIEW_STATE_ACCELERATED, 74 R.attr.state_hovered, VIEW_STATE_HOVERED, 75 R.attr.state_drag_can_accept, VIEW_STATE_DRAG_CAN_ACCEPT, 76 R.attr [all...] |
/frameworks/av/media/libstagefright/tests/ |
H A D | DummyRecorder.cpp | 43 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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GuidanceStylist.java | 57 * @attr ref android.support.v17.leanback.R.styleable#LeanbackGuidedStepTheme_guidanceEntryAnimation 58 * @attr ref android.support.v17.leanback.R.styleable#LeanbackGuidedStepTheme_guidedStepEntryAnimation 59 * @attr ref android.support.v17.leanback.R.styleable#LeanbackGuidedStepTheme_guidedStepExitAnimation 60 * @attr ref android.support.v17.leanback.R.styleable#LeanbackGuidedStepTheme_guidedStepReentryAnimation 61 * @attr ref android.support.v17.leanback.R.styleable#LeanbackGuidedStepTheme_guidedStepReturnAnimation 62 * @attr ref android.support.v17.leanback.R.styleable#LeanbackGuidedStepTheme_guidanceContainerStyle 63 * @attr ref android.support.v17.leanback.R.styleable#LeanbackGuidedStepTheme_guidanceTitleStyle 64 * @attr ref android.support.v17.leanback.R.styleable#LeanbackGuidedStepTheme_guidanceDescriptionStyle 65 * @attr ref android.support.v17.leanback.R.styleable#LeanbackGuidedStepTheme_guidanceBreadcrumbStyle 66 * @attr re [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouterThemeHelper.java | 35 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/wilhelm/src/ |
H A D | locks.h | 22 extern void object_unlock_exclusive_attributes_(IObject *thiz, unsigned attr, 28 extern void object_unlock_exclusive_attributes(IObject *thiz, unsigned attr); 37 #define object_unlock_exclusive_attributes(thiz, attr) \ 38 object_unlock_exclusive_attributes_((thiz), (attr), __FILE__, __LINE__) 53 #define interface_unlock_exclusive_attributes(thiz, attr) \ 54 object_unlock_exclusive_attributes(InterfaceToIObject(thiz), (attr))
|
/frameworks/base/include/androidfw/ |
H A D | AttributeFinder.h | 25 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/native/opengl/tests/configdump/ |
H A D | configdump.cpp | 79 for (int attr = 0 ; attr<sizeof(attributes)/sizeof(Attribute) ; attr++) { 81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); 82 printf("\t%-32s: %10d (0x%08x)\n", attributes[attr].name, value, value);
|
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | InputFactory.h | 50 /// attr - the last touched attribute. 51 const AttributeProxy& attr() const { return *m_pLast; } function in class:mcld::InputFactory 52 AttributeProxy& attr() { return *m_pLast; } function in class:mcld::InputFactory
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | ColorStateDrawable.java | 43 if (state == android.R.attr.state_pressed || state == android.R.attr.state_focused) {
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
H A D | StateListDrawableTest.java | 45 int focusedStateSet[] = {R.attr.state_focused}; 46 int checkedStateSet[] = {R.attr.state_checked}; 57 int focusedStateSet[] = {R.attr.state_focused}; 58 int checkedStateSet[] = {R.attr.state_checked};
|
/frameworks/base/libs/androidfw/tests/ |
H A D | Theme_test.cpp | 47 ASSERT_GE(theme1.getAttribute(android::R::attr::background, &val), 0); 50 ASSERT_GE(theme1.getAttribute(app::R::attr::number, &val), 0); 60 ASSERT_GE(theme2.getAttribute(android::R::attr::background, &val), 0); 63 ASSERT_GE(theme2.getAttribute(app::R::attr::number, &val), 0);
|
/frameworks/base/tools/aapt/ |
H A D | AaptXml.h | 38 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
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | FloatingActionButtonImpl.java | 30 static final int[] PRESSED_ENABLED_STATE_SET = {android.R.attr.state_pressed, 31 android.R.attr.state_enabled}; 32 static final int[] FOCUSED_ENABLED_STATE_SET = {android.R.attr.state_focused, 33 android.R.attr.state_enabled};
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | PreferenceScreen.java | 82 super(context, attrs, R.attr.preferenceScreenStyle);
|