Commit Graph

509 Commits

Author SHA1 Message Date
Kenny Root
c8c211a085 Fix some errors in the foreground compat
The foreground compatibility sample wouldn't actually work on an old
platform because of a misplaced return statement in onCreate and the
invokeMethod would ignore its arguments.

Change-Id: Ic1d1a6d8579700215c7988cd603a6bb86f1346a4
2011-03-29 09:51:21 -07:00
Romain Guy
bc411cdd02 Merge 520c90cc from master. do not merge.
Don't crash because of hardware acceleration.

Change-Id: I70554d5c7637b768cf815bb9f57a5d3e2c49066d
2011-03-18 16:20:28 -07:00
Romain Guy
520c90cce1 Don't crash because of hardware acceleration.
Change-Id: If4cc213edba643aea82051e66e995d2258da91f8
2011-03-18 15:11:16 -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
Jeff Brown
0d4619cc48 Merge "Update samples to use new getMotionRanges() API." into honeycomb-mr1 2011-03-09 18:33:55 -08: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
Jeff Brown
cb34b7c07a Update samples to use new getMotionRanges() API.
Change-Id: I6b67b7cd1f739b5b52ac32745f52bf0a092480a0
2011-03-08 17:35:22 -08:00
Daniel Sandler
f6ab64affe Merge "Restore CAMERA permission to ApiDemos." into honeycomb-mr1 2011-03-04 10:42:15 -08:00
Daniel Sandler
6044514d0d Restore CAMERA permission to ApiDemos.
Bug: 3512448
Change-Id: I6a80e7f0f9406e084fec9b626abb19cb24b4fe3d
2011-03-04 10:38:04 -05:00
Dianne Hackborn
7f308f27bf New API demo showing arguments to fragments.
Change-Id: I5bc41bb23b7ac6a6d7cbbd08cec67879dc4ae2fe
2011-03-03 22:20:11 -08:00
Xavier Ducrohet
86eecf0074 Add readme to ApiDemos to mention the need for android-support-v4
Change-Id: I3172f4644d41fe1358fd5ae327af03e54e1297b5
2011-03-01 16:32:51 -08:00
Jeff Brown
cce588af9a Merge "Add a sample for HorizontalScrollView." 2011-02-25 17:15:20 -08:00
Dianne Hackborn
1917a19f3f Merge "New API demo showing how to execute when app is updated." 2011-02-25 16:16:56 -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
Chet Haase
806af22e17 Add ViewPropertyAnimator for easy View animations
A demo in ApiDemos conflicted with the new animate() API
in View. The method was internal, so it was renamed to
avoid the conflict.

Change-Id: Id6dffc84fa0800677a0b67bee9c78f26da775d26
2011-02-25 07:10:09 -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
d143cacbb7 Merge "Adjust layouts of transition demos to improve fade-outs." 2011-02-15 13:06:07 -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
Christopher Tate
66aa48b723 Don't use the View drag-is-cross-app flag
Tracking a framework change; this is descoped from the next release
forthcoming from this branch.

Change-Id: Ib0519cd0ee60ff0051185e60d38be2ac299f420b
2011-02-14 17:40:31 -08:00
Scott Main
6788075c9b am b965e4af: am 0f911715: docs: add links to action bar and drag demos in the index page
* commit 'b965e4afc436902170f45bbfc5fac5569d40cb88':
  docs: add links to action bar and drag demos in the index page
2011-02-14 15:43:57 -08:00
Scott Main
0f911715e4 docs: add links to action bar and drag demos in the index page
Change-Id: I3fb2bff96d958801d350b94e0b0193c71902a7a8
2011-02-14 15:36:46 -08:00
Nick Pelly
c7503436df am 52e42d3f: am ba29b9b1: am c2860adc: Update sample app for final GB MR API changes.
* commit '52e42d3f85ef3f7081e08c42528a2c3a76376c86':
  Update sample app for final GB MR API changes.
2011-02-01 13:26:55 -08:00
Nick Pelly
f0f3e98f10 DO NOT MERGE
Cherry-pick from GB to HC.

Update sample app for final GB MR API changes.

Change-Id: Iab3b879d1a53b70cbffd51011c77699325e21dad
2011-02-01 11:16:06 -08:00
Nick Pelly
52e42d3f85 am ba29b9b1: am c2860adc: Update sample app for final GB MR API changes.
* commit 'ba29b9b17769995d7fba7dea09934d2e11bf5ffb':
  Update sample app for final GB MR API changes.
2011-02-01 10:22:12 -08:00
Nick Pelly
ba29b9b177 am c2860adc: Update sample app for final GB MR API changes.
* commit 'c2860adcb8c8c84927bfe17fadd61b5beea61ae4':
  Update sample app for final GB MR API changes.
2011-02-01 10:11:04 -08:00
Nick Pelly
c2860adcb8 Update sample app for final GB MR API changes.
Change-Id: Ic6b7aa2ffe88f6a9228322d41a2be391eb5bf545
2011-02-01 08:25:46 -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
59592336d5 am 509fbb4d: Sample code for foreground NDEF Push APIs.
* commit '509fbb4df3bdbc8c78614f5297459f7afe2b1ba6':
  Sample code for foreground NDEF Push APIs.
2011-01-29 09:55:03 -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
Christopher Tate
796df3b02e The drag/drop ApiDemo now uses a global drag, not local-only
Showing off the new View.DRAG_FLAG_GLOBAL feature.

Change-Id: I3f857974a7334e00a891d93a70ecc7a85378cd68
2011-01-28 18:08:53 -08:00
Dianne Hackborn
31aae4821b am 9d31b407: am c6572ed6: Merge "Add new samples for explicit alert dialog themes." into honeycomb
* commit '9d31b40732b2b6512bcc6ff38f9d6f59db1d31a2':
  Add new samples for explicit alert dialog themes.
2011-01-27 22:53:09 -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
8dc2b87b64 am fa378cdd: am 28745b4e: am 509fbb4d: Sample code for foreground NDEF Push APIs.
* commit 'fa378cddf30b0b50c48ee332c3f5c3bdb82baa32':
  Sample code for foreground NDEF Push APIs.
2011-01-26 19:08:27 -08:00
Jeff Hamilton
fa378cddf3 am 28745b4e: am 509fbb4d: Sample code for foreground NDEF Push APIs.
* commit '28745b4ee52ef4864f9bdaed1d5e1cb9ac849b15':
  Sample code for foreground NDEF Push APIs.
2011-01-26 16:57:49 -08:00
Jeff Hamilton
28745b4ee5 am 509fbb4d: Sample code for foreground NDEF Push APIs.
* commit '509fbb4df3bdbc8c78614f5297459f7afe2b1ba6':
  Sample code for foreground NDEF Push APIs.
2011-01-26 15:47:51 -08:00
Jeff Hamilton
509fbb4df3 Sample code for foreground NDEF Push APIs. 2011-01-26 17:41:35 -06:00
Dianne Hackborn
a7bdb442c5 am 3de63b41: am 3be09cb1: Merge "Use multiple async tasks." into honeycomb
* commit '3de63b416d80b1d50c6087336d0a34b2ffbe8528':
  Use multiple async tasks.
2011-01-25 16:20:06 -08:00
Nick Pelly
78c8e27935 resolved conflicts for merge of 06bef9df to master
Change-Id: Ie0a21c77481542f882a58418bfb7269f9c357a4a
2011-01-25 16:11:28 -08:00
Dianne Hackborn
3de63b416d am 3be09cb1: Merge "Use multiple async tasks." into honeycomb
* commit '3be09cb183af4e0a637a12cfb421fd90fe40d308':
  Use multiple async tasks.
2011-01-25 15:25:43 -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
649790adc5 Use multiple async tasks.
Change-Id: If6be431a4f9443eaaf4478bae57c29f77f558b91
2011-01-24 21:26:57 -08:00