57b02c3437edf870c8a0333ac9938a156ab814a6 |
02-Jun-2017 |
Siyamed Sinir <siyamed@google.com> |
Don’t try to autoSize if TextView is not measured This CL early returns from auto sizing text if the view is not measured yet. Test: Added a new test ./gradlew support-appcompat-v7:connectedAndroidTest Bug: 38440435 Bug: 62257930 Change-Id: Ia0a8f3780c5beefeaa2ed3fbe7ff9b42a48b466b
ppCompatTextViewAutoSizeHelper.java
|
2afabd060e15342c0ba622cb08f5be61a328e566 |
17-May-2017 |
Seigo Nonaka <nona@google.com> |
Introduce fetch strategy and timeout attribute. This CL makes developer to be able to choose the fetching strategy. Since the font inflation happens on UI thread, it is not a good idea to block until the font fetch finishes. On the other hand, it may be also bad if the fetch happens asynchronously and refresh the display once it finishes. This blinks the contents. Blocking fetching and timeout works as follows: - First, check the local cache and use it if it is available. - Request the font to the font provider and wait until it finishes or timeout happens. - If timeout happens, use default typeface instead. Asynchronous fetching works as follows: - First, check the local cache and use it if it is available. - Request the font to the font provider and use default typeface during initial inflation. - When the fetch finishes, refresh the TextView. We can't add automated tests for resources xml for provider fonts since it requires the static certificates. Bug: 38340183 Test: ./gradlew support-compat:connectedAndroidTest on API 16, 17, 18, 19, 21, 23, 25, 26 Test: ./gradlew support-appcompat-v7:connectedAndroidTest on API 16, 17, 18, 19, 21, 23, 25, 26 Test: ./gradlew support-emoji:connectedDebugAndroidTest on API 16, 17, 18, 19, 21, 23, 25, 26 Change-Id: Iec9d953f1a762a020f3556055f0eda868e6f2641
ppCompatTextHelper.java
intTypedArray.java
|
5c93def4f76b586287ff127e0d6bfc25bbd2ba5b |
30-May-2017 |
Andrei Stingaceanu <stg@google.com> |
Merge "AutoSize TextView - support - correct pixel transformations" into oc-support-26.0-dev
|
b5edd83229a71f29b955ab63acfea04494738373 |
27-May-2017 |
Sergey Vasilinets <sergeyv@google.com> |
Merge "Don't show ripple effect on the element replacing "See All"" into oc-support-26.0-dev
|
9e254febe0073697724578809c222658e0f47d96 |
23-May-2017 |
Clara Bayarri <clarabayarri@google.com> |
Make TextViewCompat#setTextAppearance work with fonts Make sure the fontFamily and textStyle attributes are read correctly when using an AppCompatTextView. To do so, refactored the code that reads the attributes into one method so it can be reused by its 3 usages. Bug: 38111412 Test: AppCompatTextViewTest#testFontResources_setTextAppearance Change-Id: Iba4eef6670eb067845d491b94d79398089a8f77c
ppCompatTextHelper.java
|
62e3b75d6c75e19ac13aca30c965dab4ae1ed087 |
26-May-2017 |
Ian Lake <ilake@google.com> |
Merge "Relayout when base inner insets change" into oc-support-26.0-dev
|
7f6a3f7dc8cf4ecc2b1ffe2d47bd1d11434f9ae4 |
25-May-2017 |
Sergey Vasilinets <sergeyv@google.com> |
Don't show ripple effect on the element replacing "See All" bug: 30247194 Test: manual Change-Id: I52e979f41bcc94cc17142f5e25770bf432ddb08c
ctivityChooserView.java
|
ea0c3b5b360fd353f9c974f1b354d2ca34023b7e |
24-May-2017 |
Clara Bayarri <clarabayarri@google.com> |
Fix missing italics in AppCompatTextView am: 88139aa6cc am: 45e9983082 Change-Id: I8d69fa19966fbcec4d5e1a4e8223ae1c077ceaa7
|
88139aa6ccd28d91dcb8b96a334289d5b8f62048 |
23-May-2017 |
Clara Bayarri <clarabayarri@google.com> |
Fix missing italics in AppCompatTextView The issue was that we only read the textStyle attribute when there was the fontFamily attribute present. Some users might only set the textStyle, and rely on the default fontFamily set via the default TextAppearance set on the TextView. This regression was introduced when we started handling all Typeface assignments via AppCompat instead of relying on the framework. Also fixed an adjacent issue where we were not loading String typeface definitions on a restricted context. Loading system fonts via String is fine in this case, just not resources fonts. Bug: 38427057 Test: AppCompatTextViewTest#testTextStyle_setTextStyleInStyle Change-Id: I470eb9e9d9b18aa3caa09dac12433dcc5a4a2eba
ppCompatTextHelper.java
|
044757e817a79113607fd16ac04995d250798f95 |
24-May-2017 |
Ian Lake <ilake@google.com> |
Relayout when base inner insets change When using SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN and fitsSystemWindows="true", there are cases when the inner insets will change but the content insets will remain the same. One case where this happens is when using windowSoftInputMode="adjustResize|stateHidden", bringing the keyboard up, hitting the Recents button, then going back into the app. By issuing a requestLayout when the base inner insets change, we ensure that the inner layout is properly updated, avoiding an empty space where they keyboard used to be. Test: Run app from b/37743589#comment6 with AppCompat theme BUG: 37743589 Change-Id: I9b7c5ce0049b4894593d488e2fa7f8b378c27fdd
ctionBarOverlayLayout.java
|
9d375c31c81da95b8fb82371cbd6dfe7563aa8bb |
23-May-2017 |
Andrei Stingaceanu <stg@google.com> |
AutoSize TextView - support - correct pixel transformations When configuring a TextView to auto-size via min/max/granularity do the calculations in float pixels and only convert to int (via rounding, see TypedArray#getDimensionPixelSize) to produce the final text size values to be used by the auto-size algorithm. This is because the previous version where the values were initially directly converted to pixels and only after used in calculations was losing precision and was not consistent with how we deal with preset configuration (and the developer expectations). Practically textView1.setAutoSizeTextTypeUniformWithConfiguration(10, 20, 2, TypedValue.COMPLEX_UNIT_SP) and textView2.setAutoSizeTextTypeUniformWithPresetSizes( new int[] {10, 12, 14, 16, 18, 20}, TypedValue.COMPLEX_UNIT_SP); produce exactly the same values in pixels to choose from when auto-sizing (on any device) => (TextView#getAutoSizeTextAvailableSizes()) Bug: 38185233 Bug: 37265610 Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatTextViewAutoSizeTest#testAutoSizeUniform_equivalentConfigurations Change-Id: Ie1de4c3a8caad424f1588de814063d7d46d01132
ppCompatTextViewAutoSizeHelper.java
|
f2b8aa644529539d113e87cbaf0e21e49a70fac3 |
16-May-2017 |
Seigo Nonaka <nona@google.com> |
Introduce early exit path for non resource path case. This CL does some improvements: - Uses cached TypedValue for taking string from resource. - Introduce the early exit path if the given string is not likely the path in resource file. Bug: 38232467 Test: ./gradlew support-appcompat-v7:connectedDebugAndroidTest on API 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, O Test: ./gradlew support-compat:connectedDebugAndroidTest on API 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, O Change-Id: I03beca271ee3980cd3b7de28fbab74dd8027a1b0
intTypedArray.java
|
7be8da4a1bd4c4dfb63901724cd2029c33945758 |
15-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix and suppress an assortment of ErrorProne warnings." into oc-dev
|
ad1b0e82100ee31e70040d77bfa4d847b2bf0864 |
02-May-2017 |
Aurimas Liutikas <aurimas@google.com> |
Fix and suppress an assortment of ErrorProne warnings. Test: ./gradlew assembleErrorProne now has fewer warnings Change-Id: I445c7dfd36b33243771eb7821562ca468851ad8a
ctionMenuView.java
ctivityChooserModel.java
ctivityChooserView.java
ppCompatSeekBar.java
uttonBarLayout.java
inearLayoutCompat.java
witchCompat.java
oolbar.java
|
120bf7e1f9ac004248f25a1ff68b8b4b498c7f2c |
13-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Support fontFamily attribute for API15" into oc-dev
|
b92b7c8f90261139813ae654afcabea83c98033f |
11-May-2017 |
Seigo Nonaka <nona@google.com> |
Support fontFamily attribute for API15 Introduce app:fontFamily. Test: ./gradlew support-appcompat-v7:connectedDebugAndroidTest on API 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, O Change-Id: Ia3b97fc8678416a597c98b31fb34238288ede5c4
ppCompatTextHelper.java
|
f5cc32dc4dfafc3f98e5afc7ebc7bac93ab329e5 |
11-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "AutoSize TextView - fallback to OS version for O and above" into oc-dev
|
e93cedb4454a05a0ecba12ff1ba60965c5c9d8d0 |
05-May-2017 |
Andrei Stingaceanu <stg@google.com> |
AutoSize TextView - fallback to OS version for O and above Re-enable delegating to the framework version of the auto-size implementation for OS versions O and above. Although the clean preferred way of switching implementations is built into TextViewCompat (this is what's public) had to check and switch implementations in AppCompatTextView because internally we read the auto-size attrs @ AppCompatTextHelper#loadFromAttributes and after we need to make a call to the framework implementation to populate with data. This stackoverflowed without the OS check because TextViewCompat always saw the TextView as an instance of AutoSizeableTextView and thus was always calling the support implementation (which in turn called the helper). Also introduces a new test to verify that setTextSize is working when auto-size is disabled and make it clear in all support tests that we are testing AppCompatTextView. Bug: 37958118 Test: existing tests pass Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatTextViewAutoSizeTest Change-Id: Ie00a0f69842ae291ea5cd721b506363457859289
ppCompatTextHelper.java
ppCompatTextView.java
ppCompatTextViewAutoSizeHelper.java
|
3bc1e157b17cadff90a19a8cbd1916d2bbc11c85 |
08-May-2017 |
Clara Bayarri <clarabayarri@google.com> |
Fix failing testFontResources_setInStringFamilyName This test relied on two false premises - The framework TextView will take care of loading a font by String family name. Not true in ICS, true JB+ - Typeface.create("sans-serif", Typeface.NORMAL) always returns the same cached instance of SANS_SERIF. Not true pre-L, as the query goes into native and gets a new Java object back each time. Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatTextViewTest Bug: 38105814 Change-Id: Ia4bf25f3b1bedf3794e4f1e7becdd64f57f9d9e9
ppCompatTextHelper.java
|
e8dd649c034eb9965caaec40a2de8e5f972ef4c1 |
08-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Remove TypefaceHolder and use TextView.setTypeface(Typeface, int)" into oc-dev
|
7c7a7e505126eeb9c459e895244b20b4433502f4 |
03-May-2017 |
Siyamed Sinir <siyamed@google.com> |
Fix autosize stack overflow AppCompatTextView.setTextSize called AppCompatTextHelper.setTextSize, which in turn called AppCompatTextView.setTextSize, and cause an infinite loop. Enabled autosize support lib for all versions including O. Test: ./gradlew support-appcompat-v7:connectedCheck \ -Pandroid.testInstrumentationRunnerArguments.class=\ android.support.v7.widget.AppCompatTextViewTest Test: ./gradlew support-appcompat-v7:connectedCheck \ -Pandroid.testInstrumentationRunnerArguments.class=\ android.support.v7.widget.AppCompatTextViewAutoSizeTest Bug: 37355569 Change-Id: I0a350a4aec526d041def67a951be7321701e182b
ppCompatTextHelper.java
ppCompatTextViewAutoSizeHelper.java
|
a55160adc4ac7481c48512c7c146e7875a380021 |
02-May-2017 |
Seigo Nonaka <nona@google.com> |
Remove TypefaceHolder and use TextView.setTypeface(Typeface, int) Looks like TextView.setTypeface(Typeface, int) does a good job for fake bold/italic. No need to propagate weight/italic information and call TextView.setTypeface(Typeface, int) instead. This CL fixes invalid skew angle happens on API 21 or later. Known Issues: - FakeItalic is not working even if the text view style has italic bit. (Happens on API 15, 16, 17, 18, 19) - FakeBold/FakeItalic is used for StyleSpan. (Happens on all API level) - Still not working on API 15. Bug: 37783900 Test:./gradlew support-compat:connectedDebugAndroidTest Test: ./gradlew support-emoji:connectedDebugAndroidTest Test: Saw manually the rendered text. (Screenshot attached in issue) Change-Id: Icf496a8d44e37e344262a52ca2936583d768a220
ppCompatTextHelper.java
intTypedArray.java
|
d7340f072fa2f0d915f962d790f521562b7375ea |
29-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Don't assume negative ID is invalid" into oc-dev
|
f69ef36b9ff270c87e41177551ef4692f9aff965 |
28-Apr-2017 |
Seigo Nonaka <nona@google.com> |
Make Font Resources XML working on Android N or before device. This addresses several issues: - API 16 to API 25 There are two main issues. -- AssetManager failed to open file by path name. Fixed by using Resources.openRawResource instead of AssetManager.openNonAssetFd. -- TextView's style is ignored. Before API 26, there is no way to create Typeface from multiple font files. If Typeface is created from multiple font files, TextView will select correct font based on style information of them. However, this is impossible on API 25 or before. So select best match font from given list and create Typeface with it. At the same time, there is a concept "fakeBold" and "fakeItalic" on Android. If even the best matched Typeface is not usable for requested style, TextView makes bold/italic glyph with transforming available glyph. Since we does font selection by ourselves, needs to set fake bold/italic by manual too. - API 16 - API 19 Styled typeface can be created from another Typeface like as follows. Typeface boldTypeface = Typeface.create(baseTypeface, Typeface.BOLD); The passed style information can be retrieved by Typeface.getStyle() but this doesn't return real value on API 19 or before. Thus, introduce TypefaceHolder to hold actually using weight/italic information. Known Issues: - API 15 or before Still not working even after this patch. TypedArray returns false for hasValue with R.styleable.TextAppearance_android_fontFamily. - API 21 - API 25 The skew angle is sharper. Bug: 37754362 Test: ./gradlew support-compat:connectedDebugAndroidTest passes on API 15,16,17,18,19,21,23,25,26 Test: Test App attached issue 37754362 show the same result on API 16,17,18,19,21,23,25 except for fake italic angle. Screenshots is available on issue tracker. Change-Id: I6bd615774be55981289f5f3b88f3d71fa1b39014
ppCompatTextHelper.java
intTypedArray.java
|
27498b224061104ba9f5f388c7c838cf0bee4af4 |
28-Apr-2017 |
Adam Lesinski <adamlesinski@google.com> |
Don't assume negative ID is invalid Resource IDs with higher package IDs than 0x7f end up as negative Java signed integers. An invalid resource ID is 0. Bug: 37498913 Test: none Change-Id: I1113447f6a0a0e7b91526cff014de378055cf4eb
ooltipPopup.java
|
4eb5188ece32ee625ecdcddcb84c1132a7826a82 |
27-Apr-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Fall back on framework's implementation of all caps" into oc-dev
|
8b84e9b32f6bfc633099466fa54582578975d73e |
25-Apr-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Fall back on framework's implementation of all caps In O we have more functionality of all caps provided by the framework, and that can't be backported in support lib (depends on the internal ICU). Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatTextViewTest Bug: 34118882 Change-Id: Id0f3f1b68395944052251b4af53add0b8a9bc8d6
ppCompatTextHelper.java
|
034295930d0f4c507bed2a211000b8d431c99d52 |
25-Apr-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Backport changes and cleanup in appcompat/widget package * Backport relevant changes that were made in the framework code * Cleanup unused code * Cleanup code for the new minSdk level Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.SearchViewTest Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.SearchView_CursorTest Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.ListPopupWindowTest Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.app.BasicsTestCaseWithToolbar Bug: 34118882 Change-Id: If986d357682989777c2591fa21a74909d993b6fe
ctionBarContainer.java
ctionBarContextView.java
ctionMenuPresenter.java
ctivityChooserView.java
orwardingListener.java
istPopupWindow.java
crollingTabContainerView.java
earchView.java
|
543fd2946ded1593b28553879e74ca4393eddd2e |
24-Mar-2017 |
Clara Bayarri <clarabayarri@google.com> |
Supportlib Fonts in XML This change adds support for the new font resources type in support library, making its use possible pre-O. Test: ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.content.res.FontResourcesParserCompatTest ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.content.res.ResourcesCompatTest ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatTextViewTest Bug: 35382184 Change-Id: Ide32ae4e914b3dc73756016d24059ead25ca7e68
ppCompatTextHelper.java
intTypedArray.java
|
d679cb8cd83198de9d1fd67b5058d834d2daaae4 |
19-Apr-2017 |
Clara Bayarri <clarabayarri@google.com> |
Revert "Supportlib Fonts in XML" This reverts commit 617be7af1f752cfaaf566e627ff6ea797623f2c3. Reason for revert: <INSERT REASONING HERE> Change-Id: Iacaef0423aa43cc5473042b6d61f2664afaf9cf6
ppCompatTextHelper.java
intTypedArray.java
|
617be7af1f752cfaaf566e627ff6ea797623f2c3 |
24-Mar-2017 |
Clara Bayarri <clarabayarri@google.com> |
Supportlib Fonts in XML This change adds support for the new font resources type in support library, making its use possible pre-O. Test: ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.content.res.FontResourcesParserCompatTest ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.content.res.ResourcesCompatTest ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatTextViewTest Bug: 35382184 Change-Id: If67cf830c8c2d8875da73318d02db391421dfdfa
ppCompatTextHelper.java
intTypedArray.java
|
8a058074df40beb07fe45c1eaae5baffd63f6a97 |
14-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Remove unnecessary casts on calls to findViewById" into oc-dev
|
fa2e2acf79d791a90410025daad438968550d18c |
31-Mar-2017 |
Alan Viverette <alanv@google.com> |
Remove unnecessary casts on calls to findViewById Updates Android.mk where applicable. Bug: 24137209 Test: make -j32 Change-Id: I04084b2d05ddd7afaa160a76efe0b0d0c8eb5f00
ctionBarOverlayLayout.java
ctivityChooserView.java
earchView.java
|
0d8edf13091b276a544ddec3bc7789c5c2e37ae3 |
13-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Un-suppress NewApi lint where applicable" into oc-dev
|
905bcd294a7351749c60382eab03aa0c679e08bb |
13-Apr-2017 |
Alan Viverette <alanv@google.com> |
Un-suppress NewApi lint where applicable Reduces scope where NewApi must be retained. Updates media compat code to use BuildCompat directly rather than checking SDK_INT against 26 (which is not a real SDK_INT on any devices yet). Test: ./gradlew lint Change-Id: I052641ae0540605559ad68132ef0470bc8dc3f22
ppCompatDrawableManager.java
|
fe7177d864385cf3af83ac666210d25aabae0c8f |
13-Apr-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Make menu item tinting available on older platforms." into oc-dev
|
d958281b984cca673ec25dd54a0dd2fc90c17e8c |
13-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "AutoSize TextView - take horizontalScrolling into account [support]" into oc-dev
|
3a7c6d2009dfcf99c738d70eafe146eedf6e0ac2 |
10-Apr-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Make menu item tinting available on older platforms. * Backport of ag/2010341 and ag/2010340 to app compat. * Also mark two existing MenuItemCompat methods as static (otherwise they are not accessible to use) * Also simplify the menu wrapper factory logic now that we're on min SDK 14. Bug: 31545315 Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.app.AppCompatMenuItemIconTintingTest Change-Id: Icb6f1463d0010ecf103ab34b12933557ea9cb849
rawableUtils.java
|
058995d123bc50783c787ef8799318e8797d889c |
11-Apr-2017 |
Aurimas Liutikas <aurimas@google.com> |
Move to using Android Gradle Plugin 2.4.0-alpha5 - Move to the new plugin - Fix new lint warnings (missing @RequiresApi) - Suppress 106 doclava warning about missing @attr javadoc in R.java files. alanv@ will investigate this further. - Disable new resource processing as it breaks doclava - Explicitly set jacoco version in SupportLibraryPlugin as a workaround for android gradle plugin bug (fixed in alpha6) Test: ./gradlew assemble createArchive generateDocs updateApi Change-Id: I97d895b4aa2da2bc4a659f25fe54ac75401af9e6
esourcesWrapper.java
intTypedArray.java
|
d2e67760b04fd03c316b01a828a34fbe22766169 |
12-Apr-2017 |
Andrei Stingaceanu <stg@google.com> |
AutoSize TextView - take horizontalScrolling into account [support] Implementation fix and new test for horizontal scrolling mixed with auto-size. When passing the characteristics of the current TextView to the StaticLayout for auto-size measurements also take the horizontallyScrolling into account similarly with how the actual measurements are done (@ TextView#onMeasure). Bug: 37254477 Test: ./gradlew support-appcompat-v7:connectedCheck \ --info --daemon -Pandroid.\ testInstrumentationRunnerArguments.class=android.\ support.v7.widget.AppCompatTextViewAutoSizeTest Change-Id: Ia674cfb029ee8b5058e727846e9fe6af6afdc24c
ppCompatTextViewAutoSizeHelper.java
|
b06a889854bfe269ae8f48637c03e065ab368492 |
05-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix anchor overlap handling in ListPopupWindow" into oc-dev
|
9143d7d1813d0db1d8a62a68bcf8d633aa9f60fc |
31-Mar-2017 |
Andrei Stingaceanu <stg@google.com> |
AutoSize TextView (support) - amend JavaDoc Mention the newly introduced auto-size functionality in the AppCompatTextView JavaDoc similarly to how other compatibile features are described. Bug: 35701040 Bug: 36592804 Test: by intensely focused reading Change-Id: Ib4876cea5da73f7482ebcd2814c6f1c31027eb79
ppCompatTextView.java
|
38c40bfad23e4d8f65793299454b0e838a591bd5 |
01-Apr-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Fix anchor overlap handling in ListPopupWindow Do not change anchor overlap on the underlying PopupWindow unless ListPopupWindow.setOverlapAnchor has been called explicitly. Bug: 36788749 Test: Support7Demo > AppCompat > Action Bar > Action Bar Usage > click on overflow Change-Id: Icaa9d5a5ea59e29f9279c59788a1c4d858bbc766
istPopupWindow.java
|
6f9c9f5686b4fd64cb4d5b9c17dff6c0a5e4a173 |
30-Mar-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Apply correct tinting info on image source" into nyc-support-25.4-dev am: fca6f6edae Change-Id: I96705f8931ad4e6ae384c6c80a9b8b7343ad880b
|
5788552fbf5a44a86e49e17e5ce86f013a6f542e |
30-Mar-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Apply correct tinting info on image source Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatImageViewTest Bug: 36779363 Change-Id: I7b133b683364f512c56f4ef64b0cdbe9fe7e7cc6
ppCompatImageHelper.java
|
cc93b432d3b66d1127b1d71cf1b95eb8a21ef319 |
28-Mar-2017 |
Andrei Stingaceanu <stg@google.com> |
AutoSize TextView (14) - finalize SupportLib port * introduced getters and setters for the auto-size configuration * for (API < 26) all auto-size logic is delegated to AppCompatTextViewAutoSizeHelper via AppCompatTextHelper * for (API >= 26) AppCompatTextViewAutoSizeHelper# loadFromAttributes obtains the styled attributes (using namespace "app") then delegates the logic to the TextView implementation rather than the helper * TextViewCompat is the gateway to the new APIs * ported and tailored all remaining tests Bug: 32221168 Bug: 35701040 Bug: 36641475 Test: ./gradlew support-appcompat-v7:connectedCheck \ --info --daemon -Pandroid.testInstrumentationR\ unnerArguments.class=android.support.v7.widget\ .AppCompatTextViewTest Change-Id: I71e1546eaf9d7d080f3bc328351673b66e640040
ppCompatTextHelper.java
ppCompatTextView.java
ppCompatTextViewAutoSizeHelper.java
|
41ce347ead8295377dc22960102efb6bbaf80afc |
17-Mar-2017 |
Andrei Stingaceanu <stg@google.com> |
AutoSize TextView (13) - initial SupportLib port Introduces support for auto-sizing text to AppCompat down to API 14 (ICS). This CL ports all the logic required to auto-size but it only does it at construction time reading configuration from styled attributes. Also ported, tailored and isolated auto-size tests in new AppCompatTextViewTest. Notable differences between this impl and the framework one: * #suggestedSizeFitsInSpace => measuring using the StaticLayout has been adapted to different API levels (includes mild reflection) * #cleanupAutoSizePresetSizes => could not use IntArray and fell back to a List + Collections combo to return distinct sorted positive values Bug: 32221168 Bug: 35701040 Test: ./gradlew support-appcompat-v7:connectedCheck \ --info --daemon -Pandroid.testInstrumentationR\ unnerArguments.class=android.support.v7.widget\ .AppCompatTextViewTest
ppCompatTextHelper.java
ppCompatTextView.java
ppCompatTextViewAutoSizeHelper.java
|
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
ppCompatAutoCompleteTextView.java
ppCompatBackgroundHelper.java
ppCompatButton.java
ppCompatCheckBox.java
ppCompatCheckedTextView.java
ppCompatEditText.java
ppCompatImageHelper.java
ppCompatMultiAutoCompleteTextView.java
ppCompatRadioButton.java
ppCompatRatingBar.java
ppCompatSeekBar.java
ppCompatSpinner.java
ppCompatTextView.java
|
fe9b5b0ce73aa1c9f6b66f3de67e6bc6ee82bc20 |
29-Mar-2017 |
Yohei Yukawa <yukawa@google.com> |
Merge "Deprecate IMM#showSoftInputUnchecked() part 3" into oc-dev
|
fd44fffced7cce36c1ce0d62dfe2542aa6a7c6e9 |
25-Mar-2017 |
Yohei Yukawa <yukawa@google.com> |
Deprecate IMM#showSoftInputUnchecked() part 3 This is an as-is port of the fix for android.widget.SearchView [1]. In short, the new approach is deterministic and does not need to depend on @hide method. There is no good reason to continue using non-deterministic private API. [1]: I20983e4ce1d625e098a8c2335ce75994cfa43235 5cfc1b4c104471a6f4d0edc8a1b60cbc9a54d78f Test: Manually checked the following scenario. 1. Flash an OS image 2. Complete the setup wizard. 3. adb install -r support-v7-demos-debug.apk 4. AppCompat -> Action Bar -> Action Bar Usage 5. Tap the magnifier icon. 6. Make sure that the software keyboard shows up 7. Type "abcd" 8. Tap the dismiss button to dismiss the keyboard 9. Tap the text you entered ("abcd"). 10. Make sure that the software keyboard shows up 11. Tap the dismiss button to dismiss the keyboard 12. Tap the cross icon next to the text you typed ("abcd") 13. Make sure that the software keyboard shows up on the following devices. * nakasi (Wi-Fi): * 4.1.2 JZO54K * 4.2.2 JDQ39 * 4.4.4 KTU84P * 5.0.2 LRX22G * 5.1.1 LMY47V * bullhead: * 6.0.0 MDB08M * 6.0.1 MTC20K * 7.0.0 N5D91L (Nov 2016) * 7.1.1 N4F26T (Mar 2017) Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.SearchViewTest Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.SearchView_CursorTest Bug: 36015425 Fixes: 36510749 Change-Id: Iaac4673a85c141c787b96fb39806346ccfb85fb3
earchView.java
|
b277db249b60e227c7574bffaa41c5e81027426b |
22-Mar-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Tinting support for ImageView / ImageButton sources Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatImageButtonTest Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatImageViewTest Bug: 26507378 Change-Id: I91e0ece8e1f520cf00ae44d1f10f501caeef2ccf
ppCompatImageButton.java
ppCompatImageHelper.java
ppCompatImageView.java
|
3b04742a1d5209de20b93732e490a354d442294d |
22-Mar-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Tinting support for ImageView / ImageButton sources Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatImageButtonTest Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatImageViewTest Bug: 26507378 Change-Id: I1d8abbfa488bbc3b68f6dccbceef4ea00183c838
ppCompatImageButton.java
ppCompatImageHelper.java
ppCompatImageView.java
|
4a07a40444accbaa391ed909520a2ddc33ec089e |
24-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Align a cascading submenu to its parent menu item"
|
3efc5c1f74f96cef09a7ab977e103b2dde5e5b6a |
16-Mar-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Resolve textColorLink on pre-v23 AppCompatTextViews"
|
88d05bd682c3f36e30e35f3644ea03d26b921c9f |
15-Mar-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Resolve textColorLink on pre-v23 AppCompatTextViews Bug: 31209074 Test: new test in AppCompatTextViewTest Change-Id: I7696555579f660c4373ee69335a14f6f6c8da846
ppCompatTextHelper.java
|
384fbeb5973d98492aa83d6270f765ccfa2752a4 |
15-Mar-2017 |
Andrei Stingaceanu <stg@google.com> |
resolve merge conflicts of 0dbe090bba to master Test: existing tests pass Change-Id: Id56cfb6e005762f9f6622e5d0bddc78e2385c4c6
|
0dbe090bba314e72d65d5404c9fb15b7550a698d |
15-Mar-2017 |
Andrei Stingaceanu <stg@google.com> |
[AppCompat] - backport changes from N - reworked Took into account and actioned the comments from the previous CL. Bug: 34118882 Test: existing tests pass Change-Id: I154ccc39cbbed7b4621346df6ac480016576cfe3
bsActionBarView.java
ctionBarContainer.java
uttonBarLayout.java
istPopupWindow.java
uggestionsAdapter.java
oolbar.java
|
035bb922cd2fd0d8362dfa008f29e6d898bb9f96 |
14-Mar-2017 |
Alan Viverette <alanv@google.com> |
Revert "[AppCompat] - backport changes from N" This reverts commit e419aa4002976f2c79754b507dff8b14c007b277. Change-Id: Ifcdfcd1d9be133da1e2e97c1b5d5e368fbfe4923
bsActionBarView.java
ctionBarContainer.java
ctionBarOverlayLayout.java
uttonBarLayout.java
istPopupWindow.java
uggestionsAdapter.java
oolbar.java
|
e419aa4002976f2c79754b507dff8b14c007b277 |
01-Mar-2017 |
Andrei Stingaceanu <stg@google.com> |
[AppCompat] - backport changes from N Bug: 34118882 Test: existing tests pass Change-Id: Iaf3852ce6d6c3b2439fd421c09e8c69bafd520a6
bsActionBarView.java
ctionBarContainer.java
ctionBarOverlayLayout.java
uttonBarLayout.java
istPopupWindow.java
uggestionsAdapter.java
oolbar.java
|
a972a99dddff41d5f54a18629185a7290a63d1f9 |
10-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Introduce android.support.v7.widget.TooltipCompat"
|
613689efde3186aa87a2d541ba8ba72402f090e2 |
08-Mar-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Proper visuals for thumb of disabled switch Nested color state lists don't work (second level is flattened to default color and doesn't pass on the state). Instead, construct the relevant color state list in code as was done before ag/799280 Test: visual inspection Bug: 31545209 Change-Id: I79c0af44edd649c4e2a68b972a677340e1ed615a
ppCompatDrawableManager.java
|
cac4c3f2757db4f618b57af443bc5dc869128986 |
08-Mar-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Align a cascading submenu to its parent menu item Currently the submenu might become misaligned when the parent menu moves. Fix this by anchoring the submenu to the parent menu item directly. For API<26 align to the parent item using offsets, which works well in most cases. Bug: 35768002 Test: manual Change-Id: Ib22ffb36f908322a7ada8aa26fa801a2a1dc9ca6
istPopupWindow.java
|
a4c6825b4b077cb12adb4f14b825001b6fd0e865 |
03-Mar-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Introduce android.support.v7.widget.TooltipCompat Backport com.android.internal.view.TooltipPopup with as much style and behavior details as practically possible. Make it available through the new TooltipCompat class. Bug: 35669189 Test: Support7Demos > AppCompat > Action Bar > Action Bar Usage, hover mouse over action buttons. Change-Id: I7077d01536d5d7ca9e6865a0c169a2e0dcf34b6b
ctionMenuPresenter.java
crollingTabContainerView.java
earchView.java
ooltipCompat.java
ooltipCompatHandler.java
ooltipPopup.java
|
2656ae585662d63454ca757c2f33336fa58062fa |
06-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Re-enable lint enforcement, fix remaining lint issues"
|
c69882cb9b130902c1554ef5d3e3b06d776cd796 |
05-Mar-2017 |
Alan Viverette <alanv@google.com> |
Re-enable lint enforcement, fix remaining lint issues Bug: 29630077 Test: ./gradlew lint Change-Id: Ied1e4b1c33ba158d6bfab5439497ee4fc8284a8f
witchCompat.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
bsActionBarView.java
ctionBarContainer.java
ctionBarContextView.java
ctionBarOverlayLayout.java
ctionMenuPresenter.java
ctionMenuView.java
ctivityChooserModel.java
ppCompatImageButton.java
ppCompatImageView.java
ppCompatSpinner.java
inearLayoutCompat.java
oolbar.java
|
4b25d63ff53d4676150ac54897851e4ff9f1049f |
25-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
Clean up ParcelableCompat after minSdk 14 bump. Bug: 32794064 Test: ./gradlew assemble Change-Id: I87d35d527e80d55ac4a2a626a6040fcdaff63ae3
earchView.java
oolbar.java
|
c5337ec54be657386b164b93a88e7d03d6b207b9 |
24-Feb-2017 |
Andrei Stingaceanu <stg@google.com> |
Merge "AppCompatDrawableManager - s/SparseArray/SparseArrayCompat" into nyc-support-25.3-dev am: c964466832 am: 95df3bae64 Change-Id: I6eab26b5b264e7a326f422b949a841739af0ae9e
|
4ec7a936d40164b0f001b9ea860fa7f29754b228 |
24-Feb-2017 |
Andrei Stingaceanu <stg@google.com> |
AppCompatDrawableManager - s/SparseArray/SparseArrayCompat Attempt to fix crash caught in the wild which cannot be reproduced. A layout was getting inflated that subclassed AppCompatImageView and it crashed in the superclass's constructor while calling SparseArray#append(...) Bug: 34098025 Test: tests pass Change-Id: Ibce0c0bb334726e408e0f93a6ab64117786a9aad
ppCompatDrawableManager.java
|
5fbe04916a26fbf2f7c513bbd449f5e837a70317 |
21-Feb-2017 |
Andrei Stingaceanu <stg@google.com> |
Merge "[AppCompat] SwitchCompat - introduce and use ObjectAnimator" into nyc-support-25.2-dev am: d06863231b am: e5ba9db65c am: ebbe1bd55f Change-Id: If9304b1566d553b06179481da618262cf2b5a865
|
2d544b788ee998f034aac2512debfbfc822143a0 |
20-Feb-2017 |
Andrei Stingaceanu <stg@google.com> |
[AppCompat] SwitchCompat - introduce and use ObjectAnimator Replaces the old-style view animations with ObjectAnimator => inlined with the framework changes. Also restricts SwitchCompat to API 14. Bug: 34182292 Change-Id: Ibf7d9cf69695c3af3de22aeb7cd1f013defb4743
witchCompat.java
|
3035be16658d7652fdc472f971c81d8f7ffb60fd |
15-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
Deprecate ScrollerCompat after minSdk 14 bump. ScrollerCompat can be completely replaced by OverScroller that was added in API14 which ScrollerCompat wraps. Bug: 32794064 Test: ./gradlew assemble Change-Id: Ice79dd122b00e1b3c92dea3a95446ac897135a84
ctionBarOverlayLayout.java
|
458543f38db49fdcb1764f007ded33820964c3fe |
14-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
Clean up MenuItemCompat after minSdk 14 bump. - Deprecates all the methods introduced in API 14 or earlier. - Removes usage of such methods within support library. - Inlines Api26 related call directly in MenuItemCompat. Bug: 32794064 Test: ./gradlew assemble Change-Id: I5f26608e417377a67f4051c3f7c3067eab4012f6
earchView.java
oolbar.java
|
0800a58729f5fdc6e399cbd299fbbc7442dbdb38 |
13-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
resolve merge conflicts of 3be4cef3e4 to master Change-Id: Ib5e4df4aba3637a51777ee167eed5bb9a8d99913
|
44ece5ceaaee232f9139ccbde40ac4a5e642bdee |
12-Feb-2017 |
Christophe Beyls <software@digitalia.be> |
Fixed various it's -> its typos in comments and documentation Test: None Change-Id: I25617e1cfe26cdeacaa54040676a7abff475478e
rawableUtils.java
istPopupWindow.java
istViewCompat.java
|
9c3a43f2608c2e7fceea46e4b500d68ce1c619ff |
07-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
Deprecate and cleanup usage of KeyEventCompat. Clean up KeyEventCompat after minSdk 14 bump. Bug: 32794064 Test: ./gradlew assemble Change-Id: I2579a79d1feea94b24a6cbf9dd8b2911cefe27a7
earchView.java
|
6b2f67b466a0aa75c854536bf62ef50146a69b20 |
07-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
Merge "Deprecate and remove usage of MotionEventCompat methods."
|
ee55bf441b2728d359675d9899c6b5efa7bf6a60 |
07-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
Deprecate and clean up usage of ConfigurationHelper. Bug: 32794064 Test: ./gradlew assemble Change-Id: I7b92c5a6d846336c22b893fe228521bed239e337
uttonBarLayout.java
earchView.java
|
6ed40c1f86bcb172a1f0f069cde1c571a7781aee |
07-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
Deprecate and remove usage of MotionEventCompat methods. We bumped our minSdk to 14 and now most of MotionEventCompat methods and constants are no longer needed. Bug: 32794064 Test: ./gradlew assemble assembleAndroidTest Change-Id: I5fc698fc8243107cd969743b7500163818f8c258
bsActionBarView.java
ropDownListView.java
orwardingListener.java
witchCompat.java
oolbar.java
|
b29c16370cded52f848d8dcef58a89722c53c384 |
30-Jan-2017 |
Aurimas Liutikas <aurimas@google.com> |
Merge "Deprecated AsyncTaskCompat."
|
64165762788d147a6def5d6a89d6cd884b0f49f3 |
30-Jan-2017 |
Aurimas Liutikas <aurimas@google.com> |
Deprecated AsyncTaskCompat. AsyncTaskCompat can be replaced by directly using FW AsyncTask. This CL deprecates AsyncTaskCompat and updates all the usages of it in support library to use AsyncTask directly. Bug: 32794064 Test: ./gradlew assemble still works. Change-Id: If3e8bd27171949bd0efc473dc117b778930f43f0
ctivityChooserModel.java
|
fa0f82f629bf95681c14ed559922f77a3030aa18 |
30-Jan-2017 |
Aurimas Liutikas <aurimas@google.com> |
Deprecated ViewCompat methods that were added in API 11. Deprecated all the ViewCompat methods that were APIs added to View since API 11. Additionally this removes usages of these APIs in support library. Bug: 32794064 Test: ./gradlew assemble assembleAndroidTest still works Change-Id: I18fb0cc1ebc67c911eeb30aada7b8315afc15835
bsActionBarView.java
ctionBarOverlayLayout.java
ctivityChooserView.java
lertDialogLayout.java
ppCompatRatingBar.java
uttonBarLayout.java
inearLayoutCompat.java
crollingTabContainerView.java
witchCompat.java
oolbar.java
iewUtils.java
|
985937cd12ff7f01610ce22aa57a060085fc5c1e |
27-Jan-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Add tooltip for the search button in SearchView Bug: 34750715 Test: manual Change-Id: Id2e27dafb84b5d04238d66d1debe18ac48b167a9
earchView.java
|
fd3c4560bf2348f6a06272a9f02105c9e1bf927e |
25-Jan-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Revert "Revert "Add content description and tooltip to menu item"" This reverts commit 7ad815fef41ae568189dea9979b873e82c78476d. Change-Id: Ic4e0747b2524cda2acf2821a738755f4415f3181
ctionMenuPresenter.java
|
7ad815fef41ae568189dea9979b873e82c78476d |
24-Jan-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Revert "Add content description and tooltip to menu item" This reverts commit c7d1b6bc152f660957d7a789dcff7b97831915a0. Change-Id: Iffc35948f706f42275f6d1c20f6024111320ced8
ctionMenuPresenter.java
|
c7d1b6bc152f660957d7a789dcff7b97831915a0 |
23-Jan-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Add content description and tooltip to menu item Bug: 34076597 Test: manual Change-Id: I1addaac5e5734a140163541656cbd2dba4037517
ctionMenuPresenter.java
|
e337f69585dee67d926bba7558b6c35acc44aa54 |
19-Jan-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Rename View.setTooltip/getTooltip to setTooltipText/getTooltipText Bug: 34454987 Test: Support7Demos -> Action Bar Usage Change-Id: Idee511cabee413270ac6b4d2c76c328f51217836
crollingTabContainerView.java
|
3f98bbe41f163925333e60997a45cab83bc9459c |
10-Jan-2017 |
Alan Viverette <alanv@google.com> |
Unhide overridden public APIs in Support Library am: 161e026f31 am: f4ab4529b3 Change-Id: Ia63da9cd476a4cbd72fb5d50758eb6153508c04d
|
161e026f3153b1a8e208dfc148b4bd772a6bd74b |
10-Jan-2017 |
Alan Viverette <alanv@google.com> |
Unhide overridden public APIs in Support Library Change-Id: I225ed4dcf95bf2bac1b65dc0c6addeb6d2fe22fb Fixes: 34160607 Test: n/a
earchView.java
|
daa85ce5c5aa5d44fabf6675ede7e7be55a79034 |
23-Nov-2016 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Introduce ViewCompat.setTooltip This calls View.setTooltip on API26+. The fallback implementation is a Toast-based tooltip. Use the new method in ActionMenuItemView, MediaRouteButton, ScrollingTabContainerView and TabLayout. Bug: 31516506 Test: manual in Support7Demos and SupportDesignDemos Change-Id: I23832a2fd5b589769225a0542c2a0ce4778e673c
crollingTabContainerView.java
|
e22ae93397361d1bd5568fa51d82e2f7553712e1 |
08-Dec-2016 |
Alan Viverette <alanv@google.com> |
Remove unnecessary @TargetApi annotations Bug: 33412815 Test: ./gradlew assemble Change-Id: I0be3358fb97d6e637357c253f3f43f39355a643a
ctionBarBackgroundDrawable.java
ctionBarBackgroundDrawableV21.java
ppCompatButton.java
ppCompatDrawableManager.java
ppCompatPopupWindow.java
ppCompatSeekBar.java
ppCompatSeekBarHelper.java
ppCompatTextHelper.java
ppCompatTextHelperV17.java
orwardingListener.java
earchView.java
|
f39fda5f5a43ca50ea942da561cbe4eb9a93be8a |
22-Nov-2016 |
Chris Banes <chrisbanes@google.com> |
Fix custom tint showing as disabled pre-Lollipop Also unifies the contract that we expect for button tinting: if a developer provides a tint they are responsible for all of it (including the disabled tint). Test: included BUG: 31303357 Change-Id: I7f654d7dcd3f7c99ce4bab754eb447eb45e1322f
ppCompatBackgroundHelper.java
ppCompatDrawableManager.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
ctionBarContainer.java
ctionBarContextView.java
ctionBarOverlayLayout.java
ctionMenuView.java
ctivityChooserView.java
lertDialogLayout.java
ppCompatAutoCompleteTextView.java
ppCompatButton.java
ppCompatCheckBox.java
ppCompatDrawableManager.java
ppCompatEditText.java
ppCompatImageButton.java
ppCompatImageHelper.java
ppCompatImageView.java
ppCompatMultiAutoCompleteTextView.java
ppCompatPopupWindow.java
ppCompatRadioButton.java
ppCompatSpinner.java
ppCompatTextView.java
uttonBarLayout.java
ontentFrameLayout.java
ecorContentParent.java
ecorToolbar.java
ialogTitle.java
rawableUtils.java
itWindowsFrameLayout.java
itWindowsLinearLayout.java
itWindowsViewGroup.java
orwardingListener.java
inearLayoutCompat.java
istPopupWindow.java
istViewCompat.java
enuItemHoverListener.java
enuPopupWindow.java
crollingTabContainerView.java
earchView.java
intContextWrapper.java
intTypedArray.java
oolbar.java
oolbarWidgetWrapper.java
ectorEnabledTintResources.java
iewStubCompat.java
iewUtils.java
|
af6b251c15dab2237fdf100b5ebb9c0851c2d490 |
16-Nov-2016 |
Alan Viverette <alanv@google.com> |
Adds working lint target to support lib build, more workarounds Explicitly disable on v17 leanback and v7 preference, which need some work. Suppress issues due to Lint failing to distinguish locally- defined methods from framework methods. Depends on fullsdk project, which is NOT in the default checkout. Bug: 29630077 Test: ./gradlew lint && ./gradlew assemble Change-Id: If8da576a8f9e2a431bc60a473f0c36054818d7c1
ppCompatDrawableManager.java
|
c5e0f5335297efb77d626af70dde52e6535a6a30 |
11-Nov-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Bring AlertDialog up to date with N framework" into nyc-support-25.1-dev
|
2c96011dee46e09d6ab766a42a98b299927d633b |
07-Nov-2016 |
Chris Banes <chrisbanes@google.com> |
Bring AlertDialog up to date with N framework Test: all existing tests pass Change-Id: I8fb64f443ad8e0b742e2242dec7fc50f992d6e18
lertDialogLayout.java
uttonBarLayout.java
inearLayoutCompat.java
|
1cd642752286e1fba44d8ec87e9793f116a22240 |
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
ppCompatBackgroundHelper.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
ctionBarBackgroundDrawable.java
ctionBarBackgroundDrawableV21.java
ppCompatButton.java
ppCompatDrawableManager.java
ppCompatSeekBar.java
ppCompatSeekBarHelper.java
ppCompatSpinner.java
ppCompatTextHelper.java
ppCompatTextHelperV17.java
orwardingListener.java
|
2644e4d85e15846cc2de12d28d3d36c4dbcd9a17 |
21-Oct-2016 |
Chris Banes <chrisbanes@google.com> |
Fix usage of isAttachedToWindow() for API 9-11 am: 550c74f422 am: 18f5227864 am: 45b20396b4 Change-Id: Iea1ee327951af828b2d8928c9e73bfe93dd5d94d
|
550c74f42214edf819a30a1e2588b39b3f263ab8 |
21-Oct-2016 |
Chris Banes <chrisbanes@google.com> |
Fix usage of isAttachedToWindow() for API 9-11 Test: manually tested on Nexus One running API 10 BUG: 32327860 Change-Id: I102ff1b76fb571eccafb82794664bad733a47203
orwardingListener.java
|
b32a131d9a8e86bc154d813a337e40ac2d28b6ec |
29-Sep-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
Update JavaDoc for VectorDrawableCompat and related comments am: 95276d3d3d am: 3148bc0ab3 am: 92011d819a Change-Id: Ia5ec5fe649d109e21ab4f0d312ce070606f2d001
|
95276d3d3d07337500b6255d6a6ae031591784f3 |
28-Sep-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
Update JavaDoc for VectorDrawableCompat and related comments b/31076308 b/31782834 Change-Id: I53cd115ad2522c96ec4bbe70417e0f9dd8a9a90a
ppCompatDrawableManager.java
|
3da3119eb7c6840cedb3d2b3adc13560f437b234 |
14-Sep-2016 |
Chris Banes <chrisbanes@google.com> |
Disable use of TintContextWrapper on API 21+ am: 402448fec8 am: 7e7f83fd86 am: 79b478dcbc Change-Id: Iac00758bfb9ad2b2f8697811ecda157a6df4eb7d
|
2f0772f89287fed06ad09f7c121984bb522505a4 |
14-Sep-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix SearchView measure for UNSPECIFIED height. am: d8ee8fab3f am: 89b7cb26af am: 8e6d5c6168 Change-Id: I0e6a15783742c4548fdb9f773b96bfae63d3630e
|
402448fec8ff051fae994528ee1419c5ce2970e1 |
09-Sep-2016 |
Chris Banes <chrisbanes@google.com> |
Disable use of TintContextWrapper on API 21+ It's not strictly necessary on later API levels and its use seems to cause issues with WebView on newer API levels. Since we're using the wrapper in less places now, I've made the cache lazily created too. Also added in some cache pruning for good measure. Also made the code patch thread safe. BUG: 31027353 Change-Id: I7bce8a87b3e41f23dd8845712f6e71540b28872a
intContextWrapper.java
|
d8ee8fab3fab996b6dfba84ef10ee4ed09a37cb0 |
10-Sep-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix SearchView measure for UNSPECIFIED height. Previously it would almost always force SearchView to become 0 when height mode was UNSPECIFIED. This is support lib pair of ag/1429040. Bug: 31302290 Change-Id: I7bac7db52b47ebb28307a728fd8c263b90523f16
earchView.java
|
9480eb4e94e429726b07eba133ffbc6450b8d795 |
09-Sep-2016 |
Alan Viverette <alanv@google.com> |
resolve merge conflicts of 7243922 to master Change-Id: I34d800e77c4b1a440eb67191b4697213a2e6239e
|
92ceab9c9f6512eb3700895f68a518047c0d9157 |
09-Sep-2016 |
Alan Viverette <alanv@google.com> |
Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations am: c39d9c7559 Change-Id: Ia4089d0ac81011bfd92e6c6809b29d8e7ae57260
|
e79052ab6ad4db70b84c3c5aa0d7ccf94c743e9d |
09-Sep-2016 |
Alan Viverette <alanv@google.com> |
Merge "Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations" into nyc-mr1-dev
|
41b0a51fe506630d67a185e23fa4d46d2f5de466 |
09-Sep-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Use correct AssetManager in ContextThemeWrapper"
|
ae358e835e117aeddda2744e5733a419d5559f1a |
09-Sep-2016 |
Chris Banes <chrisbanes@google.com> |
Update textColorHint to match spec am: 286a5138be am: 1f04365dee am: 9811369daa Change-Id: I529131532e46441dc306411a100166bdb738c10c
|
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
ctionBarContainer.java
ctionBarContextView.java
ctionBarOverlayLayout.java
ctionMenuView.java
ctivityChooserView.java
ppCompatAutoCompleteTextView.java
ppCompatButton.java
ppCompatCheckBox.java
ppCompatDrawableManager.java
ppCompatEditText.java
ppCompatImageButton.java
ppCompatImageHelper.java
ppCompatImageView.java
ppCompatMultiAutoCompleteTextView.java
ppCompatPopupWindow.java
ppCompatRadioButton.java
ppCompatSpinner.java
ppCompatTextView.java
uttonBarLayout.java
ontentFrameLayout.java
ecorContentParent.java
ecorToolbar.java
ialogTitle.java
rawableUtils.java
itWindowsFrameLayout.java
itWindowsLinearLayout.java
itWindowsViewGroup.java
orwardingListener.java
inearLayoutCompat.java
istPopupWindow.java
istViewCompat.java
enuItemHoverListener.java
enuPopupWindow.java
crollingTabContainerView.java
earchView.java
uggestionsAdapter.java
intContextWrapper.java
intTypedArray.java
oolbar.java
oolbarWidgetWrapper.java
ectorEnabledTintResources.java
iewStubCompat.java
iewUtils.java
|
286a5138bee6a1597c093e84e52b510c439302d7 |
09-Sep-2016 |
Chris Banes <chrisbanes@google.com> |
Update textColorHint to match spec BUG: 30756246 Change-Id: Id95095f77d3b2a0c73aa277437b060b48545cf6d
ppCompatTextHelper.java
|
6acdf2b2896af68e5f5a79993eb7aac3a18e90c5 |
09-Sep-2016 |
Chris Banes <chrisbanes@google.com> |
Use correct AssetManager in ContextThemeWrapper Ports the fix in Ia87bebbe6f23214c892bc2ca19d4112853023235 to the support lib. Change-Id: I9f9430ee109a8e968a02d0af871d86749b990b25
intContextWrapper.java
|
25957f8ebdcb688f51cb42a469ceb0432e0d7389 |
07-Sep-2016 |
Chris Banes <chrisbanes@google.com> |
Move SwitchCompat to use TintTypedArray am: f50b0ed369 am: b49560d467 am: c2604e5f8a Change-Id: I67d7236e00717d19c143ad546cc8dd8286607412
|
b49560d4675f87b917a6710dfe03ebcde76d9996 |
07-Sep-2016 |
Chris Banes <chrisbanes@google.com> |
Move SwitchCompat to use TintTypedArray am: f50b0ed369 Change-Id: I5d4231a52aff67e65e18259416d89085cd8b27cf
|
8cb31d19cc5bb4bc21f3bbd1f9c55090e2d81db6 |
07-Sep-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Move SwitchCompat to use TintTypedArray" into nyc-mr1-dev
|
6af92e85222488df14846db05b3d5561d280b71e |
06-Sep-2016 |
Aurimas Liutikas <aurimas@google.com> |
Remove all the extra accessor methods added by javac in support-v7-appcompat. am: 2c1bad7ecd am: 4f640dc19c am: 515ee94327 Change-Id: Icbcee080fe4a4a13d8f050e1a4e0f4fcc18ac0dd
|
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
ctionBarOverlayLayout.java
ctionMenuPresenter.java
ctionMenuView.java
ctivityChooserModel.java
ctivityChooserView.java
ppCompatBackgroundHelper.java
ppCompatDrawableManager.java
ppCompatSpinner.java
orwardingListener.java
istPopupWindow.java
opupMenu.java
crollingTabContainerView.java
earchView.java
hareActionProvider.java
witchCompat.java
oolbar.java
oolbarWidgetWrapper.java
|
f50b0ed369ec1610a6fe0a69eb26faa48d702c5d |
26-Aug-2016 |
Chris Banes <chrisbanes@google.com> |
Move SwitchCompat to use TintTypedArray Allows developers to use themeable color state lists for text appearances. BUG: 31086450 Change-Id: I8925e10ff415e7f037292f8968155bbd36c9f69d
witchCompat.java
|
e63747281b53d4b01e032ede8cf2495ee3c97d5c |
25-Aug-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
VDC and AVDC fallback on framework, only on NYC+ am: c59ac731f7 am: a9109dfbb7 am: 5921a7646a Change-Id: I52c7d8dc3438b0b9a891e9a2a6f58f804dd42e6f
|
a9109dfbb7a225413822a3b3d429a60d96fe7dd5 |
25-Aug-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
VDC and AVDC fallback on framework, only on NYC+ am: c59ac731f7 Change-Id: I4cf0e104678d7577386843dc655896e7f61a46a6
|
d3ec2b534269ba9c478151fc172173d528bf0a19 |
25-Aug-2016 |
Tenghui Zhu <ztenghui@google.com> |
Merge "VDC and AVDC fallback on framework, only on NYC+" into nyc-mr1-dev
|
e402f49639b817c00f0f6ae63b9aebc6c53f86cc |
25-Aug-2016 |
Chris Banes <chrisbanes@google.com> |
Make text select handle drawables have default tint am: 0b8e0916ed am: f759b55db3 am: 90c571737f am: 8f886492e4 Change-Id: If0239040ff92dc6219fd062d3c7158fa8d286058
|
f759b55db3bfd3d7b21ab854699450b4164c32e7 |
25-Aug-2016 |
Chris Banes <chrisbanes@google.com> |
Make text select handle drawables have default tint am: 0b8e0916ed Change-Id: I9ffa53f1de3e748f265d91c2f948bdf7b18af160
|
0b8e0916ede7eb212e7d906956c5137a9b9dfe65 |
25-Aug-2016 |
Chris Banes <chrisbanes@google.com> |
Make text select handle drawables have default tint Light are tinted with blue-grey 500, dark are tinted with blue-grey 200. Change-Id: I851e6f154e7c380ba63bbaf5a00e6b25cb24c73b
ppCompatDrawableManager.java
|
c59ac731f7d38ee41d0aba567a9d3b77b40df628 |
23-Aug-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
VDC and AVDC fallback on framework, only on NYC+ fix:b/29990979 Change-Id: I4b56ca0d9cf213de7cec66f1fb138fdc5af6096f
ppCompatDrawableManager.java
|
86cc38e9e112901086897f02a35733315fb60909 |
24-Aug-2016 |
Aurimas Liutikas <aurimas@google.com> |
resolve merge conflicts of 590923c to master Change-Id: I18f4471b1a1ad348f25590aba36e0a9e7d4e1f30
|
47082c30c630c34829439a9eecd1cf7e8d255a86 |
23-Aug-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix all usages of deprecated setBackgroundDrawable. - Adds ViewCompat#setBackground that will call setBackgroundDrawable or setBackground depending on the version. - Replaced usages of setBackgroundDrawable with this ViewCompat version. Bug: 30074170 Change-Id: I756c8558608da752acd6f3ca7121114d3cd1416a
ctionBarContainer.java
ctionBarContextView.java
earchView.java
oolbarWidgetWrapper.java
|
d27abc26eb0356991d25fe01a3582b96f3e4a774 |
11-Aug-2016 |
Chris Banes <chrisbanes@google.com> |
Notify AppCompatDrawableManager on config changes am: dfdb7ac789 am: 34f7877bb3 am: 996cbf9596 am: da3c8df812 Change-Id: I1dc94afca63c705859ecad860713a390fc51cff4
|
34f7877bb31d870f4e5e5f9333ad7cac007a9380 |
11-Aug-2016 |
Chris Banes <chrisbanes@google.com> |
Notify AppCompatDrawableManager on config changes am: dfdb7ac789 Change-Id: Ie6a0f2fe1669ea6a59b19f53198386cb11f0f7d5
|
dfdb7ac7893845f052e27c8c705b0708524b6a91 |
11-Aug-2016 |
Chris Banes <chrisbanes@google.com> |
Notify AppCompatDrawableManager on config changes For this CL we will just make it purge the cache, but we should make it more intelligent in a future release. BUG: 30788876 Change-Id: Ic81dfa9269b534f677e74ac16e3d4f44e4f2102b
ppCompatDrawableManager.java
|
14492ac04b18f53ab160001f11810659dbe1bb45 |
26-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Change vector setup check to use non-themed drawable am: 3a5aeed1e1 am: a5aec042d0 am: fd64658f9d Change-Id: Ia958453aa6aaabb95d6b1ff2fccfa2612b1cae67
|
a5aec042d0f7f39320b96ea8a667ab91766ede6f |
26-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Change vector setup check to use non-themed drawable am: 3a5aeed1e1 Change-Id: Ie7c69958e962ca1ec472432388c2ef0526d30bda
|
3a5aeed1e19247ea088691186500877b4e3f7d69 |
26-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Change vector setup check to use non-themed drawable Since we will soon have a public API for getDrawable(), we should make sure that our setup check works when the theme doesn't contain AppCompat attributes. Previously we were using the back icon, which references AppCompat theme attrs. BUG: 30361033 Change-Id: I8eb215293cdf6dc7832a503ffd1b0040c557e141
ppCompatDrawableManager.java
|
13a262d486337db8ae7db54185e5f74a8a5fbb2a |
26-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Tidy ups for AppCompat vector support am: 19ef8b22fc am: 50d729defd am: e72241ae99 Change-Id: Ia90f37e3b33094a025469582c1547df3220453b3
|
50d729defd065a7c8e240f3a277912e3c3468238 |
26-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Tidy ups for AppCompat vector support am: 19ef8b22fc Change-Id: I9bb4e01e4a0a2bbcff8f8901f3176f46b703a318
|
be5ec4b8b0c4e84b12355c49d03ed250448d64fd |
26-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Tidy ups for AppCompat vector support" into nyc-support-24.1-dev
|
c3e61ea42157891450cc1be61d03980f477c401e |
25-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Fix backwards-compat tinting for compound drawables am: 48dc926b92 am: d00435e97b am: f388047448 Change-Id: Icacacc060066dcecfa7c6c6ad1175361676ee363
|
d00435e97be5936ea2d56b1ef22acd3cc8861c2d |
25-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Fix backwards-compat tinting for compound drawables am: 48dc926b92 Change-Id: I936cb8b06d12562e4de21ecb99694c30f5736a19
|
a6b9c24ebdb9d548bf728ed6564d7a85f188f446 |
25-Jul-2016 |
Alan Viverette <alanv@google.com> |
Ensure forwarding listener target is long-clickable am: 6cc1cb8c7e am: 1afb79625e Change-Id: I745ef1dfaa88ce4e4b368da95657f95fc605207e
|
48dc926b92140d43cf35497d9a2ddad347fba2f3 |
25-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Fix backwards-compat tinting for compound drawables BUG: 30303072 Change-Id: I91e07583f1ac597f52b8c82cb4b14c9b44f96048
ppCompatTextHelper.java
ppCompatTextHelperV17.java
|
6cc1cb8c7e6d500e526b539621ac1e1f088d0b28 |
22-Jul-2016 |
Alan Viverette <alanv@google.com> |
Ensure forwarding listener target is long-clickable Also synchronizes with bug fixes in framework version. Bug: 28550349 Change-Id: I5ba37d75bdb117aa6edbc14b151fc61c4ad96453
orwardingListener.java
|
19ef8b22fccfd1649ac27cec9fe74933265f5745 |
14-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Tidy ups for AppCompat vector support - Add an UncaughtExceptionHandler to make any resulting exceotions clearer. - Make sure that any manually created views are AppCompat versions. Change-Id: I8165cfe6c7c5beef1b358b4616af7a90f554ee25
crollingTabContainerView.java
oolbar.java
|
4ede05c4c4c83cf6073013e213b5bd20b892a83b |
12-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Merge "Remove last references to ActionBarActivity"
|
a50132839da0658c89f87e3d7f5c982fe0c2b224 |
12-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Remove unused method Was never supposed to be submitted. Change-Id: I4de2b30676453558fb51d6c217f8f0329562ae5c
orwardingListener.java
|
a7eda07bf9dba63dde6cb4eaa06a5229cfd832ec |
12-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Remove last references to ActionBarActivity ActionBarActivity has been deprecated. This CL removes uses and references to it within support library. Bug: 30074170 Change-Id: I64000acfbe8635c604863983d61a296965a50a53
oolbar.java
|
35f04f0973b5ae58ddc081092774405a7b98e878 |
11-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Fix NPE in ForwardingListener Caused by a postDelayed() and lack of null check BUG: 29992695 Change-Id: I0c7454c6098dd1ead1545cc4603da6ff5261b666
orwardingListener.java
|
5de8e49f4bca76b73376464c17ecf498d3f79972 |
28-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Make Toolbar ignore its minHeight if larger than height"
|
31a373d741c19f383578224434372a8f7a5b7a83 |
27-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Move away from custom created attrs arrays Since obtainStyledAttributes() expects them to be in order, it's safer to just let aapt create the arrays via styleables. BUG: 29750321 Change-Id: Iada1804cad78de9db2be793b3518e19588a3bfea
ppCompatTextHelper.java
ppCompatTextHelperV17.java
|
03c7e33ca042c97524fe704d278ce53ad5edd56b |
27-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Make Toolbar ignore its minHeight if larger than height Currently Toolbar lays out all children based on its minHeight (if set). If that minHeight is larger than the Toolbar height, then the children are laid out larger than the Toolbar and clipped. This CL fixes it back by capping the alignment height. BUG: 29049143 Change-Id: Icb7b63a4605cb0272dc415920820038c1cd7cb2e
oolbar.java
|
68f91b88db86d1352ac9d88a0fc602a9c8e51d4f |
27-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix TintContextWrapper not always handling vector assets"
|
a458703e9c80562d04d194265baddcfa47427ebd |
27-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Add AppCompatResources.getDrawable()"
|
168fbe2c9b213338bce447c8825303c86b5b9281 |
24-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Fix SeekBar tickmark tinting pre-21 BUG: 29629335 Change-Id: I6db8f77755feeac851763b8ac718e00d05109b61
ppCompatSeekBarHelper.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
ppCompatAutoCompleteTextView.java
ppCompatBackgroundHelper.java
ppCompatButton.java
ppCompatCheckBox.java
ppCompatCheckedTextView.java
ppCompatCompoundButtonHelper.java
ppCompatDrawableManager.java
ppCompatEditText.java
ppCompatImageButton.java
ppCompatImageHelper.java
ppCompatImageView.java
ppCompatMultiAutoCompleteTextView.java
ppCompatProgressBarHelper.java
ppCompatRadioButton.java
ppCompatRatingBar.java
ppCompatSeekBar.java
ppCompatSeekBarHelper.java
ppCompatSpinner.java
ppCompatTextView.java
earchView.java
hareActionProvider.java
witchCompat.java
intTypedArray.java
oolbar.java
oolbarWidgetWrapper.java
|
7ddd1ffee15f045e17a1da78808be97b64772e4b |
23-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Fix TintContextWrapper not always handling vector assets Caused by a race condition in the theme and resources instantiation logic. Fixed by moving all instantation to the constructor. BUG: 29600970 Change-Id: I2f7da8b60a4feec8f04230fb4559a0b52495b723
intContextWrapper.java
|
426272331bc73c351f0dfd9f715deaf792269641 |
20-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Fix NPE in Toolbar Caused by super constructor calling non-final methods which Toolbar overrides, and then tries to reference final variables. BUG: 28806107 Change-Id: I5f68d0ce9929af3c507c48c81f2ce6a3861f33d9
oolbar.java
|
ba337d506d522baa9f972777b4fe0619da9cfe3a |
10-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Add docs for srcCompat BUG: 29245059 Change-Id: Id428c3de5b1cd1eaefd939728880d43ac42add9c
ppCompatImageView.java
|
356960d3d2c5be9ffdac12d4237c3c52313b2246 |
01-Jun-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix Button + custom tint pre-Lollipop"
|
7725e0f56ded4306659437803babe92f7ca0f5d6 |
31-May-2016 |
Alan Viverette <alanv@google.com> |
Fix support lib docs build Change-Id: I547166d9b1b974751c90cdd5a7648a613c50d8ef
witchCompat.java
|
c3fa0c344f27c192cf69c5f608d5dc7073a4dfb8 |
26-May-2016 |
Chris Banes <chrisbanes@google.com> |
Fix Button + custom tint pre-Lollipop Currently all background touch highlighting for Buttons is baked into the internal tint on KK and below. When a developer sets a custom tint, the interal tint is no longer used, meaning they lose all touch highlighting (unless they bake it in themselves). This CL moves us much closer to what happens on Lollipop and above. We still use a tint for touch highlights but use the custom tint as an input into its creation. All background tinting tests continue to pass. BUG: 28659547 Change-Id: Ie5135863143b82fc7f03850761dcb1d8ac8e596e
ppCompatBackgroundHelper.java
ppCompatDrawableManager.java
|
c72a543b1cd62424ee198866f71cb3184f2e95a1 |
26-May-2016 |
Yuichi Araki <yaraki@google.com> |
Merge "Avoid infinite loop in AppCompatDrawableManager" into nyc-dev am: 2ff71cdecb am: ddf32f2ae1 am: 702eda744e * commit '702eda744e44a125af2cd7a3868f1c50b48c02fc': Avoid infinite loop in AppCompatDrawableManager Change-Id: I68208604b228855f0bbf0dd6af48c9bd3d981e79
|
70d10816465bf5844901adab283ae7ab3e041396 |
26-May-2016 |
Chris Banes <chrisbanes@google.com> |
Backport Material text handles pre-Lollipop BUG: 28896163 Change-Id: I4cb4ffd31fd0438616b96358b393141b914a20b3
ppCompatDrawableManager.java
|
dd61be0d0da04cc63c9c41c1b82348c20b2bf1cd |
26-May-2016 |
Yuichi Araki <yaraki@google.com> |
Avoid infinite loop in AppCompatDrawableManager Bug: 28971359 Change-Id: Ia9192ceb2b138f382d30622959a2772298ba1b30
ppCompatDrawableManager.java
|
b3a14cb852e554e6c28cb18619bd686f0f318fcb |
26-May-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix a random assortment of spelling errors."
|
f4b98cb868e5469dfae15d2cff7f4bfc85666b9f |
25-May-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
Merge "Fix VectorDrawableSetup checking" into nyc-dev am: 88f5e78be2 am: 42016449e6 am: 39d54cab53 * commit '39d54cab5320f62fa07423592ddfb099e23fac16': Fix VectorDrawableSetup checking Change-Id: Ic401bea1bacaaad24849d181717786ca4ae8b17f
|
c9a859537b0871f84afeeb706a5b425fe3f2b4dd |
25-May-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix a random assortment of spelling errors. Fix spelling errors found by Android Studio. Change-Id: I121c79029f4e323da4ff2f44891e25480c44ebbc
ctivityChooserModel.java
ctivityChooserView.java
inearLayoutCompat.java
istPopupWindow.java
istViewCompat.java
uggestionsAdapter.java
|
4b393cdd67372661f54277acae6352b2e041989b |
24-May-2016 |
Aurimas Liutikas <aurimas@google.com> |
Merge "Move VectorEnabledTintResources to the correct directory."
|
9ccbe0f4fa88c4ec959e1bdfaaa42caedf6886cc |
23-May-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
Fix VectorDrawableSetup checking Without this fix, the check will not really happen. b/26979304 Change-Id: I3e7c4dabe05331fe3141a5c9082daab3ede98ae4
ppCompatDrawableManager.java
|
dc8e099ed130434c0238f558277c5bcb6a533121 |
23-May-2016 |
Aurimas Liutikas <aurimas@google.com> |
Add missing @Override annotations in v7 code. Part 1. Change-Id: I8487ae3980cf84aa486edb086f676a14a82f22c6
ctivityChooserView.java
ppCompatSeekBarHelper.java
ppCompatTextHelperV17.java
itWindowsLinearLayout.java
istPopupWindow.java
crollingTabContainerView.java
earchView.java
uggestionsAdapter.java
|
4fd7c3efc81cbea1bf8e044a48a1f6f6a95bcfc2 |
23-May-2016 |
Aurimas Liutikas <aurimas@google.com> |
Move VectorEnabledTintResources to the correct directory. VectorEnabledTintResources is part of widget package so it should live in widget directory instead of app. This was caught by Error-prone. Change-Id: Id3eee5a24b190d249d33ccd9aff258cf30eaf697
ectorEnabledTintResources.java
|
64dbe1d454f1190b3cd8426d09b9119949a10709 |
11-May-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Final pass for removing all donut/eclair/froyo references Also clean up code blocks that were conditional on pre-v9 build version. Change-Id: I9c87496446d842cbd176adb44635205206e7bb3d
bsActionBarView.java
ctionBarOverlayLayout.java
ctionMenuView.java
ppCompatAutoCompleteTextView.java
ppCompatButton.java
ppCompatEditText.java
ppCompatMultiAutoCompleteTextView.java
ppCompatPopupWindow.java
ppCompatTextView.java
rawableUtils.java
crollingTabContainerView.java
earchView.java
|
a59882b82ecd74c79e05538a0962646d003d4c0e |
09-May-2016 |
Chris Banes <chrisbanes@google.com> |
Revert vector drawables for menu icons Since they theoretically can be used by the framework action mode, we should keep the icons as bitmaps pre-L. We use the framework assets on Lollipop and beyond anyway. BUG: 28657836 Change-Id: Ia9aa00b98cef6dd5ff6c5d80c98c08773d7f6540
ppCompatDrawableManager.java
|
b2d5231158a58f03b611a8e4065de02938c54e26 |
06-May-2016 |
Chris Banes <chrisbanes@google.com> |
Fix popupStyleRes arg on ListPopupWindow not working Since the arg was added in API 11 to PopupWindow, AppCompat currently ignores it. This CL fixes it by using the 4-arg constructor on API 11+. BUG: 28628230 Change-Id: I549b9196015b5ba8c9de8a0b11dba5e1e132085b
ppCompatPopupWindow.java
istPopupWindow.java
opupMenu.java
|
b6bac0a3cca4c806693c5dd0c9dce60fe80b5233 |
06-May-2016 |
Chris Banes <chrisbanes@google.com> |
Revert use of vector assets for check/radio < API 21 Since these drawables can be referenced from themes there is more chance of them being used in places we can't control. This CL reverts these drawables back to their raster versions so that they work everywhere. BUG: 28627367 Change-Id: I148a67117bf47901a89bd0a089c71a3fd4859f92
ppCompatDrawableManager.java
|
e977fb30d84d42ac77198e6f700404f34e9dbbc0 |
05-May-2016 |
Chris Banes <chrisbanes@google.com> |
Fix srcCompat set ordering issue If srcCompat is set, it will always overwrite android:src. This isn't what most developers expect though so we'll flip the ordering so that android:src overwrites srcCompat. This allows developers to override AppCompat styles which use srcCompat, with drawables set with android:src. BUG: 28613558 Change-Id: I927123a06b2ce4d762920564c9e545f6ede48734
ppCompatImageHelper.java
|
d1dc40293d4d10631b5dc1dd5d7bd6a62b98487f |
04-May-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Backport framework changes to AppCompat" into nyc-dev
|
d6e47228c44aaadb0d4518da6db5c3f5dffda1ab |
21-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Backport framework changes to AppCompat Changes includes: - Menu popup updates - SwitchCompat tinting APIs - Various bug fixes from the framework BUG: 28262702 Change-Id: Id263334df8f921b6379366f4b383d35468dcde41
ctionBarContainer.java
enuPopupWindow.java
earchView.java
witchCompat.java
oolbarWidgetWrapper.java
|
15aeaf26caa61ed5f3cd367044801d03c1a0a2b5 |
30-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Add AppCompatResources class AppCompat provides provides backports for a number of resources. Currently all of the functionality is implicit, but this CL adds the AppCompatResources class to expose it. First up is getColorStateList(). BUG: 28476349 Change-Id: If50bb8ba6aeb2db99e99017be68343a8f4750ed4
ppCompatColorStateListInflater.java
ppCompatDrawableManager.java
olorStateListUtils.java
rowingArrayUtils.java
intTypedArray.java
|
05f5ba020fa6caa658c75b6d77436aa980ca0fcc |
22-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Backport AbsSavedState and fixes to v4 Also makes the support library widgets use it so that they handle multi-class loaders correctly when restoring state. BUG: 27790353 Change-Id: I5c7888f119b8fcb79fd7cb67987c304c0c982c8e
earchView.java
oolbar.java
|
b7aba3e3b83d35e52c3e133384d7cc5d9fdb28f9 |
21-Apr-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Use ViewCompat.getLayoutDirection in Toolbar." into nyc-dev
|
e2ab9873e9196e5e980af29bc3f4b8ba9d6713d8 |
21-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Add vectors within resources back behind an API" into mnc-ub-dev am: 4a747ca817 * commit '4a747ca817a3ed6160771f0e559240a0f7f4f0cb': Add vectors within resources back behind an API Change-Id: Ie759675975f5fd8e594d2e13465780f8324006d9
|
4a747ca817a3ed6160771f0e559240a0f7f4f0cb |
21-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Add vectors within resources back behind an API" into mnc-ub-dev
|
929f27aab7ac7231f3734c988d5ee7201627d535 |
20-Apr-2016 |
Alan Viverette <alanv@google.com> |
Update attr refs for unbundling No longer relies on framework-private android.R.styleable fields. Bug: 28124434 Change-Id: Ib2b11d5be949b7243964ada63fba7cd7ec25315b
iewStubCompat.java
|
3104ae360dd96eff4201cb293249779b1abdf343 |
20-Apr-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Use ViewCompat.getLayoutDirection in Toolbar. Otherwise it crashes using v17+ getLayoutDirection from View. Bug: 28282893 Change-Id: I4eef42828c4ebb2d4c832bf4df9aa3e4dbf6912e
oolbar.java
|
caf6ad49a7199a54defd2799b606692e5f4a297a |
18-Apr-2016 |
Aurimas Liutikas <aurimas@google.com> |
Merge "Increase SearchView touch targets to meet GAR3." into nyc-dev
|
6c46b615beb0f05cc168f01bbc4dfa95a6eadddc |
07-Apr-2016 |
Aurimas Liutikas <aurimas@google.com> |
Increase SearchView touch targets to meet GAR3. - Allow SearchView to expand to 48dp height if possible. - Make the search clear button have 48dp height if possible. - Expand the search TextView touch target height to 48dp is possible. Bug: 19479861 Change-Id: I4eca8a140f01cb1482cff628ed38ce1871a4fcd8
earchView.java
|
de69042e1ad83026e83853579af5a8600752d130 |
18-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Make background helper\'s API 21 workaround more permissive am: 779bf4e * commit '779bf4e0187ccc8601fbe9d37a5c0079a534733f': Make background helper's API 21 workaround more permissive Change-Id: Ic2d5d0956d13d4d650b93fb41a1b718e32e68948
|
5fa121a1f51114f3a2f6d705139e83c0e0aea610 |
18-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Add vectors within resources back behind an API This adds back in the functionality removed in Iad401718e51da15fddbd7ff88e41743dca40ad04, but behind an API, defaulting to disabled. Removing functionality wasn't good, but we needed to do it. This enables developers to use the functionality again, but having to explicitly opt in with the associated caveats. BUG: 28186451 Change-Id: Ic99b6319fdd58a5a6ece19b2fbf88c148bfd0618
ppCompatDrawableManager.java
intContextWrapper.java
|
779bf4e0187ccc8601fbe9d37a5c0079a534733f |
18-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Make background helper's API 21 workaround more permissive Currently it only works when the background is a GradientDrawable. Since unwrapping drawable containers is unpleasant, we'll just apply the workaround all the time. BUG: 27674299 Change-Id: Id6fb5f8185f2d07129fb93acbf932550162bc902
ppCompatBackgroundHelper.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
ppCompatSpinner.java
|
ea88ed0416b351bd4406f09412280bdcc4a52291 |
04-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Back out TintResources changes DO NOT MERGE ANYWHERE They were causing memory and configuration issues therefore we need to back it out. This will revert the functionality of being able to reference vector drawables from within resources, but it's a necessary cost. We still need TintResources, but it's now back to being a wrapper object which does not cause any issues. BUG: 27877272 BUG: 27808232 Change-Id: Iad401718e51da15fddbd7ff88e41743dca40ad04
ppCompatDrawableManager.java
esourcesWrapper.java
intContextWrapper.java
intResources.java
|
60cc94cdf2f9dfd10f2fe0b3fa0fa438d51df271 |
04-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Back out TintResources changes They were causing memory and configuration issues therefore we need to back it out. This will revert the functionality of being able to reference vector drawables from within resources, but it's a necessary cost. We still need TintResources, but it's now back to being a wrapper object which does not cause any issues. BUG: 27877272 BUG: 27808232 Change-Id: Iad401718e51da15fddbd7ff88e41743dca40ad04
ppCompatDrawableManager.java
esourcesWrapper.java
intContextWrapper.java
intResources.java
|
480a412740a8f40d7eb2fbb4c22be5f95d5ce006 |
31-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Mitigate Resources leak on API 21+" into mnc-ub-dev am: 65da5cf * commit '65da5cf7a21ad9a785cf4959705e1b3716ca5929': Mitigate Resources leak on API 21+ Change-Id: I692f5aaa167f3acf15040d77ebb07354b71c35bd
|
65da5cf7a21ad9a785cf4959705e1b3716ca5929 |
31-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Mitigate Resources leak on API 21+" into mnc-ub-dev
|
ab9d2bf6fe28ff4a95985526daa128239c03d821 |
17-Mar-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
Use VDC for API 21 and 22 to workaround the ImageView scaling issue The appCompat change is independent of the change inside VDC and AVDC. However, it is better to keep them behaves consistently, such that dev using VDC / AVDC directly by JAVA will have the same behavior. b/27449545 Change-Id: Idd3115ec00651885dc5a32c8e38a26d0fd3eb63d (cherry picked from commit 80e3ecf1aae0badd8056206db0614e9b9d1934b5)
ppCompatDrawableManager.java
|
71aa69624377ded7ce4a366664deec3ee5c7fb77 |
30-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Mitigate Resources leak on API 21+ We don't need to use TintResources on API 21+ to enable vectors, so we can disable it. Doing so removes a potential memory 'leak' (not a leak, just using more memory than normal). BUG: 27877272 Change-Id: I5515691e073cb03fce241b116d99c2ca8259791f
intContextWrapper.java
intResources.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
|
62d19a6ee16af9bfdefdeb1d649c696420ec0a33 |
28-Mar-2016 |
Adam Powell <adamp@google.com> |
Add contentInsetStartWithNavigation/EndWithActions Support lib edition Allow developers to set different content insets on toolbars and action bars to be used when navigation buttons or menu actions are present. Set the default values for these according to the material spec. Bug 19317855 Change-Id: Ic8654550db70154b6b54f7cc506682cda9a91f8c
oolbar.java
|
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
ppCompatSpinner.java
|
39e275d4c81cd3470f5ed78fa147d214f70ee580 |
24-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of e07f24b to nyc-dev
|
e07f24b190ac11f7b16ff7f93a11d3ba4b154597 |
24-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Revert a change wrt app:textAllCaps in text appearances" into mnc-ub-dev
|
8c3f75732bc35cf683f9014816b26c77d9c8f4e8 |
23-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Add workaround for ripple + alpha animation bug BUG: 27715789 Change-Id: I56d76ac85274c6471701af0b38e9b54a8eacfb9f
ppCompatImageButton.java
ppCompatImageHelper.java
ppCompatImageView.java
|
4b5cc6b1a4b7ee8aa6fb9a492bbd7eb5d25e4d58 |
23-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Unwrap ScaleDrawables when checking for safe mutate()" into mnc-ub-dev am: d8186c6 * commit 'd8186c6cf7e2207b9cba65acbbe475fdae35c8a6': Unwrap ScaleDrawables when checking for safe mutate()
|
398eb9ede3a4c0697552c31fe737b31eac4ed12d |
22-Mar-2016 |
Tenghui Zhu <ztenghui@google.com> |
Merge "Use VDC for API 21 and 22 to workaround the ImageView scaling issue" into nyc-dev
|
9eee6ba8edef2ab70d99fbaea6349f29d28b8fb6 |
22-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Fix issues around setting text color In AppCompat, we now reset the text color if we detect a String reference. Since most platform styles declare a string referenced color in their text appearance, this means that the text appearance can override an explicit android:textColor on the view. Fixed by always resetting the text color on API < 23. BUG: 27784645 Change-Id: Ic5a2c7e1fb49da419bbfd3c6176c7a28c6eb4ac1
ppCompatTextHelper.java
|
2a1d775c02ced0fb89c6056a0fa63a915d8543c1 |
22-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Revert a change wrt app:textAllCaps in text appearances If android:textAllCaps is also set in the text appearance, which can happen if it extends a platform style, we need to make sure that app:textAllCaps has the opportunity to override it. BUG: 27782941 Change-Id: I219f180e76a90de1715c0b855d16e34483ed4053
ppCompatTextHelper.java
|
a7331ff81580eafb62c67a083e53ca82658c556e |
21-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Unwrap ScaleDrawables when checking for safe mutate() BUG: 27611653 Change-Id: I91f3fa13ac5f209363db057cce390766fbeaa95a
rawableUtils.java
|
76ecafcac7f7810de047f87931d58c04a8a86dc1 |
21-Mar-2016 |
Alan Viverette <alanv@google.com> |
Account for top and bottom padding in ListPopupWindow Bug: 27550635 Change-Id: Ieb60ff3672293705dedfd3e6df18e751c8a556ff
istPopupWindow.java
|
bb9710c86141068b7150e77a3f179cc0ca9e883c |
21-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
mutate() the background of TextInputLayout's editor on changes. DO NOT MERGE Otherwise the currently tinted background will be used for the next inflated TextInputLayout. Bug: 27694398 Change-Id: I0c90c397dd959bcad849a7bc8bdf377bc5e9c6b6
rawableUtils.java
|
0f6a807ceaa96930e57e55826ddaae5eab692aa8 |
18-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
mutate() the background of TextInputLayout's editor on changes. Otherwise the currently tinted background will be used for the next inflated TextInputLayout. Bug: 27694398 Change-Id: I6772ab9b58e98675f7b9535d54ef30001d8b3df4
rawableUtils.java
|
80e3ecf1aae0badd8056206db0614e9b9d1934b5 |
17-Mar-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
Use VDC for API 21 and 22 to workaround the ImageView scaling issue The appCompat change is independent of the change inside VDC and AVDC. However, it is better to keep them behaves consistently, such that dev using VDC / AVDC directly by JAVA will have the same behavior. b/27449545 Change-Id: Idd3115ec00651885dc5a32c8e38a26d0fd3eb63d
ppCompatDrawableManager.java
|
7541e4bfa0c9fff31bcb12fc5a94365565388715 |
17-Mar-2016 |
Aurimas Liutikas <aurimas@google.com> |
Check for saved state type in onRestoreInstanceState. am: bb58a82 * commit 'bb58a82daf11bf3c056d1cd5887aa26435d37b69': Check for saved state type in onRestoreInstanceState.
|
bb58a82daf11bf3c056d1cd5887aa26435d37b69 |
16-Mar-2016 |
Aurimas Liutikas <aurimas@google.com> |
Check for saved state type in onRestoreInstanceState. Add instanceof check in onRestoreInstanceState calls throughout frameworks/support code. Bug: 27589237 Change-Id: Id9db70de03979379ca9d98bb8599ac9fa2b46218
ctionMenuPresenter.java
earchView.java
oolbar.java
|
a0dc834f6687dd7977c6924116b80c3d94f87666 |
11-Mar-2016 |
Alan Viverette <alanv@google.com> |
Merge "Revert "Revert AppCompat's use of VDC" for v24 preview #2" into nyc-dev
|
eb648620b291eabbb5523f649baef5abb2e4687b |
11-Mar-2016 |
Alan Viverette <alanv@google.com> |
Revert "Revert AppCompat's use of VDC" for v24 preview #2 This reverts commit 000c3b61b4f8a8e96060aeef662eb728101b83b9. Change-Id: I1d60345b68b1ef76a92523865124d85bf29ac654
ppCompatDrawableManager.java
oolbarWidgetWrapper.java
|
077be15625037f9f7e5d79a56132b75351752e05 |
10-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of 1fc0e8c2a9 to nyc-dev Change-Id: I152464b2dabc9fb01c9423b8f4668df9074f6318
|
a1a9092aba48f3ca6400ff53f5f4734752180e81 |
10-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Fix Widget.AppCompat.Button.Borderless compat tint Caused by use using the tint of the normal button. Fixed by using a new tint with a base color of transparent. BUG: 27586753 Change-Id: I2827ac769cf32a529dc0415b4276fc8d4a3b4aae
ppCompatDrawableManager.java
|
a2f155b494cde1ebbcb8325adcdc50032a421eb2 |
07-Mar-2016 |
Alan Viverette <alanv@google.com> |
Merge "Keep weak reference to parent context in TintResources" into mnc-ub-dev am: 77b635593f * commit '77b635593f73154542c7f96c6dd432167bc47976': Keep weak reference to parent context in TintResources
|
5e4253358f0462c3ec79a4f0e67a774d04aa6380 |
04-Mar-2016 |
Alan Viverette <alanv@google.com> |
Keep weak reference to parent context in TintResources Avoids a framework issue on API <= 23 whereby the resources are incorrectly cached in the constant state of preloaded DrawableContainers when newDrawable(Resources) is called. Bug: 27477801 Change-Id: I28f8a76687aff5c7ca9275d1e6cc46a553193ab6
intResources.java
|
1d6e3840486930e276d142861afb6c7e72d5ce72 |
02-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Tinting / popup theming tests for AppCompatSpinner. Change-Id: I44268bc9a3d7f946c97cf0af027464b3ecbf3c92
ppCompatSpinner.java
|
000c3b61b4f8a8e96060aeef662eb728101b83b9 |
02-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Revert AppCompat's use of VDC It causes too many problems from a build perspective for now. External developers can still use <vector> drawables through AppCompat, it's just that the library does not use them itself, and therefore force developers to update their build config. BUG: 27453786 Change-Id: Ie4ed9d213d9dcbcce622fe82c92808da19a78ed0
ppCompatDrawableManager.java
oolbarWidgetWrapper.java
|
04afe03a1e609f3e4e34a13a7eb0f22594cfe18b |
02-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Revert AppCompat's use of VDC It causes too many problems from a build perspective for now. External developers can still use <vector> drawables through AppCompat, it's just that the library does not use them itself, and therefore force developers to update their build config. BUG: 27453786 Change-Id: Ie4ed9d213d9dcbcce622fe82c92808da19a78ed0
ppCompatDrawableManager.java
oolbarWidgetWrapper.java
|
53aa3c2ad835155dcfeb6d6f3361dd581ee3e56f |
02-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Revert "Make TintResources inherit from ResourcesWrapper"" into mnc-ub-dev am: 4c022451f1 * commit '4c022451f18cc1a06f0d070da60814357ffa5902': Revert "Make TintResources inherit from ResourcesWrapper"
|
4c022451f18cc1a06f0d070da60814357ffa5902 |
02-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Revert "Make TintResources inherit from ResourcesWrapper"" into mnc-ub-dev
|
717b628928c9f5cf22a783d1b9719d88eb0d993a |
02-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Revert "Make TintResources inherit from ResourcesWrapper" BUG: 27403642 This reverts commit 2e39b329595dd77df6ad8ba7272879cd2a99012a. Change-Id: I4747a1b5b0253cf4232bd3a21f0b1a2913817733
esourcesWrapper.java
intResources.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
ppCompatSpinner.java
|
464d8397d0d19c4432eba2f5c1cc02b59a34b314 |
01-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of d07aba8c95 to nyc-dev Change-Id: Ieb661326b323d179b50a3eb4298464f00c4164b6
|
5a044fddba6ba7295599dddc2ff397925823efa8 |
01-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Make app:textAllCaps="false" override android:textAllCaps BUG: 27403186 Change-Id: Ia10394eb40c477c2f051478f7574e84a123d3691
ppCompatTextHelper.java
|
61cdffa5decbafb909e8d1bd0567746e638393e2 |
01-Mar-2016 |
Diego Perez <diegoperez@google.com> |
Merge "Make TintResources inherit from ResourcesWrapper" into mnc-ub-dev am: 994a654f14 * commit '994a654f14ced2a3242ae5c3d132fcdf392421bc': Make TintResources inherit from ResourcesWrapper
|
994a654f14ced2a3242ae5c3d132fcdf392421bc |
01-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Make TintResources inherit from ResourcesWrapper" into mnc-ub-dev
|
6c4d136d312f8ecbe059b9833c94561849902731 |
29-Feb-2016 |
Aurimas Liutikas <aurimas@google.com> |
Merge "Fix crash when restoring SearchView." into mnc-ub-dev am: 5e775842f6 * commit '5e775842f60aa1e402a6f90849a4c0d169dcc38f': Fix crash when restoring SearchView.
|
5e775842f60aa1e402a6f90849a4c0d169dcc38f |
29-Feb-2016 |
Aurimas Liutikas <aurimas@google.com> |
Merge "Fix crash when restoring SearchView." into mnc-ub-dev
|
2e39b329595dd77df6ad8ba7272879cd2a99012a |
29-Feb-2016 |
Diego Perez <diegoperez@google.com> |
Make TintResources inherit from ResourcesWrapper BUG: 27403642 Change-Id: If24f4da29a2e622047763cfbe8af45fadeed8ba5
esourcesWrapper.java
intResources.java
|
0f268e050ac69084f9e00bfb149735239704c101 |
29-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix FloatingActionButton.setBackgroundTint* not working" into mnc-ub-dev am: 0960724273 * commit '0960724273891c9f7a9e2f2f6397c0389747b36e': Fix FloatingActionButton.setBackgroundTint* not working
|
0960724273891c9f7a9e2f2f6397c0389747b36e |
29-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix FloatingActionButton.setBackgroundTint* not working" into mnc-ub-dev
|
73b208391b14be0c8e9fd4d7a4e36a8f4c16da77 |
29-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Throw exception if build config incorrect for VDC" into mnc-ub-dev am: b0fbbfc685 * commit 'b0fbbfc685add0203e74e20cc6679a5a091e75bd': Throw exception if build config incorrect for VDC
|
b0fbbfc685add0203e74e20cc6679a5a091e75bd |
29-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Throw exception if build config incorrect for VDC" into mnc-ub-dev
|
e588b4f34b0cd2e510ace9b823052ed905600667 |
29-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Unwrap our DrawableWrapper impls in canSafelyMutateDrawable()" into mnc-ub-dev am: 744a28f8d7 * commit '744a28f8d7b3b87189ea350d0067327130e5f112': Unwrap our DrawableWrapper impls in canSafelyMutateDrawable()
|
547c54f394ad16eb8d7ded400e2d2cf6e7256bb8 |
29-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Unwrap our DrawableWrapper impls in canSafelyMutateDrawable() Currently we only unwrap DrawableContainers, which our impls do not extend from. So we have to manually unwrap them. BUG: 27382290 Change-Id: I232d5ca0dbc962489954c962ec13689b8c60a0d0
rawableUtils.java
|
ba13a44cd6db80ec983b1ed678b7dbeab04056a1 |
26-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Throw exception if build config incorrect for VDC Since AppCompat uses VDC extensively, we should not support any build configuration which disrupts that. This CL checks that a known drawable in AppCompat decodes as a VD/VDC. If not, we know that something is wrong. BUG: 27375923 Change-Id: I0c69d81eb965907b5e3f0a375cf3c7d13042ddb5
ppCompatDrawableManager.java
|
9950da639cb16f776b9cd39669b416ec6d91bce5 |
27-Feb-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix crash when restoring SearchView. I forgot to include Parcelable.Creator when I added SearchView iconified state saving. Bug: 27357167 Change-Id: Id4ffdc570ce8975e2e206eee37c73f4804226f35
earchView.java
|
1711e8729c1b901b73f530e87b7c9cc9370f33be |
26-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix FloatingActionButton.setBackgroundTint* not working Caused by the move to AppCompatImageButton. Happens due to AppCompat's own background tinting overriding things. Fixed by moving back to our own tinting. Had to add support to use AppCompat's ImageHelper to enable vector icon support. BUG: 27372244 Change-Id: Ia06bea72796e7154bae50c65ef6dfe91158e3bf6
ppCompatImageHelper.java
|
5d92ff3f3b032aed483833eade397fbf13748493 |
26-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "AppCompat drawable updates" into nyc-dev
|
6e64680498a5edf340d244db753a79e1dcb126b5 |
25-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Optimize canSafelyMutateDrawable()" into nyc-dev
|
99a64d95ce7da9c82ab5179b5a8afb2501de218c |
25-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Add ConfigurationHelper to the support lib" into nyc-dev
|
0cbe64051d4241ad38cb4a232a86e6f26a3c8259 |
23-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Add ConfigurationHelper to the support lib Allows access to configuration screen dimension properties in a backwards compatible way. Fixes several run-time crashes in AppCompat due to trying to access API 13/17 properties on older platforms. Change-Id: I0f031006e6cd861b59c806efad3c77ac78976ed2
uttonBarLayout.java
earchView.java
|
74433e220541f8236f4e01f658a96854b29acfd1 |
23-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
AppCompat drawable updates - Use vector search icon asset. Seems that this was missed in the vector update. - Remove old style RatingBar drawables and update to the new ones. Change-Id: Icf55c54fc4a7b1f723b02a4f090fd492e6dbb845
ppCompatDrawableManager.java
|
593d8bcc82c01a559f737dfcbc6e806005300a64 |
22-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Add ThemeOverlay.AppCompat.Dialog themes We've now also moved to tinted backgrounds on Dialogs. Woooooo. BUG: 26954228 Change-Id: I365007b230a53b5a88edf30e9bfab2eaed407819
ppCompatDrawableManager.java
|
b19cba1c83a68efb5c18ef74e4e5d376fa166625 |
22-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Backport SeekBar tick mark to AppCompat BUG: 26484001 Change-Id: I92c961972d4a6abe639ee288d03be4e5e7517dd8
ppCompatDrawableManager.java
ppCompatSeekBar.java
ppCompatSeekBarHelper.java
|
4237288e940e6c9c0ec8719dffd6b63fedd9056a |
19-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Optimize canSafelyMutateDrawable()
rawableUtils.java
|
9ed5a4831b5396af50687a5935c65cf0e7322577 |
18-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix some rough edges in AppCompat + VDC am: b0f719227b * commit 'b0f719227b3fa5d5bb7683bd835f7df504fcc733': Fix some rough edges in AppCompat + VDC
|
b0f719227b3fa5d5bb7683bd835f7df504fcc733 |
18-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix some rough edges in AppCompat + VDC - Make the Resources in AppCompatActivity, more efficient and allows all calls to getResources().getDrawable() to work for vectors. - Make FloatingActionButton extend from AppCompat's ImageButton. This allows it to support vector assets. BUG: 27238402 Change-Id: Id39c6d7a8c431ed811bd552e14eba583311c5693
intContextWrapper.java
intResources.java
|
54333e113896da69f4b7c331effcdc1717c1342a |
12-Feb-2016 |
Aurimas Liutikas <aurimas@google.com> |
Merge "Start saving iconified state of SearchView." into mnc-ub-dev am: b62c39702d * commit 'b62c39702d5ddde3e267039c0d13d624bf1778b0': Start saving iconified state of SearchView.
|
b62c39702d5ddde3e267039c0d13d624bf1778b0 |
12-Feb-2016 |
Aurimas Liutikas <aurimas@google.com> |
Merge "Start saving iconified state of SearchView." into mnc-ub-dev
|
80164058c98abaec2960102bfb65d0a9b74dbcd7 |
12-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Tint wrap all Views when running on < v21" into mnc-ub-dev am: 2aa5f24e18 * commit '2aa5f24e1840309c61b58d10e632e7115c5ea8c1': Tint wrap all Views when running on < v21
|
604c6317360c5f744cfebb7c23b243358aef58e0 |
12-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Tint wrap all Views when running on < v21 This allows vector resources to be automatically inflated when they used as a part of a DrawableContainer, on any view (currently it only works on AppCompat's own widgets). Also tidied up the themeing test to actually check theme values rather than relying on class checks of the Context. Change-Id: Ie9be91ddf8aa2853dafda5d9f9838cae02d3b783
intContextWrapper.java
|
3de9a134c5b81bbe150c081209595d82f2bbf19f |
11-Feb-2016 |
Aurimas Liutikas <aurimas@google.com> |
Start saving iconified state of SearchView. Bug: 27113484 Change-Id: I3380a3250bae640edbf73088115a5fd1ac056dcf
earchView.java
|
19509c838e3e9a34df29163f17ef3a7ea6375b14 |
03-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix Button.Borderless.Colored disabled text color DO NOT MERGE We can now use the new themeable CSL support in AppCompat to support disabled text colors. BUG: 25788830 Change-Id: Ic5df43cee36f90feb71d68b61ad3847a7a40f010 (cherry picked from commit e92752a5ddcee0a11cb6016b8bc8ebf0318e44e5)
ppCompatTextHelper.java
intTypedArray.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
ctionMenuPresenter.java
ctivityChooserView.java
ppCompatSpinner.java
ropDownListView.java
orwardingListener.java
istPopupWindow.java
enuItemHoverListener.java
enuPopupWindow.java
opupMenu.java
|
ed1096ebffac8f3cac5e5b98f54b96ae2ce8579e |
02-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompat running on pre-v13 BUG: 26928253 Change-Id: I1d0f56df5072e35370b1943ebaf15531145f8c5b
earchView.java
|
e6c800a4b82cad69b8a6f6aaae0be47823eddf8f |
29-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Integrate AVDC into AppCompat" into mnc-ub-dev am: 6e67e2a5a0 am: cc19e23b3e * commit 'cc19e23b3ec03a8fa0205d27ac2cfc762138df59': Integrate AVDC into AppCompat
|
bd3494de1d97206f366f52641a14b21eb06a7022 |
27-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Integrate AVDC into AppCompat BUG: 26638431 Change-Id: I94f5ca63099c1118575ac0b3bf9faabb2a795757
ppCompatDrawableManager.java
|
276092421600a2360b89760329671197237cc5ee |
18-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "AppCompat ListPopupWindow fixes" into mnc-ub-dev am: 3ddcb8262a am: e7a0a520c8 * commit 'e7a0a520c8526ac51af320f24e11d3e3e54fdb31': AppCompat ListPopupWindow fixes
|
cc7e6ffce76f2066838b626ac04536b95a0689c3 |
14-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
AppCompat ListPopupWindow fixes - Fixes Spinner jumping back on Gingerbread due to a call to setSelection(). The framework uses setSelectionInt() which we don't have access to. There's no side-effects to removing this call from my testing. - Use AbsListView.scrollListBy() on API 19+, makes drag-to-open scrolling much smoother on those platforms. BUG: 26393526 BUG: 25085519 Change-Id: Iaafc2be81c8a9ff161e5506700668020030ee52d
istPopupWindow.java
|
25cf829385725f2a75c556f7bc2af67e71bfa668 |
13-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Add a workaround for VectorDrawable issues on API 21" into mnc-ub-dev am: 41ef2bdbd6 am: bdf10ee2c3 * commit 'bdf10ee2c30a61b064a044f5aefd6670edc84cf4': Add a workaround for VectorDrawable issues on API 21
|
aaa85b7d563d27fdf10048dd619a317451477ad5 |
12-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Add a workaround for VectorDrawable issues on API 21 It seems to have an issue on API 21 where it doesn't create its internal mTintFilter. Fixed by toggling its state to force a tint filter creation. BUG: 26198700 Change-Id: If692e468bf3fb34009138af734cfe3279e4b78d8
ppCompatBackgroundHelper.java
ppCompatCompoundButtonHelper.java
ppCompatDrawableManager.java
ppCompatImageHelper.java
rawableUtils.java
|
b58adf9802adde6b1dd1971d3a44352e4fc2802b |
12-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Workaround backgroundTinting not working on API 21" into mnc-ub-dev am: c5e75c3197 am: 60711122b6 * commit '60711122b663b3c888f053be40edb9dbf1b8213d': Workaround backgroundTinting not working on API 21
|
483ee34ae7ef0cac94d60cbe32a945dae4cb2b21 |
12-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Workaround backgroundTinting not working on API 21 GradientDrawable does not implement setTintList, etc on API 21, so we now workaround it by using our compat tinting. BUG: 26506707 Change-Id: I8c1a0a8e01be244fc8c14b2e122fa782e40bc4cc
ppCompatBackgroundHelper.java
intInfo.java
|
1913f27a85db05113ae008124914538dddd35093 |
11-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Optimizations for AppCompat + VDC integration" into mnc-ub-dev am: aaeb299fb3 am: 93c280f869 * commit '93c280f869a22738a242f7d72a860e3928128501': Optimizations for AppCompat + VDC integration
|
aaeb299fb3a5d678836468ef81b000a0dae86d8e |
11-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Optimizations for AppCompat + VDC integration" into mnc-ub-dev
|
9f63864c84e3d48841d553521468c7a27189c4f0 |
08-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Optimizations for AppCompat + VDC integration - Only installs the delegate if we need it (< API 21) - Use a Drawable cache for delegate created drawables (ala Resources). - Use an instance cache for TintContextWrapper. Previously we were creating one for nearly view, which also meant that we were creating a new Theme instance for every view. BUG: 26451702 Change-Id: I36af2f36a57de109710681877ea67c1e4ea652a5
ppCompatDrawableManager.java
intContextWrapper.java
|
c61fa0cf4ba1a608aef07e03801f8ee952716229 |
11-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "AppCompatTextView tests for allCaps" into mnc-ub-dev am: 0fa3716a5a am: 8214b10915 * commit '8214b10915d216493b4ee82aa6604b2769d4b102': AppCompatTextView tests for allCaps
|
87d26d017740f9f0f9dabadfbc66fa99c5c99334 |
07-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
AppCompatTextView tests for allCaps Change-Id: Ib5c81365d2a5597fd6009e2d39f5637b2b88c9b5
ppCompatTextHelper.java
|
3a97102979fd61ec64b9783d9329d42cdf2fb0f5 |
07-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix AppCompat + textPassword (again)" into mnc-ub-dev am: 92231451e1 am: fd4f73e920 * commit 'fd4f73e9209e3fcd32bbdffffdbbff99e4148149': Fix AppCompat + textPassword (again)
|
40b7a2ff65bc04688e0017edd8c99ec6596e30e3 |
06-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompat + textPassword (again) We now model TextView's attribute handling for allCaps completely. BUG: 23947511 Change-Id: I75b9194c3b94c31484567d64f01491cea88b6021
ppCompatTextHelper.java
|
fc46e84f1e8c0d3a756bee082a1bf31e844b490c |
05-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of 8dd6325240 to master. Change-Id: Ibaa9e80412fc058695dc3e4af7d20bfd23b116a4
|
19e78d4fcde0ec98661d1c278878357475b2816e |
04-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Fix AlertDialog button stacking not working pre-v11 Happens due to use relying on h320dp to turn it on. Also had to workaround some measure code to make it work on Gingerbread. BUG: 26381080 Change-Id: I1583171822984e5efa5b44d07a11b0703d40026e
uttonBarLayout.java
|
df5f2693215b187bd02d1dec381847b822a6fd7a |
21-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of de378bb0bb to master. Change-Id: Ide28749331ccba403bfe01c5221801826a3d71e1
|
e4beadba70aecabbd7f6677943ab7c0b94809b8a |
10-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
AppCompat + VectorDrawableCompat AppCompat now depends on VectorDrawableCompat and makes use of it for certain drawables (radio button, checkmark, back, etc). We make use of the few extension points in the Drawable loading system to make this possible. Most drawable loading happens in Resources.loadDrawable() which can't be overriden. On API 19 and below though, most DrawableContainers load their child drawables through Resources.getDrawable(), which we can hook into. This means that a <vector> resource file can be loaded as long as it is wrapped in a seperate DrawableContainer (Inset, StateList, etc). For the times that wrapping the drawable isn't an option, we now also have a app:srcCompat attribution on ImageView and ImageButton. AppCompat statically compiles in VDC into the Make build artifacts. This is to aid migration. Gradle is unaffected. Change-Id: If2ab63e561354fe290e5df47e7560533725175fc
ppCompatButton.java
ppCompatCheckBox.java
ppCompatCheckedTextView.java
ppCompatDrawableManager.java
ppCompatImageButton.java
ppCompatImageHelper.java
ppCompatImageView.java
ppCompatRadioButton.java
ppCompatTextView.java
esourcesWrapper.java
intContextWrapper.java
intResources.java
oolbarWidgetWrapper.java
|
36a0db4dd02ebf5e839a9fed839d66eb04dad013 |
17-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Workaround mutate() bug in GradientDrawable pre-ICS" into mnc-ub-dev am: 163a3271fe am: d2ef3c5695 * commit 'd2ef3c5695a0e5048096281e24719fc4c70c3f10': Workaround mutate() bug in GradientDrawable pre-ICS
|
d20d889e7abef50efbaf6e975100a8fb73409b13 |
17-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Workaround mutate() bug in GradientDrawable pre-ICS We now also only call mutate() on Drawables if we actually mutate them in some way. BUG: 26231173 Change-Id: I3971721f33cd437f50c55bad4a95d20e1ebb5c78
ppCompatDrawableManager.java
|
18f9db768de625a0f340e30487531d99d1bc489e |
11-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Backport missing RatingBar styles" into mnc-ub-dev am: 7c184f7ee8 am: a1eadc76e6 * commit 'a1eadc76e68e814b5b49590d97b821b0ac206635': Backport missing RatingBar styles
|
7c8ba0f0cd06a684132260d36840658be317d4c7 |
10-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Backport missing RatingBar styles BUG: 19574820 Change-Id: I6d16615a7c9edf72f979bb484dfa863d58276197
ppCompatDrawableManager.java
ppCompatProgressBarHelper.java
|
c4a1e66d1cbae1af3357bdc0ac03de83de981260 |
08-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Only set an ImageView\'s image if we know the resource" into mnc-ub-dev am: 94054da04d am: 0ccb589b28 * commit '0ccb589b2855ea1f78bc7d6768b93c6a2701030b': Only set an ImageView's image if we know the resource
|
94054da04d7aacf7329f1b6c8cf8e900896b69d5 |
08-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Only set an ImageView's image if we know the resource" into mnc-ub-dev
|
26528ab5f9c144f9a6e48ebf6a3a4a603d93003c |
08-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Only set an ImageView's image if we know the resource Allows us to workaround a API 16 bug. BUG: 26018279 Change-Id: Ia5ae2d27bbfd0dc4f81c3808b9b7bdce63b2a4f4
ppCompatImageHelper.java
|
7de9dff7adc873a1dcd93394c388c7d417ac50a6 |
08-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompatCheckedTextView tinting compound drawables am: e23a1bdaf1 am: 4a470efe27 * commit '4a470efe2761229030406abfd8e335387bd6d265': Fix AppCompatCheckedTextView tinting compound drawables
|
e23a1bdaf16bf535a1a6bab469e3d63bb6d73712 |
08-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompatCheckedTextView tinting compound drawables BUG: 26076433 Change-Id: I354e668268ea976902673065a188647a11fb049a
ppCompatTextHelper.java
|
8dd9fe7e5a46645cc7a0ec950df7ff7d76b90aba |
04-Dec-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Remove appcompat library size based resources. Bug: 25394588 Change-Id: Iaad5e5d210c082aececc8c2283e923ee2316a8d5
earchView.java
|
457fc2ce9486b457974b84a7df1840d206658e7c |
03-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Ensure SwitchCompat jumps the thumb position" into mnc-ub-dev am: 4e345d2f62 am: 0f8c5175c0 * commit '0f8c5175c04f4d322151c4c0354b646c399128d7': Ensure SwitchCompat jumps the thumb position
|
c1884ce2aebcb773378b32f98588cdc643ce68b0 |
03-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Ensure SwitchCompat jumps the thumb position ListView calls jumpDrawablesToCurrentState() to make sure that the view is updated before being shown. This has the effect of cancelling any animations. Sometimes those animations will not have been started yet, and thus won't get an end callback. This CLs ensures that the thumb is positioned correctly regardless. BUG: 25657163 Change-Id: I1f93b81ba2cf2d86d64876ad81ab700348ab16c6
witchCompat.java
|
5ba3ae1432911726ee5fa0385d286018cad0de71 |
25-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Allow inflateMenu() to not break ToolbarActionBar" into mnc-ub-dev am: 5185f007c8 am: 327c37aad6 * commit '327c37aad6d58e3d5baf752c7b46d6a2717376a6': Allow inflateMenu() to not break ToolbarActionBar
|
b1e2d04ef53b2d6f3bd78ff5ebe59c22ad2f1a25 |
25-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
Allow inflateMenu() to not break ToolbarActionBar BUG: 25872174 Change-Id: If797a397b5258b758052dc1e73d939dbd9694ea6
oolbar.java
|
ba9d8f889ba9f1bc0da337901aad6c09f6299834 |
20-Nov-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Merge "Remove abc_allow_stacked_button_bar from support library."
|
2f2b4ac338abb059272e2b9ad8a59402f31e20c8 |
20-Nov-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Remove abc_allow_stacked_button_bar from support library. Bug: 25394588 Change-Id: Ifb14e8b3f7246db1003ca4fdf6f0e57c8e0cfc9f
uttonBarLayout.java
|
f570d3081fb4f54dba6486b4a3f7b00d3819dc19 |
20-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Don\'t mutate StateListDrawables on API 7" into mnc-ub-dev am: 5dca16fbd3 am: 25883b2b7a * commit '25883b2b7a23cb86b422e02122d492ce7de9bbfb': Don't mutate StateListDrawables on API 7
|
d57359e205b2c04a4f0f0ecf9dcb8d6086e75663 |
19-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
Don't mutate StateListDrawables on API 7 BUG: 25787417 Change-Id: I6376d0f96cd429d1bfe77b104d91461baed49645
ppCompatDrawableManager.java
|
e7d32a52cad0215c4c7c8ec47f5c3a631ce33f8d |
16-Nov-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Swtich from abc_max_action_buttons resource to a method. We want to limit the number of size thresholds that an application will report. Instead of using a dimen resource that will increase the number of thresholds, we calculate the max number of action buttons dynamically in code. Bug: 25394588 Change-Id: I96a4060e101bc0fcbce44fdc283a8fe063888dcd
ctionMenuPresenter.java
|
962f72d4691edb762f658a92fb971bc559ba18e6 |
11-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Workaround TextInputLayout state changes becoming permanent" into mnc-ub-dev am: 459155dd30 am: 810efa6b4f * commit '810efa6b4ffc687db1cfe717f690afe0612920d1': Workaround TextInputLayout state changes becoming permanent
|
fe1cbed21122206b7a4af97790ade439d49421d8 |
02-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
Workaround TextInputLayout state changes becoming permanent Also moved the 'tinting' functionality to use color filter. This seems to work much better on L+ because we're not wiping out the internal tint, just overriding it with the filter. BUG: 25413545 Change-Id: I1d74a8ff817b0b20fcca6d3a1dd2ab2c60539cd1
ppCompatDrawableManager.java
|
9d5f84f33353a42e837c6b465412d1a6f2fc6eaa |
18-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
Inflate tints ColorStateList with theme resources This CL adds custom CSL inflation to AppCompat, allowing it to use CSLs with themeable attributes for all devices. Change-Id: I78db7c696afbb81c9867ba9e34356b7585129b9e
ppCompatBackgroundHelper.java
ppCompatColorStateListInflater.java
ppCompatDrawableManager.java
olorStateListUtils.java
rowingArrayUtils.java
hemeUtils.java
intTypedArray.java
|
002a3c0fe648b00126880438f817db4688fb977b |
02-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Workaround stateful tinting bug on <= API 23" into mnc-ub-dev am: 54b52d0b7b am: 17d91a1ddd * commit '17d91a1ddd90eb64e7abd3e9e5544ccd3952837a': Workaround stateful tinting bug on <= API 23
|
7797b9f22c8c404309b778a0966266d2b1a84915 |
22-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Workaround stateful tinting bug on <= API 23 Since the framework doesn't guarantee a drawable invalidation for state changes, we need to workaround it in DrawableCompat by wrapping the drawable and forcing one. BUG: 25174572 Change-Id: Ie793ae2056bd72954d3fa8df4db0fb72bf17de41
ppCompatDrawableManager.java
|
85124975351edf106f8c9320af338ca14e28e192 |
27-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of fcd014d478 to master. Change-Id: I58e8f555a0fa0374b11705417f8f325eb1b245a4
|
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
bsActionBarView.java
ctionBarBackgroundDrawable.java
ctionBarBackgroundDrawableV21.java
ctionBarContainer.java
ctionBarContextView.java
ctionBarOverlayLayout.java
ctionMenuPresenter.java
ctionMenuView.java
ctivityChooserModel.java
ctivityChooserView.java
ppCompatAutoCompleteTextView.java
ppCompatBackgroundHelper.java
ppCompatButton.java
ppCompatCheckBox.java
ppCompatCheckedTextView.java
ppCompatCompoundButtonHelper.java
ppCompatDrawableManager.java
ppCompatEditText.java
ppCompatImageButton.java
ppCompatImageHelper.java
ppCompatImageView.java
ppCompatMultiAutoCompleteTextView.java
ppCompatPopupWindow.java
ppCompatProgressBarHelper.java
ppCompatRadioButton.java
ppCompatRatingBar.java
ppCompatSeekBar.java
ppCompatSeekBarHelper.java
ppCompatSpinner.java
ppCompatTextHelper.java
ppCompatTextHelperV17.java
ppCompatTextView.java
uttonBarLayout.java
ontentFrameLayout.java
ecorContentParent.java
ecorToolbar.java
ialogTitle.java
rawableUtils.java
itWindowsFrameLayout.java
itWindowsLinearLayout.java
itWindowsViewGroup.java
inearLayoutCompat.java
istPopupWindow.java
istViewCompat.java
opupMenu.java
esourcesWrapper.java
tlSpacingHelper.java
crollingTabContainerView.java
earchView.java
hareActionProvider.java
witchCompat.java
hemeUtils.java
hemedSpinnerAdapter.java
intContextWrapper.java
intInfo.java
intTypedArray.java
oolbar.java
oolbarWidgetWrapper.java
iewStubCompat.java
iewUtils.java
|
0096fe3e14961a62f0892ed6fdbfe53cb23e8b49 |
26-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Make AppCompatSpinner read android:entries" into mnc-ub-dev am: 85a1806317 am: 918277e266 * commit '918277e2662eaada04092a99cd219184dafe18fc': Make AppCompatSpinner read android:entries
|
85a1806317c9f1678fb49344c7214c9066291d2a |
26-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Make AppCompatSpinner read android:entries" into mnc-ub-dev
|
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
ppCompatSpinner.java
|
39dd8dda40b3d98c610d2b4625f4df27a74dcd46 |
23-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Don\'t wipe out compound drawable tinting pt.2" into mnc-ub-dev am: 3da6accc02 am: 8b5c5e5a54 * commit '8b5c5e5a54b2f3469e4b4c992d80847e44237a59': Don't wipe out compound drawable tinting pt.2
|
a466cf9e5e70e638097a1753dd454a98fed05068 |
23-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Don't wipe out compound drawable tinting pt.2 Follow up to fix start/end drawable too BUG: 25128785 Change-Id: Ie7b2550e15fe26d349d5a23f1512f196be57cc10
ppCompatTextHelper.java
ppCompatTextHelperV17.java
|
cce8ee8df64d5a42e8090f424dedebe59f2dca34 |
22-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Don\'t wipe out compound drawable tinting" into mnc-ub-dev am: bacf63900b am: 83dfbe6f0c * commit '83dfbe6f0cdebed512062b7418aa6919a17ca42d': Don't wipe out compound drawable tinting
|
89a45a915143f97174f5b6d45273c80503a7efcd |
21-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Don't wipe out compound drawable tinting Currently we always 'tint' (or clear the tint) on a compound drawable. This CL fixes it by only loading the tint info if it's a drawable we care about. BUG: 25128785 Change-Id: I5d9c57556aa837b9a5c3eccb489e0b5b839de2e5
ppCompatTextHelper.java
|
2ca24fee9fd3cdba544eb5d55b2b0e37377034fa |
19-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Add accessor methods for Toolbar title margins"
|
a96db697796f1d93fa86c3087b97775c75bd7309 |
16-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Make AppCompatImageView.setImageResource(0) work BUG: 24998069 Change-Id: I8cea71d4afe0e975fed9c113eb9f85a0bed75f18
ppCompatImageHelper.java
|
deaf1fffa182a802e55a220856aaf96118d70732 |
16-Oct-2015 |
Andrew Solovay <asolovay@google.com> |
Merge "Cherrypick froom lmp-mr1-ub-dev docs: Moving usage information from ActionBar API guide" into mnc-ub-dev
|
b1d11409409e0d166360397adfd1e765bef49591 |
15-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Add accessor methods for Toolbar title margins Also adds missing attrs to public.xml so they can be documented. We can now use those margins in CollapsingToolbarLayout to make it's title have similar positioning to Toolbar's title. BUG: 23720183 Change-Id: I09eeef65141d4af77c8813e8fac5f89bead47597
oolbar.java
|
5a390480c900f2c231a87d2a66ee13e18b082d63 |
13-Aug-2015 |
Andrew Solovay <asolovay@google.com> |
Cherrypick froom lmp-mr1-ub-dev docs: Moving usage information from ActionBar API guide The ActionBar API guide is going to be removed; its contents are being moved into training classes or API reference docs. This material was copied from the old API guide, with some minor rewriting. This first CL moves the info into the appropriate support-library classes. Once we have this text approved and merged in, I'll make a second CL for the corresponding changes to the framework classes. (The rest of the action provider stuff from the API guide is moving into a training class; that's in a separate CL, http://ag/748903, since those files are in frameworks/base.) See first comment for stage location. Topic: app-bar-training Original Change-Id: Ia46cbed022b81798c2d4b1a23777032c8f66cc86 Change-Id: Iaff50850b6a71354571b33a1c5441180c58a8d36
hareActionProvider.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
ppCompatAutoCompleteTextView.java
ppCompatBackgroundHelper.java
ppCompatButton.java
ppCompatCheckBox.java
ppCompatCheckedTextView.java
ppCompatCompoundButtonHelper.java
ppCompatEditText.java
ppCompatImageButton.java
ppCompatImageHelper.java
ppCompatImageView.java
ppCompatMultiAutoCompleteTextView.java
ppCompatProgressBarHelper.java
ppCompatRadioButton.java
ppCompatRatingBar.java
ppCompatSeekBar.java
ppCompatSeekBarHelper.java
ppCompatSpinner.java
ppCompatTextHelper.java
ppCompatTextHelperV17.java
ppCompatTextView.java
earchView.java
hareActionProvider.java
witchCompat.java
oolbar.java
|
52a2fcaedc37de7e6c243a860ffd8d17b648f972 |
05-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Add background tinting to AppCompatTextView Change-Id: I80155aa4063e691009838f5720fddf32a4e07447
ppCompatTextView.java
|
e95a79a84dda1d3235601887a4500eb515bd4510 |
29-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Add AppCompatImageButton + AppCompatImageView" into mnc-ub-dev
|
7ede35a254a543305421b3b2d88f11ad2d0466e6 |
25-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompatSpinner not overlaying the IME Caused by ListPopupWindow using an internal version of PopupWindow.getMaxAvailableHeight() which allows ignoring of window decorations. We now use that method via reflection. BUG: 23387567 Change-Id: I753090f58d7c74b588b15bea2a6fb09b8ed1c58d
istPopupWindow.java
|
e687450a3272d931ea33e5f65048eb69ef1f8d9e |
25-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Add AppCompatImageButton + AppCompatImageView Moved usage of the old ImageView impl to be implicit through our view inflater functionality. Also re-ordered the view order so that more common views are at the top. BUG: 21715295 Change-Id: I28eedbc1f7d0bd55fbfbdb5aa85b72a8498f790f
ctionMenuPresenter.java
ppCompatImageButton.java
ppCompatImageHelper.java
ppCompatImageView.java
|
1c631b37f11be496662e473f5b7a5972cfa177a4 |
25-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix AlertDialog item direction" into mnc-ub-dev
|
5dc563e669eb337639a8b0b9e4e28cd5ea08fbea |
24-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
SwitchCompat improvements - Tidy up animation handling in jumpDrawablesToCurrentState() - Updated Switch track drawables with updated padding (4dp) - Fixed optical bounds calculation for the track BUG: 24361428 Change-Id: I7ecc2a4e1b5ad0d4dd05e29f4ad8b6ba579b6104
witchCompat.java
|
f7b73431b366b76bcf58536b7b1086489e4683b2 |
06-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AlertDialog item direction Since we're now using drawableStart for the icon, we've had to add tinting support for compound drawables in the various TextView implementations. BUG: 22963990 Change-Id: I6bc2f2777e1242b81983439bbda79420aa6ac32a
ppCompatAutoCompleteTextView.java
ppCompatBackgroundHelper.java
ppCompatButton.java
ppCompatCheckedTextView.java
ppCompatEditText.java
ppCompatMultiAutoCompleteTextView.java
ppCompatTextHelper.java
ppCompatTextHelperV17.java
ppCompatTextView.java
|
4ae9d79a932a0518a41d6cbc67cb0ad69ce7dca3 |
22-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Hide SearchView icon when no drawable set - support edition Bug: 23511899 Change-Id: I9ec866cc324136654838ba5ac138f2ebb51a4a1d
earchView.java
|
87638543a7f772792e77f4bb260e6dc117c52674 |
16-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Fix SwitchCompat animating while not visible Go to love View Animations BUG: 22626509 Change-Id: I6fe10dd20c8252e0fe2f0c36d5daa0fe04d46481
witchCompat.java
|
302e62b42be0e4c56594faa64bb8aec9ce2d136f |
15-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Remove hack with text colors" into mnc-ub-dev
|
af841db785a8cd5dc02752e4c6b6ad5ce25ae7bb |
14-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Remove hack with text colors We were previously hacking with a TextView's text color to workaround some wierdness with the disabled state text color. This causes it's own problems so this CL removes the hack. BUG: 24047891 Change-Id: I01e262f41d5972d93719821f7088df80d1a31bff
ppCompatTextHelper.java
|
47539acadd4e8be899070dc9bb50aaa43855b870 |
10-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Don't wipe out TransformationMethod if not needed Currently AppCompatTextHelper will call setAllCaps(..) in the constructor. This will wipe out any previously set TransformationMethod, such as textPassword, etc. Fixed by only calling setAllCaps(true) if we need to. BUG: 23947511 Change-Id: I13edcdc33326384e15f41c506fc0cf39d918ffba
ppCompatTextHelper.java
|
5d18673c99802533dcd311b250fc62a3325ae22e |
03-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Fix NPE in OverflowPopup.dismiss() BUG: 23788618 Change-Id: Ia44d96ba1815cd4eb5cf2c0ce659b4fe0a752536
ctionMenuPresenter.java
|
18864e53490e04739f1063a7ee113549874f87b0 |
19-Aug-2015 |
Chris Banes <chrisbanes@google.com> |
Backport ListPopupWindow fixes to AppCompat BUG: 23340464 Change-Id: I94b14db949c51c7c291603157bb36d80570ce496
istPopupWindow.java
|
5d1e77b81d615318a3272d9f16028a6cee97211f |
10-Aug-2015 |
Andrew Solovay <asolovay@google.com> |
am f7c5a984: am 70927b57: am 802b4db4: am e21c8fc5: Cherrypick from mnc-preview-docs docs: Fixing javadoc formatting. Original Change-Id: I844d9b03985138b2cb7733038bf4042ddc3479bc * commit 'f7c5a9840092515a1eabb5bf6fbbef0f9a57e502': Cherrypick from mnc-preview-docs docs: Fixing javadoc formatting. Original Change-Id: I844d9b03985138b2cb7733038bf4042ddc3479bc
|
802b4db47e1aea2ef808afa89278340016c0c7d3 |
10-Aug-2015 |
Andrew Solovay <asolovay@google.com> |
am e21c8fc5: Cherrypick from mnc-preview-docs docs: Fixing javadoc formatting. Original Change-Id: I844d9b03985138b2cb7733038bf4042ddc3479bc * commit 'e21c8fc54201f7ba818dc089c0bdb4e8e4ee289f': Cherrypick from mnc-preview-docs docs: Fixing javadoc formatting. Original Change-Id: I844d9b03985138b2cb7733038bf4042ddc3479bc
|
964d1912cc68e67fdbbe4643004a00c706bffdba |
07-Aug-2015 |
Chris Banes <chrisbanes@google.com> |
Fix SwitchCompat being able to be dragged in inbetween state Caused by use only not animating/moving the thumb back when the checked state hasn't changed. The easiest fix to just always call setChecked after a drag. BUG: 23029815 Change-Id: I42d7dbf3c341bc9b231bb462b169ec5b70cf9f2c
witchCompat.java
|
10e2dbc1ad1c01d2824d921a8b0f070859d6f146 |
08-May-2015 |
Chris Banes <chrisbanes@google.com> |
Backport material SeekBar Refactored AppCompatRatingBar to use the new helper architecture, which enabled reuse for SeekBar. BUG: 20850486 Change-Id: Ie45a2fb23e01575c1f1eb20cab16fa77d4b7e0fa
ppCompatProgressBarHelper.java
ppCompatRatingBar.java
ppCompatSeekBar.java
ppCompatSeekBarHelper.java
|
e21c8fc54201f7ba818dc089c0bdb4e8e4ee289f |
01-Aug-2015 |
Andrew Solovay <asolovay@google.com> |
Cherrypick from mnc-preview-docs docs: Fixing javadoc formatting. Original Change-Id: I844d9b03985138b2cb7733038bf4042ddc3479bc There was a major formatting problem in ShareActionProvider.setShareHistoryFileName() (because of badly-formed closing tags) and a minor one in setShareIntent() (an extra space in the code-snippet-background color). Chris also caught some substantive errors that I fixed (I'm guessing because this Javadoc was copied from the Framework version of the method and some changes needed to be made). See first comment for doc stage location. bug: 22857881 Change-Id: I844d9b03985138b2cb7733038bf4042ddc3479bc
hareActionProvider.java
|
10c8130fe03a6fb77857ac8ec91c0a21b81fcc5e |
29-Jul-2015 |
Chris Banes <chrisbanes@google.com> |
Add ThemedSpinnerAdapter.Helper class Allows easier integration of ThemedSpinnerAdapter into existing Adapter classes pre-M. BUG: 22788140 Change-Id: I30b4e1480377b768cc98553e05c444334ac00a18
hemedSpinnerAdapter.java
|
080abff1400d6461206a6dc367411115590abda9 |
14-Jul-2015 |
Adam Powell <adamp@google.com> |
Remove prerelease codename checks Bug 20692412 Change-Id: I96adcd887d45ca07a6175a62ccb601a8fcee6458
ppCompatSpinner.java
|
bf61606ac234432b2d7f98a8219a59cc8c07cf70 |
25-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
Fix docs build Change-Id: I267db59fb1a731750ad9a5beb8ed68409cf33f4b
ppCompatSpinner.java
|
8ab6b02ab7c3b54472cbc530b38230b0d3389aaf |
25-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Update AppCompatSpinner with popup theme" into mnc-dev
|
64c32ba7ea8a7c71835e33d7f208824bf1081a24 |
17-Jun-2015 |
Adam Powell <adamp@google.com> |
Add matching xml attributes for existing Toolbar properties AppCompat edition Bug 21010256 Change-Id: If5d4c2b1950d3593c27379fd229f276b686cd583
oolbar.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
ppCompatSpinner.java
hemedSpinnerAdapter.java
|
f6ad5d5a5d205696951a04c49dc04fa65a428e58 |
15-Jun-2015 |
Adam Powell <adamp@google.com> |
Fully remove Toolbar children when action views expand AppCompat edition The previous implementation of toggling visibility resulted developer-set child visibility getting stomped. Fully detach child views that shouldn't be shown instead. This is more consistent with the coming and going of other system child views. Bug 18156260 Change-Id: I028443115abd305076bf517b1c0d9de1265f00f5
oolbar.java
|
c0dc35dd54229e89d89aceceb44989a11d748fe7 |
15-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
am 32d048f6: Merge "Make Toolbar accessible" into lmp-mr1-ub-dev * commit '32d048f6e59a4007b3996a7fb7cafca9b87948f9': Make Toolbar$SavedState accessible
|
174b5f1e907abbaa70f94dc83fff86ea453d2cd3 |
15-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
Make Toolbar$SavedState accessible BUG: 21836037 Change-Id: Ia67d334200701cca3bc66d40dba08b102c15b93c
oolbar.java
|
7325cdad103472c460c1dd492ec9f9ac0df57d50 |
09-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
API council review feedback for ActionMenuView - support edition Reverts "MenuItem, navigation and overflow icon tinting" CL, and adds getter and setter for the overflow icon to ActionMenuView and Toolbar. BUG: 21571899 Change-Id: I4ba7f6bb5c94ea52bfc482590b9de620640bd8d5
ctionMenuPresenter.java
ctionMenuView.java
oolbar.java
|
1057e755a01e6eea7b6121e1272e78bb36bc3aab |
10-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
am 450f0f8c: Merge "Jump SwitchCompat to end state in jumpDrawablesToCurrentState()" into lmp-mr1-ub-dev * commit '450f0f8c0e9501fd3a654247fc3841e09d7998d2': Jump SwitchCompat to end state in jumpDrawablesToCurrentState()
|
2f6f9480ddbe941a13c9c3da335caa1a022fa017 |
08-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
Jump SwitchCompat to end state in jumpDrawablesToCurrentState() BUG: 21459481 Change-Id: Ie1716615f9b76116af381cc4c1f83c83edcd08e4
witchCompat.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
ppCompatAutoCompleteTextView.java
ppCompatBackgroundHelper.java
ppCompatButton.java
ppCompatCheckBox.java
ppCompatCheckedTextView.java
ppCompatCompoundButtonHelper.java
ppCompatEditText.java
ppCompatMultiAutoCompleteTextView.java
ppCompatRadioButton.java
ppCompatRatingBar.java
ppCompatSpinner.java
ppCompatTextHelper.java
ppCompatTextView.java
|
23df28e8f2fa712aecb838ee2372531354e69afe |
04-May-2015 |
Chris Banes <chrisbanes@google.com> |
am e68db207: Fix SearchView\'s AutoCompleteTextView default style * commit 'e68db207928c55c3c4941aab5ed6ec9dccc3c8fc': Fix SearchView's AutoCompleteTextView default style
|
e68db207928c55c3c4941aab5ed6ec9dccc3c8fc |
01-May-2015 |
Chris Banes <chrisbanes@google.com> |
Fix SearchView's AutoCompleteTextView default style BUG: 20745011 Change-Id: If813808fedbd921a1f63068e51aa5f8af46cc8da
earchView.java
|
a4ddcfbaddd0ddd81f9ded800e2c786199019e52 |
01-May-2015 |
Chris Banes <chrisbanes@google.com> |
am 6b09aad7: Merge "Fix SearchView\'s hint selection - support edition" into lmp-mr1-ub-dev * commit '6b09aad7f5533c9c02cc4447f8e5fc98986aa8d1': Fix SearchView's hint selection - support edition
|
6b09aad7f5533c9c02cc4447f8e5fc98986aa8d1 |
30-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix SearchView's hint selection - support edition" into lmp-mr1-ub-dev
|
ecd75f2a7ec12bcbec7a9f0382cbd63b5c903188 |
27-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
Fix SearchView's hint selection - support edition As we know load a default hint via the default style, the SearchableInfo's hint was never used. This CL removes the hint from the style, and uses it manually, if needed. BUG: 20614122 Change-Id: I46967e8f74ec5a9bed49b276070cbd753aaa8331
earchView.java
|
32d1fe1ff2def78296ce2557f14ff4b94f2adfe3 |
29-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
am b5d3d9e9: Merge "Ensure we wipe out our internal tinting if the background changes" into lmp-mr1-ub-dev * commit 'b5d3d9e9b9b79683ccf6855d54c6550db090dd34': Ensure we wipe out our internal tinting if the background changes
|
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
ppCompatAutoCompleteTextView.java
ppCompatButton.java
ppCompatEditText.java
ppCompatMultiAutoCompleteTextView.java
ppCompatSpinner.java
|
f6bb5a36654838d8dd83864002ced5f441d3e2ee |
28-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
am b530834e: Merge "Fix AppCompatTextView not using the default style" into lmp-mr1-ub-dev * commit 'b530834efc68655d32fa37808e0251edb4f183ae': Fix AppCompatTextView not using the default style
|
e120656eaf98961d4550f6e4e970812839887b26 |
28-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompatTextView not using the default style BUG: 20650691 Change-Id: If2aa6c641722bb9063f193c30b2cea3de8986286
ppCompatTextView.java
|
b5e38f5d9f0a126d5df513d7e4520f8b836b5b93 |
27-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
am 0e2b903d: Merge "Remove a now uneeded hack for Toolbar theming" into lmp-mr1-ub-dev * commit '0e2b903d4becf9032b4dfbff3c58d2296d20988b': Remove a now uneeded hack for Toolbar theming
|
282b41afb218f7b7becd0a1c420ddd21fc14c3db |
23-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
Remove a now uneeded hack for Toolbar theming We now read app:theme in the LayoutInflater.Factory so this isn't needed. Change-Id: I7934702451eb2067f9a2b1fdd048ff1f7eba9bb8
oolbar.java
|
c005695ca3e01efb3c3486f5cb6bf1e7fb21995c |
09-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
resolved conflicts for merge of 73a0c3c7 to master Change-Id: I1652150b1499db455f1eee8d8743d2f7f7bb6fcc
|
a6a508b2296730ca6954aaebcca52a9962a5cb55 |
11-Mar-2015 |
Chris Banes <chrisbanes@google.com> |
AppBarLayout There is still a few things missing for this, such as elevation and fling support. I'll add these in a later CL. Change-Id: Ie6d6d24a39a21bcd640f09c9da07ec2f6c1f4bb4
oolbar.java
|
c7281c2860ed28ad3addfdeb14c6e2e20289507a |
07-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
am b300c7ca: Merge "Fix RatingBar with custom drawables" into lmp-mr1-ub-dev * commit 'b300c7ca67e0998a8e79805dd0eb9e9abee38bd8': Fix RatingBar with custom drawables
|
4ab820f4155444d20b37e105873775dd71907eef |
31-Mar-2015 |
Chris Banes <chrisbanes@google.com> |
Fix RatingBar with custom drawables We now only use our own tileify logic when we know that the drawables come from AppCompat. BUG: 20000273 Change-Id: I9f24949ec0772d6974a4b5e477eddf82b3ec0c6c
ppCompatRatingBar.java
|
5caf2eed342f4f87920a08edad1ee57fd6097863 |
30-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Merge "Annotate Toolbar and ActionMenuView with resource-type annotations"
|
28f254a903b76f5b52d29e2fdbef38ca7b6e0e20 |
26-Mar-2015 |
Chris Banes <chrisbanes@google.com> |
am dd557165: Fix AppCompatEditText\'s context wrapping * commit 'dd5571652e2ea0eea4af8dbbf10304675d640e1a': Fix AppCompatEditText's context wrapping
|
dd5571652e2ea0eea4af8dbbf10304675d640e1a |
23-Mar-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompatEditText's context wrapping BUG: 19867255 Change-Id: Ic0257b252b301c7eafb51076c45163ca954d984f
ppCompatEditText.java
|
f694ca99453213b7ce3c2a46e237209fcb5841cd |
11-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Annotate Toolbar and ActionMenuView with resource-type annotations Change-Id: I0d9bb41aa55aab0c261c7aef900f1cfbafe4ecfa
ctionMenuView.java
oolbar.java
|
70acb0c19be3831a2080e4f902324de16bfbf62e |
04-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Annotate support library with @ColorInt, @CallSuper, etc Change-Id: Ifa25a628f89a07d3903cd71eb1c3639297fdf722
oolbar.java
|
467174b715b4b22868d407a80a930874464cb117 |
02-Mar-2015 |
Chris Banes <chrisbanes@google.com> |
am 0c46cf9c: am 09faf176: am 351428cd: Fix crash in AppCompat\'s background tinting * commit '0c46cf9c2419063c14dfb3cb0772bfe2c646de09': Fix crash in AppCompat's background tinting
|
0c46cf9c2419063c14dfb3cb0772bfe2c646de09 |
02-Mar-2015 |
Chris Banes <chrisbanes@google.com> |
am 09faf176: am 351428cd: Fix crash in AppCompat\'s background tinting * commit '09faf176013a678130abe1d64291b365edcc302a': Fix crash in AppCompat's background tinting
|
351428cd6e15e6d19fe48ce698c994ad3e6f0501 |
02-Mar-2015 |
Chris Banes <chrisbanes@google.com> |
Fix crash in AppCompat's background tinting BUG: 19561949 Change-Id: Ib348b66d39f0c9723bb034d13876e0c56e65926f
ppCompatAutoCompleteTextView.java
ppCompatButton.java
ppCompatEditText.java
ppCompatMultiAutoCompleteTextView.java
ppCompatSpinner.java
|
08b8453a77120d3336428b8d510759376afe9e4c |
02-Mar-2015 |
Scott Kennedy <skennedy@google.com> |
am a7af78c2: am aa6e143b: am 94756719: Mark attrs @Nullable in Toolbar constructors * commit 'a7af78c2c372249ef670072d9a43d4734c13b5cf': Mark attrs @Nullable in Toolbar constructors
|
a7af78c2c372249ef670072d9a43d4734c13b5cf |
02-Mar-2015 |
Scott Kennedy <skennedy@google.com> |
am aa6e143b: am 94756719: Mark attrs @Nullable in Toolbar constructors * commit 'aa6e143ba85732f997933e0bc7c61ebd48ab64e2': Mark attrs @Nullable in Toolbar constructors
|
94756719872ef2f4a60d59eb1e2169011312676b |
02-Mar-2015 |
Scott Kennedy <skennedy@google.com> |
Mark attrs @Nullable in Toolbar constructors Change-Id: I972392218debe491594d43c52d415940d645fb25
oolbar.java
|
c88bcc13910d9d1a0ddd077e7cb96f3d95bde76c |
16-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
MenuItem, navigation and overflow icon tinting - support edition - iconTint and iconTintMode attrs for MenuItem, with associated setters. - navigationTint and navigationTintMode attrs for Toolbar with associated setters. - overflowTint and overflowTintMode attrs for Toolbar with associated setters. Depends on Ibd1fae7cdbc7a7c42809e52541fae5d8beb18e92 BUG: 18126050 BUG: 19148351 BUG: 19305408 Change-Id: I04e9ce376c925efe6f43e03e9627a9a83865dab8
ctionMenuPresenter.java
ctionMenuView.java
oolbar.java
|
ef696150b0183f21556efb520158417cb9ac1c8c |
26-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
am 16ea2877: am bb928ef3: am fa912941: Workaround NPE on Android 2.1 * commit '16ea2877f2bcc29fae467d9d7a433772752310b5': Workaround NPE on Android 2.1
|
16ea2877f2bcc29fae467d9d7a433772752310b5 |
26-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
am bb928ef3: am fa912941: Workaround NPE on Android 2.1 * commit 'bb928ef31734dbf3b1bb6cdf71d5a4d9133bca74': Workaround NPE on Android 2.1
|
fa91294114db5cfa43910d4d921fd06449192420 |
26-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
Workaround NPE on Android 2.1 Caused by a bug in StateListDrawable which was fixed 2.2 BUG: 19448427 Change-Id: I1afb9d06fbac86a45e394fe7de93a737778fd428
ppCompatCheckedTextView.java
|
8cc40d8a2e75d3333166d73181eb549cf549bee6 |
26-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
am e28f88f9: am 4b0bc015: am 1c1b4c1a: Merge "Rename and move all of the tint widgets" into lmp-mr1-ub-dev * commit 'e28f88f900762b608e659f4233d273f4a97918aa': Rename and move all of the tint widgets
|
e28f88f900762b608e659f4233d273f4a97918aa |
26-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
am 4b0bc015: am 1c1b4c1a: Merge "Rename and move all of the tint widgets" into lmp-mr1-ub-dev * commit '4b0bc01559e9607d933bf9b2800733d3e9b53539': Rename and move all of the tint widgets
|
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
ppCompatAutoCompleteTextView.java
ppCompatButton.java
ppCompatCheckBox.java
ppCompatCheckedTextView.java
ppCompatEditText.java
ppCompatMultiAutoCompleteTextView.java
ppCompatRadioButton.java
ppCompatRatingBar.java
ppCompatSpinner.java
ppCompatTextView.java
earchView.java
|
9eeb20e99abdac385954a785383b10eba51908e1 |
06-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
am a5f441b7: am 320c3e9f: New TabLayout * commit 'a5f441b7d4d93da2adb4b48dab8ccb5d8457c63c': New TabLayout
|
cc4217142c675fe81a3dde680bfc5dec2505f2d6 |
06-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
am ebd2c61c: am e5cf164f: Merge "Fix SwitchCompat animating unnecessarily" into lmp-mr1-ub-dev * commit 'ebd2c61c79556f856bf85e21e6b56a73fcb3e486': Fix SwitchCompat animating unnecessarily
|
a5f441b7d4d93da2adb4b48dab8ccb5d8457c63c |
06-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
am 320c3e9f: New TabLayout * commit '320c3e9fe1e100a5a7cda5dd217d2d1152d08b3f': New TabLayout
|
ebd2c61c79556f856bf85e21e6b56a73fcb3e486 |
06-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
am e5cf164f: Merge "Fix SwitchCompat animating unnecessarily" into lmp-mr1-ub-dev * commit 'e5cf164f159f8ab73ece12a9e95ae774102c521e': Fix SwitchCompat animating unnecessarily
|
320c3e9fe1e100a5a7cda5dd217d2d1152d08b3f |
28-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
New TabLayout Change-Id: If8a0720ab759b80bcfce7fad645e5b2a8d6e7c3a
witchCompat.java
|
f91071ff037056101389f2cbfc5fadb0229a36a7 |
05-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
Fix SwitchCompat animating unnecessarily BUG: 19283952 Change-Id: I66f64d57505e3fa90f6c5395b356f457bb0f43ff
witchCompat.java
|
d22c4eb90d92530a786d7b6b8ab754cd80835a7a |
24-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
am 2cf6e5d7: am 4a58bb72: Merge "Fix SwitchCompat\'s accessibility event class name" into lmp-mr1-ub-dev * commit '2cf6e5d7a622548a5fca1f13fa25a1fc8d0049bc': Fix SwitchCompat's accessibility event class name
|
2cf6e5d7a622548a5fca1f13fa25a1fc8d0049bc |
23-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
am 4a58bb72: Merge "Fix SwitchCompat\'s accessibility event class name" into lmp-mr1-ub-dev * commit '4a58bb72b3d011d7df3d177c531e760d2811a4d2': Fix SwitchCompat's accessibility event class name
|
befecd646c6b7249ee9894ee2c21a5965bb33cff |
23-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
Fix SwitchCompat's accessibility event class name BUG: 19110477 Change-Id: I88a1db8c92364d70ec22b4ade965295ee943baeb
witchCompat.java
|
4627131379fb63e43c80743ccb32acbf8dbca629 |
21-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
am f0678cec: am f98f9f87: Merge "Fix NPE in ActionMenuView when there isn\'t a presenter" into lmp-mr1-ub-dev * commit 'f0678cec2630a9226113fc69dbe3926e852d1853': Fix NPE in ActionMenuView when there isn't a presenter
|
f0678cec2630a9226113fc69dbe3926e852d1853 |
21-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
am f98f9f87: Merge "Fix NPE in ActionMenuView when there isn\'t a presenter" into lmp-mr1-ub-dev * commit 'f98f9f8786820b0e71543bb506521e4566aeba35': Fix NPE in ActionMenuView when there isn't a presenter
|
1f7be3e1e4ba20e32c479d50d4ca66252b7c0969 |
19-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
Fix NPE in ActionMenuView when there isn't a presenter BUG: 19060917 Change-Id: I8a1c8d44a3bb5cd02b767046db79f919dfdd9187
ctionMenuView.java
|
c53a60abacc635d7a90cf820aacabaf18d9f4c0d |
13-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
am 440f0d89: am f3ad1351: Refactor AppCompat\'s Activity structure * commit '440f0d89b57062d8437437617a810a011fd32d4d': Refactor AppCompat's Activity structure
|
440f0d89b57062d8437437617a810a011fd32d4d |
13-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
am f3ad1351: Refactor AppCompat\'s Activity structure * commit 'f3ad1351d8b40ec5defe35e79d3430ad3c384b6d': Refactor AppCompat's Activity structure
|
f3ad1351d8b40ec5defe35e79d3430ad3c384b6d |
27-Nov-2014 |
Chris Banes <chrisbanes@google.com> |
Refactor AppCompat's Activity structure - The activity delegates now have a public abstract class called AppCompatDelegate. Any Activity can create one, but they must call through to the delegate at certain lifecycle methods. - Related, I've reduced the number of manual lifecycle calls needed by using Window.Callback where possible. - Activities can implement the the new AppCompatActivityCallback interface to receive certain callbacks. - AppCompatActivity does all of this automatically - ActionBarActivity is now a deprecated alias for AppCompatActivity - Removed support for the v4 Drawer Toggle - Remove our internal callback in favor of using Window.Callback directly BUG: 18547959 Change-Id: I8ece4372fa2abbc5b5246544643fafe0e22874be
oolbar.java
indowCallbackWrapper.java
|
f07b726080b86e9d014e3e25cda2b93af97c27ed |
10-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
am d6859116: am 7aab358a: Merge "Honor app:theme in Toolbar on Lollipop" into lmp-mr1-ub-dev * commit 'd685911692e91b39a25a27ddc623b405686bb9f9': Honor app:theme in Toolbar on Lollipop
|
d685911692e91b39a25a27ddc623b405686bb9f9 |
10-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
am 7aab358a: Merge "Honor app:theme in Toolbar on Lollipop" into lmp-mr1-ub-dev * commit '7aab358a7133b4f2ff89175a8cf58626476807f3': Honor app:theme in Toolbar on Lollipop
|
6f2135232bf216d194b049265f0b92f69e74c241 |
09-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
Honor app:theme in Toolbar on Lollipop With the change to use android:theme in AppCompat, there was a small regression when using app:theme on Toolbar on L+. This CL manually themifies the context so that we don't break apps which only use app:theme when running on >= Lollipop. Also added a Log statement telling devs that app:theme is deprecated. Change-Id: Ib98f7c5b8b28d79c7b302a923fb198d8068035ca
oolbar.java
|
44918a92e1d66a01a03063e2c5e68b2570f64b03 |
08-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
Use the new PopupWindow overlap anchor methods Allows developers to set one style attribute and AppCompat will then forward it on to the framework impl. BUG: 18245054 Change-Id: I3cf2e2224d0420e80342e162ad01be1fb4f3cc18
opupMenu.java
|
497cc0a7ecf18bf4e8b953495ad27f4a901cc89f |
12-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
am e3268c92: Merge "SwitchCompat fixes and tweaks" into lmp-mr1-ub-dev * commit 'e3268c92db62b77ce14adba72d865aec6a2f3c52': SwitchCompat fixes and tweaks
|
414f52397a88d52a783a31d4c098bc3bec632b8d |
11-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
SwitchCompat fixes and tweaks - Fixed SwitchCompat color handling so that it matches the framework - Backported some small updates to Switch - On v18+ we now use the thumb's optical bounds (through reflection... eugh) - Added some padding pre-v18 since we can't use the thumb's optical bounds BUG: 18701057 Change-Id: I80cf11c79ac5b85b179436bf18406c3289d85cf8
witchCompat.java
|
5b37a3ed8da9f309342fa6f92fab6ba4669e3258 |
10-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
am 14cec9e7: Merge "Let host view handle long-press when using drag-to-open" into lmp-mr1-ub-dev * commit '14cec9e7407d5f97b97ebf631aab35eafa9d0b10': Let host view handle long-press when using drag-to-open
|
dd58df85f4c3cc5d28ea579da87b6bf6ab07f575 |
10-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
am 05f6adf8: Merge "Fix regression, don\'t NPE if Switch doesn\'t have a thumb set" into lmp-mr1-ub-dev * commit '05f6adf83306e9ffe48cc26ed5320ed04776c48a': Fix regression, don't NPE if Switch doesn't have a thumb set
|
14cec9e7407d5f97b97ebf631aab35eafa9d0b10 |
10-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
Merge "Let host view handle long-press when using drag-to-open" into lmp-mr1-ub-dev
|
05f6adf83306e9ffe48cc26ed5320ed04776c48a |
10-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix regression, don't NPE if Switch doesn't have a thumb set" into lmp-mr1-ub-dev
|
2e6d6fa1e0a40effd667bd077664bc0352c697dd |
09-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
am 94ef1b84: Merge "Various updates to match spec:" into lmp-mr1-ub-dev * commit '94ef1b84ee40e92f6f44bbdb7013f9b5c3aa4263': Various updates to match spec:
|
5c32deca939706fc08ef8c296da3d8da36efe85d |
09-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
am 81bb37cf: Merge "Remove underline and search icon from ActionBar search view" into lmp-mr1-ub-dev * commit '81bb37cf541e61512aa203aa3bab44091016b5b3': Remove underline and search icon from ActionBar search view
|
2ff9b34295ed3cc30e67bc8c4904a5c3ffcf47c6 |
09-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
Let host view handle long-press when using drag-to-open BUG: 18605860 Change-Id: If8b6ea65dafedbae58dac6e5d198d30543417840
istPopupWindow.java
|
af34a5378411bd76e8fd45a2bf23d17ccc19aae1 |
09-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
Fix regression, don't NPE if Switch doesn't have a thumb set AppCompat edition BUG: 18670202 Change-Id: I18b608abf16b2f7458cd3e0c2cc686cfcf85343f
witchCompat.java
|
94ef1b84ee40e92f6f44bbdb7013f9b5c3aa4263 |
09-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
Merge "Various updates to match spec:" into lmp-mr1-ub-dev
|
3798ea29657ed5029b5fd0a5b815a2ab0c75b4d5 |
09-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
am 8f0f2302: Merge "Backport android:theme functionality for all Views" into lmp-mr1-ub-dev * commit '8f0f230229fd09c3c066d1ff90d8954d8fece6da': Backport android:theme functionality for all Views
|
3ea3afda655bba4afe574d17a458eafaa74068c5 |
25-Nov-2014 |
Chris Banes <chrisbanes@google.com> |
Various updates to match spec: - Update overflow menu alignment - Update action bar insets on sw600dp BUG: 18417348 BUG: 18482784 Change-Id: Id90989e885e9a8a2e13a47dc71e0a519007d79d2
ctionMenuPresenter.java
|
cc489cd904db41ba9f8efaec0fde0b2d259123d7 |
20-Nov-2014 |
Chris Banes <chrisbanes@google.com> |
Remove underline and search icon from ActionBar search view AppCompat edition BUG: 17396265 Change-Id: I18c91e72bbeff565fc0ccdccfab2e6a7f28433e9
earchView.java
|
fd1eb27a3700de31507de34fd1bcc51830fe876c |
24-Oct-2014 |
Chris Banes <chrisbanes@google.com> |
Backport android:theme functionality for all Views Also make the tinted widgets public so that developers can extend from them. BUG: 18367946 BUG: 18112118 Change-Id: Id47e21e960f3539304f0c1c023eebdff6c429c8d
oolbar.java
|
e6b11505d3a1819b3c81754b4b5de30fba81bb5f |
05-Dec-2014 |
Chris Banes <chrisbanes@google.com> |
am c67503c7: Merge "SwitchCompat: Fix NPE on makeLayout()" * commit 'c67503c75229d8dde9954a58aff15c0983b96745': SwitchCompat: Fix NPE on makeLayout()
|
4b1190de13d6408e24cbda5f77e6148f54206fd0 |
24-Nov-2014 |
Alan Viverette <alanv@google.com> |
Ensure DrawerLayout does not receive accessibility focus Also prevents hover events from falling through Toolbar. BUG: 18378959 Change-Id: Iaab2e9984b2b09dc41e733b9276cafe7ab556c98
oolbar.java
|
1949ae9aeaadf52ad7bd7bb74ca5419c67ea7f65 |
18-Nov-2014 |
Taeho Kim <jyte82@gmail.com> |
SwitchCompat: Fix NPE on makeLayout() Fixed NPE in makeLayout() when mTextOn or mTextOff is null Signed-off-by: Taeho Kim <jyte82@gmail.com> Change-Id: Ic61b6cbe1b46534783b684166d46b5da3b942d3a
witchCompat.java
|
a9cf27da7f78d81db5ad482003a10d1a6562107c |
10-Nov-2014 |
Alan Viverette <alanv@google.com> |
Add appcompat PopupMenu constructor that takes style arguments BUG: 18245054 Change-Id: I444a37f0104061d29415a6f47e5d7da31f095308
istPopupWindow.java
opupMenu.java
|
2f4abc2b347f34ba070a2a5e87cf16ee2c373192 |
29-Oct-2014 |
Chris Banes <chrisbanes@google.com> |
Fix ActionMenuView vertical alignment of items BUG: 18066203 Change-Id: I3844d3b2840212f68cbfd63d7a66fe9fc230956c
ctionMenuView.java
|
3e2b5bd049c924bf6d29615973bc598a6d50e6cb |
29-Oct-2014 |
Alan Viverette <alanv@google.com> |
Add content description to Toolbar collapse icon BUG: 17722111 Change-Id: I698e878d00d2945a994420dd77f9e2bbae9d36aa
oolbar.java
|
36ba98b397a95e5d74318f7d9008fdaf604c05c2 |
28-Oct-2014 |
Chris Banes <chrisbanes@google.com> |
Fix SwitchCompat TextAppearance Move to an explicit declared styleable which seems to work. BUG: 18052924 Change-Id: I916ae2d54d6b3ac5c561d376558a16d3a66413fd
witchCompat.java
|
ed27de5fc41d9318c81591e4a483902d9ecb851a |
28-Oct-2014 |
Chris Banes <chrisbanes@google.com> |
Merge "Update ShareActionProvider to match Lollipop's" into lmp-mr1-dev
|
f0befbfd05c33c4dc6667a051f9b69a47dfe4aa7 |
23-Oct-2014 |
Chris Banes <chrisbanes@google.com> |
Update SearchView suggestions so we display the commit icon Depends on Ibb7de7a3c49a1da22cd008aa6ae1791cc651fb3c BUG: 18030252 Change-Id: I5fa19c02c2881d608f16b0f01fa874001bb383ba
earchView.java
uggestionsAdapter.java
|
aac6aa7699cefacf5cd3aaa17c97c2f574ba1259 |
22-Oct-2014 |
Chris Banes <chrisbanes@google.com> |
Remove buttonGravity Toolbar attr BUG: 10868937 Change-Id: I712799c03f7852dc580c3f85d13739d847df6433
oolbar.java
|
b645de790756e27bbe92d133216b7ac79cca7679 |
21-Oct-2014 |
Chris Banes <chrisbanes@google.com> |
Update ShareActionProvider to match Lollipop's BUG: 16370059 Change-Id: I1e0013bd9344ccda3751972109b389097d4f7a23
hareActionProvider.java
|
415f740df4981ef2f5fb462a50c7cf095cc21128 |
22-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Material Widget styling - Spinner - CheckBox - CheckedTextView - RadioButton - Switch BUG: 17210888 Change-Id: I996415770d048f6b18152228427b2bf15fe611b3
witchCompat.java
|
57c6de90985a63358129b99b9f0cd4d6afe887d6 |
19-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
List menu fixes galore. - ToolbarActionBar now handles it's own list menu. - Also fixed theming of the list menu once and for all. It's now tied to actionBarTheme and actionBarPopupTheme. BUG: 17319897 BUG: 17049242 Change-Id: I0e523323f9f53060d1ebd678f344c56b9f9dda63
indowCallbackWrapper.java
|
ac46e6d000428dc5cd48caa46202abc23422d043 |
18-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix Toolbar minHeight handling pre-JB" into lmp-dev
|
d30166708029d4fb895edcaec3ad3fa6645d5311 |
18-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Fix Toolbar minHeight handling pre-JB BUG: 17522779 Change-Id: I02ac87a1a206617399a47ae19d6d5e2be6c73947
oolbar.java
|
80e66c1609421dacff3e49770411e201039aa1d8 |
17-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Fix flickering ripples on drag-to-open popups BUG: 17543085 Change-Id: I9cf67bc48d4a2ffe73d436faecf93fd2fe1c4633
istPopupWindow.java
|
0517b282bde8b9a0377dfe5bc4756405a196adb4 |
15-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Fix toolbar height, list divider alpha, action item padding BUG: 17487305 BUG: 17470290 BUG: 17486967 Change-Id: Ifbb805fa58beb92b63d5c82956b18c4e93b8c4a7
ctionMenuPresenter.java
|
ca4128f292d30374103de848a5805171d9a5a186 |
13-Sep-2014 |
Adam Powell <adamp@google.com> |
Follow framework change to eat touch events in Toolbars Bug 17483356 Change-Id: Ic726d69033b11ddfa9c44db0abf64910ef040bea
oolbar.java
|
b7340d23e715fedb2af8d500102ab57b43fed38f |
12-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Vertically align toolbar child views with similar gravities Also took the opportunity to trim off all of the old action bar dimens which are no longer used. BUG: 17266152 Change-Id: Ibd90d71c126585f3d6491a6b4f3c26848b1c8794
oolbar.java
|
5e49544c53be19cd12b01a53514558386a48ef57 |
11-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Merge "More tinted drawables improvements" into lmp-dev
|
c497221ee0e2e873f49653ff1a046df2e5276759 |
10-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
More tinted drawables improvements - Tint the action bar divider - Include the disabled state in the default color state list (for EditText) Change-Id: Idaf047d50ab62fb09ccdda1170a0114d8fc1fcc2
inearLayoutCompat.java
|
b5837eb1118cfd6e583749bc0a4e72af10c7eb0c |
10-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Hide internal appcompat classes which are being added to the javadoc Change-Id: If4e74e0b4fea152b08bd5f08bce1ef3b12eb474e
inearLayoutCompat.java
|
469286122bcbbecbdd0bef74fb50f9d8920e77b9 |
02-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Add dynamic Drawable tinting to appcompat Brings the res folder down to 297kB from 435kB, saving > 30% of disk space (compressed). Change-Id: Ia64ceacb5afed7f17203ff17ce5eaa990d58be7c
ctionMenuPresenter.java
istPopupWindow.java
earchView.java
hareActionProvider.java
oolbar.java
|
ae5248b8902c62325fafbdac3fe18783aec06073 |
10-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Force Overflow to show when using Toolbar standalone BUG: 17381966 Change-Id: I2289b38f6a1873729fdc88de6b8e24a8a28fc1fe
ctionMenuView.java
|
c4b9e0cb716a4caff218b27d86f37ef8117d257b |
05-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Menu Callbacks for appcompat Toolbar BUG: 17326424 Change-Id: I1c06029a62626efe2cd2d88f198b7fbe76e057c2
ctionMenuView.java
oolbar.java
indowCallbackWrapper.java
|
5ec2faa01bc6790bc015e0d5748dc0482ae8c0f2 |
04-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Implement PopupWindow's overlapAnchor pre-L BUG: 17331746 Change-Id: I00c4606343e4690087bab117abc34a18d6c6c750
istPopupWindow.java
|
6912ef40f2cbf2a449c492cbe81ca96deee67ca0 |
04-Sep-2014 |
Adam Powell <adamp@google.com> |
Fix a regression in SearchView focusability - appcompat edition Follow the same change to fix a regression from frameworks/base. Bug 17292230 Change-Id: Iacb1464f3d014763e54dca7957ea95882511bf79
earchView.java
|
ac00a989afc2f1c559fc33174f481a0a0ef5b3d8 |
01-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Backport Toolbar framework updates to appcompat BUG: 17253638 BUG: 17305707 BUG: 17298370 Change-Id: Ic4f876565f7da93b166c52d4a206f86ae78d5ca7
ctionMenuPresenter.java
istPopupWindow.java
oolbar.java
|
1cc199c7b4fe79812cd660b387fa521c9b1993fc |
01-Sep-2014 |
Chris Banes <chrisbanes@google.com> |
Ensure we use correct context for reading Toolbar attrs Change-Id: Ie77a37a3dfa13e6e6788df2b3ebcce54fa043722
oolbar.java
|
0b216f2263135782c361e122892a12156d5d2ce1 |
26-Aug-2014 |
Chris Banes <chrisbanes@google.com> |
Fix a bug propagating navigation events from ToolbarActionBar Migrates fix from I2c3d7525489a21847f4af9b80f6ebf9b34b4dd58 to appcompat BUG: 16980711 Change-Id: Ic265c73881935e5d2df59a3b693e5f9e75b56bea
indowCallbackWrapper.java
|
3228edfc4f8385dad5ae502f4a1d1343b9ec728f |
06-Aug-2014 |
Chris Banes <chrisbanes@google.com> |
Implement theme attribute for Toolbar - Replaced list divider drawables - Fixed drag-to-open nuking the selector state - Set more styles in the ThemeOverlay themes. - Refactored DarkActionBar to match the framework - Fix SearchView suggestions background pre-L BUG: 16826009 BUG: 16674772 Change-Id: Idbc16cfcd60448cdb9fc96acb147f7f56ef4137c
oolbar.java
|
a2c72b87007d10202c25e78e904938f770c6337d |
13-Aug-2014 |
Chris Banes <chrisbanes@google.com> |
Update appcompat internal to lmp-dev framework Not much of note. Change-Id: I607624d63506bd72ae6f1a080c35afbeb361b0b7
ctionMenuPresenter.java
ctionMenuView.java
istPopupWindow.java
oolbar.java
|
7fa6a00a4600aac591402398c23fea97721adf26 |
06-Aug-2014 |
Chris Banes <chrisbanes@google.com> |
Use ContextCompat.getDrawable(...) in appcompat Fixes NPE in RippleDrawable. Also fixed appcompat's ThemeOverlay styles on v21, as they led to cyclic attrs which resulted in empty colors. BUG: 16602748 Change-Id: I3dffbeff3f8280f816593af13bc3db666ed462fd
earchView.java
hareActionProvider.java
oolbar.java
|
61c0bbe56a13fe55ce91a5b1d64e751164ecb894 |
31-Jul-2014 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompat.DarkActionBar theme appcompat now uses a ThemeOverlay theme structure like the framework. BUG: 16674772 Change-Id: I25e4b98fdff5d8e959c95079ac73e7da7d69683c
oolbar.java
|
fc652f469994757b243ef66148c064973af196c7 |
31-Jul-2014 |
Ben Murdoch <benm@google.com> |
Fix JavaDoc. Change-Id: If0d7b585f83bf3ba858bf2ea8a3cb90c7354629e
oolbar.java
|
ebec8cacc3ebeea96b6c49890ee145d7e60cd7cd |
31-Jul-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Fix appcompat bugs. b/16491458 - performs the equivalent fix for appcompat. b/16688925 - return an ActionBar when setting it via Toolbar. Change-Id: I4dc7f929fa05d51e61b05afe0ae42d604aca3903
oolbar.java
|
6da3e2ee07ff8acd7de4ed810eafeb70a8d4027d |
25-Jul-2014 |
Chris Banes <chrisbanes@google.com> |
Fix javadoc errors We can't refer to internal attrs via the @attr feature. Decided to remove all @attrs as they're not really necessary for appcompat. Change-Id: I600045180bfd4578512844ff78f6d30a09f74feb
inearLayoutCompat.java
earchView.java
oolbar.java
|
1b01ce23fa533d467ca2ccbc65c980a59662aa8d |
24-Jul-2014 |
Chris Banes <chrisbanes@google.com> |
Update appcompat' SearchView to L Change-Id: Ie9856690048421b6f6a88a1d4cb0e9d247099e44
earchView.java
|
49c78900da0d43140fb602431fb93212bd7f6c70 |
15-Jul-2014 |
Chris Banes <chrisbanes@google.com> |
Update internal Action Bar implementation to L This CL brings all of the internal widgets and helpers for the Action Bar up to date with L. We now only use the unbundled ActionBar/ToolBar implementation. This is to ease integration and make styling simpler. Change-Id: I267c9ee90b5707d997910c57242e26130f2dbcf8
ctionMenuPresenter.java
ctionMenuView.java
inearLayoutCompat.java
istPopupWindow.java
opupMenu.java
oolbar.java
|
b933f9c89bbe890ff6753559b83c0ecf236472dd |
21-Mar-2014 |
Tor Norbye <tnorbye@google.com> |
Add tools metadata annotations to the appcompat library Change-Id: Ibe3076675d874ba05e57a0175706e41c3d801819
opupMenu.java
|
9dcd2e58138ca4eb4b18f80b50e8979329e859d6 |
17-Jul-2013 |
Scott Main <smain@google.com> |
javadoc edits for support library Change-Id: Ie8f228036dc9d33315430490a2e03e9c504ada71
earchView.java
hareActionProvider.java
|
2e21b5e22c320fd7e6af86a7cc05b4b11d7a0f64 |
11-Jun-2013 |
Chris Banes <chrisbanes@google.com> |
Fix ABC CollapsibleActionViews on ICS+ - Fix ActionBarCompat CollapsibleActionView callbacks not being propogated on ICS+. - Moved support version of CollapsibleActionView from internal to public package. - Fix IME not showing on SearchView when expanded Bug: 9382915 Change-Id: I17851985c014f8c56e4adaa225354a023d3177fa Signed-off-by: Chris Banes <chrisbanes@google.com>
earchView.java
|
e290ed32f85ff6307a53922a78684b31d30b8dc5 |
25-May-2013 |
Chris Banes <chrisbanes@google.com> |
Import ShareActionProvider for ActionBarCompat Bug: 8396964 Change-Id: I1c6121cbbc518b84feb312456096c57f34021d20 Signed-off-by: Chris Banes <chrisbanes@google.com>
hareActionProvider.java
|
07a07ce59efb770e9fb9ca53a0133e5e64a63bbc |
23-May-2013 |
Chris Banes <chrisbanes@google.com> |
Rename remaining resources to use abc_ prefix Bug: 9100364 Change-Id: I93332ecaf1e8d5234acf005e263c6c0309e6413f Signed-off-by: Chris Banes <chrisbanes@google.com>
earchView.java
|
818041428e0aca4943fe5adc0d54dad0d36a75f4 |
22-May-2013 |
Chris Banes <chrisbanes@google.com> |
Import of SearchView into AppCompat This commit imports SearchView into AppCompat: - Drawable size has increased to ~100KB - Removed the old SearchActionProvider Bug: 8396910 Change-Id: If4777c5058c6035b517439a5452edb41512ee569 Signed-off-by: Chris Banes <chrisbanes@google.com>
earchActionProvider.java
earchView.java
uggestionsAdapter.java
|
30837f1095c803f332f4a1c3f0917c8afdd50156 |
24-Apr-2013 |
Adam Powell <adamp@google.com> |
API changes for support action bar menus Refactor support action bar to use standard framework menu interfaces instead of additional interfaces. This simplifies the API and results in fewer disjoint callbacks which could make life difficult for library authors. SupportMenu/SupportMenuItem are now private implementation details of the support lib rather than interfaces used directly by app developers. Developers must use standard support shim *Compat classes to access new methods, and these shims are now aware of SupportMenu/SupportMenuItem and will do the right thing. Fix up a few other general issues and bugs. Change-Id: I833dce76485741b680bef84c1c0ed8d81ea57616
opupMenu.java
earchActionProvider.java
|
dbfc21aa98c4a1092204854b99830a50557aa969 |
08-Apr-2013 |
Chris Banes <chrisbanes@google.com> |
Add support version of PopupMenu to AppCompat This commit adds PopupMenu to AppCompat, along with the necessary styles. Change-Id: I9e546bb91a6c32196cdc4f77329957dd2e137326 Signed-off-by: Chris Banes <chrisbanes@google.com>
opupMenu.java
|
e6072e2d918169bd827cf7431347fb648124c227 |
21-Mar-2013 |
Jeff Brown <jeffbrown@google.com> |
Clean up action bar support library. Small initial refactoring. More to come. Added a SearchActionProvider to make it easy to embed SearchViewCompat within a support library action bar. Bug: 8175766 Change-Id: I4ddb16d8fce5d638a76027446128f7462c2095ce
earchActionProvider.java
|