/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
D | BaseAccountType.java | 660 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/search/ |
D | Index.java | 864 final AttributeSet attrs = Xml.asAttributeSet(parser); in indexFromResource() local 866 final String screenTitle = getDataTitle(context, attrs); in indexFromResource() 868 String key = getDataKey(context, attrs); in indexFromResource() 877 title = getDataTitle(context, attrs); in indexFromResource() 878 summary = getDataSummary(context, attrs); in indexFromResource() 879 keywords = getDataKeywords(context, attrs); in indexFromResource() 895 key = getDataKey(context, attrs); in indexFromResource() 900 title = getDataTitle(context, attrs); in indexFromResource() 901 keywords = getDataKeywords(context, attrs); in indexFromResource() 904 summary = getDataSummary(context, attrs); in indexFromResource() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Key.java | 799 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/UnifiedEmail/src/com/android/mail/utils/ |
D | HtmlSanitizer.java | 73 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/EmergencyInfo/src/com/android/emergency/preferences/ |
D | AutoCompleteEditTextPreference.java | 55 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/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
D | ProportionalLayout.java | 70 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/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 582 if (a.attrs.bold != b.attrs.bold) return false; in isCellStyleEqual() 583 if (a.attrs.underline != b.attrs.underline) return false; in isCellStyleEqual() 584 if (a.attrs.italic != b.attrs.italic) return false; in isCellStyleEqual() 585 if (a.attrs.blink != b.attrs.blink) return false; in isCellStyleEqual() 586 if (a.attrs.reverse != b.attrs.reverse) return false; in isCellStyleEqual() 587 if (a.attrs.strike != b.attrs.strike) return false; in isCellStyleEqual() 588 if (a.attrs.font != b.attrs.font) return false; in isCellStyleEqual()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | SpacePreference.java | 35 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/apps/Contacts/src/com/android/contacts/widget/ |
D | InterpolatingLayout.java | 48 public InterpolatingLayout(Context context, AttributeSet attrs) { in InterpolatingLayout() argument 49 super(context, attrs); in InterpolatingLayout() 52 public InterpolatingLayout(Context context, AttributeSet attrs, int defStyle) { in InterpolatingLayout() argument 53 super(context, attrs, defStyle); in InterpolatingLayout() 81 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() argument 82 super(c, attrs); in LayoutParams() 83 TypedArray a = c.obtainStyledAttributes(attrs, R.styleable.InterpolatingLayout_Layout); in LayoutParams() 194 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() argument 195 return new LayoutParams(getContext(), attrs); in generateLayoutParams()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SeekBarPreference.java | 44 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in SeekBarPreference() argument 45 super(context, attrs, defStyleAttr, defStyleRes); in SeekBarPreference() 48 attrs, com.android.internal.R.styleable.ProgressBar, defStyleAttr, defStyleRes); in SeekBarPreference() 52 a = context.obtainStyledAttributes(attrs, in SeekBarPreference() 62 public SeekBarPreference(Context context, AttributeSet attrs, int defStyleAttr) { in SeekBarPreference() argument 63 this(context, attrs, defStyleAttr, 0); in SeekBarPreference() 66 public SeekBarPreference(Context context, AttributeSet attrs) { in SeekBarPreference() argument 67 this(context, attrs, com.android.internal.R.attr.seekBarPreferenceStyle); in SeekBarPreference()
|
D | ProgressCategoryBase.java | 28 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()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InsettableFrameLayout.java | 16 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/Calculator/src/com/android/calculator2/ |
D | CalculatorPadLayout.java | 38 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/services/Car/car-ui-provider/src/android/car/ui/provider/ |
D | PagedListView.java | 26 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()
|
D | PagedScrollBarView.java | 27 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()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothProgressCategory.java | 33 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/ |
D | SecureButtonView.java | 34 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()
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/layout/ |
D | ScaledLayout.java | 55 public ScaledLayout(Context context, AttributeSet attrs) { in ScaledLayout() argument 56 this(context, attrs, 0); in ScaledLayout() 59 public ScaledLayout(Context context, AttributeSet attrs, int defStyle) { in ScaledLayout() argument 60 super(context, attrs, defStyle); in ScaledLayout() 96 public ScaledLayoutParams(Context context, AttributeSet attrs) { in ScaledLayoutParams() argument 99 context.obtainStyledAttributes(attrs, R.styleable.utScaledLayout); in ScaledLayoutParams() 113 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() argument 114 return new ScaledLayoutParams(getContext(), attrs); in generateLayoutParams()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/ |
D | DreamTimePreference.java | 28 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/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | CollapsibleCategory.java | 29 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/TV/src/com/android/tv/ui/ |
D | OverlayRootView.java | 34 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/Settings/src/com/android/settings/widget/ |
D | ToggleSwitch.java | 35 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/DeskClock/src/com/android/deskclock/settings/ |
D | TimerRingtonePreference.java | 37 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/accessibility/ |
D | CaptionPropertiesFragment.java | 344 final CaptionStyle attrs = CaptionStyle.getCustomStyle(cr); in updateAllPreferences() local 345 mEdgeType.setValue(attrs.edgeType); in updateAllPreferences() 346 mEdgeColor.setValue(attrs.edgeColor); in updateAllPreferences() 348 final int foregroundColor = attrs.hasForegroundColor() ? in updateAllPreferences() 349 attrs.foregroundColor : CaptionStyle.COLOR_UNSPECIFIED; in updateAllPreferences() 352 final int backgroundColor = attrs.hasBackgroundColor() ? in updateAllPreferences() 353 attrs.backgroundColor : CaptionStyle.COLOR_UNSPECIFIED; in updateAllPreferences() 356 final int windowColor = attrs.hasWindowColor() ? in updateAllPreferences() 357 attrs.windowColor : CaptionStyle.COLOR_UNSPECIFIED; in updateAllPreferences() 360 final String rawTypeface = attrs.mRawTypeface; in updateAllPreferences()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | MultiToggleImageButton.java | 83 public MultiToggleImageButton(Context context, AttributeSet attrs) { in MultiToggleImageButton() argument 84 super(context, attrs); in MultiToggleImageButton() 86 parseAttributes(context, attrs); in MultiToggleImageButton() 90 public MultiToggleImageButton(Context context, AttributeSet attrs, int defStyle) { in MultiToggleImageButton() argument 91 super(context, attrs, defStyle); in MultiToggleImageButton() 93 parseAttributes(context, attrs); in MultiToggleImageButton() 281 private void parseAttributes(Context context, AttributeSet attrs) { in parseAttributes() argument 283 attrs, in parseAttributes()
|