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
Steve Block
3e9dae13d6
Merge "Fix use of WebView.loadData() to avoid passing invalid encoding"
2011-10-17 09:00:28 -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
Scott Main
936304c95f
fix android beam icon and add make file
...
Change-Id: Ib7a77ec6a5c15c06c009bb3a47c1f983f98c553a
2011-10-14 14:02:45 -07:00
Scott Main
8e56770703
docs: add update information to some samples
...
Change-Id: Ifafa507bd9e74f2605fe190b12f831051af5f422
2011-10-14 11:09:54 -07: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
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
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
Chet Haase
e3239b8d24
Fix fill behavior in an old AnimationSet demo.
...
FillEnabled/FillBefore/FillAfter have somewhat non-intuitive behavior.
The demo didn't work at all as intended, so I changed the animation resource
to reflect the actual behavior desired (delay starting the child animations
in the inner AnimationSet and avoid having those animations set the transform
before they start)
Change-Id: I135842091902ba243851dad0104f86e1b8605053
2011-08-08 16:30:34 -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