summaryrefslogtreecommitdiff
path: root/core/java/android/widget/SimpleAdapter.java
Commit message (Collapse)AuthorAgeFilesLines
* Use new UnsupportedAppUsage annotation.Artur Satayev2020-01-061-1/+1
| | | | | | | | Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv Change-Id: I41e12e425284e74561c6b61663241df364ae54a1
* Limit access to suspected false positives.Mathew Inwood2018-12-281-1/+2
| | | | | | | | | | | | | | | | | | | | | Members modified herein are suspected to be false positives: i.e. things that were added to the greylist in P, but subsequent data analysis suggests that they are not, in fact, used after all. Add a maxTargetSdk=P to these APIs. This is lower-risk that simply removing these things from the greylist, as none of out data sources are perfect nor complete. For APIs that are not supported yet by annotations, move them to hiddenapi-greylist-max-p.txt instead which has the same effect. Exempted-From-Owner-Approval: Automatic changes to the codebase affecting only @UnsupportedAppUsage annotations, themselves added without requiring owners approval earlier. Bug: 115609023 Test: m Change-Id: I020a9c09672ebcae64c5357abc4993e07e744687
* Add @UnsupportedAppUsage annotationsMathew Inwood2018-08-211-0/+2
| | | | | | | | | | | | | | | | For packages: android.widget This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: Ic61019b1df85448a158fc2ba55c326353222c6b9
* Minor fixes on Autofill Framework:Felipe Leme2017-04-241-3/+0
| | | | | | | | | | | | | | | | | | - Removed default implementation of onProvideAutofillVirtualStructure() that was using accessibility API (it's useless because without the View calling AutofillManager.notifyViewEntered(), it would never be triggered). - Fixed obsolete TODOs. - Removed obsolete service class name constant. - Removed unused debug constant. Test: CtsAutoFillServiceTestCases (on oc-dev) pass Test: manual verification (on oc-dev) Bug: 37078783 Bug: 33197203 Bug: 33802548 Bug: 35956626 Change-Id: I834d34b8af8bf0d781dc7e0ffcd6e600bfa2d183
* Moved getAutofillOptions() logic from SpinnerAbs to AdapterView and Adapter.Felipe Leme2017-04-181-0/+3
| | | | | | | | Fixes: 37330022 Test: CtsAutoFillServiceTestCases pass Test: manual verification using app from bug 37327881 Change-Id: I66260131c7ef0d5b3c2b20514f29efd5eb10057e
* Fix import statements in android.widget package.Aurimas Liutikas2016-10-111-9/+9
| | | | | | | Additionally this CL removes spaces at the end of the line. Test: code still compiles. Change-Id: I1ce98b4e70aa3ae614f87966c3bc6181fa4389a4
* Fix drop down layout inflation in ThemedSpinnerAdapter classesAlan Viverette2015-06-031-3/+4
| | | | | Bug: 21209640 Change-Id: I32aed1b70977fae25f43714eb3ef6edca53e51e9
* API review feedback for ThemedSpinnerAdapter, SpinnerAlan Viverette2015-06-021-1/+1
| | | | | | | | | | | | Moves themed interface out of Spinner and extends SpinnerAdapter, updates Spinner constructor to take a Theme rather than a Context. Does NOT change BaseAdapter to implement ThemedSpinnerAdapter, because the BaseAdapter class does not have any notion of layout inflation and that would break the contract implied by ThemedSpinnerAdapter. Bug: 21571899 Change-Id: Id7e8d630458857ce6c93a6a8b8f920e169ee1152
* Add resource type annotations to some APIsTor Norbye2015-03-131-1/+3
| | | | Change-Id: I37c8afdaea455aa92bc8270bb2dfd60616c5f9bc
* Add popup theme for Spinner, use for actionBarPopupTheme defaultAlan Viverette2015-01-141-11/+44
| | | | | | | | Also adds methods for setting the context used to inflate drop-down views in several adapters. Bug: 17625714 Change-Id: Id267afa4901c1d46ceb3bc3b10fc642cea1799fe
* Fix obvious typos under frameworks/base/coreKen Wakasa2012-03-091-1/+1
| | | | Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
* Correctly bind spinner data to TextView.Romain Guy2010-03-231-0/+4
| | | | | | | | | Bug http://code.google.com/p/android/issues/detail?id=7251 Previously, a spinner using checkable list items would try to bind data as booleans instead of text. This change takes this use case into account. Change-Id: Ie4ced01e3c0235138e1dd68426d6a748c2843a9c
* Plug memory leak in Simple*Adapter, due to the misuse of a WeakHashMap.Romain Guy2010-01-041-15/+3
| | | | | This removes an optimization but the benefit is not worth the memory leak. Bug: #2353474.
* Fixes regression introduced in Cupcake: a couple of adapters were using ↵Romain Guy2009-05-061-2/+4
| | | | setTag() to store their own data, which could interfere with the use of setTag() made by the applications. The fix is quite simple an rely on a WeakHashMap to store the holders within the adapters; using the Views as the keys of the map.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+393
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-393/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-7/+20
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-5/+19
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+366