History log of /frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/TestUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c6f44e35993b51b4cb2a78222ef22d01725970ff 25-Oct-2016 Chris Banes <chrisbanes@google.com> Fix background tint for Button.Colored on API 22

Happens because we're using the compat drawable pre-v23, which means
that the compat tint is loaded into mInternalBackgroundTint, thus we
also need to handle any custom set tints.

Also improved the readability of BaseViewTest.

Test: included
BUG: 32368707

Change-Id: I30c77e0da617de4d6f160f4627de49157a6ea728
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/TestUtils.java
98fb75eaf45370ead657c78e03d5bf7b83f67a6b 26-Aug-2016 Chris Banes <chrisbanes@google.com> Fix night mode for config-based color upconversions

This works around an issue in the platform where
night-configured color resources which are converted
to ColorDrawables are not purged from the Resources
cache. Fixed by manually forcing the resources instance
to purge its caches when the night mode changes.

BUG: 30132023

Change-Id: I68128bd752d7c8451940631df336154246e921ae
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/TestUtils.java
4c99f0e29b0926d8e5de44b7e3980d47f052f04c 24-Jun-2016 Chris Banes <chrisbanes@google.com> Add AppCompatResources.getDrawable()

This CL adds the new public method, which just
proxies to AppCompatDrawableManager for now. Also
moved all internal calls of
AppCompatDrawableManager.getDrawable() to the new method.

Looks like a huge commit, but it's mostly just moving
things to use the new method.

BUG: 29564497
Change-Id: Ie1603cc83d58333d70b90aefcfaf21fd367081ae
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/TestUtils.java
3ab41277a085b829e15eca69442cfe45cae58a8c 22-Apr-2016 Kirill Grouchnikov <kirillg@google.com> Update AppCompatSpinner popup color tests

* Use android:colorBackground instead of android:background for
default popup theming
* Only query the center pixel of the combined background to eliminate
need for checking rounded corners and drop shadow
* Also mark the entire buildSrc to be ignored by Git

Change-Id: Ida519ddb4091e5263f94b22b6461b9bb56669875
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/TestUtils.java
1d6e3840486930e276d142861afb6c7e72d5ce72 02-Mar-2016 Kirill Grouchnikov <kirillg@google.com> Tinting / popup theming tests for AppCompatSpinner.

Change-Id: I44268bc9a3d7f946c97cf0af027464b3ecbf3c92
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/TestUtils.java
24391daa4e5831395924e2f48df86e19294cc211 25-Jan-2016 Chris Banes <chrisbanes@google.com> Update AppCompat tests to use Activity Rules

Also tidied up some tests which test the Activity
finishing. These tests should be less flaky now.

Change-Id: I13eea877896b4a5fd38e9ea510a0bed03b1fcb33
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/TestUtils.java
1b81f288853d60e25e870fd522c927fd72f2efb5 11-Jan-2016 Kirill Grouchnikov <kirillg@google.com> More tests for background tinting of AppCompatTextView

Change-Id: I354c3f64e914f99dc00d8b796ca9cdc1943de63f
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/TestUtils.java
ee9519c17254b5e992164ff278173c4b2c7c5fce 08-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Add tests for background tinting of AppCompatTextView

Change-Id: Ie4db66bd3fc0dbafdcbfe9d05742ab5220da010c
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/TestUtils.java
244abf1fee3fe4fab72a1d8925407e29219940be 16-Dec-2015 Kirill Grouchnikov <kirillg@google.com> First pass for testing AlertDialog.

Change-Id: I0ed035a6e9356ddb3de1d030c67476fda5c81e9b
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/TestUtils.java