Jeff Brown
402adc44c2
Add a sample for handling hover events.
...
Change-Id: I9e19e09d3f5b8d0fd03f52cc8d88e6a12399d12f
2011-06-28 14:28:57 -07:00
Adam Powell
c81d080a6a
Add SwitchPreference demo in ApiDemos.
...
Renamed toggle to Checkbox.
Update to trigger build queue recompilation.
Change-Id: Ie7800b5e41e86f8182bb550da869ccb316cbeb91
2011-06-21 16:55:33 -07:00
Ben Komalo
63506eeafe
API sample for using new disallow camera policy.
...
Change-Id: Ic83b2079312860a3c4b9348ca28dc7d3c0a2b9e6
2011-06-15 18:01:22 -07:00
Anirudh Dewani
2a92e94315
am 76f74ab9: am 03c343e1: am b79c8d05: Merge "Adding resizeMode to widget samples." into honeycomb-mr2
...
* commit '76f74ab940fd1d4eb7da9a41286bde5972715626':
Adding resizeMode to widget samples.
2011-06-15 14:00:08 -07:00
Anirudh Dewani
b79c8d0583
Merge "Adding resizeMode to widget samples." into honeycomb-mr2
2011-06-15 10:57:44 -07:00
Dianne Hackborn
b6d84fde9f
resolved conflicts for merge of ce28e097 to master
...
Change-Id: Iced68c2dbae177b59aa6f3862868e68836be2afd
2011-06-13 17:21:25 -07:00
Dianne Hackborn
be6b6b494f
New API demos showing use of tabs with fragments.
...
Also various cleanup in other demos.
Change-Id: I4f5669117e28312bcd4b28795c5eca5f4ab6dcfb
2011-06-13 16:27:17 -07:00
Anirudh Dewani
cd5e69361d
Adding resizeMode to widget samples.
...
Change-Id: I60e43f4f2f3726f7b268f532f2da86913df72982
2011-06-10 16:46:40 +05:30
Dianne Hackborn
f32273ce7d
am 6faeacbb: am 068fa0c3: am 72d2e5c1: New demos for the v13 support library.
...
* commit '6faeacbbc561161a84a26e951f896880baa91ce5':
New demos for the v13 support library.
2011-06-03 16:21:41 -07:00
Dianne Hackborn
d190f3b9d0
resolved conflicts for merge of faf6dcd6 to master
...
Change-Id: I637e2982daefb7c4800ed31bc4cadbfb16cc2c81
2011-06-03 11:05:47 -07:00
Andy Stadler
7e408e8be4
Merge "DO NOT MERGE Replacement sample code for DevicePolicyManager api." into honeycomb-mr2
2011-06-03 10:24:20 -07:00
Dianne Hackborn
72d2e5c1b9
New demos for the v13 support library.
...
Change-Id: I79a727f987d3b21274e1f9ee6359caa2231c258b
2011-06-02 19:44:57 -07:00
Andy Stadler
547494ef8a
DO NOT MERGE Replacement sample code for DevicePolicyManager api.
...
* UI is organized into multiple screens to make it easier to understand
* More feedback about local vs global (aggregate) policies
* Uses preference fragments for modern appearance
Backport of: I075161d389942786e6c95483becbff7ebe847078
Change-Id: Ie88c1577b2ebae124615cc4b45968851cf11187e
2011-06-02 16:39:17 -07:00
Andy Stadler
0879ed418d
Replacement sample code for DevicePolicyManager api.
...
* UI is organized into multiple screens to make it easier to understand
* More feedback about local vs global (aggregate) policies
* Uses preference fragments for modern appearance
Change-Id: I075161d389942786e6c95483becbff7ebe847078
2011-05-31 10:14:27 -07:00
Dianne Hackborn
10c33528e0
Extract support lib samples out of ApiDemos and in to their own app.
...
Change-Id: I2ca344e5f1b44c4825de938c9a4f9375a523ede5
2011-05-27 18:40:15 -07:00
Andy Stadler
69d5096f2b
Update ApiDemos to show active password status
...
* Add Check Password button
* Use it to report overall password status - isActivePasswordSufficient()
and various password settings.
* Fixed a minor bug that cause the password quality to be reset to
"unspecified" every time you start the activity.
* Leave the two password buttons enabled all the time (set password
can be used when not active, and check password just puts up a toast
explaining why it can't be used when inactive.)
This code can be used to confirm bug b/4445007 and hopefully its fix, too.
Change-Id: I136706072257d2e49184a29b0aa5d7a524960c40
2011-05-24 22:55:22 -07:00
Dianne Hackborn
e2febea571
am 339a6666: am c7ec100c: am 193d98ec: Add new API demo for -swNNNdp resource qualifier.
...
* commit '339a6666bffcfdb7648c83333ecb16002564b2f6':
Add new API demo for -swNNNdp resource qualifier.
2011-05-19 19:37:22 -07:00
Dianne Hackborn
193d98ec18
Add new API demo for -swNNNdp resource qualifier.
...
Also clean up the demo for the w/h qualifiers to use numbers
that are the same as what we will be recommending.
Change-Id: I87ed35d8dfcb41985e19f450f7853f883effd207
2011-05-19 18:23:29 -07:00
Dianne Hackborn
d9012d1bfa
DO NOT MERGE. Integrate API demo work from master.
...
New API demo for the support library FragmentPager class.
Add API demo for new -wNNNdp and -hNNNdp configs.
Add new API demo for implementing a custom loader.
Also turn the fragment cursor list demo into a loader cursor demo.
2011-05-13 13:31:52 -07:00
Dianne Hackborn
b6054b4888
More improvements to pager.
...
Also another size step for the resource screen size sample.
Change-Id: I9e8b63d2fc9a0ceab7b003f7bd75218b78311ed6
2011-05-13 12:15:54 -07:00
Dianne Hackborn
38c48e57fb
Add new API demo for implementing a custom loader.
...
Also turn the fragment cursor list demo into a loader cursor demo.
Change-Id: I36d7b63de74c230188be18bd80890d66762ff6aa
2011-04-20 10:28:00 -07:00
Dianne Hackborn
59e35f1972
Add API demo for new -wNNNdp and -hNNNdp configs.
...
Change-Id: I3c0e53f4007c5a486855346b2b7221ce4f2739c3
2011-04-06 12:38:11 -07:00
Dianne Hackborn
38eafa95f7
New API demo for the support library FragmentPager class.
...
Change-Id: I3da4c9fe83cac48054f1efaa40b1f57f68402faa
2011-04-05 11:04:34 -07:00
Scott Main
900a1c1cf1
am 62c9b6cb: Merge "fix density sample to state density type rather than screen size" into honeycomb
...
* commit '62c9b6cb1479c24e07bc81b61b77905d13998b41':
fix density sample to state density type rather than screen size
2011-03-16 12:13:58 -07:00
Scott Main
882b22d698
fix density sample to state density type rather than screen size
...
Change-Id: I3d8fd592c914c648b9ebb19fd585f7a20a882427
2011-03-16 10:30:17 -07:00
Dianne Hackborn
6b3f9b3ac9
Clean up support library samples.
...
Move them off into their own directory, so it is less confusing to
find them.
Also put in some additional samples -- throttle and arguments.
And add some docs.
Change-Id: I221e56c7ff203934796979bb5ed7ab8835f84b83
2011-03-08 18:18:10 -08:00
Dianne Hackborn
7f308f27bf
New API demo showing arguments to fragments.
...
Change-Id: I5bc41bb23b7ac6a6d7cbbd08cec67879dc4ae2fe
2011-03-03 22:20:11 -08:00
Jeff Brown
cce588af9a
Merge "Add a sample for HorizontalScrollView."
2011-02-25 17:15:20 -08:00
Jeff Brown
2e87344184
Add a sample for HorizontalScrollView.
...
Change-Id: If5f59771182fdb1e76ac10e32a89257f047e6798
2011-02-25 12:04:25 -08:00
Dianne Hackborn
4b3939280f
New API demo showing how to execute when app is updated.
...
Change-Id: Ia4cb66db7473153d689afcf372824a476ef44565
2011-02-25 10:50:53 -08:00
Dianne Hackborn
9fd3b6e993
New sample code for fragment support library.
...
Also tweak a few things to make the demos run on Donut.
Change-Id: I298fdf8fb0f12ee6db10e66657a22e19a527811a
2011-02-24 15:18:25 -08:00
Jeff Brown
10f877be7b
Add a sample to demonstrate game controller usage.
...
Change-Id: I86a91916a39f3a211b06016b163f8d4a6d4a5a3b
2011-02-24 12:33:52 -08:00
Andy Stadler
b92820568b
am 6b4333cc: am 5ee94621: Remove references to global proxy APIs
...
* commit '6b4333cc7861638ea471107371d0979da647b555':
Remove references to global proxy APIs
2011-02-16 12:25:19 -08:00
Andy Stadler
5ee9462101
Remove references to global proxy APIs
...
Remove global proxy settings from Apidemos
Remove CorpApp
Bug: 3460938
Change-Id: I2b6889a96341f0e4fad50a9cfaa76db715ecfaa0
2011-02-16 10:51:01 -08:00
Chet Haase
97ee3c3898
Adjust layouts of transition demos to improve fade-outs.
...
When a container's child count goes to zero, it may report a measurement size
of zero. This affects LayoutTransition's fading-out of target views
because they may get clipped out by a layout that got sized to 0 because it
thinks it has no children. The workaround is to tell the layout to size itself
either with some minimal size (in the case of the FixedGridLayout used by some
demos) or with match_parent in some cases to ensure that the layout always has
some nonzero size.
Change-Id: I908e64d4fb054928af277a021a328e94477c9c83
2011-02-15 09:46:28 -08:00
The Android Open Source Project
88f1271196
Mass merge from gingerbread - do not merge
...
Change-Id: I1fadb096a42c4905d243428a91025ecb759443cc
2011-01-30 12:39:58 -08:00
Jeff Hamilton
6a16ba335f
am e0fbd3ff: Demo for NFC ACTION_TECHNOLOGY_DISCOVERED intent.
...
* commit 'e0fbd3ffe82e6e80c6b070c3afbdb8e7fdd9bb25':
Demo for NFC ACTION_TECHNOLOGY_DISCOVERED intent.
2011-01-29 09:32:16 -08:00
Dianne Hackborn
9d31b40732
am c6572ed6: Merge "Add new samples for explicit alert dialog themes." into honeycomb
...
* commit 'c6572ed63d9388e45d1aea75b80aad9bd3d3b2b0':
Add new samples for explicit alert dialog themes.
2011-01-27 22:50:48 -08:00
Dianne Hackborn
e36d13b70d
Add new samples for explicit alert dialog themes.
...
Change-Id: I1e306c0786952ab391c479a9322065efd8566ca7
2011-01-27 16:35:02 -08:00
Jeff Hamilton
71a96a345a
am aad3a1b7: Add a sample for the NFC foreground dispatch APIs.
...
* commit 'aad3a1b7327491f29db69a4e4bf7c3791662d6b5':
Add a sample for the NFC foreground dispatch APIs.
2011-01-26 21:14:42 -08:00
Jeff Hamilton
06bef9df0b
am 7a11acd9: am e0fbd3ff: Demo for NFC ACTION_TECHNOLOGY_DISCOVERED intent.
...
* commit '7a11acd92bec5e7a089bdb248a78589491962c76':
Demo for NFC ACTION_TECHNOLOGY_DISCOVERED intent.
2011-01-25 14:44:37 -08:00
Jeff Hamilton
7a11acd92b
am e0fbd3ff: Demo for NFC ACTION_TECHNOLOGY_DISCOVERED intent.
...
* commit 'e0fbd3ffe82e6e80c6b070c3afbdb8e7fdd9bb25':
Demo for NFC ACTION_TECHNOLOGY_DISCOVERED intent.
2011-01-25 14:39:53 -08:00
Jeff Hamilton
e0fbd3ffe8
Demo for NFC ACTION_TECHNOLOGY_DISCOVERED intent.
...
Change-Id: Ic537d209b07e81e80aeca5aa3e4a63657ac6fb76
2011-01-25 16:33:33 -06:00
Dianne Hackborn
b101f20ff2
am e63a4b58: Add some more API demos for themes.
...
* commit 'e63a4b58a26cdce8b62984c83763dafdf282895b':
Add some more API demos for themes.
2011-01-16 14:49:50 -08:00
Dianne Hackborn
e63a4b58a2
Add some more API demos for themes.
...
Shows how to make a basic custom theme with a custom background,
and a theme that selects between the old theme and Holo.
Also use a little trick to make the API demos for HC specific
samples be hidden on older versions of the platform.
Change-Id: Ie53e8103147e81975fca73b96bda989a00504534
2011-01-16 14:29:28 -08:00
Christopher Tate
eb3c9bb439
am 560094ef: Merge "Add a dynamically-revealed view to the drag demo" into honeycomb
...
* commit '560094efef3da5f616faed00212f8fdae9037d99':
Add a dynamically-revealed view to the drag demo
2011-01-14 12:38:21 -08:00
Christopher Tate
cbbfda2bd0
Add a dynamically-revealed view to the drag demo
...
This is to show off and test the handling of views that become
visible after the primary ACTION_DRAG_STARTED broadcast happens.
Change-Id: I8bb575c2e055a9d60fc6ed8bc77457dec13a80b4
2011-01-13 20:28:47 -08:00
Jeff Hamilton
b0a4fe0141
am e8b4ac2e: am aad3a1b7: Add a sample for the NFC foreground dispatch APIs.
...
* commit 'e8b4ac2e6d04cc4651c8b0852d8bcf02c4e5019a':
Add a sample for the NFC foreground dispatch APIs.
2011-01-13 12:48:30 -08:00
Jeff Hamilton
e8b4ac2e6d
am aad3a1b7: Add a sample for the NFC foreground dispatch APIs.
...
* commit 'aad3a1b7327491f29db69a4e4bf7c3791662d6b5':
Add a sample for the NFC foreground dispatch APIs.
2011-01-13 12:46:08 -08:00
Jeff Hamilton
aad3a1b732
Add a sample for the NFC foreground dispatch APIs.
...
Change-Id: Iee532d53b4d9354977414b0302b386a940606ab3
2011-01-13 14:39:58 -06:00