Cheng Ke
7ec212f118
Remove tab only if tab exists.
...
Prevent crash in ActionBarTabs(ApiDemos).
Change-Id: I1972fc761e8ebf245afb828fe7595bc764eaae56
2012-03-14 10:58:35 +08: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
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