Home
last modified time | relevance | path

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

123

/appcompat/appcompat-lint/integration-tests/src/main/java/com/example/android/appcompat/
DAppCompatLintDemo.java36 private ColorStateList getColorStateList(int resourceId) { in getColorStateList() method in AppCompatLintDemo.ResourceLoader
37 return AppCompatResources.getColorStateList(AppCompatLintDemo.this, resourceId); in getColorStateList()
49 getResources().getColorStateList(R.color.color_state_list_missing_android_alpha); in onCreate()
54 ColorStateList csl2 = new ResourceLoader().getColorStateList( in onCreate()
/appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/
DAppCompatBaseViewTest.java147 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testBackgroundTintingWithNoBackground()
190 final ColorStateList lilacColor = ResourcesCompat.getColorStateList( in testBackgroundTintingViewCompatWithNoBackground()
244 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testBackgroundTintingAcrossStateChange()
264 final ColorStateList oceanColor = ResourcesCompat.getColorStateList( in testBackgroundTintingAcrossStateChange()
324 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testBackgroundTintingViewCompatAcrossStateChange()
344 final ColorStateList oceanColor = ResourcesCompat.getColorStateList( in testBackgroundTintingViewCompatAcrossStateChange()
399 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList( in testBackgroundTintingAcrossModeChange()
467 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList( in testBackgroundTintingViewCompatAcrossModeChange()
588 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList( in testBackgroundTranslucentTintingAcrossBackgroundChange()
652 final ColorStateList oceanColor = ResourcesCompat.getColorStateList( in testUntintedBackgroundTintingViewCompatAcrossStateChange()
DAppCompatBaseImageViewTest.java102 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testImageTintingAcrossStateChange()
123 final ColorStateList oceanColor = ResourcesCompat.getColorStateList( in testImageTintingAcrossStateChange()
181 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList( in testImageTintingAcrossModeChange()
236 final ColorStateList sandColorStateList = ResourcesCompat.getColorStateList( in testImageTintingWithDefaultMode()
341 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList( in testImageTranslucentTintingAcrossImageChange()
425 final ColorStateList lilacColor = ResourcesCompat.getColorStateList( in testImageTintingAcrossBackgroundTintingChange()
447 final ColorStateList sandColor = ResourcesCompat.getColorStateList( in testImageTintingAcrossBackgroundTintingChange()
/appcompat/appcompat/src/androidTest/java/androidx/appcompat/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()
DNightModeBaseContextThemeTestCase.kt55 assertNotNull("Resolved @attr/textColorLink", resolved.getColorStateList(0)) in testBaseContextResolveAttribute()
/appcompat/appcompat-resources/src/main/java/androidx/appcompat/content/res/
DAppCompatResources.java46 public static ColorStateList getColorStateList(@NonNull Context context, @ColorRes int resId) { in getColorStateList() method in AppCompatResources
47 return ContextCompat.getColorStateList(context, resId); in getColorStateList()
/appcompat/appcompat/src/main/java/androidx/appcompat/widget/
DAppCompatDrawableManager.java20 import static androidx.appcompat.content.res.AppCompatResources.getColorStateList;
371 return getColorStateList(context, R.color.abc_tint_edittext); in preload()
373 return getColorStateList(context, R.color.abc_tint_switch_track); in preload()
384 return getColorStateList(context, R.color.abc_tint_spinner); in preload()
388 return getColorStateList(context, R.color.abc_tint_default); in preload()
390 return getColorStateList(context, R.color.abc_tint_btn_checkable); in preload()
392 return getColorStateList(context, R.color.abc_tint_seek_thumb); in preload()
DAppCompatTextHelper.java157 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor); in loadFromAttributes()
160 textColorHint = a.getColorStateList( in loadFromAttributes()
164 textColorLink = a.getColorStateList( in loadFromAttributes()
185 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor); in loadFromAttributes()
188 textColorHint = a.getColorStateList( in loadFromAttributes()
192 textColorLink = a.getColorStateList( in loadFromAttributes()
302 final ColorStateList tintList = a.getColorStateList( in loadFromAttributes()
548 a.getColorStateList(R.styleable.TextAppearance_android_textColor);
555 a.getColorStateList(R.styleable.TextAppearance_android_textColorLink);
562 a.getColorStateList(R.styleable.TextAppearance_android_textColorHint);
DTintTypedArray.java172 public ColorStateList getColorStateList(int index) { in getColorStateList() method in TintTypedArray
177 AppCompatResources.getColorStateList(mContext, resourceId); in getColorStateList()
183 return mWrapped.getColorStateList(index); in getColorStateList()
DAppCompatCompoundButtonHelper.java80 a.getColorStateList(R.styleable.CompoundButton_buttonTint)); in loadFromAttributes()
DThemeUtils.java112 return a.getColorStateList(0); in getThemeAttrColorStateList()
/appcompat/appcompat-resources/src/androidTest/java/androidx/appcompat/content/res/
DAppCompatResourcesTestCase.java52 final ColorStateList result1 = AppCompatResources.getColorStateList( in testColorStateListCaching()
54 final ColorStateList result2 = AppCompatResources.getColorStateList( in testColorStateListCaching()
/appcompat/appcompat-resources/api/
Dapi_lint.ignore6 MissingNullability: androidx.appcompat.content.res.AppCompatResources#getColorStateList(android.con…
7 Missing nullability on method `getColorStateList` return
Drestricted_1.6.0-beta02.txt5 …method public static android.content.res.ColorStateList! getColorStateList(android.content.Context…
99 …method public android.content.res.ColorStateList! getColorStateList(int) throws android.content.re…
Drestricted_current.txt5 …method public static android.content.res.ColorStateList! getColorStateList(android.content.Context…
99 …method public android.content.res.ColorStateList! getColorStateList(int) throws android.content.re…
Drestricted_1.6.0-beta01.txt5 …method public static android.content.res.ColorStateList! getColorStateList(android.content.Context…
99 …method public android.content.res.ColorStateList! getColorStateList(int) throws android.content.re…
Drestricted_1.4.0-beta02.txt5 …method public static android.content.res.ColorStateList! getColorStateList(android.content.Context…
91 …method public android.content.res.ColorStateList! getColorStateList(int) throws android.content.re…
Drestricted_1.5.0-beta01.txt5 …method public static android.content.res.ColorStateList! getColorStateList(android.content.Context…
91 …method public android.content.res.ColorStateList! getColorStateList(int) throws android.content.re…
Drestricted_1.7.0-beta01.txt5 …method public static android.content.res.ColorStateList! getColorStateList(android.content.Context…
99 …method public android.content.res.ColorStateList! getColorStateList(int) throws android.content.re…
Drestricted_1.4.0-beta01.txt5 …method public static android.content.res.ColorStateList! getColorStateList(android.content.Context…
91 …method public android.content.res.ColorStateList! getColorStateList(int) throws android.content.re…
D1.3.0-beta02.txt5 …method public static android.content.res.ColorStateList! getColorStateList(android.content.Context…
D1.1.0-beta01.txt5 …method public static android.content.res.ColorStateList! getColorStateList(android.content.Context…
D1.4.0-beta02.txt5 …method public static android.content.res.ColorStateList! getColorStateList(android.content.Context…
/appcompat/appcompat-resources/src/main/java/androidx/appcompat/widget/
DResourcesWrapper.java186 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList() method in ResourcesWrapper
187 return mResources.getColorStateList(id); in getColorStateList()
/appcompat/appcompat-resources/src/
Dbaseline-prof.txt3 HSPLandroidx/appcompat/content/res/AppCompatResources;->getColorStateList(Landroid/content/Context;…

123