Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 25 of 640) sorted by relevance

12345678910>>...26

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DBaseAccountType.java660 protected final void parseEditSchema(Context context, XmlPullParser parser, AttributeSet attrs) in parseEditSchema() argument
675 for (DataKind kind : KindParser.INSTANCE.parseDataKindTag(context, parser, attrs)) { in parseEditSchema()
685 private static boolean getAttr(AttributeSet attrs, String attribute, boolean defaultValue) { in getAttr() argument
686 return attrs.getAttributeBooleanValue(null, attribute, defaultValue); in getAttr()
689 private static int getAttr(AttributeSet attrs, String attribute, int defaultValue) { in getAttr() argument
690 return attrs.getAttributeIntValue(null, attribute, defaultValue); in getAttr()
693 private static String getAttr(AttributeSet attrs, String attribute) { in getAttr() argument
694 return attrs.getAttributeValue(null, attribute); in getAttr()
732 AttributeSet attrs) in parseDataKindTag() argument
734 final String kind = getAttr(attrs, Attr.KIND); in parseDataKindTag()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DSpacePreference.java35 public SpacePreference(Context context, AttributeSet attrs) { in SpacePreference() argument
36 this(context, attrs, com.android.internal.R.attr.preferenceStyle); in SpacePreference()
39 public SpacePreference(Context context, AttributeSet attrs, int defStyleAttr) { in SpacePreference() argument
40 this(context, attrs, defStyleAttr, 0); in SpacePreference()
43 public SpacePreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in SpacePreference() argument
44 super(context, attrs, defStyleAttr, defStyleRes); in SpacePreference()
47 final TypedArray a = context.obtainStyledAttributes(attrs, in SpacePreference()
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
DPagedScrollBarView.java27 Context context, AttributeSet attrs) { in PagedScrollBarView() argument
28 this(context, attrs, 0 /*defStyleAttrs*/, 0 /*defStyleRes*/); in PagedScrollBarView()
32 Context context, AttributeSet attrs, int defStyleAttrs) { in PagedScrollBarView() argument
33 this(context, attrs, defStyleAttrs, 0 /*defStyleRes*/); in PagedScrollBarView()
37 Context context, AttributeSet attrs, int defStyleAttrs, int defStyleRes) { in PagedScrollBarView() argument
38 super(context, attrs, defStyleAttrs, defStyleRes); in PagedScrollBarView()
DPagedListView.java26 public PagedListView(Context context, AttributeSet attrs) { in PagedListView() argument
27 this(context, attrs, 0 /*defStyleAttrs*/, 0 /*defStyleRes*/); in PagedListView()
30 public PagedListView(Context context, AttributeSet attrs, int defStyleAttrs) { in PagedListView() argument
31 this(context, attrs, defStyleAttrs, 0 /*defStyleRes*/); in PagedListView()
34 public PagedListView(Context context, AttributeSet attrs, int defStyleAttrs, int defStyleRes) { in PagedListView() argument
35 super(context, attrs, defStyleAttrs, defStyleRes); in PagedListView()
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
DProportionalLayout.java70 public ProportionalLayout(Context context, AttributeSet attrs) { in ProportionalLayout() argument
71 super(context, attrs); in ProportionalLayout()
72 initFromAttributes(context, attrs); in ProportionalLayout()
75 public ProportionalLayout(Context context, AttributeSet attrs, int defStyle) { in ProportionalLayout() argument
76 super(context, attrs, defStyle); in ProportionalLayout()
77 initFromAttributes(context, attrs); in ProportionalLayout()
80 private void initFromAttributes(Context context, AttributeSet attrs) { in initFromAttributes() argument
81 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ProportionalLayout); in initFromAttributes()
/packages/apps/Settings/src/com/android/settings/
DProgressCategoryBase.java28 public ProgressCategoryBase(Context context, AttributeSet attrs) { in ProgressCategoryBase() argument
29 this(context, attrs, 0); in ProgressCategoryBase()
32 public ProgressCategoryBase(Context context, AttributeSet attrs, int defStyleAttr) { in ProgressCategoryBase() argument
33 super(context, attrs, defStyleAttr, 0); in ProgressCategoryBase()
36 public ProgressCategoryBase(Context context, AttributeSet attrs, int defStyleAttr, in ProgressCategoryBase() argument
38 super(context, attrs, defStyleAttr, defStyleRes); in ProgressCategoryBase()
DRestrictedRadioButton.java40 public RestrictedRadioButton(Context context, AttributeSet attrs) { in RestrictedRadioButton() argument
41 this(context, attrs, com.android.internal.R.attr.radioButtonStyle); in RestrictedRadioButton()
44 public RestrictedRadioButton(Context context, AttributeSet attrs, int defStyleAttr) { in RestrictedRadioButton() argument
45 this(context, attrs, defStyleAttr, 0); in RestrictedRadioButton()
48 public RestrictedRadioButton(Context context, AttributeSet attrs, int defStyleAttr, in RestrictedRadioButton() argument
50 super(context, attrs, defStyleAttr, defStyleRes); in RestrictedRadioButton()
DProgressCategory.java39 public ProgressCategory(Context context, AttributeSet attrs) { in ProgressCategory() argument
40 super(context, attrs, 0); in ProgressCategory()
43 public ProgressCategory(Context context, AttributeSet attrs, in ProgressCategory() argument
45 this(context, attrs, defStyleAttr, 0); in ProgressCategory()
48 … public ProgressCategory(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ProgressCategory() argument
49 super(context, attrs, defStyleAttr, defStyleRes); in ProgressCategory()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothProgressCategory.java33 public BluetoothProgressCategory(Context context, AttributeSet attrs) { in BluetoothProgressCategory() argument
34 this(context, attrs, 0); in BluetoothProgressCategory()
37 public BluetoothProgressCategory(Context context, AttributeSet attrs, int defStyleAttr) { in BluetoothProgressCategory() argument
38 this(context, attrs, defStyleAttr, 0); in BluetoothProgressCategory()
41 public BluetoothProgressCategory(Context context, AttributeSet attrs, int defStyleAttr, in BluetoothProgressCategory() argument
43 super(context, attrs, defStyleAttr, defStyleRes); in BluetoothProgressCategory()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DSecureButtonView.java34 public SecureButtonView(Context context, AttributeSet attrs) { in SecureButtonView() argument
35 this(context, attrs, 0); in SecureButtonView()
38 public SecureButtonView(Context context, AttributeSet attrs, int defStyleAttr) { in SecureButtonView() argument
39 this(context, attrs, defStyleAttr, 0); in SecureButtonView()
42 public SecureButtonView(Context context, AttributeSet attrs, int defStyleAttr, in SecureButtonView() argument
44 super(context, attrs, defStyleAttr, defStyleRes); in SecureButtonView()
DPreferenceImageView.java32 public PreferenceImageView(Context context, AttributeSet attrs) { in PreferenceImageView() argument
33 this(context, attrs, 0); in PreferenceImageView()
36 public PreferenceImageView(Context context, AttributeSet attrs, int defStyleAttr) { in PreferenceImageView() argument
37 this(context, attrs, defStyleAttr, 0); in PreferenceImageView()
40 public PreferenceImageView(Context context, AttributeSet attrs, int defStyleAttr, in PreferenceImageView() argument
42 super(context, attrs, defStyleAttr, defStyleRes); in PreferenceImageView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DDreamTimePreference.java28 public DreamTimePreference(Context context, AttributeSet attrs, int defStyleAttr, in DreamTimePreference() argument
30 super(context, attrs, defStyleAttr, defStyleRes); in DreamTimePreference()
33 public DreamTimePreference(Context context, AttributeSet attrs, int defStyleAttr) { in DreamTimePreference() argument
34 super(context, attrs, defStyleAttr); in DreamTimePreference()
37 public DreamTimePreference(Context context, AttributeSet attrs) { in DreamTimePreference() argument
38 super(context, attrs); in DreamTimePreference()
/packages/apps/TV/src/com/android/tv/ui/
DOverlayRootView.java34 public OverlayRootView(Context context, AttributeSet attrs) { in OverlayRootView() argument
35 this(context, attrs, 0, 0); in OverlayRootView()
38 public OverlayRootView(Context context, AttributeSet attrs, int defStyleAttr) { in OverlayRootView() argument
39 this(context, attrs, defStyleAttr, 0); in OverlayRootView()
42 public OverlayRootView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in OverlayRootView() argument
43 super(context, attrs, defStyleAttr, defStyleRes); in OverlayRootView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DCollapsibleCategory.java29 public CollapsibleCategory(Context context, AttributeSet attrs, int defStyleAttr, in CollapsibleCategory() argument
31 super(context, attrs, defStyleAttr, defStyleRes); in CollapsibleCategory()
34 public CollapsibleCategory(Context context, AttributeSet attrs, int defStyleAttr) { in CollapsibleCategory() argument
35 super(context, attrs, defStyleAttr); in CollapsibleCategory()
38 public CollapsibleCategory(Context context, AttributeSet attrs) { in CollapsibleCategory() argument
39 super(context, attrs); in CollapsibleCategory()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DTimerRingtonePreference.java37 public TimerRingtonePreference(Context context, AttributeSet attrs) { in TimerRingtonePreference() argument
38 super(context, attrs); in TimerRingtonePreference()
41 public TimerRingtonePreference(Context context, AttributeSet attrs, int defStyleAttr) { in TimerRingtonePreference() argument
42 super(context, attrs, defStyleAttr); in TimerRingtonePreference()
45 public TimerRingtonePreference(Context context, AttributeSet attrs, int defStyleAttr, in TimerRingtonePreference() argument
47 super(context, attrs, defStyleAttr, defStyleRes); in TimerRingtonePreference()
/packages/apps/Settings/src/com/android/settings/widget/
DToggleSwitch.java35 public ToggleSwitch(Context context, AttributeSet attrs) { in ToggleSwitch() argument
36 super(context, attrs); in ToggleSwitch()
39 public ToggleSwitch(Context context, AttributeSet attrs, int defStyleAttr) { in ToggleSwitch() argument
40 super(context, attrs, defStyleAttr); in ToggleSwitch()
43 public ToggleSwitch(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ToggleSwitch() argument
44 super(context, attrs, defStyleAttr, defStyleRes); in ToggleSwitch()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DLongClickPreference.java33 public LongClickPreference(Context context, AttributeSet attrs, in LongClickPreference() argument
35 super(context, attrs, defStyleAttr, defStyleRes); in LongClickPreference()
38 public LongClickPreference(Context context, AttributeSet attrs, in LongClickPreference() argument
40 super(context, attrs, defStyleAttr); in LongClickPreference()
43 public LongClickPreference(Context context, AttributeSet attrs) { in LongClickPreference() argument
44 super(context, attrs); in LongClickPreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStoragePreference.java32 public StoragePreference(Context context, AttributeSet attrs, in StoragePreference() argument
34 super(context, attrs, defStyleAttr, defStyleRes); in StoragePreference()
38 public StoragePreference(Context context, AttributeSet attrs, in StoragePreference() argument
40 super(context, attrs, defStyleAttr); in StoragePreference()
44 public StoragePreference(Context context, AttributeSet attrs) { in StoragePreference() argument
45 super(context, attrs); in StoragePreference()
/packages/apps/Launcher3/src/com/android/launcher3/
DInsettableFrameLayout.java16 public InsettableFrameLayout(Context context, AttributeSet attrs) { in InsettableFrameLayout() argument
17 super(context, attrs); in InsettableFrameLayout()
46 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() argument
47 return new InsettableFrameLayout.LayoutParams(getContext(), attrs); in generateLayoutParams()
69 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() argument
70 super(c, attrs); in LayoutParams()
71 TypedArray a = c.obtainStyledAttributes(attrs, in LayoutParams()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHtmlSanitizer.java73 public String apply(String elementName, List<String> attrs) {
83 public String apply(String elementName, List<String> attrs) {
87 final int classIndex = attrs.indexOf("class");
90 final String value = attrs.remove(classIndex + 1);
91 attrs.remove(classIndex);
98 final int idIndex = attrs.indexOf("id");
101 final String value = attrs.remove(idIndex + 1);
102 attrs.remove(idIndex);
110 attrs.add("class");
111 attrs.add("elided-text");
/packages/apps/MusicFX/src/com/android/musicfx/
DSeekBarRotator.java37 public SeekBarRotator(Context context, AttributeSet attrs) { in SeekBarRotator() argument
38 super(context, attrs); in SeekBarRotator()
41 public SeekBarRotator(Context context, AttributeSet attrs, int defStyleAttr) { in SeekBarRotator() argument
42 super(context, attrs, defStyleAttr); in SeekBarRotator()
45 public SeekBarRotator(Context context, AttributeSet attrs, int defStyleAttr, in SeekBarRotator() argument
47 super(context, attrs, defStyleAttr, defStyleRes); in SeekBarRotator()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DAutoCompleteEditTextPreference.java55 public AutoCompleteEditTextPreference(Context context, AttributeSet attrs, int defStyleAttr, in AutoCompleteEditTextPreference() argument
57 super(context, attrs, defStyleAttr, defStyleRes); in AutoCompleteEditTextPreference()
59 mAutoCompleteTextView = new InstantAutoCompleteTextView(context, attrs); in AutoCompleteEditTextPreference()
86 public AutoCompleteEditTextPreference(Context context, AttributeSet attrs, int defStyleAttr) { in AutoCompleteEditTextPreference() argument
87 this(context, attrs, defStyleAttr, 0); in AutoCompleteEditTextPreference()
90 public AutoCompleteEditTextPreference(Context context, AttributeSet attrs) { in AutoCompleteEditTextPreference() argument
91 this(context, attrs, android.R.attr.dialogPreferenceStyle); in AutoCompleteEditTextPreference()
258 public InstantAutoCompleteTextView(Context context, AttributeSet attrs) { in InstantAutoCompleteTextView() argument
259 super(context, attrs); in InstantAutoCompleteTextView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java799 final OptionalAttributes attrs = mOptionalAttributes; in getOutputText() local
800 return (attrs != null) ? attrs.mOutputText : null; in getOutputText()
804 final OptionalAttributes attrs = mOptionalAttributes; in getAltCode() local
805 return (attrs != null) ? attrs.mAltCode : CODE_UNSPECIFIED; in getAltCode()
814 final OptionalAttributes attrs = mOptionalAttributes; in getIcon() local
815 final int disabledIconId = (attrs != null) ? attrs.mDisabledIconId : ICON_UNDEFINED; in getIcon()
881 final OptionalAttributes attrs = mOptionalAttributes; in getDrawX() local
882 return (attrs == null) ? x : x + attrs.mVisualInsetsLeft; in getDrawX()
886 final OptionalAttributes attrs = mOptionalAttributes; in getDrawWidth() local
887 return (attrs == null) ? mWidth in getDrawWidth()
[all …]
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorPadLayout.java38 public CalculatorPadLayout(Context context, AttributeSet attrs) { in CalculatorPadLayout() argument
39 this(context, attrs, 0); in CalculatorPadLayout()
42 public CalculatorPadLayout(Context context, AttributeSet attrs, int defStyle) { in CalculatorPadLayout() argument
43 super(context, attrs, defStyle); in CalculatorPadLayout()
45 final TypedArray a = context.obtainStyledAttributes(attrs, in CalculatorPadLayout()
102 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() argument
103 return new MarginLayoutParams(getContext(), attrs); in generateLayoutParams()
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsButton.java41 public PlayControlsButton(Context context, AttributeSet attrs) { in PlayControlsButton() argument
42 this(context, attrs, 0); in PlayControlsButton()
45 public PlayControlsButton(Context context, AttributeSet attrs, int defStyleAttr) { in PlayControlsButton() argument
46 this(context, attrs, defStyleAttr, 0); in PlayControlsButton()
49 public PlayControlsButton(Context context, AttributeSet attrs, int defStyleAttr, in PlayControlsButton() argument
51 super(context, attrs, defStyleAttr, defStyleRes); in PlayControlsButton()

12345678910>>...26