Dianne Hackborn
8ab4ac232b
Update documentation for API demos.
...
Change-Id: Iaa84eb197ffc0a584772f946202c13eeb917eabf
2011-01-05 11:29:11 -08:00
Dianne Hackborn
cce6628efd
Merge "Hide XML adapter sample, since the APIs are now gone."
2011-01-04 17:37:51 -08:00
Dianne Hackborn
ab88ed55d7
Hide XML adapter sample, since the APIs are now gone.
...
Also tweak API demos to use the new pretty background.
Change-Id: Idbb523880fff81f6e0f3ca241e4bdaa1dbc2f8f2
2011-01-04 17:28:02 -08:00
Derek Sollenberger
4448b60726
Merge "Update Animation Plugin to use OpenGL."
2011-01-04 13:42:51 -08:00
Derek Sollenberger
349bc37aa8
Update Animation Plugin to use OpenGL.
...
Change-Id: Ib20fa69422a0dae804c95f71b70a65027ad8e9cf
2011-01-04 16:39:05 -05:00
Dianne Hackborn
9d247ad58b
Some cleanup of fragment API demos:
...
- Rename FragmentAnim to FragmentHideShow, and tweak it to look
less stupid.
- Reworking FragmentLayout to better represent a typical way to
use fragments.
- Tweak various UI elements.
Change-Id: I3f4861c33bafafd27108fe0e4193e0ac7711f69e
2011-01-04 11:39:22 -08:00
Chet Haase
43b37134fd
Demos should use main activity context, not getApplicationContext()
...
Change-Id: I561defd90760864a975b905f13cf30c422da6125
2010-12-28 08:35:38 -08:00
Dianne Hackborn
e4459d5d11
Clean up loader demo.
...
Change-Id: Ie7ade888389523360e930f051a2143159a7a4f06
2010-12-21 10:13:13 -08:00
Jeff Brown
aaa542be4a
Merge "Add sample for tab ordering."
2010-12-17 17:42:17 -08:00
Dianne Hackborn
82362ab449
Give the app widget a background.
...
So you can see it!
Change-Id: I6ec8a8240a231379ef1f736ed700d780c04d12f6
2010-12-17 11:18:31 -08:00
Dianne Hackborn
d08e015b7e
Update fragment cursor loader sample to new New and Shiny.
...
Change-Id: Id7afc9adba3d29f8d3279737443cde1aee58a3bb
2010-12-16 23:00:15 -08:00
Dianne Hackborn
ec04e5da4b
Prepare for some changes to LoaderManager/Loader.
...
Sorry it is a bit ugly, it is to allow this change to be
checked in prior to the first stage of the framework change
without breaking the build.
Change-Id: Ia59181602679608e765664ecff1fbb52306d9559
2010-12-16 01:07:16 -08:00
Jeff Brown
587b6c441f
Add sample for tab ordering.
...
Change-Id: Id704aac3796abed561c0df533e00600c76b3c31e
2010-12-15 19:38:18 -08:00
Scott Main
34ce501365
am 1549d27e: am 9efea49e: cherrypick Change-Id: I999748ceec87ae5e6ac04c573f6055e6a7f7176d docs: fix broken links in sample docs
...
* commit '1549d27e177fdcbb4c2816b993d2ed085cb4c3dc':
cherrypick Change-Id: I999748ceec87ae5e6ac04c573f6055e6a7f7176d docs: fix broken links in sample docs
2010-12-15 12:01:48 -08:00
Scott Main
1549d27e17
am 9efea49e: cherrypick Change-Id: I999748ceec87ae5e6ac04c573f6055e6a7f7176d docs: fix broken links in sample docs
...
* commit '9efea49e40f3e3784cfa1c9fd67a6ca9ff5270e7':
cherrypick Change-Id: I999748ceec87ae5e6ac04c573f6055e6a7f7176d docs: fix broken links in sample docs
2010-12-15 11:55:53 -08:00
Scott Main
9efea49e40
cherrypick Change-Id: I999748ceec87ae5e6ac04c573f6055e6a7f7176d
...
docs: fix broken links in sample docs
Change-Id: Icbc2c16b9f4caee25ab2265ea5425c57f0989ab1
2010-12-15 11:45:24 -08:00
Dianne Hackborn
05d297331a
Quickly hack out setForeground call that is going away.
...
I'll come back in a bit and make this API demo work again.
Change-Id: I287dd64925e48bc934c44fb6d0b779a58a270503
2010-12-14 21:56:15 -08:00
Dianne Hackborn
11371e6d36
Update to use help APIs.
...
Change-Id: I11bab7b66376b34303e8e84460236a1ff7a475b2
2010-12-13 12:46:19 -08:00
Alexander Lucas
db7ebae50f
For SipDemo sample code: Changed chosen image for "selected" state of
...
talk button
Change-Id: I723c5e1e468dcbbda8e268afe7d3dd619d4242f6
2010-12-10 11:34:27 -08:00
Scott Main
c717a3f6d8
Merge "This is a manual merge of Ib7ea41079f3b268f3be1f86febdb1caed98bdd8e Which includes the following: - inflating menus from XML and supporting API Level 3 without the need for version qualifiers on resource directories. - to NOT include items in the options menu based on the 'selected' item (that's what a context menu is for). - include all drawables in the app, instead of using system resources."
2010-12-07 14:14:20 -08:00
Adam Powell
17dc3b3909
Updates for style changes
...
Change-Id: Id52a0436f58ed8f5cdbffea663a0ec35b6f036aa
2010-12-06 17:11:49 -08:00
Dianne Hackborn
c68fdf80f4
Make activity dialog sample look more like an alert dialog.
...
Change-Id: I808604968a647eaedc703a76afa7231812723399
2010-12-05 20:02:55 -08:00
Dianne Hackborn
141c84a864
Switch to modern light themes.
...
Change-Id: I4a33cd7bd98b1bf8b760d902ee5120c117dff479
2010-12-03 16:33:09 -08:00
Dianne Hackborn
ae1d79d3f4
Extend DialogActivity API demo to show off new window re-measuring.
...
Change-Id: Ia04dbf95131d5cffbdd3ae0c22758da7f6d28a1b
2010-12-02 22:00:46 -08:00
Scott Main
a00a0e7f7d
This is a manual merge of Ib7ea41079f3b268f3be1f86febdb1caed98bdd8e
...
Which includes the following:
- inflating menus from XML and supporting API Level 3 without the need
for version qualifiers on resource directories.
- to NOT include items in the options menu based on the 'selected' item
(that's what a context menu is for).
- include all drawables in the app, instead of using system resources.
Add features:
- the ability to edit the note title through the context menu
- disable menu items in the editor based on menu groups
- add a "save" button to the editor instead of assuming BACK functionality
- and show the title of the current note in the activity title.
Plus, this change adds Holo themes and items to the action bar.
And fix a bug in NoteEditor: the constants used for the column indexes caused the title
and note text to be saved incorrectly---removed them and instead perform column index
lookup on the notes cursor.
Change-Id: I6e7a693a35f5dc2da423982869dd871c4c171e5b
2010-12-02 12:09:38 -08:00
Christopher Tate
8f2e8f48b9
Add drag/drop demo to ApiDemos
...
Drag/drop among four big dots on screen. Drags to a dot will have
the identity of the originating dot put into a text field below the dots.
In all cases, a text field to the right of the dots reports whether the
drag ended in a successful drop.
Attempting to start a drag from a dot reading "Drag ANR" should ANR and
be cleaned up properly.
Attempting to drop onto a dot reading "Drop ANR" should similarly ANR
and be cleaned up properly.
Drags from a dot labelled "Local" are restricted to targets within
the app's own window -- they are not draggable to the system "shirt
pocket" drop target, etc.
A drop onto the same dot that it originated from will append text to
that effect to the message that notes the dropped payload. This
uses the "local state" convenience mechanism in startDrag() and
DragEvent.getLocalState().
Change-Id: Ic5cd6a29186a84c91d3dc4187e83e7bcf530ba2f
2010-12-01 17:42:37 -08:00
Dianne Hackborn
4799e5583e
API demo for new Activity.recreate() API.
...
Change-Id: I56bd36edf2cd5cd9b6f95dd4a2b82571689c04d2
2010-12-01 16:14:08 -08:00
Chet Haase
8dfaaa2ffd
Added new xml anim capabilities to AnimationLoading demo
...
New xml capabilities for animators, so I added new functionality
to the existing xml loading demo app
Change-Id: Iba30dce28059031744ce23d1f79f41072a6a1e78
2010-12-01 08:25:27 -08:00
Mathias Agopian
140d61bcbb
am 9335c6b6: am cec3f598: Merge "Add an API demo showcasing the new rotation vector sensor" into gingerbread
...
* commit '9335c6b6e9a338ec4e8673bd2adb0fb4eb07b771':
Add an API demo showcasing the new rotation vector sensor
2010-12-01 03:37:48 -08:00
Mathias Agopian
9335c6b6e9
am cec3f598: Merge "Add an API demo showcasing the new rotation vector sensor" into gingerbread
...
* commit 'cec3f598e6e7e527583daae393b3d0192af77baf':
Add an API demo showcasing the new rotation vector sensor
2010-11-30 14:08:47 -08:00
Mathias Agopian
cec3f598e6
Merge "Add an API demo showcasing the new rotation vector sensor" into gingerbread
2010-11-30 14:05:20 -08:00
Scott Main
6b7558c9a5
revise ActionBar samples to include an action view using SearchView,
...
also modify the sub-menu item to something that makes sense
and demonstrate how to invalidate the action bar and redraw it
Change-Id: I84f5414c74ab47f7657c226daa2334e7e4449e91
2010-11-29 19:01:32 -08:00
Dianne Hackborn
e06aa608ab
New dialog sample with a lot of text and thus large dialog.
...
Change-Id: Iaf0cba52e51f36b98a5a4a1965f0e1eb02bb8f9f
2010-11-29 16:52:18 -08:00
Anirudh Dewani
65b95cbba0
am 35dfdb6f: am dbe66332: Extended camera preview to switch between multiple available device cameras
...
* commit '35dfdb6fc37cf72aab09713ce59bd8c6ec571fab':
Extended camera preview to switch between multiple available device cameras
2010-11-29 16:04:36 -08:00
Anirudh Dewani
35dfdb6fc3
am dbe66332: Extended camera preview to switch between multiple available device cameras
...
* commit 'dbe66332e278962c058a596353b839a2fd6dca1b':
Extended camera preview to switch between multiple available device cameras
2010-11-29 15:54:05 -08:00
Scott Main
b24dbcefc4
update notepad menu icons with new styles for GB (20% smaller)
...
Change-Id: Ie5b9e42d56688558e9e3220bb15729d5142775ba
2010-11-29 11:56:03 -08:00
Andy Stadler
bc16d2e288
Add display of password expiration status
...
* Also clean up a few warnings.
Change-Id: I79d8d4c49c113e23160839ddb079a241a245729b
2010-11-29 10:10:47 -08:00
Anirudh Dewani
dbe66332e2
Extended camera preview to switch between multiple available device cameras
...
Change-Id: I8e97d6182bf02cba29ae3bc9f1a7ef21a277117e
2010-11-26 02:28:11 +05:30
Mathias Agopian
d6e9c61294
Add an API demo showcasing the new rotation vector sensor
...
Change-Id: I3f00560b0340db31779259aa98efc174b0b645cd
2010-11-24 13:53:57 -08:00
Xavier Ducrohet
277b00a155
Make ApiDemo compile on Java 1.5
...
Change-Id: I0a9d078dd9e6a6388281e492da9bd4acb9747a41
2010-11-23 17:27:18 -08:00
Marco Nelissen
d98d989036
Don't hardcode 320x480 size in the FingerPaint API demo.
...
Change-Id: I4de9ce1e52dda68bf4c3ab7fbd9987ca6d5548a0
2010-11-23 10:02:30 -08:00
Raphael
ba068ce356
resolved conflicts for merge of 0aa38562 to master
...
Change-Id: I2e79f7c906477bc5d02352de6a7be17fffb4730a
2010-11-23 02:57:16 -08:00
Raphael
0aa3856227
resolved conflicts for merge of d7267fc2 to gingerbread-plus-aosp
...
Change-Id: Id3b056cf13bcfa50b3b4a00a22b8f482069c04c9
2010-11-23 02:44:59 -08:00
Dianne Hackborn
41430b9f30
Sample code for new APIs to support new back stack / task navigation
...
Change-Id: I79d1933b894b049711781c39b8e15dbce1626448
2010-11-22 18:35:58 -08:00
Raphael Moll
a3dc674543
Move <uses-sdk> before <application> in samples.
...
Change-Id: Iac2644d350235e19f5109aeb25a8d6d4eb1af3fe
2010-11-22 12:39:47 -08:00
Joe Onorato
24ba0688a6
Update Notification sample code for new APIs.
...
Change-Id: Icaa86212192b9c9cef89d2d6013363955bd3a668
2010-11-21 16:36:23 -08:00
Andy Stadler
47d6d8e1e2
Quick bugfix for password expiration UI
...
Change-Id: Iecc0f6fbfe85293a6b22fd0a0ffaae69a0fbc3e9
2010-11-19 16:00:40 -08:00
Chris Tate
4de37ad8e7
Merge "Add self-restore capability to Backup/Restore sample app"
2010-11-18 12:48:45 -08:00
Chris Tate
cdcc28a9cb
Add self-restore capability to Backup/Restore sample app
...
The Backup/Restore sample application now provides a "restore my own
last-known-good data" button. When it is clicked the app will run the
standard public BackupManager.requestRestore() operation.
(This was the one aspect of the public API that was not previously
exercised by the sample app.)
Change-Id: I8abcfbad4b27b35fe9fafbbb97f89bac1d7a668c
2010-11-16 18:24:12 -08:00
Glenn Kasten
1e7598503d
am 6e20b04e: am f328f262: Merge "Remove .classpath and .project files" into gingerbread
...
* commit '6e20b04ed07925521b92c70eda6d8bdcb62ff3d9':
Remove .classpath and .project files
2010-11-15 16:28:06 -08:00