Commit Graph

684 Commits

Author SHA1 Message Date
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
George Mount
69ac8ef1c4 Add new sample transition XML.
Change-Id: Iab0dc6f1533a2d841ff3edbda24535ba17184c7c
2014-04-29 13:46:56 -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
Alan Viverette
c69dbd9404 Update ApiDemos to use API 20, default theme
Change-Id: I74f47722093bb2dd72b506603afcd5c300d53431
2014-04-08 15:31:33 -07:00
Alan Viverette
b020f1cbf5 Fix numbering in API Demos
Change-Id: Ia2983f96c3cd1b48bac9941465adf39989536794
2014-04-07 16:22:44 -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
Alan Viverette
f37ac8560a Clean up DeviceDefault style in API Demos
Change-Id: I00b638cb99ef55accfc900758b8445765c8e6d69
2014-03-26 12:23:07 -07:00
George Mount
016fbf2c60 Undo inadvertent change to Transitions API demo.
Change-Id: Ib986f1dd560291896c5e5619c7af9947ee4efaf1
2014-03-13 10:27:03 -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
Svetoslav Ganov
d89fa640d0 am a12747bc: am 7c833d71: Merge "Update the print from off-screen WebView sample" into klp-dev
* commit 'a12747bca5bc980d9844022dbf860d6b95be9b6a':
  Update the print from off-screen WebView sample
2013-10-30 19:02:02 -07:00
Svetoslav Ganov
b356564db1 Update the print from off-screen WebView sample
To print we create an off-screen WebView but do not destroy it
immeidately after printing. WebViews are somehow expensive and
we do not want to keep them around more than needed.

Change-Id: Ic9c78994e0c96d4d08c0e318c459acddd2e5a652
2013-10-30 18:51:49 -07:00
Svetoslav Ganov
f9c86a50ff am c100e53e: am 79efac6b: Merge "Add print samples to the ApiDemos app." into klp-dev
* commit 'c100e53e42f8f4fbbd09cf5d5a7db83bb7cd48cd':
  Add print samples to the ApiDemos app.
2013-10-30 14:11:36 -07:00
Svetoslav Ganov
42c6250c9d Add print samples to the ApiDemos app.
1. Added a sample for printing a bitmap.

2. Added a sample for printing an on-screen WebView.

3. Added s sample for printing an off-screen WebView.

4. Fixed a bug in the custom layout print sample.

Change-Id: I35b2bbf8c7fd9bc39be795b1f793d9ea7bdfc8a0
2013-10-30 12:12:55 -07:00
Svetoslav
659b59aba9 am 22af8556: am 40bea547: Merge "Adding an API demo for how to implement printing in an app." into klp-dev
* commit '22af8556df8d0c40126e3e693c0171c8bf7770d4':
  Adding an API demo for how to implement printing in an app.
2013-10-29 23:45:44 -07:00
Svetoslav
0b73e61c6c Adding an API demo for how to implement printing in an app.
This is a very comprehensive code sample in which:

1. Layout based on the selected print options is performed.
2. Layout work is performed only if print options change would change the content.
3. Layout result is properly reported.
4. Only requested pages are written.
5. Write result is properly reported.
6. Both Layout and write respond to cancellation.
7. Layout and render of views is demonstrated.

Change-Id: I0179b025b286f0a511cb2268da18c729c66874ba
2013-10-29 22:59:03 -07:00
Chet Haase
a1a8337f3a am f02d4487: am 9262e703: Merge "Fix ApiDemo for transitions" into klp-dev
* commit 'f02d44877aabc1c7bf5840c46c713fa82bb55477':
  Fix ApiDemo for transitions
2013-10-23 11:08:21 -07:00
Chet Haase
69ae34b2b9 Fix ApiDemo for transitions
The demo used an obsolete/wrong tag name for TransitionSet
(set, instead of the correct transitionSet). This caused the demo
to crash at runtime and to produce incorrect example docs in the
Transition reference pages.

Issue #11346546 Transition ApiDemo crashes

Change-Id: I12142870ac4f7412e5809b9cdad3ca3015449d77
2013-10-23 07:14:03 -07:00
Dianne Hackborn
f554d32aa6 am e0dce67f: am dbe4e751: New system UI API demos.
* commit 'e0dce67f030a9566e1111082392d8cd0d0e47802':
  New system UI API demos.
2013-10-14 10:51:54 -07:00
Dianne Hackborn
dbe4e751b7 New system UI API demos.
- Content browser that hides nav bar.
- Translucent bars.
- All the new flags on the direct system UI tweaker example.

Change-Id: I16fc8da252174db1ed45b0f60c37d6cbb8d7f13c
2013-10-11 16:17:58 -07:00
Erik Gilling
aeac590137 am 1c415cbb: am 438ea813: Add Consumer IR ApiDemo
* commit '1c415cbb54621f5e86dfc8364a29eaf9e35c67b5':
  Add Consumer IR ApiDemo
2013-09-11 17:22:57 -07:00
Erik Gilling
438ea813f1 Add Consumer IR ApiDemo
Change-Id: I4eb27b2ba6a46c27962eaa5e09d3e65939b64c0a
2013-09-10 21:07:58 -07:00
Alex Ray
e80479394d Merge "Remove broken os.Sensors demo" 2013-09-10 06:28:46 +00:00
Chet Haase
f3dbdc66d7 Minor fixes to animation ApiDemos
Many of the original animation demos still had hardwareAccelerated="false"
in their activity tag. This was originally necessary due to the state of the
hw renderer in 3.0, but is no longer necessary.

Also, added documentation to the new Transitions demo.

Issue #7902583 Update animation ApiDemos to use hw acceleration

Change-Id: I7add3acc10d8fa36648e1869a3ec91088b2e199d
2013-09-05 12:57:33 -07:00
Alex Ray
78b50d1aa3 Remove broken os.Sensors demo
Change-Id: I379925051521e615f057d1f81ecffddb95be7899
2013-09-05 02:14:30 -07:00
Dianne Hackborn
0a98bfeda6 Fix build -- undo manager not yet public.
Change-Id: I2d1d59e27b1bbe499421aa2312d8220d12ba18fb
2013-09-04 19:04:56 -07:00
Chet Haase
ea3e7cdb90 New demo for transitions feature
New demo in ApiDemos: animations/Simple Transitions

Issue #10460684 KLP API Review: android.view.transition and android.animation

Change-Id: I2c376343c2b945240bc5f3619786e9354a8c1a10
2013-09-04 14:20:20 -07:00