Commit Graph

1258 Commits

Author SHA1 Message Date
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
83c50ca740 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 2010-10-25 13:50:34 -07:00
Scott Main
ccbd8955c0 am 0c53c5b6: Merge "Do not merge. This is a cherry-pick from froyo change I392406824607e2bdae646e3156433d82a9ed6521 Revise NotePad application to use better practices such as - inflating menus from XML and supporting API Level 3 without the need for ve
Merge commit '0c53c5b6f6b449ad7bca14ebb4d650913650b219' into gingerbread-plus-aosp

* commit '0c53c5b6f6b449ad7bca14ebb4d650913650b219':
  Do not merge.
2010-10-25 11:17:09 -07:00
Joe Malin
f290a6b611 Merge "Samples: Fix bugs in Note Pad sample app." 2010-10-24 11:11:52 -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
Joe Malin
94ce3f2088 Cherry pick from master: Sample app and test package for a Service 2010-10-21 14:20:11 -07:00
Scott Main
875234d940 Do not merge.
This is a cherry-pick from froyo change I392406824607e2bdae646e3156433d82a9ed6521
Revise NotePad application to use better practices such as
        - 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.
        - and probably others

Change-Id: I5e6fa5315308edf1a9447ecadd5b289127776bd0
2010-10-21 12:46:04 -07:00
Jean-Baptiste Queru
88146a5c4f Merge 35ac4e1d from gingerbread-plus-aosp
Change-Id: I3a0c1f0da2329cdff49ff384d3533ba9d6d0182f
2010-10-19 12:26:31 -07:00
Xavier Ducrohet
35ac4e1d36 am 92df1283: Move samples to API 9
Merge commit '92df1283f7a8e186f04a93a1ec34d8f8fa3202ce' into gingerbread-plus-aosp

* commit '92df1283f7a8e186f04a93a1ec34d8f8fa3202ce':
  Move samples to API 9
2010-10-19 10:37:02 -07:00
Xavier Ducrohet
92df1283f7 Move samples to API 9
Change-Id: I918a63197ff62d6b935de5a6eb843516a314a241
2010-10-19 10:32:14 -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
Dianne Hackborn
8143be8d03 Update device admin example to wipe SD card.
Change-Id: I224006f284916761578e3d04b208828f80ea3cb6
2010-10-15 18:52:33 -07:00
Xavier Ducrohet
1cefa9fb2e am 24277fdb: Merge "Set SDK samples to API 8 + gingerbread." into gingerbread
Merge commit '24277fdb61ce6133e31c7ef3e99bd4fc1314f0ac' into gingerbread-plus-aosp

* commit '24277fdb61ce6133e31c7ef3e99bd4fc1314f0ac':
  Set SDK samples to API 8 + gingerbread.
2010-10-15 18:22:48 -07:00
Raphael
95a7877b9e Set SDK samples to API 8 + gingerbread.
DO NOT MERGE

Change-Id: I1040974ab20426ad1fbdb958a21f10681fb68e69
2010-10-15 11:27:08 -07:00
Kenny Root
10540d6528 resolved conflicts for merge of 6c99a051 to master
Change-Id: I0bae8e92609253924f0c7adbc59f8c45394f341a
2010-10-15 00:14:56 -07:00
Chet Haase
e358b47be5 Updating code to use new non-generified animator APIs
Change-Id: I3023db9d1f9cb8bf98b788fce4ae2b58b182987d
2010-10-14 13:13:07 -07:00
Kenny Root
3ad988d373 am d5e77d5e: am 3ceb9b53: Merge "Update OBB sample to revised API" into gingerbread
Merge commit 'd5e77d5e56aa584e2bf21349f3d11918a15d594c'

* commit 'd5e77d5e56aa584e2bf21349f3d11918a15d594c':
  Update OBB sample to revised API
2010-10-13 14:37:34 -07:00
Xavier Ducrohet
6c99a05152 am 9e914e4a: Reorder the samples packaging + readme.
Merge commit '9e914e4aa2075a38d76048261808a9a3a3036eb5' into gingerbread-plus-aosp

* commit '9e914e4aa2075a38d76048261808a9a3a3036eb5':
  Reorder the samples packaging + readme.
2010-10-13 14:22:51 -07:00
Xavier Ducrohet
9e914e4aa2 Reorder the samples packaging + readme.
Change-Id: Ic4d91b214ec9ceb6303bd99e0a0580fbf3401177
2010-10-13 13:38:45 -07:00
Kenny Root
d5e77d5e56 am 3ceb9b53: Merge "Update OBB sample to revised API" into gingerbread
Merge commit '3ceb9b53eab86a86d1817d344822bd16fbbc47fd' into gingerbread-plus-aosp

* commit '3ceb9b53eab86a86d1817d344822bd16fbbc47fd':
  Update OBB sample to revised API
2010-10-11 17:31:13 -07:00
Kenny Root
a2f69539af Update OBB sample to revised API
Change-Id: Idc724170a9cbb6a94523b406b8a1f91fcf8293a4
2010-10-11 17:25:23 -07:00
Joe Malin
390d67679c Samples: Fix bugs in Note Pad sample app.
Change-Id: I859cbc73eaaa77a9ff89484f33c7150d76a4e2c2
2010-10-11 09:13:32 -07:00
Chet Haase
45d18599b8 Various fixes
Change-Id: I70509d19d1df01e998de4804bc7c1e1899ad8dee
2010-10-07 12:29:12 -07:00
Dianne Hackborn
0ada5c781f Make note pad provider private, but able to grant URI permissions.
Change-Id: I6113ec86e4d4cbc105932067ac2fbb2a0d468e15
2010-10-05 14:09:05 -07:00
Dianne Hackborn
ee3433bc58 resolved conflicts for merge of efddd2c5 to master
Change-Id: Ida5785a4b936ed485ee6f895cbe994acf5b37626
2010-10-05 14:06:01 -07:00
Chet Haase
7da3f9f51e Modfied demo to show setting animations to null
Originally, setting LayoutTransition animators to null just restored the default animation behavior, It seems more sensible to have null actually disable the animation. I made that change to the framework and modified this demo to show how it's done. Along the way, I refactored the code a bit and fixed some minor bugs.

Change-Id: Icfb53ada234b635294c5faa68a15932f25859fb8
2010-10-04 17:25:41 -07:00
Chet Haase
2a06483139 Demos for show/hide layout transitions
Change-Id: Idb7ecb66b7dc0126a230385dd09af6a9208d5345
2010-10-04 15:19:26 -07:00
Dianne Hackborn
efddd2c5b2 am 8bcb38f3: Merge "New API demo showing different screen orientation options." into gingerbread
Merge commit '8bcb38f3d49d0fdefd51546ada4232203fc606cf' into gingerbread-plus-aosp

* commit '8bcb38f3d49d0fdefd51546ada4232203fc606cf':
  New API demo showing different screen orientation options.
2010-10-04 14:58:44 -07:00
Dianne Hackborn
bf895af17d New API demo showing different screen orientation options.
Change-Id: I75b206f86ee87b50cccc5e23140d55bd566781cd
2010-10-02 16:56:56 -07:00
Jeff Brown
284e195427 resolved conflicts for merge of 4110368b to gingerbread-plus-aosp
Change-Id: I6a75675ffcb4d9bcb1b7d321a4934b3e3fcca137
2010-10-01 10:42:11 -07:00
Jeff Brown
cc633e4965 resolved conflicts for merge of 4110368b to gingerbread-plus-aosp
Change-Id: I23f83b1272ba6aef5a4fbadf5e450c1e0b4dd82b
2010-09-30 16:39:16 -07:00
Jeff Brown
4110368b93 Merge "Improve touch paint sample to use geometrical touch width." into gingerbread 2010-09-30 15:58:59 -07:00
Jeff Brown
fc1ee06369 Improve touch paint sample to use geometrical touch width.
Added multitouch support.
Fixed the trackball based drawing.

Change-Id: I15d9c5c4ac26a83f476f98c1f2ef3a5841e2ffbd
2010-09-30 15:32:28 -07:00
Jeff Brown
b39c4ba316 Added samples for splitting touches across views.
Also modified the rotating button demo to use touch splitting.

Change-Id: I560736903651e6846f847a9bd743a24a1707f6d2
2010-09-30 11:56:14 -07:00
Kenny Root
4e64cbb031 am e575be05: am 12c86756: Merge "Add OBB usage example" into gingerbread
Merge commit 'e575be05fd15d0858e4e0655ba3e1d6ecacf26d4'

* commit 'e575be05fd15d0858e4e0655ba3e1d6ecacf26d4':
  Add OBB usage example
2010-09-30 11:29:05 -07:00
Kenny Root
e575be05fd am 12c86756: Merge "Add OBB usage example" into gingerbread
Merge commit '12c86756b9c1ac9080e7ff052a78cdcf16b8f85d' into gingerbread-plus-aosp

* commit '12c86756b9c1ac9080e7ff052a78cdcf16b8f85d':
  Add OBB usage example
2010-09-30 10:09:11 -07:00
Kenny Root
b9e80e74e2 Add OBB usage example
Change-Id: I7da5ac0009cb32829e7c6470c0a60ebff2988905
2010-09-29 16:18:08 -07:00
Joe Malin
f82564473f Samples: Fix bugs in Note Pad sample app.
Change-Id: Iacb22efa30d3627dba5a5f91151da5c75722715e
2010-09-28 16:02:00 -07:00
Dianne Hackborn
8fc1811242 Make FramementLayout demo better... and, um actually work.
Also some other small cleanup.

Change-Id: Iaaf5d4a85113b4a01a4bd3986e2334972e1096ad
2010-09-21 19:29:47 -07:00
Joe Onorato
2d1343ad32 Add sample code for the new tablet ticker.
Change-Id: I621cb3daf3fe79db149e8efbac5ea3ec62371503
2010-09-21 11:55:12 -04:00