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
Glenn Kasten
6e20b04ed0
am f328f262: Merge "Remove .classpath and .project files" into gingerbread
...
* commit 'f328f262fd66f90a8ebda011e75dfcc11b65279a':
Remove .classpath and .project files
2010-11-15 16:25:58 -08:00
Glenn Kasten
f328f262fd
Merge "Remove .classpath and .project files" into gingerbread
2010-11-15 16:23:34 -08:00
Megha Joshi
d53c6f2ac3
am 7f39ff80: Merge "NFC sample app (DO NOT MERGE)" into gingerbread
...
* commit '7f39ff802b6281b563f341dc89c58a43ec6bdd99':
NFC sample app (DO NOT MERGE)
2010-11-12 18:32:14 -08:00
Megha Joshi
7f39ff802b
Merge "NFC sample app (DO NOT MERGE)" into gingerbread
2010-11-12 18:30:14 -08:00
Megha Joshi
150dd1693f
NFC sample app (DO NOT MERGE)
...
Change-Id: I1d1d67bbc6760cea1a0c6eccfa4d9f7b1398cd4d
2010-11-12 18:03:05 -08:00
Jim Miller
3087c65b7c
Merge "Add password expiration test to DeviceAdminSample."
2010-11-11 19:45:45 -08:00
Jaikumar Ganesh
e79b943821
Merge "Start the accept thread when the socket gets disconnected."
2010-11-11 16:09:08 -08:00
Jaikumar Ganesh
c4ee500f13
Start the accept thread when the socket gets disconnected.
...
Change-Id: I937c19c657a1077df8c2c19b5edc3fec218e11a4
2010-11-11 16:01:50 -08:00
Gilles Debunne
a9c1bf68a8
Merge "New demos and tests for Tabs in Holo theme."
2010-11-11 12:25:27 -08:00
Gilles Debunne
2fba3e1bce
New demos and tests for Tabs in Holo theme.
...
Change-Id: Ifd12e639e7e25e1e5ea7b1b1106789976d9450d3
2010-11-11 12:17:49 -08:00
Gilles Debunne
12fca8d8f0
Renamed fill_parent to match_parent
...
Change-Id: I12ddb06d560f4f373c5ad292823a4646be133744
2010-11-11 12:10:43 -08:00
Jim Miller
7a2d5f2981
Add password expiration test to DeviceAdminSample.
...
Change-Id: Ib5b398dc068227529d83be2b55c33225f9bbce80
2010-11-10 21:36:55 -08:00
Adam Powell
80541cbaf3
Update modal multi-select demo to restore gracefully after orientation changes
...
Change-Id: I6ef6ecb28c1e0cccb2bc88be3f4a6b14351d7849
2010-11-05 11:58:27 -07:00
Alexander Lucas
40090497c6
am 655f02a4: am 48cc36d9: Merge "Added SIP Demo to sample apps." into gingerbread
...
* commit '655f02a45669ce3b03d96cd8634bfe3745b6f725':
Added SIP Demo to sample apps.
2010-11-04 07:20:40 -07:00
Adam Powell
2b658f0d9f
Add ActionBarTabs demo
...
Change-Id: I21087d63f78a4d35b249e7ffd92bf6823cf29b60
2010-11-03 19:24:16 -07:00
Chet Haase
04281538b3
Update animation demo to use setBackgroundColor functionality on View
...
Change-Id: I6811fd4a3612c9af8f09e570ee3c600570cefcb1
2010-11-03 18:34:55 -07:00
Xavier Ducrohet
b76b6c5b61
Merge "Make ApiDemo build on Java 5.0"
2010-11-03 18:20:35 -07:00
Xavier Ducrohet
0bb93262cc
Make ApiDemo build on Java 5.0
...
Change-Id: Ib0759e5598d73741ef9e2408f08edd5d6b38288b
2010-11-03 18:11:02 -07:00
Chet Haase
df5ab89e0b
Merge "Updated to the new optimized keyframe APIs"
2010-11-03 17:44:33 -07:00
Chet Haase
2d3d5377a8
Updated to the new optimized keyframe APIs
...
Also fixed some existing bugs in some of the animation apps
Change-Id: Iff39a8396f8c49e2db8601b04012a0bb784a78ed
2010-11-03 16:21:15 -07:00