Commit Graph

509 Commits

Author SHA1 Message Date
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
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
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
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
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
Jim Miller
3087c65b7c Merge "Add password expiration test to DeviceAdminSample." 2010-11-11 19:45:45 -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
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
Roman Nurik
b7ba9ee6cc am bf8c20f6: am bccecc2b: Merge "Add ApiDemo for android.media.audiofx (Visualizer and Equalizer)" into gingerbread
* commit 'bf8c20f6f0ee32f7ca7bfb2fb5d932f13cab55ee':
  Add ApiDemo for android.media.audiofx (Visualizer and Equalizer)
2010-11-03 12:02:21 -07:00
Roman Nurik
bf8c20f6f0 am bccecc2b: Merge "Add ApiDemo for android.media.audiofx (Visualizer and Equalizer)" into gingerbread
* commit 'bccecc2b871749695148a7dcf27ff5b8655a77a0':
  Add ApiDemo for android.media.audiofx (Visualizer and Equalizer)
2010-11-03 07:56:40 -07:00
Roman Nurik
bccecc2b87 Merge "Add ApiDemo for android.media.audiofx (Visualizer and Equalizer)" into gingerbread 2010-11-03 07:55:06 -07:00
Chet Haase
ed20aff7b1 Added setColor to ColorDrawable.
Also, set hardwareAccelerated=false for animation demos using ovals
(which are not yet supported through GL)

Change-Id: I710b6be51a14bf02650206bd6bae8841ecd3ac79
2010-11-01 13:54:29 -07:00
Dianne Hackborn
6d36a9ee9b New API demo showing different soft input modes.
Change-Id: I2aa53a093df0bd11d9bbe9eb866d2309f113d96d
2010-10-29 17:24:41 -07:00
Adam Powell
6a89a9ead0 Added demo for ActionBar display options
Change-Id: Ib916c36c0d3f8866b4f7f3a616fe15dcf0ca007f
2010-10-29 15:10:57 -07:00
Dianne Hackborn
c5b44be024 Fix issue #3083745: ApiDemos CustomTitle crashes
Also turn on graphics acceleration in API demos...  this will cause a
bunch of other stuff to crash until we go through and turn it off
where needed.

Change-Id: I9ddd2beadd19fdab170e5a8cf8beea6b0bc2156d
2010-10-28 10:52:11 -07:00
Roman Nurik
90c1d50252 Add ApiDemo for android.media.audiofx (Visualizer and Equalizer)
Change-Id: I4fa3b0aff4edfe80533066a81b0eacc97caa6f86
2010-10-26 14:04:11 -07:00
Dianne Hackborn
b252273014 Update to follow API.
Also a new list demo.

Change-Id: I0c59fc6f50009fcba183f0b5af61ec50d5888240
2010-10-26 12:47:13 -07:00
Jack Palevich
ca04e3adec am ddc73f98: am 902b355d: Merge "Remove unused Grid object from LabelMaker.java class." into gingerbread 2010-10-26 10:31:43 -07:00
Jack Palevich
ddc73f98ca am 902b355d: Merge "Remove unused Grid object from LabelMaker.java class." into gingerbread 2010-10-26 10:27:09 -07:00
Jack Palevich
902b355dfc Merge "Remove unused Grid object from LabelMaker.java class." into gingerbread 2010-10-26 10:25:13 -07:00
Jack Palevich
9ca6f2c057 Remove unused Grid object from LabelMaker.java class.
Also remove unnescessary "executable" bits from a documentation file.

Change-Id: I49bf8a6f0dabece62d16956b7e02c9a846bdd69b
2010-10-25 14:03:27 -07:00
Roman Nurik
a10cf9edd8 am affd0f8e: am 83c50ca7: Merge "Update ApiDemos CameraPreview activity to properly center the preview in cases where the camera hardware doesn\'t support a preview size with the same aspect ratio as the device display." into gingerbread
Merge commit 'affd0f8ec31f9bf1f0f2288c5f6ebab9c18673fe'

* commit 'affd0f8ec31f9bf1f0f2288c5f6ebab9c18673fe':
  Update ApiDemos CameraPreview activity to properly center the preview in cases where the camera hardware doesn't support a preview size with the same aspect ratio as the device display.
2010-10-25 14:00:28 -07:00
Roman Nurik
affd0f8ec3 am 83c50ca7: Merge "Update ApiDemos CameraPreview activity to properly center the preview in cases where the camera hardware doesn\'t support a preview size with the same aspect ratio as the device display." into gingerbread
Merge commit '83c50ca740fabe25189601db90dc1f65ed4d2061' into gingerbread-plus-aosp

* commit '83c50ca740fabe25189601db90dc1f65ed4d2061':
  Update ApiDemos CameraPreview activity to properly center the preview in cases where the camera hardware doesn't support a preview size with the same aspect ratio as the device display.
2010-10-25 13:55:34 -07:00
Roman Nurik
72dcdbbd09 Update ApiDemos CameraPreview activity to properly center the preview in cases where the camera hardware doesn't support a preview size with the same aspect ratio as the device display.
Change-Id: Ic7ccc324dfe4d46f3aeb5c7edafc7cc97a6fdc49
2010-10-22 11:30:57 -07:00
Kenny Root
56281044e3 resolved conflicts for merge of 79ee0a9a to master
Change-Id: I110bd412e38358b3d99235bf10fd9d1022aa04e9
2010-10-18 13:56:13 -07:00
Dianne Hackborn
79ee0a9a05 am 8143be8d: Update device admin example to wipe SD card.
Merge commit '8143be8d0348e4918ccc75e0a44e617c295da2fc' into gingerbread-plus-aosp

* commit '8143be8d0348e4918ccc75e0a44e617c295da2fc':
  Update device admin example to wipe SD card.
2010-10-16 16:55:15 -07:00