/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LivePointerIconButton.java | 34 public LivePointerIconButton(Context context, AttributeSet attrs) { 35 super(context, attrs); 38 public LivePointerIconButton(Context context, AttributeSet attrs, int defStyleAttr) { 39 super(context, attrs, defStyleAttr); 42 public LivePointerIconButton(Context context, AttributeSet attrs, 44 super(context, attrs, defStyleAttr, defStyleRes);
|
CheckableFrameLayout.java | 32 public CheckableFrameLayout(Context context, AttributeSet attrs) { 33 super(context, attrs);
|
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/ |
FloatingActionButton.java | 67 public FloatingActionButton(Context context, AttributeSet attrs) { 68 this(context, attrs, 0, 0); 71 public FloatingActionButton(Context context, AttributeSet attrs, int defStyleAttr) { 72 this(context, attrs, defStyleAttr, 0); 75 public FloatingActionButton(Context context, AttributeSet attrs, int defStyleAttr, 77 super(context, attrs, defStyleAttr);
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
ElementPolicy.java | 50 * @param attrs a list of alternating attribute names and values. 56 public @Nullable String apply(String elementName, List<String> attrs); 105 public String apply(String elementName, List<String> attrs) { 112 public @Nullable String apply(String elementName, List<String> attrs) { 128 public @Nullable String apply(String elementName, List<String> attrs) { 129 elementName = first.apply(elementName, attrs); 130 return elementName != null ? second.apply(elementName, attrs) : null;
|
/frameworks/base/core/java/android/preference/ |
GenericInflater.java | 79 * @param attrs Inflation attributes as specified in XML file. 82 public T onCreateItem(String name, Context context, AttributeSet attrs); 93 public T onCreateItem(String name, Context context, AttributeSet attrs) { 94 T v = mF1.onCreateItem(name, context, attrs); 96 return mF2.onCreateItem(name, context, attrs); 294 final AttributeSet attrs = Xml.asAttributeSet(parser); local 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) [all...] |
/frameworks/base/core/java/android/widget/ |
EditText.java | 79 public EditText(Context context, AttributeSet attrs) { 80 this(context, attrs, com.android.internal.R.attr.editTextStyle); 83 public EditText(Context context, AttributeSet attrs, int defStyleAttr) { 84 this(context, attrs, defStyleAttr, 0); 87 public EditText(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 88 super(context, attrs, defStyleAttr, defStyleRes);
|
/frameworks/base/core/java/com/android/internal/widget/ |
NotificationExpandButton.java | 40 public NotificationExpandButton(Context context, @Nullable AttributeSet attrs) { 41 super(context, attrs); 44 public NotificationExpandButton(Context context, @Nullable AttributeSet attrs, 46 super(context, attrs, defStyleAttr); 49 public NotificationExpandButton(Context context, @Nullable AttributeSet attrs, int defStyleAttr, 51 super(context, attrs, defStyleAttr, defStyleRes);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
FixedSizeFrameLayout.java | 38 public FixedSizeFrameLayout(Context context, AttributeSet attrs) { 39 super(context, attrs); 42 public FixedSizeFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { 43 super(context, attrs, defStyleAttr); 46 public FixedSizeFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, 48 super(context, attrs, defStyleAttr, defStyleRes);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
FakeShadowView.java | 45 public FakeShadowView(Context context, @Nullable AttributeSet attrs) { 46 this(context, attrs, 0); 49 public FakeShadowView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { 50 this(context, attrs, defStyleAttr, 0); 53 public FakeShadowView(Context context, @Nullable AttributeSet attrs, int defStyleAttr, 55 super(context, attrs, defStyleAttr, defStyleRes);
|
/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/ |
ErrorCatcher.java | 40 public ErrorCatcher(Context context, AttributeSet attrs) { 41 super(context, attrs); 44 public ErrorCatcher(Context context, AttributeSet attrs, int defStyleAttr) { 45 super(context, attrs, defStyleAttr); 48 public ErrorCatcher(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 49 super(context, attrs, defStyleAttr, defStyleRes);
|
/frameworks/support/transition/tests/src/android/support/transition/ |
TransitionInflaterTest.java | 199 public CustomTransition(Context context, AttributeSet attrs) { 200 super(context, attrs); 217 public CustomPathMotion(Context context, AttributeSet attrs) { 218 super(context, attrs); 228 public InflationFade(Context context, AttributeSet attrs) { 229 super(context, attrs); 234 public InflationChangeBounds(Context context, AttributeSet attrs) { 235 super(context, attrs); 240 public InflationSlide(Context context, AttributeSet attrs) { 241 super(context, attrs); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AppCompatViewInflater.java | 81 @NonNull AttributeSet attrs, boolean inheritContext, 92 context = themifyContext(context, attrs, readAndroidTheme, readAppTheme); 103 view = new AppCompatTextView(context, attrs); 106 view = new AppCompatImageView(context, attrs); 109 view = new AppCompatButton(context, attrs); 112 view = new AppCompatEditText(context, attrs); 115 view = new AppCompatSpinner(context, attrs); 118 view = new AppCompatImageButton(context, attrs); 121 view = new AppCompatCheckBox(context, attrs); 124 view = new AppCompatRadioButton(context, attrs); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
CustomDialogPreference.java | 32 public CustomDialogPreference(Context context, AttributeSet attrs, int defStyleAttr, 34 super(context, attrs, defStyleAttr, defStyleRes); 37 public CustomDialogPreference(Context context, AttributeSet attrs, int defStyleAttr) { 38 super(context, attrs, defStyleAttr); 41 public CustomDialogPreference(Context context, AttributeSet attrs) { 42 super(context, attrs);
|
ProgressCategory.java | 40 public ProgressCategory(Context context, AttributeSet attrs) { 41 super(context, attrs); 45 public ProgressCategory(Context context, AttributeSet attrs, 47 super(context, attrs, defStyleAttr); 51 public ProgressCategory(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 52 super(context, attrs, defStyleAttr, defStyleRes);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
DefaultIndicatorSeekBar.java | 33 public DefaultIndicatorSeekBar(Context context, AttributeSet attrs) { 34 super(context, attrs); 37 public DefaultIndicatorSeekBar(Context context, AttributeSet attrs, int defStyleAttr) { 38 super(context, attrs, defStyleAttr); 41 public DefaultIndicatorSeekBar(Context context, AttributeSet attrs, int defStyleAttr, 43 super(context, attrs, defStyleAttr, defStyleRes);
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
MaxWidthLayout.java | 45 public MaxWidthLayout(Context context, AttributeSet attrs) { 46 super(context, attrs); 47 initialize(context.obtainStyledAttributes(attrs, R.styleable.MaxWidthLayout)); 50 public MaxWidthLayout(Context context, AttributeSet attrs, int defStyleAttr) { 51 super(context, attrs, defStyleAttr); 53 .obtainStyledAttributes(attrs, R.styleable.MaxWidthLayout, defStyleAttr, 0));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
ColorChangeOnKeyView.java | 36 public ColorChangeOnKeyView(Context context, AttributeSet attrs) { 37 super(context, attrs, 0);
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
CustomPreference.java | 33 public CustomPreference(Context context, AttributeSet attrs) { 34 super(context, attrs); 35 init(attrs); 42 public CustomPreference(Context context, AttributeSet attrs, int defStyle) { 43 super(context, attrs, defStyle); 44 init(attrs); 47 private void init(AttributeSet attrs) { 48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
|
/cts/tests/tests/view/src/android/view/cts/ |
MockLinearLayout.java | 29 public MockLinearLayout(Context context, AttributeSet attrs) { 30 super(context, attrs);
|
/development/samples/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/ |
FractionalLinearLayout.java | 43 public FractionalLinearLayout(Context context, AttributeSet attrs) { 44 super(context, attrs);
|
/external/libnl/tests/ |
test-genl.c | 16 struct nlattr *attrs[TASKSTATS_TYPE_MAX+1]; local 20 if (info->attrs[TASKSTATS_TYPE_AGGR_PID]) 21 nested = info->attrs[TASKSTATS_TYPE_AGGR_PID]; 22 else if (info->attrs[TASKSTATS_TYPE_AGGR_TGID]) 23 nested = info->attrs[TASKSTATS_TYPE_AGGR_TGID]; 30 err = nla_parse_nested(attrs, TASKSTATS_TYPE_MAX, nested, attr_policy); 37 if (attrs[TASKSTATS_TYPE_STATS]) { 38 struct taskstats *stats = nla_data(attrs[TASKSTATS_TYPE_STATS]);
|
/frameworks/base/media/tests/NativeMidiDemo/java/com/example/android/nativemididemo/ |
TouchableScrollView.java | 15 public TouchableScrollView(Context context, AttributeSet attrs) { 16 super(context, attrs);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
CustomErrorEditText.java | 30 public CustomErrorEditText(Context context, AttributeSet attrs) { 31 super(context, attrs);
|
EmbeddedContentContainer.java | 30 public EmbeddedContentContainer(Context context, AttributeSet attrs) { 31 super(context, attrs);
|
/frameworks/base/packages/SystemUI/plugin/ExamplePlugin/src/com/android/systemui/plugin/testoverlayplugin/ |
CustomView.java | 30 public CustomView(Context context, @Nullable AttributeSet attrs) { 31 super(context, attrs);
|