Commit Graph

1258 Commits

Author SHA1 Message Date
Debashish Chatterjee
f84558cf16 Merge "Set HAS_CONTENT field from the app after writing audio content." 2011-10-06 02:08:25 -07:00
Anirudh Dewani
f219a95ec0 Merge "WiFiDirectDemo" 2011-10-06 00:41:23 -07:00
Scott Main
ea62e25d07 Merge "add minsdkversion to spell checker sample and more info to html page" 2011-10-05 18:39:10 -07:00
Scott Main
90fcc2183e add minsdkversion to spell checker sample
and more info to html page

Change-Id: Icbd492e61c14f78d52d731c16c55620e9b5adc7d
2011-10-05 18:36:22 -07:00
Roman Nurik
7ee7d6d5d6 Add ActionBarCompat sample (CL 1 of 2)
Change-Id: Ie41aee3fc805bf73ef0cd673049fcb608b59275c
2011-10-05 18:17:39 -07:00
Anirudh Dewani
12634496be WiFiDirectDemo
Change-Id: I9ea5020a39f02fd2ba4934397fa9a2ea79f781b4
2011-10-06 05:35:23 +05:30
Roman Nurik
5986e12034 Update RandomMusicPlayer sample for new RemoteControlClient APIs, also add media button support
Change-Id: Ia6ad08dd0ec1e67f1cffa2d6cfca2120ee0a96c7
2011-10-05 16:50:26 -07:00
Scott Main
e8916f1ec0 add HTML landing page for spell checker sample. Could use some more info.
Change-Id: Ic747474c2c71afcc2bd88a30017bc2709c5b5c5c
2011-10-05 12:37:39 -07:00
satok
d9d9dae507 Fix comments in the sample spell checker service
Change-Id: I553a9820756f1a6a1164c7a4a66820556cb3fdcc
2011-10-05 20:06:18 +09:00
satok
4fce7f7a17 Add SampleSpellCheckerService
Change-Id: I9ff4828e147406c02d38b41f3811ef0d4ba4f9fc
2011-10-05 15:17:55 +09:00
Robert Ly
3da7fb2a60 clean up Android Beam sample
Change-Id: Ieffe60c0a17509284a112eb11a7588e80e1578ee
2011-10-04 17:07:35 -07:00
Robert Ly
81f9754531 Merge "Android Beam sample for ICS SDK" 2011-10-04 16:20:47 -07:00
Robert Ly
d43d340db0 Android Beam sample for ICS SDK
Change-Id: Ie36e39fef96beb39b06f9d3fcfc41b48a890fa0f
2011-10-03 16:50:54 -07:00
Chris Craik
82ff0214fb Merge "Disable plugin content copy when 0x0 pixels" 2011-10-03 16:45:37 -07:00
Chris Craik
771310eb99 Disable plugin content copy when 0x0 pixels
bug:5382635
Change-Id: I83f999d9e2dd0dc51a6c2f780f2f2b7add95a60a
2011-10-03 14:51:50 -07:00
Daniel Lehmann
1cf776aee1 Updated the sample
- Removed editing, because it is not ready for the sdk yet
 - Added sync of a default group
 - Demo for "View group"
 - Demo for "View Stream Item" and "View Stream Item Photo"
 - Demo for invite flow (at least show a dialog)
 - Hardcoded demo username and password into the dialog (it is in the
   source anyway)

Bug:5383087

Change-Id: I4cf18eb8e90df872f832ecd74f22d68de6099e60
2011-09-29 17:08:36 -07:00
Chet Haase
10cb19aefe Merge "DefaultLayoutAnimations should use GridLayout instead." 2011-09-29 07:48:57 -07:00
Scott Main
026370edef Merge "remove LOW_PROFILE flag when setting HIDE_NAVIGATION, because it's not needed in order to work" 2011-09-27 18:17:27 -07:00
Flavio Lerda
3726ce2f32 am e15c2737: Update minSdkVersion and targetSdkVersion.
* commit 'e15c273703765bba82eb2f1b9872074cdd090755':
  Update minSdkVersion and targetSdkVersion.
2011-09-27 13:10:46 -07:00
Chet Haase
e68d53fd04 DefaultLayoutAnimations should use GridLayout instead.
The 2-LinearLayout system the demo used to have had its quirks, but was
just plain awful once it ran on a smaller screen. The new GridLayout
makes for a much better experience.

Change-Id: Ie3fd65e125c82da8b0079f61bd91bf844dea9b03
2011-09-27 11:51:35 -07:00
Flavio Lerda
e15c273703 Update minSdkVersion and targetSdkVersion.
Bug: 5357790
Change-Id: I295639ff014090b95ce7eae8fcdb32a602594e6d
2011-09-27 08:59:34 +01:00
Scott Main
24060d3751 Merge "fix custom view sample to scale text based on screen density" 2011-09-21 18:15:44 -07:00
Scott Main
689a60dd25 fix custom view sample to scale text based on screen density
Change-Id: I2e08e90b7baa73a4e36bad9f6abb9364d7b471d1
2011-09-21 17:57:59 -07:00
Scott Main
a0038f1170 remove LOW_PROFILE flag when setting HIDE_NAVIGATION, because it's not needed in order to work
Change-Id: I4eb6aee12f00bc98d14e7f42476acaf75340ac26
2011-09-21 15:56:47 -07:00
Scott Main
c05bf09001 small HC Gallery updates to put alternative values in appropriate config and update manifest
Change-Id: If55961ef28b1be5e500618f0a485328f9433e443
2011-09-21 15:39:15 -07:00
Xavier Ducrohet
dda48a45e0 Move sdk components to API 14. DO NOT MERGE.
Cherry-pick from master 71be098

Change-Id: I9dc0245fdd19660a4b08d454892df02a02810749
2011-09-16 21:37:54 -07:00
Xavier Ducrohet
71be098e55 Move sdk components to API 14.
Change-Id: Ib56dce765dca77d8f6a69b962f7897d8eadec373
2011-09-16 10:38:37 -07:00
Svetoslav Ganov
1a4cc125d1 Update API demos to show ActionProvider demo for at least ICS
bug:5033542

Change-Id: Icea34fb21e04ee7c40ccca6894d9a24544d6c816
2011-09-14 19:42:45 -07:00
Scott Main
d21f82d678 Merge "rewrite HC Gallery app to support phones. In summary, this change:" 2011-09-14 14:14:09 -07:00
Stephen Hines
bbc0bd4936 Merge "Bump minimum SDK version to 14." 2011-09-09 15:59:38 -07:00
Stephen Hines
2f8b09d926 Bump minimum SDK version to 14.
BUG=5280704

Change-Id: Ib26b93f4b41b5c910afaa49b4420d9bd4272acd9
2011-09-09 14:49:44 -07:00
Scott Main
ddd0d0c656 rewrite HC Gallery app to support phones. In summary, this change:
- moves tablet-style layouts to layout-large* directories
- adds ContentActivity to host the ContentFragment when on phones
- adds an OnItemSelectedListener interface to TitlesFragment, which MainActivity
  implements in order to receive callbacks on click events to the list item and then
  pass the selected item to the ContentFragment in the manner appropriate for the
  current configuration... Specifically, when in two-pane mode, it updates the ContentFragment
  directly, and when in single-pane mode, it starts the ContentActivity with intent data
  about the selected item, which then updates the ContentFragment
- Change CameraSample.java to CameraActivity.java for name conventions
- Moves all menu strings into string resources
- Fixes camera sample to properly handle front-facing camera on other devices (was broken
  on nexus s and on g-slate)
- Fixes camera sample to handle resume state after the camera has changed (for example, when
  switched to a different camera, it would crash on resume)
- Moves various code around between classes as appropriate for the fragment handling the
  action. For example, move the ActionBar.TabListener implementation to the TitlesFragment
  (was originally impemented by the MainActivity)
- Adds logic to support devices without camera and properly declare the camera in manifest as such
- Maintains the state of hidden titles list across restarts

Change-Id: I27a39a68dee37325c0c3607aa0b56ab6c134d026
2011-09-06 18:24:49 -07:00
Adam Powell
758f6d0ab5 Add switch demo
Added default on state and a listener triggering a toast.

Change-Id: I79a89801d878b08fee55919e92044cd71f47108c
2011-08-31 11:23:02 -07:00
Dianne Hackborn
648e25f0c7 Dang you, TabHost.
Change-Id: I937cd0748fe0c44d6cd642637321aa6eb550cf91
2011-08-29 18:39:21 -07:00
Brian Carlstrom
974b1d6742 Removed --target-api option from dx.
Change-Id: Ia0d633edfe414061bb313f43c45f9ef55b45f380
2011-08-24 00:20:48 -07:00
Jeff Brown
ce77ef5f1d Enhance the TouchPaint sample with stylus support.
Added basic stylus and hover support to the sample to illustrate
the usage of pressure, size, orientation, distance, tilt and tool type
information.

Change-Id: I1689adc38d5904870e005300b3317c44c214fc08
2011-08-19 15:01:39 -07:00
Narayan Kamath
e6e13cdc7f Fix a typo in the sample engine settings.
This causes the engine settings dialog to not inflate.

bug:5188172

Change-Id: I813c007e6f20b63ed47458028afc7d9022e602b6
2011-08-19 12:57:01 +01:00
Daniel Lehmann
3335843705 Include the new activity classes in the samples
Bug:5135808
Change-Id: I08244836b57564e108f3b36e520a3cce95158cc7
2011-08-14 15:45:28 -07:00
Chet Haase
7c4ad87f6b Merge "Fix issues in LayoutAnimationsHideShow demo." 2011-08-11 12:16:11 -07:00
Amith Yamasani
d9e0c41a75 Merge "Remove old fashioned expand/collapse techniques in SearchView examples." 2011-08-11 11:42:41 -07:00
Chet Haase
dd722e4680 Fix issues in LayoutAnimationsHideShow demo.
There were various minor issues with this app that made it not work
correctly in some situations (the APPEARING animation was basically a no-op,
and disabling the custom animations disabled animations altogether).

Change-Id: I20aba9551043a63c21d26208ae7cd0395cde01cb
2011-08-11 11:36:33 -07:00
Dianne Hackborn
b30b356f20 Merge "New API demo for installing/uninstalling applications." 2011-08-11 11:35:55 -07:00
Debashish Chatterjee
b01f5d5251 Set HAS_CONTENT field from the app after writing audio content.
In change-id I93e4b467acdefe339fa70dd751ea05f195c32e71 content voicemail
content provider was modified to no more automatically set the
has_content field. The app now needs to set this field itself after
writing the content.

bug: 5147190
Change-Id: If3c66a86803f7587677c2ec09965b89f31f6268e
2011-08-11 13:04:51 +01:00
Amith Yamasani
5591368aec Remove old fashioned expand/collapse techniques in SearchView examples.
These are not the recommended patterns any more.

Bug: 5086888
Change-Id: If354ea5af0eaff33d0e572177a9e804d899d07e1
2011-08-10 18:36:11 -07:00
Dianne Hackborn
ddea282ae9 New API demo for installing/uninstalling applications.
Change-Id: Idaaf2003a6a34f2859887be32c82416ba4d06852
2011-08-10 10:37:23 -07:00
Chris Craik
1ac352eb59 Merge "updated Animation Plugin for NativeWindow interface" 2011-08-09 17:23:32 -07:00
Chris Craik
aceb2e3bda updated Animation Plugin for NativeWindow interface
bug:5114637

Uses new ANativeWindow plugin API, supports either software rendering or GL
rendering via flag in RenderingThread.h

Note: Currently crashes on close

Change-Id: Ia7338a6c38c0ca9db02c19814d99b29970cc7b8e
2011-08-09 16:34:30 -07:00
Daniel Lehmann
a6826891f9 Merge "Start service intent when contact is being displayed" 2011-08-09 14:49:58 -07:00
Daniel Lehmann
af2e1dccbc Start service intent when contact is being displayed
Bug:5138185
Change-Id: I32e239e4af564bb876d1eb021f31b2fd6287feaf
2011-08-09 13:42:08 -07:00
Debashish Chatterjee
a583cd15f7 Merge "VoicemaiProviderDemoApp changed to use api from sdk." 2011-08-09 00:07:33 -07:00