Searched refs:attrs (Results 51 - 75 of 347) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp163 void *me, const char *name, const char **attrs) {
164 static_cast<MediaCodecList *>(me)->startElementHandler(name, attrs);
173 const char *name, const char **attrs) {
193 addMediaCodecFromAttributes(false /* encoder */, attrs);
204 addMediaCodecFromAttributes(true /* encoder */, attrs);
215 mInitCheck = addQuirk(attrs);
217 mInitCheck = addTypeFromAttributes(attrs);
275 bool encoder, const char **attrs) {
280 while (attrs[i] != NULL) {
281 if (!strcmp(attrs[
162 StartElementHandlerWrapper( void *me, const char *name, const char **attrs) argument
172 startElementHandler( const char *name, const char **attrs) argument
274 addMediaCodecFromAttributes( bool encoder, const char **attrs) argument
323 addQuirk(const char **attrs) argument
366 addTypeFromAttributes(const char **attrs) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsoluteLayout.java46 public AbsoluteLayout(Context context, AttributeSet attrs) { argument
47 super(context, attrs);
50 public AbsoluteLayout(Context context, AttributeSet attrs, argument
52 super(context, attrs, defStyle);
129 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { argument
130 return new AbsoluteLayout.LayoutParams(getContext(), attrs);
195 * @param attrs the set of attributes from which to extract the layout
198 public LayoutParams(Context c, AttributeSet attrs) { argument
199 super(c, attrs);
200 TypedArray a = c.obtainStyledAttributes(attrs,
[all...]
H A DEditText.java55 public EditText(Context context, AttributeSet attrs) { argument
56 this(context, attrs, com.android.internal.R.attr.editTextStyle);
59 public EditText(Context context, AttributeSet attrs, int defStyle) { argument
60 super(context, attrs, defStyle);
H A DZoomButton.java48 public ZoomButton(Context context, AttributeSet attrs) { argument
49 this(context, attrs, 0);
52 public ZoomButton(Context context, AttributeSet attrs, int defStyle) { argument
53 super(context, attrs, defStyle);
H A DToggleButton.java50 public ToggleButton(Context context, AttributeSet attrs, int defStyle) { argument
51 super(context, attrs, defStyle);
55 attrs, com.android.internal.R.styleable.ToggleButton, defStyle, 0);
63 public ToggleButton(Context context, AttributeSet attrs) { argument
64 this(context, attrs, com.android.internal.R.attr.buttonStyleToggle);
/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java50 public AccelerateInterpolator(Context context, AttributeSet attrs) { argument
52 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.AccelerateInterpolator);
H A DAnticipateInterpolator.java42 public AnticipateInterpolator(Context context, AttributeSet attrs) { argument
43 TypedArray a = context.obtainStyledAttributes(attrs,
H A DDecelerateInterpolator.java43 public DecelerateInterpolator(Context context, AttributeSet attrs) { argument
45 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.DecelerateInterpolator);
H A DOvershootInterpolator.java43 public OvershootInterpolator(Context context, AttributeSet attrs) { argument
44 TypedArray a = context.obtainStyledAttributes(attrs,
H A DAlphaAnimation.java37 * @param attrs Attribute set from which to read values
39 public AlphaAnimation(Context context, AttributeSet attrs) { argument
40 super(context, attrs);
43 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.AlphaAnimation);
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutWithDefaultTouchRecepient.java43 public LinearLayoutWithDefaultTouchRecepient(Context context, AttributeSet attrs) { argument
44 super(context, attrs);
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
H A DTestView.java60 public TestView(Context context, AttributeSet attrs) { argument
61 super(context, attrs);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DViewGroup.java30 public ViewGroup(Context context, AttributeSet attrs, int defStyle) { argument
31 super(context, attrs, defStyle);
/frameworks/base/core/java/android/inputmethodservice/
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 defStyle) { argument
42 super(context, attrs, defStyle);
/frameworks/base/core/tests/coretests/src/android/view/
H A DVisibilityCallback.java85 public MonitoredTextView(Context context, AttributeSet attrs) { argument
86 super(context, attrs);
89 public MonitoredTextView(Context context, AttributeSet attrs, int defStyle) { argument
90 super(context, attrs, defStyle);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DExpandedMenuView.java44 public ExpandedMenuView(Context context, AttributeSet attrs) { argument
45 super(context, attrs);
47 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.MenuView, 0, 0);
/frameworks/base/services/java/com/android/server/am/
H A DAppWaitingForDebuggerDialog.java56 WindowManager.LayoutParams attrs = getWindow().getAttributes();
57 attrs.setTitle("Waiting For Debugger: " + app.info.processName);
58 getWindow().setAttributes(attrs);
H A DBaseErrorDialog.java36 WindowManager.LayoutParams attrs = getWindow().getAttributes();
37 attrs.setTitle("Error Dialog");
38 getWindow().setAttributes(attrs);
/frameworks/base/core/java/android/preference/
H A DSwitchPreference.java62 * @param attrs Style attributes that differ from the default
65 public SwitchPreference(Context context, AttributeSet attrs, int defStyle) { argument
66 super(context, attrs, defStyle);
68 TypedArray a = context.obtainStyledAttributes(attrs,
85 * @param attrs Style attributes that differ from the default
87 public SwitchPreference(Context context, AttributeSet attrs) { argument
88 this(context, attrs, com.android.internal.R.attr.switchPreferenceStyle);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DNotificationLinearLayout.java48 public NotificationLinearLayout(Context context, AttributeSet attrs) { argument
49 this(context, attrs, 0);
52 public NotificationLinearLayout(Context context, AttributeSet attrs, int defStyle) { argument
53 super(context, attrs, defStyle);
59 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NotificationLinearLayout,
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DNumPadKey.java64 public NumPadKey(Context context, AttributeSet attrs) { argument
65 this(context, attrs, 0);
68 public NumPadKey(Context context, AttributeSet attrs, int defStyle) { argument
69 super(context, attrs, defStyle);
71 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NumPadKey);
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DSimpleInflater.java51 AttributeSet attrs = Xml.asAttributeSet(parser);
53 parseMenu(parser, attrs);
63 private void parseMenu(XmlPullParser parser, AttributeSet attrs) argument
95 readItem(attrs);
97 parseMenu(parser, attrs);
123 public void readItem(AttributeSet attrs) { argument
124 TypedArray a = mContext.obtainStyledAttributes(attrs,
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DLayoutInflater_Delegate.java52 XmlPullParser parser, View parent, final AttributeSet attrs,
64 thisInflater.rInflate_Original(parser, parent, attrs, finishInflate);
79 XmlPullParser parser, View parent, AttributeSet attrs)
85 final int layout = attrs.getAttributeResourceValue(null, "layout", 0);
87 final String value = attrs.getAttributeValue(null, "layout");
135 params = group.generateLayoutParams(attrs);
158 TypedArray a = thisInflater.mContext.obtainStyledAttributes(attrs,
51 rInflate(LayoutInflater thisInflater, XmlPullParser parser, View parent, final AttributeSet attrs, boolean finishInflate) argument
77 parseInclude( LayoutInflater thisInflater, XmlPullParser parser, View parent, AttributeSet attrs) argument
/frameworks/base/core/java/android/content/res/
H A DColorStateList.java118 AttributeSet attrs = Xml.asAttributeSet(parser);
129 return createFromXmlInner(r, parser, attrs);
137 AttributeSet attrs) throws XmlPullParserException, IOException {
150 colorStateList.inflate(r, parser, attrs);
173 private void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) argument
203 final int numAttrs = attrs.getAttributeCount();
206 final int stateResId = attrs.getAttributeNameResource(i);
209 colorRes = attrs.getAttributeResourceValue(i, 0);
212 color = attrs.getAttributeIntValue(i, color);
216 stateSpec[j++] = attrs
136 createFromXmlInner(Resources r, XmlPullParser parser, AttributeSet attrs) argument
[all...]
/frameworks/base/core/java/android/view/
H A DIWindowSession.aidl37 int add(IWindow window, int seq, in WindowManager.LayoutParams attrs,
40 int addToDisplay(IWindow window, int seq, in WindowManager.LayoutParams attrs,
43 int addWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs,
45 int addToDisplayWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs,
58 * @param attrs If non-null, new attributes to apply to the window.
85 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs,

Completed in 467 milliseconds

1234567891011>>