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

1234567891011>>

/frameworks/base/core/java/android/view/animation/
H A DOvershootInterpolator.java51 public OvershootInterpolator(Context context, AttributeSet attrs) { argument
52 this(context.getResources(), context.getTheme(), attrs);
56 public OvershootInterpolator(Resources res, Theme theme, AttributeSet attrs) { argument
59 a = theme.obtainStyledAttributes(attrs, R.styleable.OvershootInterpolator, 0, 0);
61 a = res.obtainAttributes(attrs, R.styleable.OvershootInterpolator);
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestViewDrawText.java37 public BiDiTestViewDrawText(Context context, AttributeSet attrs) { argument
38 this(context, attrs, 0);
41 public BiDiTestViewDrawText(Context context, AttributeSet attrs, int defStyle) { argument
42 super(context, attrs, defStyle);
44 final TypedArray a = context.obtainStyledAttributes(attrs,
/frameworks/layoutlib/bridge/src/android/preference/
H A DBridgePreferenceInflater.java33 public Preference createItem(String name, String prefix, AttributeSet attrs) argument
43 if (attrs instanceof BridgeXmlBlockParser) {
44 viewKey = ((BridgeXmlBlockParser) attrs).getViewCookie();
49 preference = super.createItem(name, prefix, attrs);
55 preference = super.createItem("SwitchPreference", prefix, attrs);
/frameworks/support/transition/src/main/java/androidx/transition/
H A DTransitionInflater.java113 AttributeSet attrs, Transition parent)
134 transition = new Fade(mContext, attrs);
136 transition = new ChangeBounds(mContext, attrs);
138 transition = new Slide(mContext, attrs);
140 transition = new Explode(mContext, attrs);
142 transition = new ChangeImageTransform(mContext, attrs);
144 transition = new ChangeTransform(mContext, attrs);
146 transition = new ChangeClipBounds(mContext, attrs);
148 transition = new AutoTransition(mContext, attrs);
150 transition = new ChangeScroll(mContext, attrs);
112 createTransitionFromXml(XmlPullParser parser, AttributeSet attrs, Transition parent) argument
192 createCustom(AttributeSet attrs, Class expectedType, String tag) argument
221 getTargetIds(XmlPullParser parser, AttributeSet attrs, Transition transition) argument
280 createTransitionManagerFromXml(XmlPullParser parser, AttributeSet attrs, ViewGroup sceneRoot) argument
307 loadTransition(AttributeSet attrs, XmlPullParser parser, ViewGroup sceneRoot, TransitionManager transitionManager) argument
[all...]
/frameworks/support/preference/src/main/java/androidx/preference/
H A DPreferenceInflater.java147 final AttributeSet attrs = Xml.asAttributeSet(parser);
165 attrs);
170 rInflate(parser, result, attrs);
215 * @param attrs The XML attributes supplied for this instance.
220 AttributeSet attrs)
244 throw new InflateException(attrs
258 args[1] = attrs;
265 final InflateException ie = new InflateException(attrs
279 * @param attrs An AttributeSet of attributes to apply to the item.
282 protected Preference onCreateItem(String name, AttributeSet attrs) argument
219 createItem(@onNull String name, @Nullable String[] prefixes, AttributeSet attrs) argument
287 createItemFromTag(String name, AttributeSet attrs) argument
323 rInflate(XmlPullParser parser, Preference parent, final AttributeSet attrs) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceFrameLayout.java43 public PreferenceFrameLayout(Context context, AttributeSet attrs) { argument
44 this(context, attrs, com.android.internal.R.attr.preferenceFrameLayoutStyle);
47 public PreferenceFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument
48 this(context, attrs, defStyleAttr, 0);
52 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
53 super(context, attrs, defStyleAttr, defStyleRes);
54 final TypedArray a = context.obtainStyledAttributes(attrs,
83 public LayoutParams generateLayoutParams(AttributeSet attrs) { argument
84 return new LayoutParams(getContext(), attrs);
135 public LayoutParams(Context c, AttributeSet attrs) { argument
51 PreferenceFrameLayout( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
[all...]
H A DGenericInflater.java79 * @param attrs Inflation attributes as specified in XML file.
82 public T onCreateItem(String name, Context context, AttributeSet attrs); argument
93 public T onCreateItem(String name, Context context, AttributeSet attrs) { argument
94 T v = mF1.onCreateItem(name, context, attrs);
96 return mF2.onCreateItem(name, context, attrs);
294 final AttributeSet attrs = Xml.asAttributeSet(parser);
319 attrs);
327 rInflate(parser, result, attrs);
364 * @param attrs The XML attributes supplied for this instance.
368 public final T createItem(String name, String prefix, AttributeSet attrs) argument
418 onCreateItem(String name, AttributeSet attrs) argument
422 createItemFromTag(XmlPullParser parser, String name, AttributeSet attrs) argument
462 rInflate(XmlPullParser parser, T parent, final AttributeSet attrs) argument
514 onCreateCustomFromTag(XmlPullParser parser, T parent, final AttributeSet attrs) argument
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneLayoutInflater.java55 @Override protected View onCreateView(String name, AttributeSet attrs) throws ClassNotFoundException { argument
58 View view = createView(name, prefix, attrs);
68 return super.onCreateView(name, attrs);
/frameworks/base/libs/androidfw/include/androidfw/
H A DAttributeResolution.h47 uint32_t* src_values, size_t src_values_length, uint32_t* attrs,
53 uint32_t def_style_resid, const uint32_t* attrs, size_t attrs_length,
58 bool RetrieveAttributes(AssetManager2* assetmanager, ResXMLParser* xml_parser, uint32_t* attrs,
/frameworks/base/services/core/java/com/android/server/am/
H A DFactoryErrorDialog.java34 WindowManager.LayoutParams attrs = getWindow().getAttributes();
35 attrs.setTitle("Factory Error");
36 getWindow().setAttributes(attrs);
/frameworks/base/tools/aapt2/tools/
H A Dpublic_attr_map.py30 attrs = [] variable
35 attrs.append("{{ u\"{}\", {} }}".format(node.get('name'), sdkLevel))
43 print ",\n ".join(attrs)
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
H A DColoredHeaderMixin.java37 public ColoredHeaderMixin(TemplateLayout layout, AttributeSet attrs, int defStyleAttr) { argument
38 super(layout, attrs, defStyleAttr);
41 attrs, R.styleable.SuwColoredHeaderMixin, defStyleAttr, 0);
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
H A DEditTextAttributeHelper.java40 public EditTextAttributeHelper(@NonNull View view, AttributeSet attrs, int defStyleAttr, argument
42 if (attrs != null) {
44 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.EmojiEditText,
H A DEmojiExtractTextLayout.java80 init(context, null /*attrs*/, 0 /*defStyleAttr*/, 0 /*defStyleRes*/);
84 @Nullable AttributeSet attrs) {
85 super(context, attrs);
86 init(context, attrs, 0 /*defStyleAttr*/, 0 /*defStyleRes*/);
90 @Nullable AttributeSet attrs, int defStyleAttr) {
91 super(context, attrs, defStyleAttr);
92 init(context, attrs, defStyleAttr, 0 /*defStyleRes*/);
96 public EmojiExtractTextLayout(Context context, AttributeSet attrs, argument
98 super(context, attrs, defStyleAttr, defStyleRes);
99 init(context, attrs, defStyleAtt
83 EmojiExtractTextLayout(Context context, @Nullable AttributeSet attrs) argument
89 EmojiExtractTextLayout(Context context, @Nullable AttributeSet attrs, int defStyleAttr) argument
102 init(@onNull Context context, @Nullable AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DEditText.java79 public EditText(Context context, AttributeSet attrs) { argument
80 this(context, attrs, com.android.internal.R.attr.editTextStyle);
83 public EditText(Context context, AttributeSet attrs, int defStyleAttr) { argument
84 this(context, attrs, defStyleAttr, 0);
87 public EditText(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
88 super(context, attrs, defStyleAttr, defStyleRes);
H A DMediaControlView2.java142 public MediaControlView2(@NonNull Context context, @Nullable AttributeSet attrs) { argument
143 this(context, attrs, 0);
146 public MediaControlView2(@NonNull Context context, @Nullable AttributeSet attrs, argument
148 this(context, attrs, defStyleAttr, 0);
151 public MediaControlView2(@NonNull Context context, @Nullable AttributeSet attrs, argument
156 attrs, defStyleAttr, defStyleRes),
157 context, attrs, defStyleAttr, defStyleRes);
158 mProvider.initialize(attrs, defStyleAttr, defStyleRes);
/frameworks/base/core/java/com/android/internal/widget/
H A DEmphasizedNotificationButton.java45 public EmphasizedNotificationButton(Context context, AttributeSet attrs) { argument
46 this(context, attrs, 0);
49 public EmphasizedNotificationButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
50 this(context, attrs, defStyleAttr, 0);
53 public EmphasizedNotificationButton(Context context, AttributeSet attrs, int defStyleAttr, argument
55 super(context, attrs, defStyleAttr, defStyleRes);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFixedSizeFrameLayout.java38 public FixedSizeFrameLayout(Context context, AttributeSet attrs) { argument
39 super(context, attrs);
42 public FixedSizeFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument
43 super(context, attrs, defStyleAttr);
46 public FixedSizeFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, argument
48 super(context, attrs, defStyleAttr, defStyleRes);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DFakeShadowView.java45 public FakeShadowView(Context context, @Nullable AttributeSet attrs) { argument
46 this(context, attrs, 0);
49 public FakeShadowView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { argument
50 this(context, attrs, defStyleAttr, 0);
53 public FakeShadowView(Context context, @Nullable AttributeSet attrs, int defStyleAttr, argument
55 super(context, attrs, defStyleAttr, defStyleRes);
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DCustomScrollView.java44 public CustomScrollView(Context context, AttributeSet attrs) { argument
45 super(context, attrs);
48 public CustomScrollView(Context context, AttributeSet attrs, int defStyleAttr) { argument
49 super(context, attrs, defStyleAttr);
52 public CustomScrollView(Context context, AttributeSet attrs, int defStyleAttr, argument
54 super(context, attrs, defStyleAttr, defStyleRes);
/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
H A DErrorCatcher.java40 public ErrorCatcher(Context context, AttributeSet attrs) { argument
41 super(context, attrs);
44 public ErrorCatcher(Context context, AttributeSet attrs, int defStyleAttr) { argument
45 super(context, attrs, defStyleAttr);
48 public ErrorCatcher(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
49 super(context, attrs, defStyleAttr, defStyleRes);
/frameworks/support/transition/src/androidTest/java/androidx/transition/
H A DTransitionInflaterTest.java199 public CustomTransition(Context context, AttributeSet attrs) { argument
200 super(context, attrs);
217 public CustomPathMotion(Context context, AttributeSet attrs) { argument
218 super(context, attrs);
228 public InflationFade(Context context, AttributeSet attrs) { argument
229 super(context, attrs);
234 public InflationChangeBounds(Context context, AttributeSet attrs) { argument
235 super(context, attrs);
240 public InflationSlide(Context context, AttributeSet attrs) { argument
241 super(context, attrs);
246 InflationTransitionSet(Context context, AttributeSet attrs) argument
252 InflationChangeImageTransform(Context context, AttributeSet attrs) argument
258 InflationChangeTransform(Context context, AttributeSet attrs) argument
264 InflationAutoTransition(Context context, AttributeSet attrs) argument
270 InflationChangeClipBounds(Context context, AttributeSet attrs) argument
276 InflationChangeScroll(Context context, AttributeSet attrs) argument
282 InflationExplode(Context context, AttributeSet attrs) argument
[all...]
/frameworks/base/media/tests/NativeMidiDemo/java/com/example/android/nativemididemo/
H A DTouchableScrollView.java15 public TouchableScrollView(Context context, AttributeSet attrs) { argument
16 super(context, attrs);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DCustomErrorEditText.java30 public CustomErrorEditText(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
H A DEmbeddedContentContainer.java30 public EmbeddedContentContainer(Context context, AttributeSet attrs) { argument
31 super(context, attrs);

Completed in 1769 milliseconds

1234567891011>>