Home
last modified time | relevance | path

Searched refs:getAttr (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DBaseAccountType.java147 private static boolean getAttr(AttributeSet attrs, String attribute, boolean defaultValue) { in getAttr() method in BaseAccountType
151 private static int getAttr(AttributeSet attrs, String attribute, int defaultValue) { in getAttr() method in BaseAccountType
155 private static String getAttr(AttributeSet attrs, String attribute) { in getAttr() method in BaseAccountType
844 final String kind = getAttr(attrs, Attr.KIND); in parseDataKindTag()
888 kind.typeOverallMax = getAttr(attrs, Attr.MAX_OCCURRENCE, -1); in newDataKind()
948 final String typeName = getAttr(attrs, Attr.TYPE); in parseTypeTag()
955 et.specificMax = getAttr(attrs, Attr.MAX_OCCURRENCE, -1); in parseTypeTag()
1002 final boolean supportsDisplayName = getAttr(attrs, "supportsDisplayName", false); in parseDataKind()
1003 final boolean supportsPrefix = getAttr(attrs, "supportsPrefix", false); in parseDataKind()
1004 final boolean supportsMiddleName = getAttr(attrs, "supportsMiddleName", false); in parseDataKind()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/account/
DBaseAccountType.java688 private static boolean getAttr(AttributeSet attrs, String attribute, boolean defaultValue) { in getAttr() method in BaseAccountType
692 private static int getAttr(AttributeSet attrs, String attribute, int defaultValue) { in getAttr() method in BaseAccountType
696 private static String getAttr(AttributeSet attrs, String attribute) { in getAttr() method in BaseAccountType
737 final String kind = getAttr(attrs, Attr.KIND); in parseDataKindTag()
779 kind.typeOverallMax = getAttr(attrs, Attr.MAX_OCCURRENCE, -1); in newDataKind()
840 final String typeName = getAttr(attrs, Attr.TYPE); in parseTypeTag()
847 et.specificMax = getAttr(attrs, Attr.MAX_OCCURRENCE, -1); in parseTypeTag()
898 final boolean supportsPrefix = getAttr(attrs, "supportsPrefix", false); in parseDataKind()
899 final boolean supportsMiddleName = getAttr(attrs, "supportsMiddleName", false); in parseDataKind()
900 final boolean supportsSuffix = getAttr(attrs, "supportsSuffix", false); in parseDataKind()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DCarUiEditTextPreference.java19 import static com.android.car.ui.utils.CarUiUtils.getAttr;
60 this(context, attrs, getAttr(context, R.attr.editTextPreferenceStyle, in CarUiEditTextPreference()
DCarUiRadioButtonPreference.java54 this(context, attrs, CarUiUtils.getAttr(context, R.attr.preferenceStyle, in CarUiRadioButtonPreference()
/packages/apps/Settings/src/com/android/settings/display/
DScreenZoomPreference.java34 super(context, attrs, TypedArrayUtils.getAttr(context, in ScreenZoomPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/auto/
DAutoDefaultAppPreference.java32 super(context, null, TypedArrayUtils.getAttr(context, R.attr.preferenceStyle, in AutoDefaultAppPreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLeanbackPickerDialogPreference.java53 this(context, attrs, TypedArrayUtils.getAttr(context, R.attr.dialogPreferenceStyle, in LeanbackPickerDialogPreference()
/packages/apps/Settings/src/com/android/settings/applications/
DSpacePreference.java38 this(context, attrs, TypedArrayUtils.getAttr(context, in SpacePreference()
DClearDefaultsPreference.java86 this(context, attrs, TypedArrayUtils.getAttr(context, in ClearDefaultsPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsPreferenceCategory.java58 this(context, attrs, TypedArrayUtils.getAttr(context, R.attr.preferenceCategoryStyle, in SettingsPreferenceCategory()
/packages/apps/Settings/src/com/android/settings/accessibility/
DBalanceSeekBarPreference.java45 super(context, attrs, TypedArrayUtils.getAttr(context, in BalanceSeekBarPreference()
/packages/apps/Settings/src/com/android/settings/widget/
DTwoStateButtonPreference.java42 super(context, attrs, TypedArrayUtils.getAttr( in TwoStateButtonPreference()
DLabeledSeekBarPreference.java59 this(context, attrs, TypedArrayUtils.getAttr(context, in LabeledSeekBarPreference()
DSeekBarPreference.java96 this(context, attrs, TypedArrayUtils.getAttr(context, in SeekBarPreference()
/packages/apps/Settings/src/com/android/settings/wifi/
DLinkablePreference.java51 this(ctx, attrs, TypedArrayUtils.getAttr( in LinkablePreference()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsagePreference.java44 TypedArrayUtils.getAttr( in DataUsagePreference()
DCellDataPreference.java57 super(context, attrs, TypedArrayUtils.getAttr(context, in CellDataPreference()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/utils/
DCarUiUtils.java267 public static int getAttr(@NonNull Context context, int attr, int fallbackAttr) { in getAttr() method in CarUiUtils
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionFragment.java770 super(context, null, TypedArrayUtils.getAttr(context, R.attr.preferenceStyle, in SelectedPermissionPreference()