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
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
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
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
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
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
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
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
Steve Block
aa29f342e5
Fix use of WebView.loadData() to avoid passing invalid encoding
...
No change in behavior, as invalid encodings have always been ignored.
Bug: 5125738
Change-Id: Ice8ccc2b82e3c5d28169788321dfbbfadb29b392
2011-10-17 15:09:35 +01:00
Philip Milne
875cd1c602
Move GridLayout1/2 to here from GridLayoutTest in frameworks/base.
...
Change-Id: Iff31b918a3fdf599a356107a418e056cf5663142
2011-10-06 17:15:11 -07:00
Chet Haase
976d6ceb73
Clean up LayoutTransition demos for smaller screens.
...
These demos assumed the size of a tablet device and looked pretty
awful on phones.
Change-Id: I246ef5a5f4619c1f2fe689eca321314375722014
2011-10-06 12:46:00 -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
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
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
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
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
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
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
Daniel Sandler
173fb98b2d
Demonstration of the various fullscreen modes:
...
FLAG_FULLSCREEN,
SYSTEM_UI_FLAG_LOW_PROFILE,
SYSTEM_UI_FLAG_HIDE_NAVIGATION.
Bug: 5052456
Change-Id: I3c23caa83a66b585ae1102e3d473f6e4f096840d
2011-08-04 16:47:02 -04:00
Luca Zanolin
37a152d1ae
Merge "Show how to use broadcast for accessing voice search settings."
2011-08-04 02:51:50 -07:00
Luca Zanolin
50b7e75061
Show how to use broadcast for accessing voice search settings.
...
Change-Id: Ie17e377cd1814b58e00a56e8dfb84fc66cd88985
2011-08-04 09:50:21 +01:00
Dianne Hackborn
65b7786636
New API showing the various new service binding flags.
...
Change-Id: I2c19388c1c8b8386d77183c1e1f3aa9eef85cd46
2011-07-29 01:49:10 -07:00
Svetoslav Ganov
7dd37fbbed
Adding a missing documentation of the ActionProvider ActionBar sample.
...
Change-Id: I09772305953f7684388603f3f34ec21c64a09067
2011-07-28 17:50:04 -07:00
Romain Guy
c35d058e8d
Add new API demos for fragment custom animations.
...
Change-Id: Ia4339d4e4c1617907a9c707e1b8c2309b303e267
2011-07-25 16:29:00 -07:00
Amith Yamasani
ea5c0b0f87
New SearchView expansion using ActionBar feature.
...
Change-Id: Ib0a4bdc45af65fdeeb354ee02de02b251fec471d
2011-07-25 13:17:05 -07:00
Jeff Hamilton
9d7ed78e7a
Fix crashes when NFC isn't supported.
...
Change-Id: I638a1e4e5d7a0b5d4f84668e134b13457aeaa879
2011-07-20 23:22:00 -05:00
Svetoslav Ganov
575c0c3e5c
Fixing the action provider demo
...
1. Fixed a bug the the way the URI was set to the
intent.
2. Added code to copy a private raw resource to a
publicly readable file that is to be shared.
Change-Id: Ib7ee172b2a4a890ce77911d0ef1c3ea3b24e69c9
2011-07-19 13:19:47 -07:00
Svetoslav Ganov
ddece2d84d
Adding ActionProvider demo.
...
Change-Id: If0f540cd796ced27f392f1c31d20ab5ab34e5c3e
2011-07-14 18:00:14 -07:00
Dianne Hackborn
d79a09095c
New API demo showing how to make a resource reference.
...
Change-Id: I450d70432debc9d7f58a7f6597628dacc0225ddd
2011-07-01 15:08:44 -07:00
Jeff Brown
f53e7c9863
ApiDemos: Fix array indexing bug in game controller demo.
...
Change-Id: Ic7f1ce8bed39b2c10dd0e583c3ad118095f14752
2011-06-30 12:01:10 -07:00
Jeff Brown
402adc44c2
Add a sample for handling hover events.
...
Change-Id: I9e19e09d3f5b8d0fd03f52cc8d88e6a12399d12f
2011-06-28 14:28:57 -07:00
Adam Powell
c81d080a6a
Add SwitchPreference demo in ApiDemos.
...
Renamed toggle to Checkbox.
Update to trigger build queue recompilation.
Change-Id: Ie7800b5e41e86f8182bb550da869ccb316cbeb91
2011-06-21 16:55:33 -07:00
Dianne Hackborn
2a5f96547c
am 712e6c2d: am e5062a33: am 102041a8: SDK only: add documentation tags.
...
* commit '712e6c2d2ea1f83ea3e339e8e875d4b25edeca6c':
SDK only: add documentation tags.
2011-06-16 15:00:19 -07:00
Dianne Hackborn
102041a8bc
SDK only: add documentation tags.
...
Also fix up the new support API demo documentation.
Change-Id: I7a6945ffafa6a93cd394d5ce5729d6f9dfc0a183
2011-06-16 14:38:03 -07:00
Ben Komalo
63506eeafe
API sample for using new disallow camera policy.
...
Change-Id: Ic83b2079312860a3c4b9348ca28dc7d3c0a2b9e6
2011-06-15 18:01:22 -07:00
Dianne Hackborn
b6d84fde9f
resolved conflicts for merge of ce28e097 to master
...
Change-Id: Iced68c2dbae177b59aa6f3862868e68836be2afd
2011-06-13 17:21:25 -07:00
Dianne Hackborn
be6b6b494f
New API demos showing use of tabs with fragments.
...
Also various cleanup in other demos.
Change-Id: I4f5669117e28312bcd4b28795c5eca5f4ab6dcfb
2011-06-13 16:27:17 -07:00
Dianne Hackborn
d190f3b9d0
resolved conflicts for merge of faf6dcd6 to master
...
Change-Id: I637e2982daefb7c4800ed31bc4cadbfb16cc2c81
2011-06-03 11:05:47 -07:00
Andy Stadler
547494ef8a
DO NOT MERGE Replacement sample code for DevicePolicyManager api.
...
* UI is organized into multiple screens to make it easier to understand
* More feedback about local vs global (aggregate) policies
* Uses preference fragments for modern appearance
Backport of: I075161d389942786e6c95483becbff7ebe847078
Change-Id: Ie88c1577b2ebae124615cc4b45968851cf11187e
2011-06-02 16:39:17 -07:00
Andy Stadler
0879ed418d
Replacement sample code for DevicePolicyManager api.
...
* UI is organized into multiple screens to make it easier to understand
* More feedback about local vs global (aggregate) policies
* Uses preference fragments for modern appearance
Change-Id: I075161d389942786e6c95483becbff7ebe847078
2011-05-31 10:14:27 -07:00
Dianne Hackborn
10c33528e0
Extract support lib samples out of ApiDemos and in to their own app.
...
Change-Id: I2ca344e5f1b44c4825de938c9a4f9375a523ede5
2011-05-27 18:40:15 -07:00
Andy Stadler
69d5096f2b
Update ApiDemos to show active password status
...
* Add Check Password button
* Use it to report overall password status - isActivePasswordSufficient()
and various password settings.
* Fixed a minor bug that cause the password quality to be reset to
"unspecified" every time you start the activity.
* Leave the two password buttons enabled all the time (set password
can be used when not active, and check password just puts up a toast
explaining why it can't be used when inactive.)
This code can be used to confirm bug b/4445007 and hopefully its fix, too.
Change-Id: I136706072257d2e49184a29b0aa5d7a524960c40
2011-05-24 22:55:22 -07:00