Alan Viverette
6adc4266c8
Material theme
...
BUG: 15467097
Change-Id: Icea9710a8733a0c79c114a56faa61db99b9723bd
2014-06-06 15:25:30 -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
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
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
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
d219b22e53
Add PathAnimations ApiDemos.
...
Change-Id: I9b064032cd503450ba6d8c93453a4ab6c2163686
2013-12-13 22:31:50 +00: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
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
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
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
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
438ea813f1
Add Consumer IR ApiDemo
...
Change-Id: I4eb27b2ba6a46c27962eaa5e09d3e65939b64c0a
2013-09-10 21:07:58 -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
Alan Viverette
b468ddad5d
Merge "Remove AccessibilityNodeProvider sample code."
2013-08-02 20:14:24 +00:00
Dianne Hackborn
b3e4bab48d
Add new Intent demos.
...
Change-Id: Iad47cca8c3fc5ccd184e07e95c9c13877f1d4ff0
2013-07-31 16:38:48 -07:00
Elliott Hughes
c8d1c9576b
am 532fc970: am 34a5e96b: am 070228fa: Merge "Extend the TimePickerDialog test to cover 12- and 24-hour clocks."
...
* commit '532fc97091883b5f04fd746f5bfbb8f9ad12fa15':
Extend the TimePickerDialog test to cover 12- and 24-hour clocks.
2013-06-13 10:43:47 -07:00
Elliott Hughes
34a5e96b21
am 070228fa: Merge "Extend the TimePickerDialog test to cover 12- and 24-hour clocks."
...
* commit '070228fa263678b906d845039a314f2ec45f52e0':
Extend the TimePickerDialog test to cover 12- and 24-hour clocks.
2013-06-13 10:21:35 -07:00
Elliott Hughes
94c272bf79
Extend the TimePickerDialog test to cover 12- and 24-hour clocks.
...
Used to test https://android-review.googlesource.com/54121 .
Change-Id: Ibf8418f21a7c242aac27c7e05b4990149c8305b3
2013-06-05 16:16:04 -07:00
Alan Viverette
4e8b0858c8
Remove AccessibilityNodeProvider sample code.
...
This code has been superseded by the ExploreByTouchHelper class in the
support-v4 library.
Change-Id: I3ff499e3c5f404c9252d967d1a3cb4ff999dfdfb
2013-05-29 17:20:12 -07:00
Dianne Hackborn
f25ca509d5
New API demo for UndoManager.
...
Change-Id: Ic49211c771db275f27ceefa5372b005a357fce21
2013-05-07 15:05:15 -07:00
Kenny Root
f59ea3b54e
Add Android KeyStore API demo
...
Adds a sample application which uses the AndroidKeyStore and
KeyPairGenerator for AndroidKeyStore.
Bug: 8608817
Change-Id: Iec78a74461dc259e4080ed1fab7d923593fcdf75
2013-04-19 11:50:06 -07:00
Dianne Hackborn
2f5f3c1d63
Merge "Issue #7341342 API request: way to determine current orientation..." into jb-mr2-dev
2013-04-12 00:08:39 +00:00
Dianne Hackborn
904e05075d
Issue #7341342 API request: way to determine current orientation...
...
...to allow for orientation locking
Update API demo with new modes.
Change-Id: Ib9da3ada203407bace0968f4ee3db54f03ad559b
2013-04-10 17:36:20 -07:00
Jaikumar Ganesh
8a0799f2d6
Add Trigger Sensor API Demo.
...
Add sensor API demo for significant motion sensor.
Change-Id: Ie1a006523e4ef579384a580ddb117188a455dadf
2013-04-10 17:13:06 -07:00
Chiao Cheng
0a010aef7f
Adding example of querying for contact changes.
...
Bug: 8182147
Change-Id: I40a2b95b9e6ac0705b863e0e41f84654dfddaf5c
2013-04-08 14:52:16 -07:00
Elliott Hughes
16617b1712
am 48f4a1f8: am 8c4c7b6a: Merge "Use H rather than k in date/time formats."
...
* commit '48f4a1f86e59c97a0a67d520ff0daa3726e2f62b':
Use H rather than k in date/time formats.
2013-03-20 09:52:38 -07:00
Elliott Hughes
da6181c891
Use H rather than k in date/time formats.
...
Bug: 8359981
Change-Id: Ica1741aafc801d017252f74189aca0946bed9a0f
2013-03-18 16:29:12 -07:00
Jaikumar Ganesh
a54d53a656
Revert "Add Trigger Sensor API Demo."
...
This reverts commit 50435d3e6f .
2013-03-13 14:58:01 -07:00
Jaikumar Ganesh
50435d3e6f
Add Trigger Sensor API Demo.
...
Add sensor API demo for significant motion sensor.
Change-Id: I9d55fef52bdda2b804003bb07d6d977f13cda5b0
2013-03-12 14:13:21 -07:00
Dianne Hackborn
654f51aa29
Add API demo for a custom layout.
...
This serves as a complete, formal layout, with attributes
and all that good stuff. Intended for use as sample code
in the java docs.
Change-Id: Ic45b9387d724bf574e2bfb8970b26c7b47fc0a2b
2013-03-06 13:46:42 -08:00
Dianne Hackborn
3de0bf970a
Add API demo for WindowInputToken.
...
Change-Id: I2c1521caa30545411f34e57ad2f5eceb16c0b2b1
2013-03-04 18:47:42 -08:00
Dianne Hackborn
a28de3ba59
Add new action bar demos:
...
- Buttons for showing/hiding action bar and system UI
in the basic action bar demo.
- New system UI demo that uses a non-overlay action bar.
Change-Id: Id3fbaa77365476489c558a2a43855a01f383551c
2013-02-27 18:32:21 -08:00
Craig Mautner
92a74bf534
Merge "Add demo for rotation animation." into jb-mr2-dev
2013-02-26 15:32:03 +00:00
Craig Mautner
d540e6e0b7
Add demo for rotation animation.
...
New feature in App/Activity/Rotation Animation for overriding
default rotation animation with crossfade or jumpcut.
Change-Id: I3cb3cdb26770e6c7d040f4492eb02149af73b757
2013-02-25 18:21:56 -08:00
Dianne Hackborn
168241ee8e
Clean up of system UI flag demo, doc markup for overscan demo.
...
Change-Id: Iaef99a4c1aeebbd327bcbc42b27d20c8065f8d27
2013-02-25 16:48:06 -08:00
Dianne Hackborn
8227c14902
New overscan API demos.
...
A new flag on the system UI demo (which needs to be renamed),
and a new pure overscan demo.
Change-Id: I88a7a309147aaad773bbc00971a01369f4658b61
2013-02-22 15:20:55 -08:00
Dianne Hackborn
1ee9d5ec61
Add option to toggle the new overscan mode.
...
Change-Id: I552a1c8b36650c558fe6f4e3e1a9e40137d7274f
2013-02-19 12:05:17 -08:00
Romain Guy
47e30d714f
Update TextClock sample code
...
The update sample shows how to use custom fonts, color names and
color resources.
Change-Id: I4b7929dde2611de3aef7a2e4a0853187bf223f43
2012-11-27 12:04:16 -08:00
Marco Nelissen
3cab67467e
Add video for VideoView demo
...
Add one of the CTS test videos so the demo works out of the box, and
make the video fill the screen instead of hardcoding it to a tiny size.
Change-Id: Ie26a4ae0e186fe966d0679b088492a0c7d035713
2012-11-09 14:46:52 -08:00