Commit Graph

598 Commits

Author SHA1 Message Date
Alan Viverette
fe3ba7fbc9 Add device default light and dark dialogs to ApiDemos
Change-Id: I538c2cfb975828cd0e1e065d4cf5589e573307d5
2014-08-28 16:39:27 -07:00
Jim Miller
b52c7ae862 Merge "Revert "Add test options for DPM.setTrustAgentFeaturesEnabled()" until the new API is ready. This reverts commit d6df7362ab4b332a09d12358297056cfeadcaa11." into lmp-dev 2014-08-27 21:26:14 +00:00
Jim Miller
ac48e8f5e3 Revert "Add test options for DPM.setTrustAgentFeaturesEnabled()" until the new API is ready.
This reverts commit d6df7362ab.

Change-Id: Ie5c8e139450923374d235ea9d85f015b87851d06
2014-08-27 21:25:16 +00:00
Dianne Hackborn
9f744759d1 Work on issue #17011123: Hit Back/Recents button when in Recents...
...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
2014-08-21 17:58:05 -07:00
Tom Taylor
f1c2891a00 Merge "MMS API: ApiDemos demo app" into lmp-dev 2014-08-20 18:43:12 +00:00
Jim Miller
d6df7362ab Add test options for DPM.setTrustAgentFeaturesEnabled()
Also fixes bug where DPM flags were set in onPreferenceChanged()
which happened before being set on the checkbox preference.

Change-Id: I5a43358d02830a22107f1239c596cc1bc67d11a1
2014-08-11 17:43:27 -07:00
Michael Wright
bf1e26281d Update samples to new MediaProjection APIs.
Change-Id: Ic7422fd4770d7f272fcb92a7752f5f184c4f0c9c
2014-08-06 20:07:12 -07:00
Michael Wright
d17804f530 Add MediaProjection samples
Change-Id: I630900bdcfecc7f1c57b406a0bae09a0e917124a
2014-08-05 19:59:01 +00:00
Ye Wen
69291d63e4 MMS API: ApiDemos demo app
b/14095333

Change-Id: Ieffbc559f636fe1c556221e23533d8ba5ac74cb6
2014-08-01 13:46:19 -07:00
Chris Craik
644678f99b Update Outline API
Change-Id: Ia9a4ce9e50473f4c1ee46fe40506c6a9736043a7
2014-07-18 15:26:29 -07:00
Jim Miller
94a862f010 Add new "pin complex" type to supported keyguard PINs
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
2014-07-16 23:49:23 +00:00
Leon Scroggins III
c7095947cb Call setShader after setLocalMatrix.
After updating a Shader's Matrix, set the Shader on the Paint again,
so it will take effect.

BUG:14315916
Change-Id: Ibf732f7f417d2a52500fabf4d660be7fcfb59f43
2014-07-10 14:10:43 -04:00
George Mount
c580adec26 Revert "Revert "API Review: Change View viewName attribute to transitionName.""
This reverts commit f4138cbcfc.

Change-Id: Id5531f7508b22cf0242a5bef063423d932eb104e
2014-06-23 08:18:46 -07:00
Chris Craik
7007035ef1 Add Shadow demos to ApiDemos
bug:15724818
Change-Id: I22e3faaee9bb1d46f9c9f16cac38069071e1fc0b
2014-06-19 11:06:28 -07:00
Alan Viverette
a9cb62536b Add navigation list to API Demos
Change-Id: Ib18bb6ce41b27049273add697a65c607442ee13f
2014-06-12 18:13:42 -07:00
Alan Viverette
6fcf326d1a Add list navigation to API Demos
BUG: 15566102
Change-Id: I4c1dd13d5ac5502d6d3f879ce916b09d81338940
2014-06-12 12:56:36 -07:00
Jeff Sharkey
49e67f2a61 am 893d702d: Follow directory API changes.
* commit '893d702d1207dcaa3bbcac45597fc3cc04b420ff':
  Follow directory API changes.
2014-06-10 14:55:36 +00:00
Jeff Sharkey
893d702d12 Follow directory API changes.
Bug: 15429194
Change-Id: Ib30c8c3697dbf883cdbaef5a839ddd9bc0a900d0
2014-06-09 16:48:32 -07:00
Adrian Roos
dded89c1be Merge "Fix sample device admin" 2014-05-23 10:27:07 +00:00
Adrian Roos
212e67253b Fix sample device admin
Changes to some checkboxes were only applied
after changing another checkbox / stopping and resuming the activity.

Change-Id: Idec3461e60786d97000402badcc3a66b1bf33a82
2014-05-22 20:05:20 +00:00
Jeff Sharkey
5214072d6c Example code to test renaming documents.
Bug: 12350110
Change-Id: I6be7bd1cd93b8c1c83f05496157534d879f2f223
2014-05-21 22:25:18 -07:00
George Mount
6ccc20a0aa Update activity transition API.
Change-Id: Ic9f2ead3a6841ae7c11e38098aaf26a2b6e613fd
2014-05-19 16:26:25 -07:00
George Mount
e6c46f8f23 New activity transition API.
Change-Id: Icbf3533514a3216ab4b5a7146a8157535fbf1aa9
2014-05-15 07:20:52 -07:00
George Mount
fb8e37e754 Changed sharedElementName to viewName.
Bug 14624181

Change-Id: Ia822e252030d94c0b73f41914656985656bc5efa
2014-05-12 11:50:35 -07:00
Jim Miller
1d8e0796c5 Add test harness for new keyguard features:
- disable all notifications on secure keyguard
- disable unredacted notifications on secure keyguard
- disable TrustAgents

Change-Id: I864a103263996dcd491ff77f744bff8398af9cc8
2014-04-25 15:28:28 -07:00
Jeff Sharkey
4c4580e5f6 Add code to exercise DocumentsContract.
Also fix broken "atLeastKitKat" definition.

Change-Id: I7c82ebb7b230ac66da3194412c845ff0c2b72f85
2014-04-22 22:03:37 -07:00
George Mount
f93d490356 Use new Quantum Paper Activity Transitions API.
Change-Id: Ia487e02e8cb7a90bd14b0e09392eddac5c1a06ec
2014-04-17 08:56:09 -07:00
George Mount
b3059f8744 Use framework Transition MoveImage and Slide
Change-Id: I3c55ee699288f1945ae0a23dfad2ae4fd9caa9a0
2014-04-07 09:13:55 -07:00
Alan Viverette
f210b1e37f Remove deprecated Gallery and ImageSwitcher from API Demos
Change-Id: Ib6b1f23a368d042674aabd01361f76df2a8e5280
2014-03-26 14:13:36 -07:00
Trevor Johns
d43bf2c371 am f62824c6: am 9d563550: Merge "Align "from code" parent-child preference flow with "from XML""
* commit 'f62824c658006c620be775ca82b74fcc6f82b59c':
  Align "from code" parent-child preference flow with "from XML"
2014-03-12 19:56:45 +00:00
Trevor Johns
f62824c658 am 9d563550: Merge "Align "from code" parent-child preference flow with "from XML""
* commit '9d5635501a9fdf2f9ef5b51a4be021622f2f9a67':
  Align "from code" parent-child preference flow with "from XML"
2014-03-11 23:22:56 +00:00
Trevor Johns
9d5635501a Merge "Align "from code" parent-child preference flow with "from XML"" 2014-03-11 19:52:17 +00:00
Alan Viverette
2178063c52 Temporarily taking over API Demos v19 for Quantum demos
v19 has been moved to v99 until we have an API rev for L release.

Change-Id: I864ef7962ce5be6f072bfe9866c9f93f12ea438e
2014-03-03 14:08:19 -08:00
George Mount
4769ecc773 Support changes in Scene Activity Transition API redo.
This reverts commit 1b3da3748f.

Change-Id: I84fd15c154a404ed10971025b7bb33f58a344965
2014-02-26 15:32:10 -08:00
George Mount
1b3da3748f Revert "Support changes in Scene Activity Transition API."
This reverts commit 8ad5ffb461.

Change-Id: I3277537f7cc6a033ea1fc2948529f96c1dbc30e8
2014-02-26 08:52:12 -08:00
George Mount
c27968847d Fix build breakage due to failed import.
Change-Id: I626c44f30b1e899bdb230219b752511510c5bbb1
2014-02-26 07:54:22 -08:00
George Mount
8ad5ffb461 Support changes in Scene Activity Transition API.
Change-Id: Ia19b7def404f32ea5f68d2fece04dcd5ce615a42
2014-02-25 11:12:26 -08:00
George Mount
77dfe829d1 Cross-Activity Scene transitions API demo.
Change-Id: Icd644902b61ca2f03f21045bfad3a758075fb7cc
2014-02-04 15:53:02 -08:00
George Mount
bfe084a225 Revert "Add Trim Path API demo."
Bug 12489442

This reverts commit fad0b21946.

Change-Id: I527d0927bf891fc9570e860c158a352e1767474c
2014-01-31 07:23:11 -08:00
George Mount
ca2b0f8c62 Merge "Add PathAnimations ApiDemos." 2014-01-31 15:21:10 +00:00
Chet Haase
a6e59a9d7f Add controls demo with default theme
Change-Id: I95cd31cd93e77b17aa2bcacf6e6140aaba719217
2014-01-28 14:13:31 -08:00
Tor Norbye
09ace69a89 Remove Nullable annotation
The one in the framework is being hidden; for app usage we're
adding one in the support library.

Change-Id: I5612579b4d282e78d592d36bd35d51d28cf82b37
2013-12-17 19:43:59 -08:00
George Mount
d219b22e53 Add PathAnimations ApiDemos.
Change-Id: I9b064032cd503450ba6d8c93453a4ab6c2163686
2013-12-13 22:31:50 +00:00
George Mount
fad0b21946 Add Trim Path API demo.
Change-Id: I1183413cf5a788950fdde52c26ddf737af921c5c
2013-12-10 07:50:42 -08:00
Dianne Hackborn
49ead05468 am 1437d2c3: am 59e6f5d9: am 18159037: Add API demo for game style system UI interaction.
* commit '1437d2c372f4d88c4f6c5aabfa460ce8fefa3299':
  Add API demo for game style system UI interaction.
2013-12-05 18:19:41 +00:00
Dianne Hackborn
59e6f5d9c9 am 18159037: Add API demo for game style system UI interaction.
* commit '18159037a4f6a6b539736f6b8c0bdab4d26e3bd7':
  Add API demo for game style system UI interaction.
2013-12-05 10:08:56 -08:00
Dianne Hackborn
18159037a4 Add API demo for game style system UI interaction.
Shows the ideal way for a game to interact with system UI, hiding
the status bar and nav bar while being played, making them visible
when paused or otherwise interacting with controls of the game,
and determing layout of game controls to not be covered by the
status bar or nav bar.

Change-Id: Ia192c31321113d81f96c06c7a69a06ef72c4682a
2013-12-04 16:10:30 -08:00
Katie McCormick
338417d10b am 4afb47eb: am b652393d: am b3017f4d: Sample code: bug fix
* commit '4afb47eb21efb6e299cdf907b9cef47937c6fdd7':
  Sample code: bug fix
2013-11-27 10:47:56 -08:00
Katie McCormick
b652393dd5 am b3017f4d: Sample code: bug fix
* commit 'b3017f4d2321dda48811b09813761cc53df6b893':
  Sample code: bug fix
2013-11-26 20:16:58 +00:00
Katie McCormick
b3017f4d23 Sample code: bug fix
Fix for:

b/6535950

Change-Id: I8f03a2e70c72dd68b4d183a54351ad09b23b83c4
2013-11-26 11:15:49 -08:00