Searched defs:attrs (Results 1 - 25 of 512) sorted by path

1234567891011>>

/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp256 void *me, const char *name, const char **attrs) {
257 static_cast<MediaCodecList *>(me)->startElementHandler(name, attrs);
265 status_t MediaCodecList::includeXMLFile(const char **attrs) { argument
268 while (attrs[i] != NULL) {
269 if (!strcmp(attrs[i], "href")) {
270 if (attrs[i + 1] == NULL) {
273 href = attrs[i + 1];
307 const char *name, const char **attrs) {
315 mInitCheck = includeXMLFile(attrs);
339 addMediaCodecFromAttributes(false /* encoder */, attrs);
255 StartElementHandlerWrapper( void *me, const char *name, const char **attrs) argument
306 startElementHandler( const char *name, const char **attrs) argument
465 addMediaCodecFromAttributes( bool encoder, const char **attrs) argument
528 addQuirk(const char **attrs) argument
554 addTypeFromAttributes(const char **attrs) argument
645 addLimit(const char **attrs) argument
792 addFeature(const char **attrs) argument
[all...]
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java556 AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize)
575 anim = loadObjectAnimator(res, theme, attrs, pixelSize);
577 anim = loadAnimator(res, theme, attrs, null, pixelSize);
582 a = theme.obtainStyledAttributes(attrs, R.styleable.AnimatorSet, 0, 0);
584 a = res.obtainAttributes(attrs, R.styleable.AnimatorSet);
588 createAnimatorFromXml(res, theme, parser, attrs, (AnimatorSet) anim, ordering,
618 private static ObjectAnimator loadObjectAnimator(Resources res, Theme theme, AttributeSet attrs, argument
622 loadAnimator(res, theme, attrs, anim, pathErrorScale);
632 * @param attrs The set of attributes holding the animation parameters
637 AttributeSet attrs, ValueAnimato
555 createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser, AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize) argument
636 loadAnimator(Resources res, Theme theme, AttributeSet attrs, ValueAnimator anim, float pathErrorScale) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActionBar.java1333 public LayoutParams(@NonNull Context c, AttributeSet attrs) { argument
1334 super(c, attrs);
1336 TypedArray a = c.obtainStyledAttributes(attrs,
H A DActivity.java5309 public View onCreateView(String name, Context context, AttributeSet attrs) { argument
5323 public View onCreateView(View parent, String name, Context context, AttributeSet attrs) { argument
5325 return onCreateView(name, context, attrs);
5328 return mFragments.onCreateView(parent, name, context, attrs);
H A DActivityView.java66 public ActivityView(Context context, AttributeSet attrs) { argument
67 this(context, attrs, 0);
70 public ActivityView(Context context, AttributeSet attrs, int defStyle) { argument
71 super(context, attrs, defStyle);
H A DFragment.java1142 public void onInflate(AttributeSet attrs, Bundle savedInstanceState) { argument
1168 * {@sample development/samples/ApiDemos/res/values/attrs.xml fragment_arguments}
1183 * @param attrs The attributes at the tag where the fragment is
1188 public void onInflate(Activity activity, AttributeSet attrs, Bundle savedInstanceState) { argument
1189 onInflate(attrs, savedInstanceState);
1192 TypedArray a = activity.obtainStyledAttributes(attrs,
H A DFragmentBreadCrumbs.java88 public FragmentBreadCrumbs(Context context, AttributeSet attrs) { argument
89 this(context, attrs, com.android.internal.R.attr.fragmentBreadCrumbsStyle);
92 public FragmentBreadCrumbs(Context context, AttributeSet attrs, int defStyleAttr) { argument
93 this(context, attrs, defStyleAttr, 0);
100 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
101 super(context, attrs, defStyleAttr, defStyleRes);
103 final TypedArray a = context.obtainStyledAttributes(attrs,
99 FragmentBreadCrumbs( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
H A DFragmentManager.java769 TypedArray attrs = mActivity.obtainStyledAttributes(transitionStyle,
771 int anim = attrs.getResourceId(styleIndex, 0);
772 attrs.recycle();
2071 public View onCreateView(View parent, String name, Context context, AttributeSet attrs) { argument
2076 String fname = attrs.getAttributeValue(null, "class");
2078 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.Fragment);
2088 throw new IllegalArgumentException(attrs.getPositionDescription()
2115 fragment.onInflate(mActivity, attrs, fragment.mSavedFragmentState);
2120 throw new IllegalArgumentException(attrs.getPositionDescription()
2132 fragment.onInflate(mActivity, attrs, fragmen
2158 onCreateView(String name, Context context, AttributeSet attrs) argument
[all...]
H A DMediaRouteButton.java71 public MediaRouteButton(Context context, AttributeSet attrs) { argument
72 this(context, attrs, com.android.internal.R.attr.mediaRouteButtonStyle);
75 public MediaRouteButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
76 this(context, attrs, defStyleAttr, 0);
80 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
81 super(context, attrs, defStyleAttr, defStyleRes);
86 final TypedArray a = context.obtainStyledAttributes(attrs,
79 MediaRouteButton( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
H A DNativeActivity.java122 public NativeContentView(Context context, AttributeSet attrs) { argument
123 super(context, attrs);
H A DSearchDialog.java623 public SearchBar(Context context, AttributeSet attrs) { argument
624 super(context, attrs);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java316 public LayoutParams generateLayoutParams(AttributeSet attrs) { argument
321 return new FrameLayout.LayoutParams(context, attrs);
/frameworks/base/core/java/android/content/
H A DContext.java436 int[] attrs) {
437 return getTheme().obtainStyledAttributes(attrs);
448 int resid, int[] attrs) throws Resources.NotFoundException {
449 return getTheme().obtainStyledAttributes(resid, attrs);
460 AttributeSet set, int[] attrs) {
461 return getTheme().obtainStyledAttributes(set, attrs, 0, 0);
472 AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) {
474 set, attrs, defStyleAttr, defStyleRes);
435 obtainStyledAttributes( int[] attrs) argument
447 obtainStyledAttributes( int resid, int[] attrs) argument
459 obtainStyledAttributes( AttributeSet set, int[] attrs) argument
471 obtainStyledAttributes( AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) argument
H A DIntent.java7549 * @param attrs The AttributeSet interface for retrieving extended
7555 public static Intent parseIntent(Resources resources, XmlPullParser parser, AttributeSet attrs) argument
7559 TypedArray sa = resources.obtainAttributes(attrs,
7586 sa = resources.obtainAttributes(attrs,
7600 resources.parseBundleExtra(TAG_EXTRA, attrs, intent.mExtras);
H A DSyncAdaptersCache.java47 String packageName, AttributeSet attrs) {
48 TypedArray sa = res.obtainAttributes(attrs,
46 parseServiceAttributes(Resources res, String packageName, AttributeSet attrs) argument
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java951 AttributeSet attrs = parser;
954 parsePackageSplitNames(parser, attrs, flags);
987 if (!parseSplitApplication(pkg, res, parser, attrs, flags, splitIndex, outError)) {
1179 final AttributeSet attrs = parser;
1180 return parseApkLite(apkPath, res, parser, attrs, flags, signatures);
1218 AttributeSet attrs, int flags) throws IOException, XmlPullParserException,
1235 final String packageName = attrs.getAttributeValue(null, "package");
1244 String splitName = attrs.getAttributeValue(null, "split");
1262 AttributeSet attrs, int flags, Signature[] signatures) throws IOException,
1264 final Pair<String, String> packageSplit = parsePackageSplitNames(parser, attrs, flag
1217 parsePackageSplitNames(XmlPullParser parser, AttributeSet attrs, int flags) argument
1261 parseApkLite(String codePath, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, Signature[] signatures) argument
1880 parseUsesFeature(Resources res, AttributeSet attrs) argument
1902 parseUsesPermission(Package pkg, Resources res, XmlResourceParser parser, AttributeSet attrs, String[] outError) argument
2032 parseKeySets(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2170 parsePermissionGroup(Package owner, int flags, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2214 parsePermission(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2284 parsePermissionTree(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2332 parseInstrumentation(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2399 parseBaseApplication(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
2773 parseSplitApplication(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, int splitIndex, String[] outError) argument
2945 parseActivity(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError, boolean receiver, boolean hardwareAccelerated) argument
3250 parseActivityAlias(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3416 parseProvider(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3544 parseProviderTags(Resources res, XmlPullParser parser, AttributeSet attrs, Provider outInfo, String[] outError) argument
3727 parseService(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3848 parseAllMetaData(Resources res, XmlPullParser parser, AttributeSet attrs, String tag, Component outInfo, String[] outError) argument
3882 parseMetaData(Resources res, XmlPullParser parser, AttributeSet attrs, Bundle data, String[] outError) argument
3947 parseVerifier(Resources res, XmlPullParser parser, AttributeSet attrs, int flags) argument
4017 parseIntent(Resources res, XmlPullParser parser, AttributeSet attrs, boolean allowGlobs, IntentInfo outInfo, String[] outError) argument
[all...]
H A DRegisteredServicesCache.java498 AttributeSet attrs = Xml.asAttributeSet(parser);
512 si.packageName, attrs);
619 String packageName, AttributeSet attrs);
618 parseServiceAttributes(Resources res, String packageName, AttributeSet attrs) argument
/frameworks/base/core/java/android/content/res/
H A DColorStateList.java120 final AttributeSet attrs = Xml.asAttributeSet(parser);
131 return createFromXmlInner(r, parser, attrs);
142 AttributeSet attrs) throws XmlPullParserException, IOException {
152 colorStateList.inflate(r, parser, attrs);
174 private void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) argument
204 final int numAttrs = attrs.getAttributeCount();
207 final int stateResId = attrs.getAttributeNameResource(i);
210 alphaRes = attrs.getAttributeResourceValue(i, 0);
212 alpha = attrs.getAttributeFloatValue(i, 1.0f);
215 colorRes = attrs
141 createFromXmlInner(Resources r, XmlPullParser parser, AttributeSet attrs) argument
[all...]
H A DResources.java1380 * <var>Theme</var> which are listed in <var>attrs</var>.
1385 * @param attrs The desired attributes.
1397 public TypedArray obtainStyledAttributes(int[] attrs) { argument
1398 final int len = attrs.length;
1401 AssetManager.applyStyle(mTheme, 0, 0, 0, attrs, array.mData, array.mIndices);
1407 * resource <var>resid</var> which are listed in <var>attrs</var>.
1413 * @param attrs The desired attributes in the style.
1425 public TypedArray obtainStyledAttributes(int resid, int[] attrs) throws NotFoundException { argument
1426 final int len = attrs.length;
1438 for (i=0; i<attrs
1507 obtainStyledAttributes(AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) argument
1570 resolveAttributes(@onNull int[] values, @NonNull int[] attrs) argument
1744 obtainAttributes(AttributeSet set, int[] attrs) argument
2184 parseBundleExtra(String tagName, AttributeSet attrs, Bundle outBundle) argument
2709 recycleCachedStyledAttributes(TypedArray attrs) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureOverlayView.java133 public GestureOverlayView(Context context, AttributeSet attrs) { argument
134 this(context, attrs, com.android.internal.R.attr.gestureOverlayViewStyle);
137 public GestureOverlayView(Context context, AttributeSet attrs, int defStyleAttr) { argument
138 this(context, attrs, defStyleAttr, 0);
142 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
143 super(context, attrs, defStyleAttr, defStyleRes);
146 attrs, R.styleable.GestureOverlayView, defStyleAttr, defStyleRes);
141 GestureOverlayView( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractButton.java31 public ExtractButton(Context context, AttributeSet attrs) { argument
32 super(context, attrs, com.android.internal.R.attr.buttonStyle);
35 public ExtractButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
36 this(context, attrs, defStyleAttr, 0);
39 public ExtractButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
40 super(context, attrs, defStyleAttr, defStyleRes);
H A DExtractEditLayout.java48 public ExtractEditLayout(Context context, AttributeSet attrs) { argument
49 super(context, attrs);
H A DExtractEditText.java37 public ExtractEditText(Context context, AttributeSet attrs) { argument
38 super(context, attrs, com.android.internal.R.attr.editTextStyle);
41 public ExtractEditText(Context context, AttributeSet attrs, int defStyleAttr) { argument
42 this(context, attrs, defStyleAttr, 0);
45 public ExtractEditText(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
46 super(context, attrs, defStyleAttr, defStyleRes);
H A DKeyboardView.java279 public KeyboardView(Context context, AttributeSet attrs) { argument
280 this(context, attrs, com.android.internal.R.attr.keyboardViewStyle);
283 public KeyboardView(Context context, AttributeSet attrs, int defStyleAttr) { argument
284 this(context, attrs, defStyleAttr, 0);
287 public KeyboardView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
288 super(context, attrs, defStyleAttr, defStyleRes);
291 attrs, android.R.styleable.KeyboardView, defStyleAttr, defStyleRes);
/frameworks/base/core/java/android/preference/
H A DCheckBoxPreference.java37 public CheckBoxPreference(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 this(context, attrs, defStyleAttr, 0);
42 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
43 super(context, attrs, defStyleAttr, defStyleRes);
45 final TypedArray a = context.obtainStyledAttributes(attrs,
54 public CheckBoxPreference(Context context, AttributeSet attrs) { argument
55 this(context, attrs, com.android.internal.R.attr.checkBoxPreferenceStyle);
41 CheckBoxPreference( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument

Completed in 276 milliseconds

1234567891011>>