Home
last modified time | relevance | path

Searched refs:ta (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceUtils.java562 final TypedArray ta = in getServiceMap() local
564 info.protocol = ta.getString(R.styleable.EmailServiceInfo_protocol); in getServiceMap()
565 info.accountType = ta.getString(R.styleable.EmailServiceInfo_accountType); in getServiceMap()
566 info.name = ta.getString(R.styleable.EmailServiceInfo_name); in getServiceMap()
567 info.hide = ta.getBoolean(R.styleable.EmailServiceInfo_hide, false); in getServiceMap()
569 ta.getString(R.styleable.EmailServiceInfo_serviceClass); in getServiceMap()
570 info.intentAction = ta.getString(R.styleable.EmailServiceInfo_intent); in getServiceMap()
572 ta.getString(R.styleable.EmailServiceInfo_intentPackage); in getServiceMap()
574 ta.getBoolean(R.styleable.EmailServiceInfo_defaultSsl, false); in getServiceMap()
575 info.port = ta.getInteger(R.styleable.EmailServiceInfo_port, 0); in getServiceMap()
[all …]
/packages/apps/Car/Stream/src/com/android/car/stream/media/
DMediaAppInfo.java138 TypedArray ta = null; in fetchAppColors() local
143 ta = theme.obtainStyledAttributes(new int[]{ in fetchAppColors()
150 mPrimaryColor = ta.getColor(0, defaultColor); in fetchAppColors()
151 mAccentColor = ta.getColor(1, defaultColor); in fetchAppColors()
152 mPrimaryColorDark = ta.getColor(2, defaultColor); in fetchAppColors()
156 if (ta != null) { in fetchAppColors()
157 ta.recycle(); in fetchAppColors()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DThemes.java39 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getAttrColor() local
40 int colorAccent = ta.getColor(0, 0); in getAttrColor()
41 ta.recycle(); in getAttrColor()
49 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getAlpha() local
50 float alpha = ta.getFloat(0, 0); in getAlpha()
51 ta.recycle(); in getAlpha()
/packages/apps/Car/Dialer/src/com/android/car/dialer/
DDialpadButton.java59 TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.DialpadButton); in init() local
62 mNumberText = ta.getString(R.styleable.DialpadButton_numberText); in init()
63 mLetterText = ta.getString(R.styleable.DialpadButton_letterText); in init()
64 mImageRes = ta.getResourceId(R.styleable.DialpadButton_image, INVALID_IMAGE_RES); in init()
66 if (ta != null) { in init()
67 ta.recycle(); in init()
/packages/apps/Settings/src/com/android/settings/search2/
DXmlParserUtils.java75 final TypedArray ta = context.obtainStyledAttributes(attrs, in getDataIcon() local
77 final int dataIcon = ta.getResourceId(com.android.internal.R.styleable.Icon_icon, 0); in getDataIcon()
78 ta.recycle(); in getDataIcon()
91 final TypedArray ta = context.obtainStyledAttributes(set, attrs); in getData() local
92 String data = ta.getString(resId); in getData()
93 ta.recycle(); in getData()
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
DMediaAppInfo.java50 TypedArray ta = null; in fetchAppColors() local
55 ta = theme.obtainStyledAttributes(new int[]{ android.R.attr.colorAccent }); in fetchAppColors()
56 mAccentColor = ta.getColor(1, in fetchAppColors()
61 if (ta != null) { in fetchAppColors()
62 ta.recycle(); in fetchAppColors()
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/stream/ui/
DStreamCardView.java65 TypedArray ta = null; in init() local
68 ta = context.obtainStyledAttributes(attrs, R.styleable.StreamCardView, defStyleAttrs, in init()
70 mColumnSpan = ta.getInteger(R.styleable.StreamCardView_columnSpan, mDefaultColumnSpan); in init()
76 if (ta != null) { in init()
77 ta.recycle(); in init()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DLetterTileDrawable.java76 TypedArray ta = res.obtainTypedArray(R.array.letter_tile_colors); in LetterTileDrawable() local
77 if (ta.length() == 0) { in LetterTileDrawable()
85 sColors = new int[ta.length()]; in LetterTileDrawable()
86 for (int i = ta.length() - 1; i >= 0; i--) { in LetterTileDrawable()
87 sColors[i] = ta.getColor(i, sDefaultColor); in LetterTileDrawable()
89 ta.recycle(); in LetterTileDrawable()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DButteryProgressBar.java88 final TypedArray ta = c.obtainStyledAttributes(attrs, R.styleable.ButteryProgressBar); in ButteryProgressBar() local
90 mBarColor = ta.getColor(R.styleable.ButteryProgressBar_barColor, in ButteryProgressBar()
92 mSolidBarHeight = ta.getDimensionPixelSize( in ButteryProgressBar()
95 mSolidBarDetentWidth = ta.getDimensionPixelSize( in ButteryProgressBar()
99 ta.recycle(); in ButteryProgressBar()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaManager.java422 TypedArray ta = null; in updateClientPackageAttributes() local
458 ta = theme.obtainStyledAttributes(new int[] { in updateClientPackageAttributes()
465 mPrimaryColor = ta.getColor(0, defaultColor); in updateClientPackageAttributes()
466 mAccentColor = ta.getColor(1, defaultColor); in updateClientPackageAttributes()
467 mPrimaryColorDark = ta.getColor(2, defaultColor); in updateClientPackageAttributes()
471 if (ta != null) { in updateClientPackageAttributes()
472 ta.recycle(); in updateClientPackageAttributes()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DSplineMath.java61 double ta = a * y1; in calculatetCurve() local
65 double y = ta + tb + (delta2 / 6) * (tc + td); in calculatetCurve()
102 double ta = a * y1; in getValue() local
106 double y = ta + tb + (delta2 / 6) * (tc + td); in getValue()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioBandButton.java69 TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.RadioBandButton); in init() local
72 setIsBandSelected(ta.getBoolean(R.styleable.RadioBandButton_isBandSelected, false)); in init()
74 ta.recycle(); in init()
DCarouselView.java102 TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.CarouselView); in init() local
105 setTopOffset(ta.getDimensionPixelSize(R.styleable.CarouselView_topOffset, 0)); in init()
106 setItemMargins(ta.getDimensionPixelSize(R.styleable.CarouselView_itemMargins, 0)); in init()
108 ta.recycle(); in init()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DGuidanceRelativeLayout.java50 TypedArray ta = context.getTheme().obtainStyledAttributes( in getKeyLinePercent() local
52 float percent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline, 40); in getKeyLinePercent()
53 ta.recycle(); in getKeyLinePercent()
DMessagePageFrameLayout.java51 TypedArray ta = context.getTheme().obtainStyledAttributes( in getKeyLinePercent() local
53 float percent = ta.getFloat( in getKeyLinePercent()
56 ta.recycle(); in getKeyLinePercent()
DSelectFromListWizardFragment.java480 TypedArray ta = context.getTheme().obtainStyledAttributes(
482 float percent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline, 40);
483 ta.recycle();
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DMaxWidthLayout.java59 private void initialize(TypedArray ta) { in initialize() argument
60 mMaxChildrenWidth = (int) (ta.getDimension(R.styleable.MaxWidthLayout_carMaxWidth, 0)); in initialize()
61 ta.recycle(); in initialize()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsSummary.java117 final TypedArray ta = tabs.getContext().obtainStyledAttributes( in onCreateView() local
119 final int colorAccent = ta.getColor(0, 0); in onCreateView()
120 ta.recycle(); in onCreateView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java69 final TypedArray ta = in onCreatePreferences() local
71 final int colorLen = ta.length(); in onCreatePreferences()
77 final int color = ta.getColor(i, 0); in onCreatePreferences()
85 ta.recycle(); in onCreatePreferences()
/packages/apps/Settings/src/com/android/settings/widget/
DChartGridView.java78 final TypedArray ta = context.obtainStyledAttributes(taId, in ChartGridView() local
80 mLabelSize = ta.getDimensionPixelSize( in ChartGridView()
82 ta.recycle(); in ChartGridView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java194 double ta = a * y1; in getAppliedCurve() local
198 double y = ta + tb + (delta2 / 6) * (tc + td); in getAppliedCurve()
289 double ta = a * y1; in draw() local
293 double y = ta + tb + (delta2 / 6) * (tc + td); in draw()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Den_emoji.combined.gz1dictionary=emoji:en,description=Emoji for English words,locale=en,date ...
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarDrawerLayout.java290 TypedArray ta = theme.obtainStyledAttributes(new int[] { in CarDrawerLayout() local
293 setScrimColor(ta.getColor(0, context.getResources().getColor(R.color.car_grey_900))); in CarDrawerLayout()

12