summaryrefslogtreecommitdiff
path: root/core/java/android/preference/SeekBarPreference.java
Commit message (Collapse)AuthorAgeFilesLines
* Add maxTargetSdk restriction to unused APIs.Mathew Inwood2020-10-291-1/+2
| | | | | | | | | | | | | | | | | | | These are APIs that have @UnsupportedAppUsage but for which we don't have any evidence of them currently being used, so should be safe to remove from the unsupported list. This is a resubmit of ag/12929664 with some APIs excluded that caused test failures; see bugs 171886397, 171888296, 171864568. APIs excluded: Landroid/bluetooth/le/ScanRecord;->parseFromBytes([B)Landroid/bluetooth/le/ScanRecord; Landroid/os/Process;->myPpid()I Landroid/os/SharedMemory;->getFd()I Landroid/hardware/input/InputManager;->INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH:I Bug: 170729553 Test: Treehugger Change-Id: I8285daa8530260251ecad6f3f38f98e263629ca7
* Revert "Add maxTargetSdk restriction to unused APIs."Hongwei Wang2020-10-281-2/+1
| | | | | | | | | This reverts commit 72f07d6a8a32db4a0dedd7682a0b3385be2b9cd6. Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?testMethod=testAppZygotePreload&testClass=android.app.cts.ServiceTest&atpConfigName=suite%2Ftest-mapping-presubmit-retry_cloud-tf&testModule=CtsAppTestCases&fkbb=6936597&lkbb=6936969&lkgb=6936551&testResults=true&branch=git_master&target=cf_x86_phone-userdebug>, bug b/171886397 Bug: 171886397 Change-Id: Ibe0f0430a3451477c1ee8ef56a596e91ea1e7672
* Add maxTargetSdk restriction to unused APIs.Mathew Inwood2020-10-271-1/+2
| | | | | | | | | | These are APIs that have @UnsupportedAppUsage but for which we don't have any evidence of them currently being used, so should be safe to remove from the unsupported list. Bug: 170729553 Test: Treehugger Change-Id: I4c8fd0006f950de9955242e93968fb0996ceb372
* Use new UnsupportedAppUsage annotation.Artur Satayev2019-12-181-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: I534e3fd1305e2f4af076986770033478448a665c
* All Parcelable CREATOR fields are @NonNull.Jeff Sharkey2019-02-281-1/+1
| | | | | | | | | If they were null, then the Parcelable would fail to work. Bug: 126726802 Test: manual Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014 Exempt-From-Owner-Approval: Trivial API annotations
* Deprecates framework Preference classesLouis Pullen-Freilich2018-11-191-0/+7
| | | | | | | | | The AndroidX Preference Library is the recommended way to build settings screens moving forward. Bug: b/114357488 Test: n/a Change-Id: I3b3bff2daf43d8239d8bf247a9c2acebbc6374eb
* Add @UnsupportedAppUsage annotationsMathew Inwood2018-08-171-0/+4
| | | | | | | | | | | | | | | | For packages: android.preference 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: I31a80552a66554d876edd01950df368c31239c2b
* Merge "fix SeekBarPreference support for summaries"Daniel Micay2016-03-101-5/+0
|\ | | | | | | | | | | | | am: 06ce16a54c * commit '06ce16a54c971e922d9e34cc5a57f012614db20f': fix SeekBarPreference support for summaries
| * fix SeekBarPreference support for summariesDaniel Micay2016-03-091-5/+0
| | | | | | | | | | | | | | | | Overriding getSummary breaks support for summaries even though it's supported in the layout for SeekBarPreference. If there's no summary the return value is already null in the inherited implementation. Change-Id: I2e72ea3c4a624acbf200e9617173eb072572fa57
* | Forward SeekBarPreference key events to seekBar viewToni Barzic2015-09-301-11/+8
|/ | | | | | | | | | | This is to ensure that seek bar progress gets properly updated, and that progress changes reported by the seek bar are marked as coming from user. BUG=24416333 BUG=20049245 Change-Id: I0a48c8eae1528937024ca54720cac91c7d21b0b9
* Fix SeekBarPreference ThemingFabrice Di Meglio2014-06-161-3/+11
| | | | | | | | | | | | - make the layout a Theme attribute and use it - make a specific Material version of the layout for matching what we have in the Settings App See bug: #15414236 Define a framework theme for system settings and #15384992 Setting Dashboard - padding updates Change-Id: I69c90523fab112fecf26d89de8fc35dd62430c06
* Add View constructor that supplies a default style resourceAlan Viverette2013-09-091-4/+9
| | | | | | | Also updates the constructor of every class that extends View. BUG: 10676369 Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
* Implement SeekBarPreference.onGetDefaultValueJohn Reck2011-07-151-0/+5
| | | | | | Bug: 5036325 Change-Id: I1db0ed3809b862a547e5fda40027852f8b46aa38
* Inline SeekBarPreferenceJohn Reck2011-06-161-27/+202
| | | | | | | Dialog-based SeekBarPreference renamed to SeekBarDialogPreference New inline SeekBarPreference added Change-Id: I7a5d8f7aa554c4af4086a9bcc74cf07879c8523c
* Fix 3419077: Allow subclasses to change SeekBarPreference action buttons.Jim Miller2011-02-031-5/+10
| | | | Change-Id: I2c624c3693fe06d9d3db3c203c7d4fc7a80b79d9
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+62
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-62/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+62