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
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
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
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
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
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
Philip Milne
888ac28d79
Fixes to GridLayout demos.
...
Include a GridLayout version of the "Simple Form" example provided in the
LinearLayout and RelativeLayout demos.
Make the existing Form demo work on all devices and orientations
(it was previously too wide for portrait mode).
Change-Id: Ia01d49230bc3ef3d2e70bc34e936c8b4b421b796
2012-11-01 13:16:37 -07:00
Romain Guy
a161dd2994
Add sample code for the new widget android.widget.TextClock
...
Change-Id: I0b65fcc35db8d9f15d9b7c4ada0658d806a601b8
2012-10-31 20:35:07 -07:00
Jeff Brown
66dc70ff47
Add a demo for using Presentations with the MediaRouter.
...
Improved the documentation and robustness of the samples.
Modified the existing Presentation sample to use the new
DisplayManager API for querying displays that support a
particular category of uses.
Bug: 7409073
Change-Id: I2a19afa373c408c2bcbaa633370480b717630088
2012-10-25 20:14:32 -07:00
Jeff Brown
c875f9321a
Add ApiDemos for secure surfaces.
...
Added three ApiDemos for secure surfaces. One for Activity,
one for Dialog and one for SurfaceView. The mechanism is the
same in each case but the API is a little different.
Bug: 7368436
Change-Id: I78bc2a456b4c0f1a553120d72f433095ba7e038c
2012-10-24 12:56:50 -07:00
Jim Miller
84fb279107
Add test case for new keyguard widget API
...
Change-Id: Ibcb19c15964f4ea4bad36ec102e9aed8b4ea9c41
2012-09-20 23:46:30 -07:00
Craig Mautner
9dac35adda
New and improved Presentation demo.
...
Less clutter, bigger letters!
Change-Id: Ie0d5626c6a83a0e96bbda9220aea1f945c1bd825
2012-09-11 14:53:03 -07:00
Dianne Hackborn
f3f7c5f775
API demo for nesting fragments.
...
Change-Id: I7f20e4f00cf68c78c578ae620a95de7fa97f0761
2012-09-06 11:39:30 -07:00
Jeff Brown
2e1fe78fbf
Add new sample for Presentation API.
...
Change-Id: Ia31deb9ca6ad9a4db1dd6f852c00fa9a94caa4c3
2012-08-31 15:22:34 -07:00
Dianne Hackborn
80df91c7f2
New API demos for retained fragments with loaders.
...
Also tweak the cursor loader samples to filter out query
callbacks that don't change the filter, to avoid restarting the
loader on a configuration change.
Change-Id: Iac9293fed45e127698be59262d68b0b59a8ec9ce
2012-06-04 11:12:37 -07:00
Dianne Hackborn
f2bc2a024c
Work on issue #6475693 OnSystemUiVisibilityChangeListener reporting...
...
...incorrect visibility when the ActionBar overflow menu is opened
Improve API demos.
Change-Id: I3e831152a0dbb56270a80cf58e9441b55059c884
2012-05-10 15:26:52 -07:00
Dianne Hackborn
9cd165488b
Add API demo for Activity.finishAffinity().
...
Also fix text on some of the existing demos to use the nice
larger font.
Change-Id: I90d3815cd47cda08217cfc6307d64942f6750ae2
2012-04-26 18:57:13 -07:00
Dianne Hackborn
d1871405ba
Add demo for new custom animation.
...
Change-Id: I4981f47fe9120f1cfaa7ca793d5fed7f41cb83a4
2012-04-16 18:59:12 -07:00
Dianne Hackborn
6c5e9eb650
Update API demo to show new clip data types and conversions.
...
Change-Id: I32e2951c53ecedc75d1459666ced9f54b54cf6ba
2012-04-13 16:12:01 -07:00
Dianne Hackborn
a71d47a718
Add API demo for thumbnail animations.
...
Change-Id: I97f03f4a172a820d7856bd663a6bc00e3b9521cd
2012-03-23 16:37:04 -07:00
Dianne Hackborn
967d1e6caf
Update animation sample to use new activity options API.
...
Change-Id: Id73663f1e5f159c5b073cd9c074501958ca5a81f
2012-03-19 17:50:03 -07:00
Dianne Hackborn
37f02d8042
New API demo for isolated processes.
...
Change-Id: I2b2117ae5e5005bfffe8d89df5e06cee32da603c
2012-02-09 10:51:07 -08:00
Dianne Hackborn
37e103caf5
am 5370dc8f: am 2a9de021: Clean up and extend the linkify sample.
...
* commit '5370dc8f0dc20a46302f823af38cb48d08de1c45':
Clean up and extend the linkify sample.
2012-01-20 15:52:04 -08:00
Dianne Hackborn
2a9de0211d
Clean up and extend the linkify sample.
...
Change-Id: If9d0451af3bfcdcd8bafb325f4b7978857efab7e
2012-01-13 14:00:01 -08:00
Dianne Hackborn
d2f0e4667f
am 2492079b: am 0b6b4f2d: Merge "Fix notification sample to follow current UI guidelines." into ics-mr1
...
* commit '2492079bb859b689adc1ff5504bfc274a9ba07ee':
Fix notification sample to follow current UI guidelines.
2012-01-11 10:56:42 -08:00
Dianne Hackborn
174f61c0e9
Fix notification sample to follow current UI guidelines.
...
Lots of clean up on the messaging notification sample to show the real
correct way to do things. Also mark up a bunch of the sample for use
in the documentation.
Change-Id: I3a29a944c2971e142c33b29aff94b1ba0b40ae0e
2012-01-10 15:53:32 -08:00
Svetoslav Ganov
cf0a198756
resolved conflicts for merge of cb0d49cd to master
...
Change-Id: I0eabcb7b55a0b10f50e2e1f065213223b5600aab
2011-11-30 18:53:19 -08:00
Svetoslav Ganov
a75233833c
Adding a code sample for implementing accessibility in a custom view.
...
bug:5683532
Change-Id: I79471c431ba3aeb4abe57f850e84a4da0bc1feba
2011-11-29 13:02:58 -08:00
Dianne Hackborn
0efad946bd
am f1ab1a8e: am 2fd75c63: Move switch preference into its own demo.
...
* commit 'f1ab1a8e26c89442b758c56613a47e35e71d2ef5':
Move switch preference into its own demo.
2011-11-14 14:38:27 -08:00
Dianne Hackborn
2fd75c6368
Move switch preference into its own demo.
...
This avoids everything breaking on pre-ICS platforms.
Also get rid of pref initialization in Application. I hate that. Hate
hate hate. Hate. Totally hate.
Totally.
Change-Id: Idb3526a96eb2dff49f9de8e5ae71149cb4ed6e96
2011-11-14 14:28:42 -08:00
Svetoslav Ganov
d3837ae622
resolved conflicts for merge of c90e0d59 to master
...
Change-Id: I51f83d9a0df0c9b154936a669e458becec8b38f7
2011-10-31 17:22:41 -07:00
Svetoslav Ganov
101f061d35
Folding Accessibility Service sample into ApiDemos.
...
1. Moving Accerssibility Service sample into ApiDemos since
we are putting all accessibility samples there.
2. Fixed regressions (mainly due to adding new event types)
in the Accessibility Service sample.
3. Updated the Query Window Content sample to have some
instructions and to work with touch exploration.
Change-Id: I226ac4130f7f8cae47bb52cbdeab9f104cfaba40
2011-10-28 19:18:24 -07:00
Alexander Lucas
f574b1389f
resolved conflicts for merge of 1e94a78a (ApiDemos accessibility stuff) to master
...
Change-Id: I0b9d24c7aa527bd74c99cb6270fba5e3b9eae421
2011-10-28 11:55:45 -07:00
Alexander Lucas
96c0210eb5
Adding ICS Accessibility Features to ApiDemos app.
...
Change-Id: I37485821a77fed483308434e7b1d407642379d8c
2011-10-27 18:40:54 -07:00
Svetoslav Ganov
7d9558522d
Adding a code sample for using AccessibilityNodeProvider to report virtual Views.
...
Note: This is a sample and does *not* affect the system image, rather only the SDK.
bug:5508317
Change-Id: I62bbef4b2a4c2789ddfa128e94ae37246d244ac0
2011-10-24 17:14:54 -07:00
Svetoslav Ganov
30073fb13b
Adding a code sample for how to write a custom action provider.
...
NOTE: This change does *not* affect the system image rather only the SDK.
bug:5499856
Change-Id: I589ed412b72e94b21dbe1f069006c7c527a06c71
2011-10-21 18:30:40 -07:00
Svetoslav Ganov
1a4cc125d1
Update API demos to show ActionProvider demo for at least ICS
...
bug:5033542
Change-Id: Icea34fb21e04ee7c40ccca6894d9a24544d6c816
2011-09-14 19:42:45 -07:00
Dianne Hackborn
ddea282ae9
New API demo for installing/uninstalling applications.
...
Change-Id: Idaaf2003a6a34f2859887be32c82416ba4d06852
2011-08-10 10:37:23 -07:00
Luca Zanolin
37a152d1ae
Merge "Show how to use broadcast for accessing voice search settings."
2011-08-04 02:51:50 -07:00
Luca Zanolin
50b7e75061
Show how to use broadcast for accessing voice search settings.
...
Change-Id: Ie17e377cd1814b58e00a56e8dfb84fc66cd88985
2011-08-04 09:50:21 +01:00
Dianne Hackborn
65b7786636
New API showing the various new service binding flags.
...
Change-Id: I2c19388c1c8b8386d77183c1e1f3aa9eef85cd46
2011-07-29 01:49:10 -07:00
Romain Guy
c35d058e8d
Add new API demos for fragment custom animations.
...
Change-Id: Ia4339d4e4c1617907a9c707e1b8c2309b303e267
2011-07-25 16:29:00 -07:00
Svetoslav Ganov
ddece2d84d
Adding ActionProvider demo.
...
Change-Id: If0f540cd796ced27f392f1c31d20ab5ab34e5c3e
2011-07-14 18:00:14 -07:00
Dianne Hackborn
d79a09095c
New API demo showing how to make a resource reference.
...
Change-Id: I450d70432debc9d7f58a7f6597628dacc0225ddd
2011-07-01 15:08:44 -07:00