Searched refs:attrs (Results 326 - 350 of 373) sorted by relevance

<<1112131415

/frameworks/base/core/java/android/widget/
H A DNumberPicker.java551 * @param attrs A collection of attributes.
553 public NumberPicker(Context context, AttributeSet attrs) { argument
554 this(context, attrs, R.attr.numberPickerStyle);
561 * @param attrs a collection of attributes.
564 public NumberPicker(Context context, AttributeSet attrs, int defStyle) { argument
565 super(context, attrs, defStyle);
569 attrs, R.styleable.NumberPicker, defStyle, 0);
2149 public CustomEditText(Context context, AttributeSet attrs) { argument
2150 super(context, attrs);
H A DHorizontalScrollView.java145 public HorizontalScrollView(Context context, AttributeSet attrs) { argument
146 this(context, attrs, com.android.internal.R.attr.horizontalScrollViewStyle);
149 public HorizontalScrollView(Context context, AttributeSet attrs, int defStyle) { argument
150 super(context, attrs, defStyle);
153 TypedArray a = context.obtainStyledAttributes(attrs,
H A DScrollView.java161 public ScrollView(Context context, AttributeSet attrs) { argument
162 this(context, attrs, com.android.internal.R.attr.scrollViewStyle);
165 public ScrollView(Context context, AttributeSet attrs, int defStyle) { argument
166 super(context, attrs, defStyle);
170 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ScrollView, defStyle, 0);
H A DMediaController.java100 public MediaController(Context context, AttributeSet attrs) { argument
101 super(context, attrs);
H A DGridView.java109 public GridView(Context context, AttributeSet attrs) { argument
110 this(context, attrs, com.android.internal.R.attr.gridViewStyle);
113 public GridView(Context context, AttributeSet attrs, int defStyle) { argument
114 super(context, attrs, defStyle);
116 TypedArray a = context.obtainStyledAttributes(attrs,
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java172 public ActionBarView(Context context, AttributeSet attrs) { argument
173 super(context, attrs);
178 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ActionBar,
1280 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { argument
1281 return new ActionBar.LayoutParams(getContext(), attrs);
1391 public HomeView(Context context, AttributeSet attrs) { argument
1392 super(context, attrs);
H A DWaveView.java110 public WaveView(Context context, AttributeSet attrs) { argument
111 super(context, attrs);
113 // TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.WaveView);
H A DLockPatternView.java104 private float mDiameterFactor = 0.10f; // TODO: move to attrs
242 public LockPatternView(Context context, AttributeSet attrs) { argument
243 super(context, attrs);
245 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.LockPatternView);
H A DSlidingTab.java56 private static final int HORIZONTAL = 0; // as defined in attrs.xml
445 public SlidingTab(Context context, AttributeSet attrs) { argument
446 super(context, attrs);
451 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SlidingTab);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarView.java165 public ActionBarView(Context context, AttributeSet attrs) { argument
166 super(context, attrs);
172 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ActionBar,
1158 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { argument
1159 return new ActionBar.LayoutParams(getContext(), attrs);
1257 public HomeView(Context context, AttributeSet attrs) { argument
1258 super(context, attrs);
/frameworks/base/core/java/android/app/
H A DActivity.java4728 public View onCreateView(String name, Context context, AttributeSet attrs) { argument
4742 public View onCreateView(View parent, String name, Context context, AttributeSet attrs) { argument
4744 return onCreateView(name, context, attrs);
4747 String fname = attrs.getAttributeValue(null, "class");
4749 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.Fragment);
4759 throw new IllegalArgumentException(attrs.getPositionDescription()
4785 fragment.onInflate(this, attrs, fragment.mSavedFragmentState);
4791 throw new IllegalArgumentException(attrs.getPositionDescription()
4803 fragment.onInflate(this, attrs, fragment.mSavedFragmentState);
H A DSearchDialog.java624 public SearchBar(Context context, AttributeSet attrs) { argument
625 super(context, attrs);
H A DFragment.java1113 public void onInflate(AttributeSet attrs, Bundle savedInstanceState) { argument
1139 * {@sample development/samples/ApiDemos/res/values/attrs.xml fragment_arguments}
1154 * @param attrs The attributes at the tag where the fragment is
1159 public void onInflate(Activity activity, AttributeSet attrs, Bundle savedInstanceState) { argument
1160 onInflate(attrs, savedInstanceState);
/frameworks/base/core/java/android/view/
H A DViewGroup.java84 * corresponding definition for them that would go in <code>res/values/attrs.xml</code>:</p>
86 * {@sample development/samples/ApiDemos/res/values/attrs.xml CustomLayout}
463 public ViewGroup(Context context, AttributeSet attrs) { argument
464 super(context, attrs);
466 initFromAttributes(context, attrs);
469 public ViewGroup(Context context, AttributeSet attrs, int defStyle) { argument
470 super(context, attrs, defStyle);
472 initFromAttributes(context, attrs);
502 private void initFromAttributes(Context context, AttributeSet attrs) { argument
503 TypedArray a = context.obtainStyledAttributes(attrs,
4952 generateLayoutParams(AttributeSet attrs) argument
5899 LayoutParams(Context c, AttributeSet attrs) argument
6113 MarginLayoutParams(Context c, AttributeSet attrs) argument
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java323 public LayoutParams generateLayoutParams(AttributeSet attrs) { argument
328 return new FrameLayout.LayoutParams(context, attrs);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardTransportControlView.java271 public KeyguardTransportControlView(Context context, AttributeSet attrs) { argument
272 super(context, attrs);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarView.java198 public NavigationBarView(Context context, AttributeSet attrs) { argument
199 super(context, attrs);
H A DPanelView.java324 public PanelView(Context context, AttributeSet attrs) { argument
325 super(context, attrs);
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java312 public TypedArray obtainAttributes(AttributeSet set, int[] attrs) { argument
313 return mContext.obtainStyledAttributes(set, attrs);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialPickerLayout.java101 public RadialPickerLayout(Context context, AttributeSet attrs) { argument
102 super(context, attrs);
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java769 AttributeSet attrs = Xml.asAttributeSet(parser);
797 TypedArray sa = getResources().obtainAttributes(attrs,
857 getResources().parseBundleExtra("extra", attrs, curBundle);
861 header.intent = Intent.parseIntent(getResources(), parser, attrs);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DMultiWaveView.java210 public MultiWaveView(Context context, AttributeSet attrs) { argument
211 super(context, attrs);
214 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.MultiWaveView);
269 a = context.obtainStyledAttributes(attrs, android.R.styleable.LinearLayout);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java175 WindowManager.LayoutParams attrs = mDialog.getWindow().getAttributes();
176 attrs.setTitle("GlobalActions");
177 mDialog.getWindow().setAttributes(attrs);
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java278 public KeyboardView(Context context, AttributeSet attrs) { argument
279 this(context, attrs, com.android.internal.R.attr.keyboardViewStyle);
282 public KeyboardView(Context context, AttributeSet attrs, int defStyle) { argument
283 super(context, attrs, defStyle);
287 attrs, android.R.styleable.KeyboardView, defStyle, 0);
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java348 public ViewPager(Context context, AttributeSet attrs) { argument
349 super(context, attrs);
2756 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { argument
2757 return new LayoutParams(getContext(), attrs);
2870 public LayoutParams(Context context, AttributeSet attrs) { argument
2871 super(context, attrs);
2873 final TypedArray a = context.obtainStyledAttributes(attrs, LAYOUT_ATTRS);

Completed in 472 milliseconds

<<1112131415