a1e8fd30efad5550a201aaf11f609a5a53049fd6 |
|
29-Mar-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Small clean ups am: 29def828b5 Change-Id: I93331f0968d75597c4fd779323f47e2cf2f5527f
|
29def828b59307ae6bfec1e5da8c44b7e651ddcf |
|
29-Mar-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Small clean ups * Fix it -> its in Javadocs of tinting capabilities * Mark a bunch of fields as final * Use decreasing order of SDK checks * Switch away from non-deprecated version of SmallTest Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.package=android.support.v7.widget Bug: 36514548 Change-Id: Iffef8941b15e49dcb35c9c5c8ac73a933c9bc5df
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
e2104f4b5c8e3ad63570306a25e61502dfe4c418 |
|
05-Mar-2017 |
Aurimas Liutikas <aurimas@google.com> |
Add all missing @Override annotations. Historically, we could not add @Override for certain methods due to using older SDKs to build support library. That is no longer the case so we can add @Override everywhere now. Test: ./gradlew assemble assembleAndroidTest still works Change-Id: I85e3c1157f0e253e3eab7584189f3bf95cf030e9
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
8e10080c914d1ad0784394fa3026b85535535847 |
|
18-Nov-2016 |
Aurimas Liutikas <aurimas@google.com> |
Move from GROUP_ID to LIBRARY_GROUP annotations - GROUP_ID was deprecated in favor of LIBRARY_GROUP. - Fix import order in touched files. Test: ./gradlew assemble assembleAndroidTest Change-Id: I2a774e93215090f42262fb86cf8e841f2a546a4f
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
8f886fe8c7e23fe6ccb8734167c960c2ed3429c3 |
|
25-Oct-2016 |
Alan Viverette <alanv@google.com> |
Annotate support classes with RequiresApi / TargetApi Also inlines version codes in SDK_INT checks so that lint understands them. Removes some unnecessary TargetApi annotations. Bug: 29630077 Change-Id: I67a9235480ca14711b0496a54beca5c0e6c6b2d1
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
c39d9c75590eca86a5e7e32a8824ba04a0d42e9b |
|
25-Aug-2016 |
Alan Viverette <alanv@google.com> |
Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations Also removes some unnecessary @hide annotations on classes that wouldn't have shown up in docs anyway due to package/private visibility or NO_DOCS. Bug: 27937193 Change-Id: Iab127a5a3ce57a2d61965d3cef782621eb3859f5
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
2c1bad7ecd5879bf0f29ce2ce1bc5bd67a3f4682 |
|
25-Aug-2016 |
Aurimas Liutikas <aurimas@google.com> |
Remove all the extra accessor methods added by javac in support-v7-appcompat. Change private methods to be package protected to avoid extra methods that get added to be able to access them from inner classes. This CL saves 196 methods in our jar. Bug: 31075707 Change-Id: I2592b845b920384ff523fe130f634d5808a382a8
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.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/src/android/support/v7/widget/AppCompatSpinner.java
|
39369fe89f5502b99c28a72b2f3ef7dd2af26a44 |
|
14-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Use the correct item layout for android:entries" into mnc-ub-dev am: 5bee60e * commit '5bee60e9f20fe639c664ef84f0e9515ca78466a5': Use the correct item layout for android:entries Change-Id: Ie4957942c91156dac88afa0fcc5462551470e738
|
c9668b98d83e8a8696685c6c36be7643ab1e25e0 |
|
13-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Use the correct item layout for android:entries BUG: 28110872 Change-Id: Ifd366ec535b59647ea95084c081b87f14d54d6e3
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
67416df15ef3871dfe51fea83af4a8d5cecaefeb |
|
30-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix Spinner showing multiple popups" into mnc-ub-dev am: 91b5e75 * commit '91b5e75a4124cd1db18a7f9994bdf202da45531a': Fix Spinner showing multiple popups Change-Id: Ia6eb2e778038ec7c968c676f6af77656539d4fd6
|
69a24fe6852ac5c6a0de42a1c5a10cbd08dfcce1 |
|
29-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Fix Spinner showing multiple popups Happens on when the user clicks on a Spinner which an already opened popup on L and below. Fixed by always consuming the click. BUG: 27847068 Change-Id: Ic0d4550cbb897316ec162988e5d2ff050f0f0410
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
1d6e3840486930e276d142861afb6c7e72d5ce72 |
|
02-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Tinting / popup theming tests for AppCompatSpinner. Change-Id: I44268bc9a3d7f946c97cf0af027464b3ecbf3c92
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
87e9bd07708fb4f74ae55bf19e18f0a848a2fe2c |
|
02-Mar-2016 |
Alan Viverette <alanv@google.com> |
Use ContextCompat.getDrawable() in AppCompatSpinner am: 6cb1d939c9 * commit '6cb1d939c9d2d8f49f3167f16db1e6dc4583c08c': Use ContextCompat.getDrawable() in AppCompatSpinner
|
6cb1d939c9d2d8f49f3167f16db1e6dc4583c08c |
|
01-Mar-2016 |
Alan Viverette <alanv@google.com> |
Use ContextCompat.getDrawable() in AppCompatSpinner Bug: 27435404 Change-Id: Ifa6cc3d3beed1bc31641084e740e92cc6ef1b18a
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
6142a54baae3289f734947c6b5375b12eb0fb722 |
|
27-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Backport framework popup improvements to AppCompat Lots of changes here, including cascading menus on large screens, titles on popups and other popupy things. BUG: 26816906 Change-Id: I79f4692d30fea247f419102a455c50e8b9a665f3
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
66698bb15ba0f873aa1c2290cc50d6bb839a474a |
|
26-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Flatten AppCompat class hierarchy This allows us to do two things: 1) Move away from using public @hidden classes everywhere. 2) Workaround silly OEM bugs. BUG: 18218511 Change-Id: I7582e242c7564c32feeb044fc9eff6bfb5c56536
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
98e3c72d70ea6461e7b0e4375699c75e84b05d60 |
|
22-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Make AppCompatSpinner read android:entries Allows us to use our own dropdown item layout by default, ensuring that it looks the same on all API levels by default. BUG: 25174183 Change-Id: I010f5b3f53d40fe00c00063f0c8a9555bf728448
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
7e4e8b664820f773bc96e37ee1d2bbf500d64e69 |
|
12-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Add AppCompatDrawableManager Refactored from TintManager, AppCompatDrawableManager is now architectured differently. It is now a singleton which keeps multi-map of cached tints. This is to enable the new InflateDelegate extension point, which will allows libraries (and eventually apps) to hook into the compat drawable inflation. While this CL looks large, it's mostly just updating method calls to match the new parameters. BUG: 24852773 Change-Id: Ic9f5ecc6fd0208d2f7a8a686f077f16588020516
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
080abff1400d6461206a6dc367411115590abda9 |
|
14-Jul-2015 |
Adam Powell <adamp@google.com> |
Remove prerelease codename checks Bug 20692412 Change-Id: I96adcd887d45ca07a6175a62ccb601a8fcee6458
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
bf61606ac234432b2d7f98a8219a59cc8c07cf70 |
|
25-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
Fix docs build Change-Id: I267db59fb1a731750ad9a5beb8ed68409cf33f4b
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
f933672168f6deff5e3636584bec735416b5a93b |
|
28-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
Update AppCompatSpinner with popup theme This is done by handling the dropdown popup ourselves in AppCompatSpinner. This enables us to control the context. Also removed the old copy-pasta SpinnerCompat implementation moving us to the new AppCompatSpinner everywhere. BUG: 17625714 Change-Id: Ic2ded027898cf441241b6a22eb1a6d62fd77dcee
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
091b0f935e68ce9bfecc2422e60eada33fa3b09c |
|
06-May-2015 |
Chris Banes <chrisbanes@google.com> |
AppCompatWidgets, now with added pixie dust. This CL moves a lot of the internal code for apply background tints to a central helper class. This allows us to have one place to add/fix things. This has enabled an easier implementation of reading the backgroundTint and backgroundTintMode attributes. With that, our CompoundButton implementations have followed in the same vain with a new helper class, reading of the new buttonTint and buttonTintMode attributes, with a v4 shim to allow dynamic setting. Also tidied up the javadoc on each class too so that developers know what they're getting from each class, and fixed an NPE in the AutoCompleteTextView classes. BUG: 19037149 BUG: 21102590 Change-Id: Ice097ed44e1253e5799bbe9ab30285912617b4dc
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
684dbfaf7105761b5a19a82e8273ed79d3b0641e |
|
27-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
Ensure we wipe out our internal tinting if the background changes BUG: 20642147 Change-Id: I843d2aa3b73d460c7b6a3c3d980b9984489e9e8e
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
351428cd6e15e6d19fe48ce698c994ad3e6f0501 |
|
02-Mar-2015 |
Chris Banes <chrisbanes@google.com> |
Fix crash in AppCompat's background tinting BUG: 19561949 Change-Id: Ib348b66d39f0c9723bb034d13876e0c56e65926f
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|
2cccf609662389d6a23dbc0711d5fb2e826e8c63 |
|
18-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
Rename and move all of the tint widgets They're public so shouldn't live in the internal package. I've also stopped setting the setting the platform widget styles (e.g. android:editTextStyle) and instead provide our own versions. On Lollipop, we set these the default framework styles. This fixes the times where the framework widgets are used but with the untinted material style (e.g. Preferences). BUG: 19407610 BUG: 19300319 Change-Id: I5dbdee240cbf28d4dc9b05f5c56b386d83b18df3
/frameworks/support/v7/appcompat/src/android/support/v7/widget/AppCompatSpinner.java
|