| /packages/services/Telephony/src/com/android/phone/ |
| D | CallBarringEditPreference.java | 80 TypedArray typedArray = context.obtainStyledAttributes(attrs, in CallBarringEditPreference() local 82 mSummaryOn = typedArray.getString(android.R.styleable.CheckBoxPreference_summaryOn); in CallBarringEditPreference() 83 mSummaryOff = typedArray.getString(android.R.styleable.CheckBoxPreference_summaryOff); in CallBarringEditPreference() 86 typedArray.recycle(); in CallBarringEditPreference() 91 typedArray = context.obtainStyledAttributes(attrs, in CallBarringEditPreference() 93 mFacility = typedArray.getString(R.styleable.CallBarringEditPreference_facility); in CallBarringEditPreference() 94 mDialogMessageEnabled = typedArray.getString( in CallBarringEditPreference() 96 mDialogMessageDisabled = typedArray.getString( in CallBarringEditPreference() 98 typedArray.recycle(); in CallBarringEditPreference()
|
| /packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
| D | AutoResizeTextView.java | 82 TypedArray typedArray = context.getTheme().obtainStyledAttributes( in initialize() local 84 readAttrs(typedArray); in initialize() 85 typedArray.recycle(); in initialize() 193 private void readAttrs(TypedArray typedArray) { in readAttrs() argument 194 resizeStepUnit = typedArray.getInt( in readAttrs() 196 minTextSize = (int) typedArray.getDimension( in readAttrs()
|
| /packages/apps/Dialer/java/com/android/incallui/video/impl/ |
| D | CheckableImageButton.java | 59 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/ |
| D | RttCheckableButton.java | 64 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/Dialer/java/com/android/incallui/incall/impl/ |
| D | CheckableLabeledButton.java | 74 TypedArray typedArray = in init() local 76 icon = typedArray.getDrawable(R.styleable.CheckableLabeledButton_incall_icon); in init() 77 labelText = typedArray.getString(R.styleable.CheckableLabeledButton_incall_labelText); in init() 78 enabled = typedArray.getBoolean(R.styleable.CheckableLabeledButton_android_enabled, true); in init() 79 typedArray.recycle(); in init()
|
| /packages/apps/Contacts/src/com/android/contacts/util/ |
| D | LocalizedNameResolver.java | 104 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/Settings/src/com/android/settings/widget/ |
| D | DotsPageIndicator.java | 130 final TypedArray typedArray = getContext().obtainStyledAttributes( in DotsPageIndicator() local 132 dotDiameter = typedArray.getDimensionPixelSize(R.styleable.DotsPageIndicator_dotDiameter, in DotsPageIndicator() 136 gap = typedArray.getDimensionPixelSize(R.styleable.DotsPageIndicator_dotGap, in DotsPageIndicator() 138 animDuration = (long) typedArray.getInteger(R.styleable.DotsPageIndicator_animationDuration, in DotsPageIndicator() 141 unselectedColour = typedArray.getColor(R.styleable.DotsPageIndicator_pageIndicatorColor, in DotsPageIndicator() 143 … selectedColour = typedArray.getColor(R.styleable.DotsPageIndicator_currentPageIndicatorColor, in DotsPageIndicator() 145 typedArray.recycle(); in DotsPageIndicator()
|
| /packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
| D | SmsBottomSheetFragment.java | 96 TypedArray typedArray = context.obtainStyledAttributes(attrs); in newTextViewItem() local 97 Drawable background = typedArray.getDrawable(0); in newTextViewItem() 99 typedArray.recycle(); in newTextViewItem()
|
| /packages/apps/Car/Media/src/com/android/car/media/widgets/ |
| D | MediaItemTabView.java | 53 TypedArray typedArray = context.obtainStyledAttributes(attrs); in MediaItemTabView() local 54 int backgroundResource = typedArray.getResourceId(0, 0); in MediaItemTabView()
|
| /packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
| D | CallTypeIconsView.java | 62 TypedArray typedArray = in CallTypeIconsView() local 64 useLargeIcons = typedArray.getBoolean(R.styleable.CallTypeIconsView_useLargeIcons, false); in CallTypeIconsView() 65 typedArray.recycle(); in CallTypeIconsView()
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
| D | SuggestionAdapterTest.java | 284 TypedArray typedArray = mock(TypedArray.class); in onBindViewHolder_iconTintable_shouldTintIcon() local 286 when(mActivity.obtainStyledAttributes(any())).thenReturn(typedArray); in onBindViewHolder_iconTintable_shouldTintIcon() 287 when(typedArray.getColor(anyInt(), anyInt())).thenReturn(colorAccent); in onBindViewHolder_iconTintable_shouldTintIcon()
|