Home
last modified time | relevance | path

Searched refs:getColorStateList (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/support/v4/api23/android/support/v4/content/
DContextCompatApi23.java26 public static ColorStateList getColorStateList(Context context, int id) { in getColorStateList() method in ContextCompatApi23
27 return context.getColorStateList(id); in getColorStateList()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DColorStateListTest.java44 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testStateIsInList()
52 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testEmptyState()
/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java63 textColor = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan()
65 mTextColorLink = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan()
102 textColor = a.getColorStateList(colorList); in TextAppearanceSpan()
/frameworks/support/v4/java/android/support/v4/content/
DContextCompat.java341 public static final ColorStateList getColorStateList(Context context, int id) { in getColorStateList() method in ContextCompat
344 return ContextCompatApi23.getColorStateList(context, id); in getColorStateList()
346 return context.getResources().getColorStateList(id); in getColorStateList()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintTypedArray.java122 public ColorStateList getColorStateList(int index) { in getColorStateList() method in TintTypedArray
123 return mWrapped.getColorStateList(index); in getColorStateList()
DResourcesWrapper.java160 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList() method in ResourcesWrapper
161 return mResources.getColorStateList(id); in getColorStateList()
DThemeUtils.java79 return a.getColorStateList(0); in getThemeAttrColorStateList()
/frameworks/support/design/src/android/support/design/widget/
DNavigationView.java119 itemIconTint = a.getColorStateList(R.styleable.NavigationView_itemIconTint); in NavigationView()
133 itemTextColor = a.getColorStateList(R.styleable.NavigationView_itemTextColor); in NavigationView()
378 ColorStateList baseColor = getResources().getColorStateList(value.resourceId); in createDefaultColorStateList()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatBackgroundHelper.java57 a.getColorStateList(R.styleable.ViewBackgroundHelper_backgroundTint)); in loadFromAttributes()
DAppCompatCompoundButtonHelper.java70 a.getColorStateList(R.styleable.CompoundButton_buttonTint)); in loadFromAttributes()
/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java137 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList() method in MockResources
/frameworks/base/core/java/android/widget/
DDayPickerView.java101 final ColorStateList daySelectorColor = a.getColorStateList( in DayPickerView()
138 final ColorStateList monthColor = ta.getColorStateList(0); in DayPickerView()
DTabHost.java583 tv.setTextColor(context.getColorStateList(R.color.tab_indicator_text_v4)); in createIndicatorView()
628 tv.setTextColor(context.getColorStateList(R.color.tab_indicator_text_v4)); in createIndicatorView()
DProgressBar.java338 mProgressTintInfo.mProgressTintList = a.getColorStateList( in ProgressBar()
356 mProgressTintInfo.mProgressBackgroundTintList = a.getColorStateList( in ProgressBar()
374 mProgressTintInfo.mSecondaryProgressTintList = a.getColorStateList( in ProgressBar()
392 mProgressTintInfo.mIndeterminateTintList = a.getColorStateList( in ProgressBar()
DDatePickerCalendarDelegate.java139 final ColorStateList legacyHeaderTextColor = textAppearance.getColorStateList(0); in DatePickerCalendarDelegate()
145 headerTextColor = a.getColorStateList(R.styleable.DatePicker_headerTextColor); in DatePickerCalendarDelegate()
DSwitch.java245 ColorStateList thumbTintList = a.getColorStateList( in Switch()
261 ColorStateList trackTintList = a.getColorStateList( in Switch()
307 colors = appearance.getColorStateList(com.android.internal.R.styleable. in setSwitchTextAppearance()
DDayPickerPagerAdapter.java74 mDayHighlightColor = ta.getColorStateList(0); in DayPickerPagerAdapter()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeResources.java203 return getColorStateList(id, theme).getDefaultColor(); in getColor()
207 public ColorStateList getColorStateList(int id, Theme theme) throws NotFoundException { in getColorStateList() method in BridgeResources
211 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(), in getColorStateList()
DBridgeTypedArray.java297 ColorStateList colorStateList = ResourceHelper.getColorStateList( in getColor()
316 public ColorStateList getColorStateList(int index) { in getColorStateList() method in BridgeTypedArray
/frameworks/base/docs/html-intl/intl/ru/preview/
Dapi-overview.jd329 {@link android.content.res.Resources#getColorStateList(int) getColorStateList()} и
331 вызываете эти API-интерфейсы, вызовите вместо них новые методы {@code Context.getColorStateList()} …
/frameworks/base/docs/html-intl/intl/zh-cn/preview/
Dapi-overview.jd329 {@link android.content.res.Resources#getColorStateList(int) getColorStateList()} 方法和
330 …rces#getColor(int) getColor()} 方法已弃用。如果您要调用这些 API,请改为调用新增的 {@code Context.getColorStateList()} 方法或
/frameworks/base/docs/html-intl/intl/zh-tw/preview/
Dapi-overview.jd329 {@link android.content.res.Resources#getColorStateList(int) getColorStateList()} 和
330 …sources#getColor(int) getColor()} 方法已過時。如果您正在呼叫這些 API,請改為呼叫新的 {@code Context.getColorStateList()} 或
/frameworks/base/docs/html-intl/intl/ko/preview/
Dapi-overview.jd328 …{@link android.content.res.Resources#getColorStateList(int) getColorStateList()} 및 {@link android.…
330 …이러한 API를 호출하려면, 대신 새로운 {@code Context.getColorStateList()} 또는 {@code Context.getColor()} 메서드를 호출하세…
/frameworks/base/docs/html-intl/intl/ja/preview/
Dapi-overview.jd329 {@link android.content.res.Resources#getColorStateList(int) getColorStateList()} メソッドと
330 …r(int) getColor()} メソッドは廃止されました。これらの API を呼び出す場合は、代わりに新しい {@code Context.getColorStateList()} メソッドか
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DIconUtils.java271 icon.setTintList(context.getColorStateList(tintColorId)); in applyTintColor()

123