/frameworks/base/core/java/android/preference/ |
MultiSelectListPreference.java | 50 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 51 super(context, attrs, defStyleAttr, defStyleRes); 53 final TypedArray a = context.obtainStyledAttributes(attrs, 61 public MultiSelectListPreference(Context context, AttributeSet attrs, int defStyleAttr) { 62 this(context, attrs, defStyleAttr, 0); 65 public MultiSelectListPreference(Context context, AttributeSet attrs) { 66 this(context, attrs, com.android.internal.R.attr.dialogPreferenceStyle);
|
VolumePreference.java | 42 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 43 super(context, attrs, defStyleAttr, defStyleRes); 45 final TypedArray a = context.obtainStyledAttributes(attrs, 51 public VolumePreference(Context context, AttributeSet attrs, int defStyleAttr) { 52 this(context, attrs, defStyleAttr, 0); 55 public VolumePreference(Context context, AttributeSet attrs) { 56 this(context, attrs, R.attr.seekBarDialogPreferenceStyle);
|
/frameworks/base/core/java/android/widget/ |
AnalogClock.java | 66 public AnalogClock(Context context, AttributeSet attrs) { 67 this(context, attrs, 0); 70 public AnalogClock(Context context, AttributeSet attrs, int defStyleAttr) { 71 this(context, attrs, defStyleAttr, 0); 74 public AnalogClock(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 75 super(context, attrs, defStyleAttr, defStyleRes); 79 attrs, com.android.internal.R.styleable.AnalogClock, defStyleAttr, defStyleRes);
|
Chronometer.java | 101 public Chronometer(Context context, AttributeSet attrs) { 102 this(context, attrs, 0); 109 public Chronometer(Context context, AttributeSet attrs, int defStyleAttr) { 110 this(context, attrs, defStyleAttr, 0); 113 public Chronometer(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 114 super(context, attrs, defStyleAttr, defStyleRes); 117 attrs, com.android.internal.R.styleable.Chronometer, defStyleAttr, defStyleRes);
|
RadioGroup.java | 85 public RadioGroup(Context context, AttributeSet attrs) { 86 super(context, attrs); 96 attrs, com.android.internal.R.styleable.RadioGroup, com.android.internal.R.attr.radioButtonStyle, 0); 245 public LayoutParams generateLayoutParams(AttributeSet attrs) { 246 return new RadioGroup.LayoutParams(getContext(), attrs); 281 public LayoutParams(Context c, AttributeSet attrs) { 282 super(c, attrs);
|
ViewAnimator.java | 52 public ViewAnimator(Context context, AttributeSet attrs) { 53 super(context, attrs); 55 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewAnimator); 71 initViewAnimator(context, attrs); 78 private void initViewAnimator(Context context, AttributeSet attrs) { 79 if (attrs == null) { 87 final TypedArray a = context.obtainStyledAttributes(attrs,
|
CalendarView.java | 97 public CalendarView(@NonNull Context context, @Nullable AttributeSet attrs) { 98 this(context, attrs, R.attr.calendarViewStyle); 101 public CalendarView(@NonNull Context context, @Nullable AttributeSet attrs, 103 this(context, attrs, defStyleAttr, 0); 106 public CalendarView(@NonNull Context context, @Nullable AttributeSet attrs, 108 super(context, attrs, defStyleAttr, defStyleRes); 111 attrs, R.styleable.CalendarView, defStyleAttr, defStyleRes); 118 this, context, attrs, defStyleAttr, defStyleRes); 122 this, context, attrs, defStyleAttr, defStyleRes);
|
TimePicker.java | 106 public TimePicker(Context context, AttributeSet attrs) { 107 this(context, attrs, R.attr.timePickerStyle); 110 public TimePicker(Context context, AttributeSet attrs, int defStyleAttr) { 111 this(context, attrs, defStyleAttr, 0); 114 public TimePicker(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 115 super(context, attrs, defStyleAttr, defStyleRes); 123 attrs, R.styleable.TimePicker, defStyleAttr, defStyleRes); 139 this, context, attrs, defStyleAttr, defStyleRes); 144 this, context, attrs, defStyleAttr, defStyleRes);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuItemView.java | 60 public ActionMenuItemView(Context context, AttributeSet attrs) { 61 this(context, attrs, 0); 64 public ActionMenuItemView(Context context, AttributeSet attrs, int defStyleAttr) { 65 this(context, attrs, defStyleAttr, 0); 68 public ActionMenuItemView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 69 super(context, attrs, defStyleAttr, defStyleRes); 72 final TypedArray a = context.obtainStyledAttributes(attrs,
|
IconMenuItemView.java | 61 public IconMenuItemView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 62 super(context, attrs, defStyleAttr, defStyleRes); 74 attrs, com.android.internal.R.styleable.MenuView, defStyleAttr, defStyleRes); 85 public IconMenuItemView(Context context, AttributeSet attrs, int defStyleAttr) { 86 this(context, attrs, defStyleAttr, 0); 89 public IconMenuItemView(Context context, AttributeSet attrs) { 90 this(context, attrs, 0);
|
/frameworks/base/core/java/com/android/internal/widget/ |
MessagingLinearLayout.java | 62 public MessagingLinearLayout(Context context, @Nullable AttributeSet attrs) { 63 super(context, attrs); 65 final TypedArray a = context.obtainStyledAttributes(attrs, 267 public LayoutParams generateLayoutParams(AttributeSet attrs) { 268 return new LayoutParams(mContext, attrs); 313 public LayoutParams(Context c, AttributeSet attrs) { 314 super(c, attrs);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ScrimView.java | 68 public ScrimView(Context context, AttributeSet attrs) { 69 this(context, attrs, 0); 72 public ScrimView(Context context, AttributeSet attrs, int defStyleAttr) { 73 this(context, attrs, defStyleAttr, 0); 76 public ScrimView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 77 super(context, attrs, defStyleAttr, defStyleRes); 79 TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.ScrimView);
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
MultiSelectListPreference.java | 50 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 51 super(context, attrs, defStyleAttr, defStyleRes); 53 final TypedArray a = context.obtainStyledAttributes(attrs, 68 public MultiSelectListPreference(Context context, AttributeSet attrs, int defStyleAttr) { 69 this(context, attrs, defStyleAttr, 0); 72 public MultiSelectListPreference(Context context, AttributeSet attrs) { 73 this(context, attrs, TypedArrayUtils.getAttr(context,
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
PreferenceGroup.java | 74 public PreferenceGroup(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 75 super(context, attrs, defStyleAttr, defStyleRes); 80 attrs, R.styleable.PreferenceGroup, defStyleAttr, defStyleRes); 89 public PreferenceGroup(Context context, AttributeSet attrs, int defStyleAttr) { 90 this(context, attrs, defStyleAttr, 0); 93 public PreferenceGroup(Context context, AttributeSet attrs) { 94 this(context, attrs, 0);
|
SeekBarPreference.java | 116 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 117 super(context, attrs, defStyleAttr, defStyleRes); 120 attrs, R.styleable.SeekBarPreference, defStyleAttr, defStyleRes); 135 public SeekBarPreference(Context context, AttributeSet attrs, int defStyleAttr) { 136 this(context, attrs, defStyleAttr, 0); 139 public SeekBarPreference(Context context, AttributeSet attrs) { 140 this(context, attrs, R.attr.seekBarPreferenceStyle);
|
/system/media/camera/docs/ |
metadata_parser_xml.py | 145 'type_notes': entry.attrs.get('type_notes') 219 if value.attrs.get('deprecated', 'false') == 'true': 222 if value.attrs.get('optional', 'false') == 'true': 225 if value.attrs.get('hidden', 'false') == 'true': 228 if value.attrs.get('ndk_hidden', 'false') == 'true': 235 if value.attrs.get('id') is not None: 250 if entry.attrs.get('container') is not None:
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TableLayout_LayoutParamsTest.java | 104 AttributeSet attrs = getAttrs("base_attr_pixel"); local 105 TypedArray a = mContext.obtainStyledAttributes(attrs, 120 attrs = getAttrs("base_attr_fillwrap"); 121 a = mContext.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout); 135 attrs = getAttrs("base_attr_noheight"); 136 a = mContext.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout); 170 AttributeSet attrs = null; local 198 attrs = Xml.asAttributeSet(parser); 211 return attrs;
|
TableRow_LayoutParamsTest.java | 125 AttributeSet attrs = getAttrs("base_attr_pixel"); local 126 TypedArray a = mActivity.obtainStyledAttributes(attrs, 141 attrs = getAttrs("base_attr_fillwrap"); 142 a = mActivity.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout); 156 attrs = getAttrs("base_attr_noheight"); 157 a = mActivity.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout); 194 AttributeSet attrs = null; local 222 attrs = Xml.asAttributeSet(parser); 235 return attrs;
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
viddec_h264_parse.c | 508 viddec_frame_attributes_t *attrs; local 511 attrs = &wl->attrs; 513 if((attrs->cont_size.width < 32) || (attrs->cont_size.width > 2048) || (attrs->cont_size.height < 32) || (attrs->cont_size.height>2048)) 515 attrs->cont_size.width = 32; 516 attrs->cont_size.height = 32;
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
InterpolatingLayout.java | 48 public InterpolatingLayout(Context context, AttributeSet attrs) { 49 super(context, attrs); 52 public InterpolatingLayout(Context context, AttributeSet attrs, int defStyle) { 53 super(context, attrs, defStyle); 81 public LayoutParams(Context c, AttributeSet attrs) { 82 super(c, attrs); 83 TypedArray a = c.obtainStyledAttributes(attrs, R.styleable.InterpolatingLayout_Layout); 194 public LayoutParams generateLayoutParams(AttributeSet attrs) { 195 return new LayoutParams(getContext(), attrs);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentArguments.java | 72 @Override public void onInflate(Activity activity, AttributeSet attrs, 74 super.onInflate(activity, attrs, savedInstanceState); 76 TypedArray a = activity.obtainStyledAttributes(attrs,
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LabelView.java | 59 public LabelView(Context context, AttributeSet attrs) { 60 super(context, attrs); 63 TypedArray a = context.obtainStyledAttributes(attrs,
|
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
FixedGridLayout.java | 45 public FixedGridLayout(Context context, AttributeSet attrs) { 46 super(context, attrs); 50 attrs, R.styleable.FixedGridLayout);
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
FixedAspectSurfaceView.java | 47 public FixedAspectSurfaceView(Context context, AttributeSet attrs) { 48 super(context, attrs); 52 context.getTheme().obtainStyledAttributes(attrs,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
Cookie.py | 85 >>> print C.output(attrs=[], header="Cookie:")
468 def output(self, attrs=None, header = "Set-Cookie:"):
469 return "%s %s" % ( header, self.OutputString(attrs) )
477 def js_output(self, attrs=None):
485 """ % ( self.OutputString(attrs).replace('"',r'\"'), )
488 def OutputString(self, attrs=None):
498 if attrs is None:
499 attrs = self._reserved
504 if K not in attrs: continue
595 def output(self, attrs=None, header="Set-Cookie:", sep="\015\012"): [all...] |