Searched refs:attrs (Results 126 - 150 of 526) sorted by relevance

1234567891011>>

/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/content/res/
H A DResources_Theme_Delegate.java59 int[] attrs) {
61 TypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(attrs);
69 int resid, int[] attrs)
72 TypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, attrs);
80 AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) {
82 TypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(set, attrs,
102 int[] values, int[] attrs) {
57 obtainStyledAttributes( Resources thisResources, Theme thisTheme, int[] attrs) argument
67 obtainStyledAttributes( Resources thisResources, Theme thisTheme, int resid, int[] attrs) argument
78 obtainStyledAttributes( Resources thisResources, Theme thisTheme, AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) argument
101 resolveAttributes(Resources thisResources, Theme thisTheme, int[] values, int[] attrs) argument
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DLayoutInflater_Delegate.java52 View parent, final AttributeSet attrs, boolean finishInflate, boolean inheritContext)
64 thisInflater.rInflate_Original(parser, parent, attrs, finishInflate, inheritContext);
78 AttributeSet attrs, boolean inheritContext) throws XmlPullParserException, IOException {
83 final int layout = attrs.getAttributeResourceValue(null, "layout", 0);
85 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, boolean inheritContext) argument
77 parseInclude(LayoutInflater thisInflater, XmlPullParser parser, View parent, AttributeSet attrs, boolean inheritContext) argument
/frameworks/base/core/java/android/preference/
H A DTwoStatePreference.java43 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
44 super(context, attrs, defStyleAttr, defStyleRes);
47 public TwoStatePreference(Context context, AttributeSet attrs, int defStyleAttr) { argument
48 this(context, attrs, defStyleAttr, 0);
51 public TwoStatePreference(Context context, AttributeSet attrs) { argument
52 this(context, attrs, 0);
42 TwoStatePreference( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
H A DPreferenceInflater.java67 AttributeSet attrs) throws XmlPullParserException {
74 intent = Intent.parseIntent(getContext().getResources(), parser, attrs);
88 getContext().getResources().parseBundleExtra(EXTRA_TAG_NAME, attrs,
66 onCreateCustomFromTag(XmlPullParser parser, Preference parentPreference, AttributeSet attrs) argument
/frameworks/base/core/java/android/widget/
H A DYearPickerView.java47 public YearPickerView(Context context, AttributeSet attrs) { argument
48 this(context, attrs, R.attr.listViewStyle);
51 public YearPickerView(Context context, AttributeSet attrs, int defStyleAttr) { argument
52 this(context, attrs, defStyleAttr, 0);
55 public YearPickerView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
56 super(context, attrs, defStyleAttr, defStyleRes);
H A DTimePicker.java71 public TimePicker(Context context, AttributeSet attrs) { argument
72 this(context, attrs, R.attr.timePickerStyle);
75 public TimePicker(Context context, AttributeSet attrs, int defStyleAttr) { argument
76 this(context, attrs, defStyleAttr, 0);
79 public TimePicker(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
80 super(context, attrs, defStyleAttr, defStyleRes);
83 attrs, R.styleable.TimePicker, defStyleAttr, defStyleRes);
90 this, context, attrs, defStyleAttr, defStyleRes);
95 this, context, attrs, defStyleAttr, defStyleRes);
/frameworks/base/core/java/com/android/internal/widget/
H A DTextProgressBar.java62 public TextProgressBar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
63 super(context, attrs, defStyleAttr, defStyleRes);
66 public TextProgressBar(Context context, AttributeSet attrs, int defStyleAttr) { argument
67 super(context, attrs, defStyleAttr);
70 public TextProgressBar(Context context, AttributeSet attrs) { argument
71 super(context, attrs);
H A DWeightedLinearLayout.java42 public WeightedLinearLayout(Context context, AttributeSet attrs) { argument
43 super(context, attrs);
46 context.obtainStyledAttributes(attrs, styleable.WeightedLinearLayout);
/frameworks/native/opengl/tests/EGLTest/
H A DEGL_test.cpp61 EGLint attrs[] = { local
67 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs);
92 EGLint attrs[] = { local
101 EXPECT_TRUE(eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs));
131 EGLint attrs[] = { local
141 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs);
/frameworks/opt/setupwizard/navigationbar/src/com/android/setupwizard/navigationbar/
H A DSetupWizardNavBar.java166 public NavButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
167 super(context, attrs, defStyleAttr, defStyleRes);
170 public NavButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
171 super(context, attrs, defStyleAttr);
174 public NavButton(Context context, AttributeSet attrs) { argument
175 super(context, attrs);
/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...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DPaintDrawable.java74 AttributeSet attrs) {
76 TypedArray a = r.obtainAttributes(attrs,
105 return super.inflateTag(name, r, parser, attrs);
73 inflateTag(String name, Resources r, XmlPullParser parser, AttributeSet attrs) argument
/frameworks/base/services/core/java/com/android/server/am/
H A DBaseErrorDialog.java41 WindowManager.LayoutParams attrs = getWindow().getAttributes();
42 attrs.setTitle("Error Dialog");
43 getWindow().setAttributes(attrs);
H A DUserSwitchingDialog.java69 WindowManager.LayoutParams attrs = getWindow().getAttributes();
70 attrs.privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_SYSTEM_ERROR |
72 getWindow().setAttributes(attrs);
H A DAppErrorDialog.java73 WindowManager.LayoutParams attrs = getWindow().getAttributes();
74 attrs.setTitle("Application Error: " + app.info.processName);
75 attrs.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SYSTEM_ERROR
77 getWindow().setAttributes(attrs);
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
H A DAddressView.java17 public AddressView(Context context, AttributeSet attrs) { argument
18 super(context, attrs);
28 attrs,
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DAppCompatPopupWindow.java36 public AppCompatPopupWindow(Context context, AttributeSet attrs, int defStyleAttr) { argument
37 super(context, attrs, defStyleAttr);
39 TintTypedArray a = TintTypedArray.obtainStyledAttributes(context, attrs,
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java503 * @param attrs The window's LayoutParams.
511 public int checkAddPermission(WindowManager.LayoutParams attrs, int[] outAppOp); argument
516 * @param attrs The window's LayoutParams.
521 public boolean checkShowToOwnerOnly(WindowManager.LayoutParams attrs); argument
528 * @param attrs The window layout parameters to be modified. These values
531 public void adjustWindowParamsLw(WindowManager.LayoutParams attrs); argument
622 public boolean isForceHiding(WindowManager.LayoutParams attrs); argument
629 public boolean isKeyguardHostWindow(WindowManager.LayoutParams attrs); argument
638 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); argument
696 * @param attrs Th
701 prepareAddWindowLw(WindowState win, WindowManager.LayoutParams attrs) argument
873 getContentInsetHintLw(WindowManager.LayoutParams attrs, Rect contentInset) argument
905 applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAccelerateDecelerateInterpolator.java37 public AccelerateDecelerateInterpolator(Context context, AttributeSet attrs) { argument
H A DLinearInterpolator.java36 public LinearInterpolator(Context context, AttributeSet attrs) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java50 * @param attrs An AttributeSet passed to our parent.
52 public WebView(Context context, AttributeSet attrs) { argument
53 this(context, attrs, com.android.internal.R.attr.webViewStyle);
59 * @param attrs An AttributeSet passed to our parent.
62 public WebView(Context context, AttributeSet attrs, int defStyle) { argument
63 super(context, attrs, defStyle);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DCircularImageView.java35 public CircularImageView(Context context, AttributeSet attrs) { argument
36 this(context, attrs, 0);
39 public CircularImageView(Context context, AttributeSet attrs, int defStyle) { argument
40 super(context, attrs, defStyle);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DRowContainerView.java40 public RowContainerView(Context context, AttributeSet attrs) { argument
41 this(context, attrs, 0);
44 public RowContainerView(Context context, AttributeSet attrs, int defStyle) { argument
45 super(context, attrs, defStyle);
/frameworks/volley/src/com/android/volley/toolbox/
H A DNetworkImageView.java56 public NetworkImageView(Context context, AttributeSet attrs) { argument
57 this(context, attrs, 0);
60 public NetworkImageView(Context context, AttributeSet attrs, int defStyle) { argument
61 super(context, attrs, defStyle);

Completed in 1000 milliseconds

1234567891011>>