Home
last modified time | relevance | path

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

/packages/services/Car/car-support-lib/src/android/support/car/ui/
DDrawerArrowDrawable.java69 final TypedArray typedArray = context.getTheme() in DrawerArrowDrawable() local
74 mPaint.setColor(typedArray.getColor(R.styleable.DrawerArrowDrawable_carArrowColor, 0)); in DrawerArrowDrawable()
75 … mSize = typedArray.getDimensionPixelSize(R.styleable.DrawerArrowDrawable_carArrowDrawableSize, 0); in DrawerArrowDrawable()
77 …mBarSize = Math.round(typedArray.getDimension(R.styleable.DrawerArrowDrawable_carArrowBarSize, 0)); in DrawerArrowDrawable()
79 mTopBottomArrowSize = Math.round(typedArray.getDimension( in DrawerArrowDrawable()
81 … mBarThickness = typedArray.getDimension(R.styleable.DrawerArrowDrawable_carArrowThickness, 0); in DrawerArrowDrawable()
83 mBarGap = Math.round(typedArray.getDimension( in DrawerArrowDrawable()
85 mSpin = typedArray.getBoolean(R.styleable.DrawerArrowDrawable_carArrowSpinBars, true); in DrawerArrowDrawable()
86 mMiddleArrowSize = typedArray in DrawerArrowDrawable()
91 typedArray.recycle(); in DrawerArrowDrawable()
/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/ContactsCommon/src/com/android/contacts/common/util/
DLocalizedNameResolver.java105 final TypedArray typedArray = context.obtainStyledAttributes(attrs, in loadAllContactsNameFromXml() local
109 final String nonResourceString = typedArray.getNonResourceString( in loadAllContactsNameFromXml()
117 int id = typedArray.getResourceId( in loadAllContactsNameFromXml()
135 typedArray.recycle(); in loadAllContactsNameFromXml()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.java72 final TypedArray typedArray = theme.obtainStyledAttributes(attrs); in ExpandedAlarmViewHolder() local
75 typedArray.getDrawable(0) }); in ExpandedAlarmViewHolder()
77 typedArray.recycle(); in ExpandedAlarmViewHolder()