Home
last modified time | relevance | path

Searched refs:typedArray (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/common/preference/
DSwitchPreferenceWithClickableSummary.java53 TypedArray typedArray = in SwitchPreferenceWithClickableSummary() local
57 typedArray.getText(R.styleable.SwitchPreferenceWithClickableSummary_urlToOpen)); in SwitchPreferenceWithClickableSummary()
63 TypedArray typedArray = in SwitchPreferenceWithClickableSummary() local
67 typedArray.getText(R.styleable.SwitchPreferenceWithClickableSummary_urlToOpen)); in SwitchPreferenceWithClickableSummary()
72 TypedArray typedArray = in SwitchPreferenceWithClickableSummary() local
76 typedArray.getText(R.styleable.SwitchPreferenceWithClickableSummary_urlToOpen)); in SwitchPreferenceWithClickableSummary()
/packages/services/Telephony/src/com/android/phone/
DCallBarringEditPreference.java76 TypedArray typedArray = context.obtainStyledAttributes(attrs, in CallBarringEditPreference() local
78 mSummaryOn = typedArray.getString(android.R.styleable.CheckBoxPreference_summaryOn); in CallBarringEditPreference()
79 mSummaryOff = typedArray.getString(android.R.styleable.CheckBoxPreference_summaryOff); in CallBarringEditPreference()
82 typedArray.recycle(); in CallBarringEditPreference()
87 typedArray = context.obtainStyledAttributes(attrs, in CallBarringEditPreference()
89 mFacility = typedArray.getString(R.styleable.CallBarringEditPreference_facility); in CallBarringEditPreference()
90 typedArray.recycle(); in CallBarringEditPreference()
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java77 TypedArray typedArray = context.getTheme().obtainStyledAttributes( in initialize() local
79 readAttrs(typedArray); in initialize()
80 typedArray.recycle(); in initialize()
141 private void readAttrs(TypedArray typedArray) { in readAttrs() argument
142 resizeStepUnit = typedArray.getInt( in readAttrs()
144 minTextSize = (int) typedArray.getDimension( in readAttrs()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DCheckableImageButton.java59 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.CheckableImageButton); in init() local
60 setChecked(typedArray.getBoolean(R.styleable.CheckableImageButton_android_checked, false)); in init()
62 typedArray.getText(R.styleable.CheckableImageButton_contentDescriptionChecked); in init()
64 typedArray.getText(R.styleable.CheckableImageButton_contentDescriptionUnchecked); in init()
65 typedArray.recycle(); in init()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttCheckableButton.java64 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.RttCheckableButton); in init() local
65 setChecked(typedArray.getBoolean(R.styleable.RttCheckableButton_android_checked, false)); in init()
67 typedArray.getText(R.styleable.RttCheckableButton_contentDescriptionChecked); in init()
69 typedArray.getText(R.styleable.RttCheckableButton_contentDescriptionUnchecked); in init()
70 typedArray.recycle(); in init()
/packages/apps/Contacts/src/com/android/contacts/util/
DLocalizedNameResolver.java104 final TypedArray typedArray = context.obtainStyledAttributes(attrs, in loadAllContactsNameFromXml() local
108 final String nonResourceString = typedArray.getNonResourceString( in loadAllContactsNameFromXml()
116 int id = typedArray.getResourceId( in loadAllContactsNameFromXml()
134 typedArray.recycle(); in loadAllContactsNameFromXml()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java75 TypedArray typedArray = in init() local
77 icon = typedArray.getDrawable(R.styleable.CheckableLabeledButton_incall_icon); in init()
78 labelText = typedArray.getString(R.styleable.CheckableLabeledButton_incall_labelText); in init()
79 enabled = typedArray.getBoolean(R.styleable.CheckableLabeledButton_android_enabled, true); in init()
80 typedArray.recycle(); in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java132 final TypedArray typedArray = getContext().obtainStyledAttributes( in DotsPageIndicator() local
134 dotDiameter = typedArray.getDimensionPixelSize(R.styleable.DotsPageIndicator_dotDiameter, in DotsPageIndicator()
138 gap = typedArray.getDimensionPixelSize(R.styleable.DotsPageIndicator_dotGap, in DotsPageIndicator()
140 animDuration = (long) typedArray.getInteger(R.styleable.DotsPageIndicator_animationDuration, in DotsPageIndicator()
143 unselectedColour = typedArray.getColor(R.styleable.DotsPageIndicator_pageIndicatorColor, in DotsPageIndicator()
145 … selectedColour = typedArray.getColor(R.styleable.DotsPageIndicator_currentPageIndicatorColor, in DotsPageIndicator()
147 typedArray.recycle(); in DotsPageIndicator()
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java132 final TypedArray typedArray = getContext().obtainStyledAttributes( in DotsPageIndicator() local
134 dotDiameter = typedArray.getDimensionPixelSize(R.styleable.DotsPageIndicator_dotDiameter, in DotsPageIndicator()
138 gap = typedArray.getDimensionPixelSize(R.styleable.DotsPageIndicator_dotGap, in DotsPageIndicator()
140 animDuration = (long) typedArray.getInteger(R.styleable.DotsPageIndicator_animationDuration, in DotsPageIndicator()
143 unselectedColour = typedArray.getColor(R.styleable.DotsPageIndicator_pageIndicatorColor, in DotsPageIndicator()
145 … selectedColour = typedArray.getColor(R.styleable.DotsPageIndicator_currentPageIndicatorColor, in DotsPageIndicator()
147 typedArray.recycle(); in DotsPageIndicator()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DPinPadView.java135 TypedArray typedArray = getContext().obtainStyledAttributes( in init() local
138 typedArray.getResourceId(R.styleable.PinPadView_layout, R.layout.pin_pad_view), in init()
140 typedArray.recycle(); in init()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DSmsBottomSheetFragment.java96 TypedArray typedArray = context.obtainStyledAttributes(attrs); in newTextViewItem() local
97 Drawable background = typedArray.getDrawable(0); in newTextViewItem()
99 typedArray.recycle(); in newTextViewItem()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityGestureNavigationTutorial.java201 final TypedArray typedArray = context.obtainStyledAttributes(attrs); in getAttrResourceId() local
202 final int colorResId = typedArray.getResourceId(0, 0); in getAttrResourceId()
203 typedArray.recycle(); in getAttrResourceId()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeIconsView.java64 TypedArray typedArray = in CallTypeIconsView() local
66 useLargeIcons = typedArray.getBoolean(R.styleable.CallTypeIconsView_useLargeIcons, false); in CallTypeIconsView()
67 typedArray.recycle(); in CallTypeIconsView()