Svetoslav Ganov
a185badacb
Fixing the build
...
Change-Id: Iece94781e42cf2e9e0b0d8e447c0754c8bb17003
2012-04-20 16:41:47 -07:00
Dianne Hackborn
d1871405ba
Add demo for new custom animation.
...
Change-Id: I4981f47fe9120f1cfaa7ca793d5fed7f41cb83a4
2012-04-16 18:59:12 -07:00
Jeff Brown
31446e98dd
Merge "Use new InputDevice.getVibrator() API."
2012-04-13 17:39:24 -07:00
Jeff Brown
eb1b7a61af
Use new InputDevice.getVibrator() API.
...
Bug: 6334179
Change-Id: I1e592fd1a58a8d0789548346aee1aff6ddb9d684
2012-04-13 17:08:35 -07:00
Jeff Brown
edfcc032c3
Merge "Improve GameControllerInput demo with input device listeners."
2012-04-13 17:02:57 -07:00
Dianne Hackborn
6c5e9eb650
Update API demo to show new clip data types and conversions.
...
Change-Id: I32e2951c53ecedc75d1459666ced9f54b54cf6ba
2012-04-13 16:12:01 -07:00
Jeff Brown
a4920b722d
Improve GameControllerInput demo with input device listeners.
...
Improves the demo to use the new InputManager API for receiving
notifications when input devices are added, removed or changed.
For example, a game could listen for when new joysticks are
connected or disconnected.
Change-Id: I8ac35206d4f00011145d74c78e91d720aec8f21c
2012-04-12 18:57:28 -07:00
Dianne Hackborn
1b9744a99a
Update to follow API change.
...
Change-Id: I092f2a9fde19648f5d47bde091d15f1bb5deb63b
2012-04-10 16:15:15 -07:00
Dianne Hackborn
f6c3400341
Fix use of fitsSystemWindows, so padding doesn't conflict.
...
Change-Id: Ie13358220f971369c54ac570830c6fbff5d3c221
2012-04-06 10:57:57 -07:00
Dianne Hackborn
34394c4bcc
Merge "Change video demo theme to dark."
2012-04-05 11:46:09 -07:00
Dianne Hackborn
6ad1018f20
Use fitsSystemWindows for better demoing.
...
Change-Id: I3b9e5068401e0ac1cd1d631434fe1514e8996ee3
2012-04-04 13:30:44 -07:00
Dianne Hackborn
f7541b8c49
Change video demo theme to dark.
...
Change-Id: Ic5cbe5969f7a6247b3f9eb69e22c5492a46aa13b
2012-04-02 16:37:34 -07:00
Dianne Hackborn
adee1fdf63
Update Full Screen Modes to demostrate more modes.
...
UI is now a set of check boxes to toggle the various modes.
Also add new API demos for two typical implementations using
system UI flags: a content browser and a video player.
Change-Id: If93659343cfc42b903b18997a5a0a04ee10e8343
2012-03-30 17:13:06 -07:00
Teng-Hui Zhu
e46673a0a7
Multiple webviews could be a bad model for developers to follow.
...
bug:6206492
Change-Id: Ib650dbd74b5a00e6e373db74afe7cad242538a9b
2012-03-28 16:09:21 -07:00
Dianne Hackborn
a71d47a718
Add API demo for thumbnail animations.
...
Change-Id: I97f03f4a172a820d7856bd663a6bc00e3b9521cd
2012-03-23 16:37:04 -07:00
Dianne Hackborn
967d1e6caf
Update animation sample to use new activity options API.
...
Change-Id: Id73663f1e5f159c5b073cd9c074501958ca5a81f
2012-03-19 17:50:03 -07:00
Dianne Hackborn
de48b21c2d
Fix isolated process demo to work with new restrictions.
...
Isolated processes can now do much less.
Change-Id: I1af8ae0d8dca72de1324d98ed6004cb3c0820a7a
2012-02-09 18:19:37 -08:00
Dianne Hackborn
37f02d8042
New API demo for isolated processes.
...
Change-Id: I2b2117ae5e5005bfffe8d89df5e06cee32da603c
2012-02-09 10:51:07 -08:00
Dianne Hackborn
a93566ac87
am cafd05f0: am 97d0a1db: Merge "Fix bug in the new notification sample." into ics-mr1
...
* commit 'cafd05f0c99f9f758b55bf0efee71e8b402de495':
Fix bug in the new notification sample.
2012-01-30 12:58:59 -08:00
Dianne Hackborn
376e000436
Fix bug in the new notification sample.
...
Change-Id: I021c5f374857d1affdddd8be37c0f441aaf14c95
2012-01-30 11:44:05 -08:00
Nick Pelly
a983c2a1a3
Update NFC samples.
...
o Remove NFCDemo sample app. It's janky and is mostly parsing code
that isn't needed anymore.
o Use new NDEF APIs for parsing and creating records
o Use nicer setNdefPushMessage() API
o Delete helper NDEF code that is not needed any more
o Use URL instead of Text for the foreground push demo
o Mark AndroidBeamDemo a test so it gets installed in data not system
Change-Id: I75eda84019c2075956688e26f2598f126d5659a2
2012-01-25 13:16:52 -08:00
Dianne Hackborn
37e103caf5
am 5370dc8f: am 2a9de021: Clean up and extend the linkify sample.
...
* commit '5370dc8f0dc20a46302f823af38cb48d08de1c45':
Clean up and extend the linkify sample.
2012-01-20 15:52:04 -08:00
Dianne Hackborn
2a9de0211d
Clean up and extend the linkify sample.
...
Change-Id: If9d0451af3bfcdcd8bafb325f4b7978857efab7e
2012-01-13 14:00:01 -08:00
Dianne Hackborn
d2f0e4667f
am 2492079b: am 0b6b4f2d: Merge "Fix notification sample to follow current UI guidelines." into ics-mr1
...
* commit '2492079bb859b689adc1ff5504bfc274a9ba07ee':
Fix notification sample to follow current UI guidelines.
2012-01-11 10:56:42 -08:00
Dianne Hackborn
174f61c0e9
Fix notification sample to follow current UI guidelines.
...
Lots of clean up on the messaging notification sample to show the real
correct way to do things. Also mark up a bunch of the sample for use
in the documentation.
Change-Id: I3a29a944c2971e142c33b29aff94b1ba0b40ae0e
2012-01-10 15:53:32 -08:00
Svetoslav Ganov
cf0a198756
resolved conflicts for merge of cb0d49cd to master
...
Change-Id: I0eabcb7b55a0b10f50e2e1f065213223b5600aab
2011-11-30 18:53:19 -08:00
Svetoslav Ganov
eb17889032
Merge " Adding a code sample for implementing accessibility in a custom view." into ics-mr1
2011-11-30 18:18:33 -08:00
Svetoslav Ganov
a75233833c
Adding a code sample for implementing accessibility in a custom view.
...
bug:5683532
Change-Id: I79471c431ba3aeb4abe57f850e84a4da0bc1feba
2011-11-29 13:02:58 -08:00
Jean-Baptiste Queru
14bc4b97a8
am 459d7f99: am a96a7c60: am c4d810a4: Merge "Inaccvrate Morse data in sample code." into ics-mr0
...
* commit '459d7f999f8aba4f3c4e8d39c926fdb12e2a50e6':
Inaccvrate Morse data in sample code.
2011-11-28 11:33:01 -08:00
Jean-Baptiste Queru
a96a7c6040
am c4d810a4: Merge "Inaccvrate Morse data in sample code." into ics-mr0
...
* commit 'c4d810a43ce5d052812a453b488ef0cc7511dfda':
Inaccvrate Morse data in sample code.
2011-11-28 11:28:45 -08:00
Jean-Baptiste Queru
cf2051ab22
Inaccvrate Morse data in sample code.
...
This vses the trve seqvence, svch that vsers can be
vnderstood vpon revsing this data, thvs bypassing
svrprising qvestions.
Change-Id: I1741d0c4072ab43975981799f602a6a6cda25088
2011-11-23 08:14:10 -08:00
Dianne Hackborn
0efad946bd
am f1ab1a8e: am 2fd75c63: Move switch preference into its own demo.
...
* commit 'f1ab1a8e26c89442b758c56613a47e35e71d2ef5':
Move switch preference into its own demo.
2011-11-14 14:38:27 -08:00
Dianne Hackborn
2fd75c6368
Move switch preference into its own demo.
...
This avoids everything breaking on pre-ICS platforms.
Also get rid of pref initialization in Application. I hate that. Hate
hate hate. Hate. Totally hate.
Totally.
Change-Id: Idb3526a96eb2dff49f9de8e5ae71149cb4ed6e96
2011-11-14 14:28:42 -08:00
Svetoslav Ganov
d3837ae622
resolved conflicts for merge of c90e0d59 to master
...
Change-Id: I51f83d9a0df0c9b154936a669e458becec8b38f7
2011-10-31 17:22:41 -07:00
Svetoslav Ganov
c90e0d5936
am bc43ef45: Merge "Folding Accessibility Service sample into ApiDemos." into ics-mr0
...
* commit 'bc43ef4554c457c499af9e5f998f6f79a484f4a3':
Folding Accessibility Service sample into ApiDemos.
2011-10-31 20:30:29 +00:00
Svetoslav Ganov
bc43ef4554
Merge "Folding Accessibility Service sample into ApiDemos." into ics-mr0
2011-10-31 13:28:53 -07:00
Jack Palevich
a4591cb625
am 48a1cf10: am e864636c: Remove Graphics > OpenGL ES > Hidden Activity from Api Demos
...
* commit '48a1cf10af09f578221933a4e55109fbddf4c270':
Remove Graphics > OpenGL ES > Hidden Activity from Api Demos
2011-10-31 12:26:35 +00:00
Jack Palevich
48a1cf10af
am e864636c: Remove Graphics > OpenGL ES > Hidden Activity from Api Demos
...
* commit 'e864636c554efa18f83ad9fa405058b51d531998':
Remove Graphics > OpenGL ES > Hidden Activity from Api Demos
2011-10-29 03:15:18 +00:00
Svetoslav Ganov
101f061d35
Folding Accessibility Service sample into ApiDemos.
...
1. Moving Accerssibility Service sample into ApiDemos since
we are putting all accessibility samples there.
2. Fixed regressions (mainly due to adding new event types)
in the Accessibility Service sample.
3. Updated the Query Window Content sample to have some
instructions and to work with touch exploration.
Change-Id: I226ac4130f7f8cae47bb52cbdeab9f104cfaba40
2011-10-28 19:18:24 -07:00
Jack Palevich
e864636c55
Remove Graphics > OpenGL ES > Hidden Activity from Api Demos
...
This activity was accidentally added to the Api Demos manifest
in an earlier checkin.
Because the corresponding Java classes were never checked in,
the activity never actually worked.
Change-Id: I7a7c8c90e8e6b9689f87720fc7f4d53556c2f227
2011-10-28 15:45:43 -07:00
Alexander Lucas
f574b1389f
resolved conflicts for merge of 1e94a78a (ApiDemos accessibility stuff) to master
...
Change-Id: I0b9d24c7aa527bd74c99cb6270fba5e3b9eae421
2011-10-28 11:55:45 -07:00
Alexander Lucas
1e94a78a1e
am 96c0210e: Adding ICS Accessibility Features to ApiDemos app.
...
* commit '96c0210eb57e60f03c23a8e504782a8ba4b9edfe':
Adding ICS Accessibility Features to ApiDemos app.
2011-10-28 17:26:20 +00:00
Alexander Lucas
96c0210eb5
Adding ICS Accessibility Features to ApiDemos app.
...
Change-Id: I37485821a77fed483308434e7b1d407642379d8c
2011-10-27 18:40:54 -07:00
Jack Palevich
61ef1bce8f
am 060c9691: am 1163f69a: Fix activities that want to handle screen size and orientation changes themselves.
...
* commit '060c9691a18b877718b21339af5468898e7900aa':
Fix activities that want to handle screen size and orientation changes themselves.
2011-10-27 18:52:59 +00:00
Jack Palevich
060c9691a1
am 1163f69a: Fix activities that want to handle screen size and orientation changes themselves.
...
* commit '1163f69aac0e72ea3274c2516caa540accd418ca':
Fix activities that want to handle screen size and orientation changes themselves.
2011-10-27 18:49:41 +00:00
Jack Palevich
1163f69aac
Fix activities that want to handle screen size and orientation changes themselves.
...
In API level 13 the android:configChanges property was changed incompatably.
In API level 12 and below, an activity that wanted to handle screen size and orientation changes
could achieve that by specifying
android:configChanges="orientation"
Starting with API level 13 the activity must specify
android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize"
This change updates all the activities in ApiDemos that want to handle screen size and orientation
changes themselves.
Fixes b/5522551 ApiDemos OpenGL ES rotation-without-restarting-Activity broken for API levels 13+
Change-Id: Ibc8b2b77eab9be279b56c026d76787d7185c62c9
2011-10-27 05:45:45 -07:00
Svetoslav Ganov
e824e69087
Adding a code sample for how to write a custom action provider.
...
NOTE: This change does *not* affect the system image rather only the SDK.
bug:5499856
Change-Id: I589ed412b72e94b21dbe1f069006c7c527a06c71
2011-10-25 20:35:52 +00:00
Svetoslav Ganov
7d9558522d
Adding a code sample for using AccessibilityNodeProvider to report virtual Views.
...
Note: This is a sample and does *not* affect the system image, rather only the SDK.
bug:5508317
Change-Id: I62bbef4b2a4c2789ddfa128e94ae37246d244ac0
2011-10-24 17:14:54 -07:00
Svetoslav Ganov
a066d76f59
am 43fe209e: Merge "Adding a code sample for how to write a custom action provider." into ics-mr0
...
* commit '43fe209e574d2134adb5dabc76efb0ca81645fcc':
Adding a code sample for how to write a custom action provider.
2011-10-24 12:46:37 -07:00
Svetoslav Ganov
30073fb13b
Adding a code sample for how to write a custom action provider.
...
NOTE: This change does *not* affect the system image rather only the SDK.
bug:5499856
Change-Id: I589ed412b72e94b21dbe1f069006c7c527a06c71
2011-10-21 18:30:40 -07:00