Home
last modified time | relevance | path

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

/packages/services/Car/car-support-lib/src/android/support/car/ui/
DDrawerArrowDrawable.java70 final TypedArray typedArray = context.getTheme() in DrawerArrowDrawable() local
75 mPaint.setColor(typedArray.getColor(R.styleable.DrawerArrowDrawable_carArrowColor, 0)); in DrawerArrowDrawable()
76 … mSize = typedArray.getDimensionPixelSize(R.styleable.DrawerArrowDrawable_carArrowDrawableSize, 0); in DrawerArrowDrawable()
78 …mBarSize = Math.round(typedArray.getDimension(R.styleable.DrawerArrowDrawable_carArrowBarSize, 0)); in DrawerArrowDrawable()
80 mTopBottomArrowSize = Math.round(typedArray.getDimension( in DrawerArrowDrawable()
82 … mBarThickness = typedArray.getDimension(R.styleable.DrawerArrowDrawable_carArrowThickness, 0); in DrawerArrowDrawable()
84 mBarGap = Math.round(typedArray.getDimension( in DrawerArrowDrawable()
86 mSpin = typedArray.getBoolean(R.styleable.DrawerArrowDrawable_carArrowSpinBars, true); in DrawerArrowDrawable()
87 mMiddleArrowSize = typedArray in DrawerArrowDrawable()
92 typedArray.recycle(); in DrawerArrowDrawable()
/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/incall/impl/
DCheckableLabeledButton.java70 TypedArray typedArray = in init() local
72 icon = typedArray.getDrawable(R.styleable.CheckableLabeledButton_incall_icon); in init()
73 labelText = typedArray.getString(R.styleable.CheckableLabeledButton_incall_labelText); in init()
74 enabled = typedArray.getBoolean(R.styleable.CheckableLabeledButton_android_enabled, true); in init()
75 typedArray.recycle(); in init()
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java82 TypedArray typedArray = context.getTheme().obtainStyledAttributes( in initialize() local
84 readAttrs(typedArray); in initialize()
192 private void readAttrs(TypedArray typedArray) { in readAttrs() argument
193 resizeStepUnit = typedArray.getInt( in readAttrs()
195 minTextSize = (int) typedArray.getDimension( in readAttrs()
/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/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java130 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/
DSmsBottomSheetFragment.java89 TypedArray typedArray = context.obtainStyledAttributes(attrs); in newTextViewItem() local
90 Drawable background = typedArray.getDrawable(0); in newTextViewItem()
92 typedArray.recycle(); in newTextViewItem()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeIconsView.java60 TypedArray typedArray = in CallTypeIconsView() local
62 useLargeIcons = typedArray.getBoolean(R.styleable.CallTypeIconsView_useLargeIcons, false); in CallTypeIconsView()
63 typedArray.recycle(); in CallTypeIconsView()