summaryrefslogtreecommitdiff
path: root/samples/ApiDemos/src/com/example/android
Commit message (Collapse)AuthorAgeFilesLines
* Fix the buildJim Miller2015-02-251-1/+2
| | | | | | | | This API was hidden for MR1. Bug 19461292 Change-Id: Ib0a5ca536e843c91a142faeeccf684294aa3e274
* Have the MediaProjection sample use the callback.Michael Wright2014-11-211-3/+10
| | | | | Bug: 18393320 Change-Id: I482ed9cde5444d62a5486f4ca91e3dc6b441e673
* PduParser MSIM support (4/4)Ye Wen2014-11-183-9/+49
| | | | | | | | | | | | | PduParser needs to know if Content-Disposition part header is supported for a specific carrier. Originally this is loaded directly from system resource in PduParser. This won't work for multi-SIM, which requires getting that config based on carrier. This change adds parameter to indicate if this header is supported and requires caller to provider the config. b/18371228 Change-Id: I8a0a7ce91d1b9581fe5d4545fa954277a661751b
* Update TrustAgentService API after reviewJim Miller2014-11-031-10/+59
| | | | | | | | | | | Add test for DPM.setTrustAgentConfiguration() Also fixes bug where DPM flags were set in onPreferenceChanged() which happened before being set on the checkbox preference. Fixes bug 17008504 Change-Id: I165cd73d11c0a68ee6667cb1fd88892a39267903
* Merge "Send and download MMS via content provider instead of PDU bytes." ↵Cheuksan Wang2014-09-121-4/+5
|\ | | | | | | into lmp-dev
| * Send and download MMS via content provider instead of PDU bytes.Cheuksan Wang2014-09-091-4/+5
| | | | | | | | Change-Id: Ib5a93d07799c9e14fea8be820c6bd4bc7ae8be3a
* | Change getScreenCaptureIntent to createScreenCaptureIntent.Michael Wright2014-09-111-1/+2
| | | | | | | | | | Bug: 17389882 Change-Id: Icaccc6572f7fd5865f3013960bae196afa6d5dd5
* | Fix progress spinner dialog in ApiDemosAlan Viverette2014-09-091-15/+1
|/ | | | | BUG: 17446820 Change-Id: If6201e4483a5102d0f1567a36d1edf70392d5b8f
* Update alert dialogs in ApiDemos for Material themeAlan Viverette2014-09-071-32/+51
| | | | | BUG: 17415772 Change-Id: Ifc1de793458f678a3c40b734d5ab08b2eb382f7a
* Merge "API Review: change SharedElementListener to SharedElementCallback" ↵George Mount2014-09-051-3/+3
|\ | | | | | | into lmp-dev
| * API Review: change SharedElementListener to SharedElementCallbackGeorge Mount2014-09-041-3/+3
| | | | | | | | | | | | Bug 17289526 Change-Id: I5d28a77d870b83cc93483be23635bc669978cefc
* | MMS API cleanup (4/4)Ye Wen2014-09-041-1/+1
|/ | | | | | | | | | | | | | - Hide APIs not approved by API council (b/17189780) - Change configOverrides in MMS APIs from ContentValues to Bundle to be consistent (b/17390017) - Change SmsManager.MMS_EXTRA_DATA to EXTRA_MMS_DATA per API council review (b/17390977) b/17189780 b/17390017 b/17390977 Change-Id: Id9ae09ae4ef083186b93677ffabf5640c54aa99d
* Bug 17262099: MMS API changes (multi-project).Julian Odell2014-09-032-15/+168
| | | | | | | Change API demo to use new content provider based MMS API. Rebased and merged with TOT. Change-Id: Ia1b815f2904ccfc9962960369f85e1f2de830927
* Add device default light and dark dialogs to ApiDemosAlan Viverette2014-08-281-0/+44
| | | | Change-Id: I538c2cfb975828cd0e1e065d4cf5589e573307d5
* Merge "Revert "Add test options for DPM.setTrustAgentFeaturesEnabled()" ↵Jim Miller2014-08-271-58/+10
|\ | | | | | | until the new API is ready. This reverts commit d6df7362ab4b332a09d12358297056cfeadcaa11." into lmp-dev
| * Revert "Add test options for DPM.setTrustAgentFeaturesEnabled()" until the ↵Jim Miller2014-08-271-58/+10
| | | | | | | | | | | | | | | | new API is ready. This reverts commit d6df7362ab4b332a09d12358297056cfeadcaa11. Change-Id: Ie5c8e139450923374d235ea9d85f015b87851d06
* | Work on issue #17011123: Hit Back/Recents button when in Recents...Dianne Hackborn2014-08-214-1/+111
| | | | | | | | | | | | | | | | | | ...without interacting with any of the Recents items should not bring Home back to top Add API demo for nav bar navigation. Change-Id: I8b45f2bc0b554da19957ad723abe7cf4a14ee5a1
* | Merge "MMS API: ApiDemos demo app" into lmp-devTom Taylor2014-08-203-0/+494
|\ \ | |/ |/|
| * MMS API: ApiDemos demo appYe Wen2014-08-013-0/+494
| | | | | | | | | | | | b/14095333 Change-Id: Ieffbc559f636fe1c556221e23533d8ba5ac74cb6
* | Add test options for DPM.setTrustAgentFeaturesEnabled()Jim Miller2014-08-111-10/+58
| | | | | | | | | | | | | | Also fixes bug where DPM flags were set in onPreferenceChanged() which happened before being set on the checkbox preference. Change-Id: I5a43358d02830a22107f1239c596cc1bc67d11a1
* | Update samples to new MediaProjection APIs.Michael Wright2014-08-061-1/+3
| | | | | | | | Change-Id: Ic7422fd4770d7f272fcb92a7752f5f184c4f0c9c
* | Add MediaProjection samplesMichael Wright2014-08-051-0/+222
|/ | | | Change-Id: I630900bdcfecc7f1c57b406a0bae09a0e917124a
* Update Outline APIChris Craik2014-07-181-2/+1
| | | | Change-Id: Ia9a4ce9e50473f4c1ee46fe40506c6a9736043a7
* Add new "pin complex" type to supported keyguard PINsJim Miller2014-07-161-1/+7
| | | | | | | | | | This adds a feature to allow DevicePolicyAdmins to prevent using simple PINs, which are defined as those containing more than 3 repeated values. Examples include '1234', '2468', '1111', '9876', etc. Bug 12081139 Change-Id: I4c7ae51730c23ad8050e6216a62a8038d9c645a6
* Call setShader after setLocalMatrix.Leon Scroggins III2014-07-101-0/+1
| | | | | | | | After updating a Shader's Matrix, set the Shader on the Paint again, so it will take effect. BUG:14315916 Change-Id: Ibf732f7f417d2a52500fabf4d660be7fcfb59f43
* Revert "Revert "API Review: Change View viewName attribute to transitionName.""George Mount2014-06-231-1/+1
| | | | | | This reverts commit f4138cbcfc742dbe6e40ee054fbb52ebfebaa0ef. Change-Id: Id5531f7508b22cf0242a5bef063423d932eb104e
* Add Shadow demos to ApiDemosChris Craik2014-06-192-0/+390
| | | | | bug:15724818 Change-Id: I22e3faaee9bb1d46f9c9f16cac38069071e1fc0b
* Add navigation list to API DemosAlan Viverette2014-06-121-3/+17
| | | | Change-Id: Ib18bb6ce41b27049273add697a65c607442ee13f
* Add list navigation to API DemosAlan Viverette2014-06-121-9/+34
| | | | | BUG: 15566102 Change-Id: I4c1dd13d5ac5502d6d3f879ce916b09d81338940
* am 893d702d: Follow directory API changes.Jeff Sharkey2014-06-101-9/+9
|\ | | | | | | | | * commit '893d702d1207dcaa3bbcac45597fc3cc04b420ff': Follow directory API changes.
| * Follow directory API changes.Jeff Sharkey2014-06-091-9/+9
| | | | | | | | | | Bug: 15429194 Change-Id: Ib30c8c3697dbf883cdbaef5a839ddd9bc0a900d0
* | Merge "Fix sample device admin"Adrian Roos2014-05-231-7/+28
|\ \ | |/ |/|
| * Fix sample device adminAdrian Roos2014-05-221-7/+28
| | | | | | | | | | | | Changes to some checkboxes were only applied after changing another checkbox / stopping and resuming the activity. Change-Id: Idec3461e60786d97000402badcc3a66b1bf33a82
* | Example code to test renaming documents.Jeff Sharkey2014-05-211-0/+27
| | | | | | | | | | Bug: 12350110 Change-Id: I6be7bd1cd93b8c1c83f05496157534d879f2f223
* | Update activity transition API.George Mount2014-05-191-1/+1
|/ | | | Change-Id: Ic9f2ead3a6841ae7c11e38098aaf26a2b6e613fd
* New activity transition API.George Mount2014-05-152-6/+10
| | | | Change-Id: Icbf3533514a3216ab4b5a7146a8157535fbf1aa9
* Changed sharedElementName to viewName.George Mount2014-05-121-1/+1
| | | | | | Bug 14624181 Change-Id: Ia822e252030d94c0b73f41914656985656bc5efa
* Add test harness for new keyguard features:Jim Miller2014-04-251-1/+57
| | | | | | | | - disable all notifications on secure keyguard - disable unredacted notifications on secure keyguard - disable TrustAgents Change-Id: I864a103263996dcd491ff77f744bff8398af9cc8
* Add code to exercise DocumentsContract.Jeff Sharkey2014-04-221-0/+352
| | | | | | Also fix broken "atLeastKitKat" definition. Change-Id: I7c82ebb7b230ac66da3194412c845ff0c2b72f85
* Use new Quantum Paper Activity Transitions API.George Mount2014-04-172-57/+18
| | | | Change-Id: Ia487e02e8cb7a90bd14b0e09392eddac5c1a06ec
* Use framework Transition MoveImage and SlideGeorge Mount2014-04-075-662/+80
| | | | Change-Id: I3c55ee699288f1945ae0a23dfad2ae4fd9caa9a0
* Remove deprecated Gallery and ImageSwitcher from API DemosAlan Viverette2014-03-263-320/+0
| | | | Change-Id: Ib6b1f23a368d042674aabd01361f76df2a8e5280
* am f62824c6: am 9d563550: Merge "Align "from code" parent-child preference ↵Trevor Johns2014-03-121-7/+8
|\ | | | | | | | | | | | | flow with "from XML"" * commit 'f62824c658006c620be775ca82b74fcc6f82b59c': Align "from code" parent-child preference flow with "from XML"
| * am 9d563550: Merge "Align "from code" parent-child preference flow with ↵Trevor Johns2014-03-111-7/+8
| |\ | | | | | | | | | | | | | | | | | | "from XML"" * commit '9d5635501a9fdf2f9ef5b51a4be021622f2f9a67': Align "from code" parent-child preference flow with "from XML"
| | * Merge "Align "from code" parent-child preference flow with "from XML""Trevor Johns2014-03-111-7/+8
| | |\
| | | * Align "from code" parent-child preference flow with "from XML"Joseph Judistira2012-10-121-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add setDependency() call to make "from code" parent-child behavior matched the "from XML" one. Change-Id: I9e19a8bd16f69fb3101928831831103719a03a04 Signed-off-by: Joseph Judistira <joseph.judistira@gmail.com>
* | | | Temporarily taking over API Demos v19 for Quantum demosAlan Viverette2014-03-032-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | v19 has been moved to v99 until we have an API rev for L release. Change-Id: I864ef7962ce5be6f072bfe9866c9f93f12ea438e
* | | | Support changes in Scene Activity Transition API redo.George Mount2014-02-264-302/+250
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1b3da3748f21532684cec68bbf59eb412c053bab. Change-Id: I84fd15c154a404ed10971025b7bb33f58a344965
* | | | Revert "Support changes in Scene Activity Transition API."George Mount2014-02-264-247/+304
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8ad5ffb4618350715cfef346e553b2b0501840eb. Change-Id: I3277537f7cc6a033ea1fc2948529f96c1dbc30e8
* | | | Fix build breakage due to failed import.George Mount2014-02-261-3/+0
| | | | | | | | | | | | | | | | Change-Id: I626c44f30b1e899bdb230219b752511510c5bbb1