Home
last modified time | relevance | path

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

12345

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatTextHelper.java124 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor); in loadFromAttributes()
127 textColorHint = a.getColorStateList( in loadFromAttributes()
131 textColorLink = a.getColorStateList( in loadFromAttributes()
149 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor); in loadFromAttributes()
152 textColorHint = a.getColorStateList( in loadFromAttributes()
156 textColorLink = a.getColorStateList( in loadFromAttributes()
263 = a.getColorStateList(R.styleable.TextAppearance_android_textColor); in onSetTextAppearance()
DTintTypedArray.java166 public ColorStateList getColorStateList(int index) { in getColorStateList() method in TintTypedArray
171 AppCompatResources.getColorStateList(mContext, resourceId); in getColorStateList()
177 return mWrapped.getColorStateList(index); in getColorStateList()
DAppCompatDrawableManager.java21 import static android.support.v7.content.res.AppCompatResources.getColorStateList;
528 tint = getColorStateList(context, R.color.abc_tint_edittext); in getTintList()
530 tint = getColorStateList(context, R.color.abc_tint_switch_track); in getTintList()
541 tint = getColorStateList(context, R.color.abc_tint_spinner); in getTintList()
545 tint = getColorStateList(context, R.color.abc_tint_default); in getTintList()
547 tint = getColorStateList(context, R.color.abc_tint_btn_checkable); in getTintList()
549 tint = getColorStateList(context, R.color.abc_tint_seek_thumb); in getTintList()
DResourcesWrapper.java161 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList() method in ResourcesWrapper
162 return mResources.getColorStateList(id); in getColorStateList()
DThemeUtils.java75 return a.getColorStateList(0); in getThemeAttrColorStateList()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DAppCompatMenuItemIconTintingTest.java131 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testIconTintingWithNoIcon()
160 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testIconTintingAcrossTintListChange()
167 final ColorStateList oceanColor = ResourcesCompat.getColorStateList( in testIconTintingAcrossTintListChange()
191 final ColorStateList lilacColor = ResourcesCompat.getColorStateList( in testIconOpaqueTintingAcrossIconChange()
227 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList( in testIconTranslucentTintingAcrossIconChange()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DAppCompatBaseViewTest.java128 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testBackgroundTintingWithNoBackground()
172 final ColorStateList lilacColor = ResourcesCompat.getColorStateList( in testBackgroundTintingViewCompatWithNoBackground()
227 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testBackgroundTintingAcrossStateChange()
247 final ColorStateList oceanColor = ResourcesCompat.getColorStateList( in testBackgroundTintingAcrossStateChange()
308 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testBackgroundTintingViewCompatAcrossStateChange()
328 final ColorStateList oceanColor = ResourcesCompat.getColorStateList( in testBackgroundTintingViewCompatAcrossStateChange()
384 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList( in testBackgroundTintingAcrossModeChange()
453 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList( in testBackgroundTintingViewCompatAcrossModeChange()
576 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList( in testBackgroundTranslucentTintingAcrossBackgroundChange()
642 final ColorStateList oceanColor = ResourcesCompat.getColorStateList( in testUntintedBackgroundTintingViewCompatAcrossStateChange()
DAppCompatBaseImageViewTest.java97 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testImageTintingAcrossStateChange()
118 final ColorStateList oceanColor = ResourcesCompat.getColorStateList( in testImageTintingAcrossStateChange()
176 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList( in testImageTintingAcrossModeChange()
297 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList( in testImageTranslucentTintingAcrossImageChange()
381 final ColorStateList lilacColor = ResourcesCompat.getColorStateList( in testImageTintingAcrossBackgroundTintingChange()
403 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testImageTintingAcrossBackgroundTintingChange()
/frameworks/base/core/java/android/content/res/
DCompatResources.java61 public ColorStateList getColorStateList(@ColorRes int id) throws NotFoundException { in getColorStateList() method in CompatResources
62 return getColorStateList(id, getTheme()); in getColorStateList()
/frameworks/base/core/tests/coretests/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/support/v7/appcompat/src/android/support/v7/content/res/
DAppCompatResources.java62 public static ColorStateList getColorStateList(@NonNull Context context, @ColorRes int resId) { in getColorStateList() method in AppCompatResources
65 return context.getColorStateList(resId); in getColorStateList()
82 return ContextCompat.getColorStateList(context, resId); in getColorStateList()
/frameworks/support/compat/java/android/support/v4/content/res/
DResourcesCompat.java166 public static ColorStateList getColorStateList(@NonNull Resources res, @ColorRes int id, in getColorStateList() method in ResourcesCompat
169 return res.getColorStateList(id, theme); in getColorStateList()
171 return res.getColorStateList(id); in getColorStateList()
/frameworks/support/compat/java/android/support/v4/content/
DContextCompat.java385 public static final ColorStateList getColorStateList(Context context, @ColorRes int id) { in getColorStateList() method in ContextCompat
387 return context.getColorStateList(id); in getColorStateList()
389 return context.getResources().getColorStateList(id); in getColorStateList()
/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java65 textColor = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan()
67 mTextColorLink = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan()
113 textColor = a.getColorStateList(colorList); in TextAppearanceSpan()
/frameworks/support/compat/tests/java/android/support/v4/content/
DContextCompatTest.java65 ContextCompat.getColorStateList(mContext, R.color.complex_unthemed_selector); in testGetColorStateList()
79 ContextCompat.getColorStateList(mContext, R.color.complex_themed_selector); in testGetColorStateList()
/frameworks/support/design/src/android/support/design/widget/
DBottomNavigationView.java144 a.getColorStateList(R.styleable.BottomNavigationView_itemIconTint)); in BottomNavigationView()
151 a.getColorStateList(R.styleable.BottomNavigationView_itemTextColor)); in BottomNavigationView()
399 ColorStateList baseColor = AppCompatResources.getColorStateList( in createDefaultColorStateList()
DNavigationView.java127 itemIconTint = a.getColorStateList(R.styleable.NavigationView_itemIconTint); in NavigationView()
141 itemTextColor = a.getColorStateList(R.styleable.NavigationView_itemTextColor); in NavigationView()
420 ColorStateList baseColor = AppCompatResources.getColorStateList( in createDefaultColorStateList()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DColoredHeaderMixin.java45 a.getColorStateList(R.styleable.SuwColoredHeaderMixin_suwHeaderColor); in ColoredHeaderMixin()
/frameworks/support/compat/tests/java/android/support/v4/content/res/
DResourcesCompatTest.java76 ResourcesCompat.getColorStateList(mResources, R.color.complex_unthemed_selector, in testGetColorStateList()
93 ResourcesCompat.getColorStateList(mResources, R.color.complex_themed_selector, in testGetColorStateList()
107 ResourcesCompat.getColorStateList(mResources, R.color.complex_themed_selector, in testGetColorStateList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileColorPicker.java35 getColorStateList(R.color.tint_color_selector, context.getTheme()); in TileColorPicker()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileColorPickerTest.java42 getColorStateList(R.color.tint_color_selector, mContext.getTheme()); in setUp()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/
DDrawableCompatActivity.java81 ContextCompat.getColorStateList(this, R.color.tint_state_list)); in setColorStateListTint()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java124 a.getColorStateList(R.styleable.SuwGlifLayout_suwColorPrimary); in init()
130 a.getColorStateList(R.styleable.SuwGlifLayout_suwBackgroundBaseColor); in init()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/res/content/
DAppCompatResourcesTestCase.java55 final ColorStateList result = AppCompatResources.getColorStateList( in testGetColorStateListWithThemedAttributes()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java152 final ColorStateList tintColor = a.getColorStateList(0); in tintCompoundDrawables()

12345