| /packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
| D | CarSystemBarButton.java | 110 TypedArray typedArray = context.obtainStyledAttributes(attrs, in CarSystemBarButton() local 113 setUpIntents(typedArray); in CarSystemBarButton() 114 setUpIcons(typedArray); in CarSystemBarButton() 115 typedArray.recycle(); in CarSystemBarButton() 282 protected void setUpIntents(TypedArray typedArray) { in setUpIntents() argument 283 mIntent = typedArray.getString(R.styleable.CarSystemBarButton_intent); in setUpIntents() 284 mLongIntent = typedArray.getString(R.styleable.CarSystemBarButton_longIntent); in setUpIntents() 285 mBroadcastIntent = typedArray.getBoolean(R.styleable.CarSystemBarButton_broadcast, false); in setUpIntents() 287 mClearBackStack = typedArray.getBoolean(R.styleable.CarSystemBarButton_clearBackStack, in setUpIntents() 290 String categoryString = typedArray.getString(R.styleable.CarSystemBarButton_categories); in setUpIntents() [all …]
|
| D | AppGridButton.java | 42 protected void setUpIntents(TypedArray typedArray) { in setUpIntents() argument 43 mRecentsButtonStateProvider.setUpIntents(typedArray, super::setUpIntents); in setUpIntents()
|
| /packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/toggle/ |
| D | HvacIntegerToggleButton.java | 57 TypedArray typedArray = mContext.obtainStyledAttributes(attrs, in parseAttributes() local 59 int invalidValue = typedArray.getInt(R.styleable.HvacIntegerToggleButton_invalidValue, in parseAttributes() 61 mOnValue = typedArray.getInt(R.styleable.HvacIntegerToggleButton_onValue, invalidValue); in parseAttributes() 62 mOffValue = typedArray.getInt(R.styleable.HvacIntegerToggleButton_offValue, invalidValue); in parseAttributes() 63 mPreventToggleOff = typedArray.getBoolean( in parseAttributes() 65 typedArray.recycle(); in parseAttributes()
|
| D | HvacToggleButton.java | 100 TypedArray typedArray = mContext.obtainStyledAttributes(attrs, R.styleable.HvacView); in parseAttributes() local 101 mPropertyId = typedArray.getInt(R.styleable.HvacView_hvacPropertyId, INVALID_ID); in parseAttributes() 102 mAreaId = typedArray.getInt(R.styleable.HvacView_hvacAreaId, INVALID_ID); in parseAttributes() 103 mOnDrawable = typedArray.getDrawable(R.styleable.HvacView_hvacToggleOnButtonDrawable); in parseAttributes() 104 mOffDrawable = typedArray.getDrawable(R.styleable.HvacView_hvacToggleOffButtonDrawable); in parseAttributes() 106 typedArray.getBoolean(R.styleable.HvacView_hvacTurnOffIfPowerOff, true); in parseAttributes() 107 mTurnOffIfAutoOn = typedArray.getBoolean(R.styleable.HvacView_hvacTurnOffIfAutoOn, false); in parseAttributes() 110 typedArray.recycle(); in parseAttributes()
|
| /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/apps/Car/SystemUI/src/com/android/systemui/car/hvac/ |
| D | SeatTemperatureLevelButton.java | 179 TypedArray typedArray = mContext.obtainStyledAttributes(attrs, R.styleable.HvacView); in parseAttributes() local 180 mAreaId = typedArray.getInt(R.styleable.HvacView_hvacAreaId, INVALID_ID); in parseAttributes() 181 typedArray.recycle(); in parseAttributes() 183 typedArray = mContext.obtainStyledAttributes(attrs, R.styleable.SeatTemperatureLevelButton); in parseAttributes() 184 mTemperatureLevelType = typedArray.getInt( in parseAttributes() 187 @ArrayRes int drawableListRes = typedArray.getResourceId( in parseAttributes() 202 typedArray.recycle(); in parseAttributes()
|
| /packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/ui/ |
| D | QuickControlsEntryPointContainer.java | 55 TypedArray typedArray = context.obtainStyledAttributes(attrs, in QuickControlsEntryPointContainer() local 57 mShowAsDropDown = typedArray.getBoolean( in QuickControlsEntryPointContainer() 59 mPanelGravity = typedArray.getInt( in QuickControlsEntryPointContainer() 62 typedArray.recycle(); in QuickControlsEntryPointContainer()
|
| /packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
| D | DevicePolicyResourcesUtils.java | 376 Context context, TypedArray typedArray, int resId) { in isDevicePolicyResource() argument 379 typedArray.getResourceId(resId, -1)); in isDevicePolicyResource() 400 Context context, TypedArray typedArray, int resId) { in getDevicePolicyResource() argument 403 typedArray.getResourceId(resId, -1)); in getDevicePolicyResource() 405 return typedArray.getString(resId); in getDevicePolicyResource() 409 typedArray.getString(resId)); in getDevicePolicyResource() 411 return typedArray.getString(resId); in getDevicePolicyResource()
|
| /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/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/TvSettings/Settings/src/com/android/tv/settings/accessibility/ |
| D | AccessibilityColorCorrectionPreviewFragment.java | 81 TypedArray typedArray = in getPaletteItemIds() local 83 int[] ids = new int[typedArray.length()]; in getPaletteItemIds() 85 ids[i] = typedArray.getResourceId(i, 0); in getPaletteItemIds() 87 typedArray.recycle(); in getPaletteItemIds()
|
| /packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/ |
| D | QCFooterButtonView.java | 87 TypedArray typedArray = context.obtainStyledAttributes(attrs, in QCFooterButtonView() local 89 String intentString = typedArray.getString(R.styleable.QCFooterButtonView_intent); in QCFooterButtonView() 114 mDisableWhileDriving = typedArray.getBoolean( in QCFooterButtonView() 117 typedArray.recycle(); in QCFooterButtonView()
|
| D | QCFooterButton.java | 71 TypedArray typedArray = context.obtainStyledAttributes(attrs, in QCFooterButton() local 73 String intentString = typedArray.getString(R.styleable.QCFooterButton_intent); in QCFooterButton() 96 mDisableWhileDriving = typedArray.getBoolean( in QCFooterButton()
|
| /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/apps/Launcher3/src/com/android/launcher3/workprofile/ |
| D | PersonalWorkSlidingTabStrip.java | 42 TypedArray typedArray = context.obtainStyledAttributes(attrs, in PersonalWorkSlidingTabStrip() local 44 mIsAlignOnIcon = typedArray.getBoolean( in PersonalWorkSlidingTabStrip() 46 typedArray.recycle(); in PersonalWorkSlidingTabStrip()
|
| /packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/dialog/ |
| D | AlertDialogBuilder.kt | 224 val typedArray = context.obtainStyledAttributes(intArrayOf(R.attr.dialogGravity)) in <lambda>() constant 226 if (typedArray.hasValue(0)) { in <lambda>() 227 requireNotNull(dialog.window).setGravity(typedArray.getInteger(0, CENTER)) in <lambda>() 230 typedArray.recycle() in <lambda>()
|
| /packages/apps/Car/Settings/src/com/android/car/settings/security/ |
| D | PinPadView.java | 136 TypedArray typedArray = getContext().obtainStyledAttributes( in init() local 139 typedArray.getResourceId(R.styleable.PinPadView_layout, R.layout.pin_pad_view), in init() 141 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/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/systembar/ |
| D | CarUiPortraitAppGridButton.java | 61 protected void setUpIntents(TypedArray typedArray) { in setUpIntents() argument 62 mRecentsButtonStateProvider.setUpIntents(typedArray, super::setUpIntents); in setUpIntents()
|
| /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/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/custom/ |
| D | FanSpeedSeekBar.java | 130 TypedArray typedArray = mContext.obtainStyledAttributes(attrs, R.styleable.FanSpeedSeekBar); in init() local 131 @ArrayRes int drawableListRes = typedArray.getResourceId( in init() 146 typedArray.recycle(); in init()
|
| /packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v34/ |
| D | PermissionRationaleViewHandlerImpl.kt | 271 val typedArray = context.obtainStyledAttributes(intArrayOf(attr)) in getColorStateListForAttr() constant 272 val colorStateList = typedArray.getColorStateList(0) in getColorStateListForAttr() 273 typedArray.recycle() in getColorStateListForAttr()
|