| /packages/apps/Dialer/java/com/android/dialer/common/preference/ |
| D | SwitchPreferenceWithClickableSummary.java | 53 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/ |
| D | CallBarringEditPreference.java | 77 TypedArray typedArray = context.obtainStyledAttributes(attrs, in CallBarringEditPreference() local 79 mSummaryOn = typedArray.getString(android.R.styleable.CheckBoxPreference_summaryOn); in CallBarringEditPreference() 80 mSummaryOff = typedArray.getString(android.R.styleable.CheckBoxPreference_summaryOff); in CallBarringEditPreference() 83 typedArray.recycle(); in CallBarringEditPreference() 88 typedArray = context.obtainStyledAttributes(attrs, in CallBarringEditPreference() 90 mFacility = typedArray.getString(R.styleable.CallBarringEditPreference_facility); in CallBarringEditPreference() 91 typedArray.recycle(); in CallBarringEditPreference()
|
| /packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
| D | AutoResizeTextView.java | 77 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/ |
| 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/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/Dialer/java/com/android/incallui/incall/impl/ |
| D | CheckableLabeledButton.java | 75 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/ |
| D | DotsPageIndicator.java | 132 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/ |
| D | DotsPageIndicator.java | 132 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/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
| D | CarUiRecyclerViewTest.java | 153 TypedArray typedArray = spy(mActivity.getBaseContext().obtainStyledAttributes( in testGridLayout() local 156 doReturn(typedArray).when(mTestableContext).obtainStyledAttributes( in testGridLayout() 161 when(typedArray.getInt(eq(R.styleable.CarUiRecyclerView_layoutStyle), anyInt())) in testGridLayout() 163 when(typedArray.getInt(eq(R.styleable.CarUiRecyclerView_numOfColumns), anyInt())) in testGridLayout() 202 TypedArray typedArray = spy(mActivity.getBaseContext().obtainStyledAttributes( in testLinearLayout() local 205 doReturn(typedArray).when(mTestableContext).obtainStyledAttributes( in testLinearLayout() 210 when(typedArray.getInt(eq(R.styleable.CarUiRecyclerView_layoutStyle), anyInt())) in testLinearLayout() 237 TypedArray typedArray = spy(mActivity.getBaseContext().obtainStyledAttributes( in testSetLayoutManager_shouldUpdateItemDecorations() local 240 doReturn(typedArray).when(mTestableContext).obtainStyledAttributes( in testSetLayoutManager_shouldUpdateItemDecorations() 245 when(typedArray.getBoolean(eq(R.styleable.CarUiRecyclerView_enableDivider), anyBoolean())) in testSetLayoutManager_shouldUpdateItemDecorations() [all …]
|
| /packages/apps/Car/Settings/src/com/android/car/settings/security/ |
| D | PinPadView.java | 135 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/ |
| 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/Settings/src/com/android/settings/accessibility/ |
| D | AccessibilityEditDialogUtils.java | 322 final TypedArray typedArray = context.obtainStyledAttributes(attrs); in getAttrResourceId() local 323 final int colorResId = typedArray.getResourceId(0, 0); in getAttrResourceId() 324 typedArray.recycle(); in getAttrResourceId()
|
| D | AccessibilityGestureNavigationTutorial.java | 228 final TypedArray typedArray = context.obtainStyledAttributes(attrs); in getAttrResourceId() local 229 final int colorResId = typedArray.getResourceId(0, 0); in getAttrResourceId() 230 typedArray.recycle(); in getAttrResourceId()
|
| /packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
| D | CallTypeIconsView.java | 64 TypedArray typedArray = in CallTypeIconsView() local 66 useLargeIcons = typedArray.getBoolean(R.styleable.CallTypeIconsView_useLargeIcons, false); in CallTypeIconsView() 67 typedArray.recycle(); in CallTypeIconsView()
|