Searched defs:attrs (Results 51 - 75 of 352) 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.java39 int[] attrs) {
40 return RenderSessionImpl.getCurrentContext().obtainStyledAttributes(attrs);
46 int resid, int[] attrs)
48 return RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, attrs);
54 AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) {
56 set, attrs, defStyleAttr, defStyleRes);
37 obtainStyledAttributes( Resources thisResources, Theme thisTheme, int[] attrs) argument
44 obtainStyledAttributes( Resources thisResources, Theme thisTheme, int resid, int[] attrs) argument
52 obtainStyledAttributes( Resources thisResources, Theme thisTheme, AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) argument
/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/native/opengl/tests/testPauseResume/src/com/android/test/
H A DTestView.java60 public TestView(Context context, AttributeSet attrs) { argument
61 super(context, attrs);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DAccessibleDateAnimator.java28 public AccessibleDateAnimator(Context context, AttributeSet attrs) { argument
29 super(context, attrs);
H A DTextViewWithCircularIndicator.java47 public TextViewWithCircularIndicator(Context context, AttributeSet attrs) { argument
48 super(context, attrs);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DNativeActionModeAwareLayout.java32 public NativeActionModeAwareLayout(Context context, AttributeSet attrs) { argument
33 super(context, attrs);
H A DCompatTextView.java39 public CompatTextView(Context context, AttributeSet attrs) { argument
40 this(context, attrs, 0);
43 public CompatTextView(Context context, AttributeSet attrs, int defStyle) { argument
44 super(context, attrs, defStyle);
49 .obtainStyledAttributes(attrs, R.styleable.CompatTextView, defStyle, 0);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DSpace.java33 public Space(Context context, AttributeSet attrs, int defStyle) { argument
34 super(context, attrs, defStyle);
43 public Space(Context context, AttributeSet attrs) { argument
44 this(context, attrs, 0);
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java97 AttributeSet attrs, AnimatorSet parent, int sequenceOrdering)
117 anim = loadObjectAnimator(c, attrs);
119 anim = loadAnimator(c, attrs, null);
122 TypedArray a = c.obtainStyledAttributes(attrs,
126 createAnimatorFromXml(c, parser, attrs, (AnimatorSet) anim, ordering);
156 private static ObjectAnimator loadObjectAnimator(Context context, AttributeSet attrs) argument
161 loadAnimator(context, attrs, anim);
164 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.PropertyAnimator);
180 * @param attrs the set of attributes holding the animation parameters
182 private static ValueAnimator loadAnimator(Context context, AttributeSet attrs, ValueAnimato argument
96 createAnimatorFromXml(Context c, XmlPullParser parser, AttributeSet attrs, AnimatorSet parent, int sequenceOrdering) argument
[all...]
/frameworks/base/core/java/android/content/
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/transition/
H A DTransitionInflater.java118 AttributeSet attrs, TransitionSet transitionSet)
138 TypedArray a = mContext.obtainStyledAttributes(attrs,
158 TypedArray a = mContext.obtainStyledAttributes(attrs,
164 createTransitionFromXml(parser, attrs, ((TransitionSet) transition));
170 getTargetIds(parser, attrs, transition);
173 getTargetIds(parser, attrs, transitionSet);
178 loadTransition(transition, attrs);
192 AttributeSet attrs, Transition transition) throws XmlPullParserException, IOException {
208 TypedArray a = mContext.obtainStyledAttributes(attrs,
227 private Transition loadTransition(Transition transition, AttributeSet attrs) argument
117 createTransitionFromXml(XmlPullParser parser, AttributeSet attrs, TransitionSet transitionSet) argument
191 getTargetIds(XmlPullParser parser, AttributeSet attrs, Transition transition) argument
253 createTransitionManagerFromXml(XmlPullParser parser, AttributeSet attrs, ViewGroup sceneRoot) argument
280 loadTransition(AttributeSet attrs, ViewGroup sceneRoot, TransitionManager transitionManager) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DExceptionTextView.java40 public ExceptionTextView(Context context, AttributeSet attrs) { argument
41 super(context, attrs);
44 public ExceptionTextView(Context context, AttributeSet attrs, int defStyle) { argument
45 super(context, attrs, defStyle);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryView.java35 public DirectoryView(Context context, AttributeSet attrs) { argument
36 super(context, attrs);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DEmergencyButton.java63 public EmergencyButton(Context context, AttributeSet attrs) { argument
64 super(context, attrs);
H A DKeyguardPasswordView.java54 public KeyguardPasswordView(Context context, AttributeSet attrs) { argument
55 super(context, attrs);
H A DNumPadKey.java63 public NumPadKey(Context context, AttributeSet attrs) { argument
64 this(context, attrs, 0);
67 public NumPadKey(Context context, AttributeSet attrs, int defStyle) { argument
68 super(context, attrs, defStyle);
70 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NumPadKey);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAnimatedImageView.java36 public AnimatedImageView(Context context, AttributeSet attrs) { argument
37 super(context, attrs);
/frameworks/base/services/java/com/android/server/accounts/
H A DAccountAuthenticatorCache.java57 String packageName, AttributeSet attrs) {
58 TypedArray sa = res.obtainAttributes(attrs,
56 parseServiceAttributes(Resources res, String packageName, AttributeSet attrs) argument
/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));
128 EGLint attrs[] = { local
138 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs);
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNIView.java60 public GLJNIView(Context context, AttributeSet attrs) { argument
61 super(context, attrs);
/frameworks/native/opengl/tests/include/
H A DEGLUtils.h41 EGLint const* attrs,
47 EGLint const* attrs,
78 EGLint const* attrs,
84 if (!attrs)
95 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) {
123 EGLint const* attrs,
137 return selectConfigForPixelFormat(dpy, attrs, format, outConfig);
76 selectConfigForPixelFormat( EGLDisplay dpy, EGLint const* attrs, int32_t format, EGLConfig* outConfig) argument
121 selectConfigForNativeWindow( EGLDisplay dpy, EGLint const* attrs, EGLNativeWindowType window, EGLConfig* outConfig) argument
/frameworks/support/v4/java/android/support/v4/widget/
H A DContentLoadingProgressBar.java68 public ContentLoadingProgressBar(Context context, AttributeSet attrs) { argument
69 super(context, attrs, 0);
/frameworks/base/core/java/android/preference/
H A DPreferenceFrameLayout.java44 public PreferenceFrameLayout(Context context, AttributeSet attrs) { argument
45 this(context, attrs, com.android.internal.R.attr.preferenceFrameLayoutStyle);
48 public PreferenceFrameLayout(Context context, AttributeSet attrs, int defStyle) { argument
49 super(context, attrs, defStyle);
50 TypedArray a = context.obtainStyledAttributes(attrs,
79 public LayoutParams generateLayoutParams(AttributeSet attrs) { argument
80 return new LayoutParams(getContext(), attrs);
131 public LayoutParams(Context c, AttributeSet attrs) { argument
132 super(c, attrs);
134 TypedArray a = c.obtainStyledAttributes(attrs,
[all...]
H A DPreferenceInflater.java70 AttributeSet attrs) throws XmlPullParserException {
77 intent = Intent.parseIntent(getContext().getResources(), parser, attrs);
91 getContext().getResources().parseBundleExtra(EXTRA_TAG_NAME, attrs,
69 onCreateCustomFromTag(XmlPullParser parser, Preference parentPreference, AttributeSet attrs) argument

Completed in 1676 milliseconds

1234567891011>>