Commit Graph

253 Commits

Author SHA1 Message Date
Chet Haase
7da3f9f51e Modfied demo to show setting animations to null
Originally, setting LayoutTransition animators to null just restored the default animation behavior, It seems more sensible to have null actually disable the animation. I made that change to the framework and modified this demo to show how it's done. Along the way, I refactored the code a bit and fixed some minor bugs.

Change-Id: Icfb53ada234b635294c5faa68a15932f25859fb8
2010-10-04 17:25:41 -07:00
Chet Haase
2a06483139 Demos for show/hide layout transitions
Change-Id: Idb7ecb66b7dc0126a230385dd09af6a9208d5345
2010-10-04 15:19:26 -07:00
Jeff Brown
cc633e4965 resolved conflicts for merge of 4110368b to gingerbread-plus-aosp
Change-Id: I23f83b1272ba6aef5a4fbadf5e450c1e0b4dd82b
2010-09-30 16:39:16 -07:00
Jeff Brown
fc1ee06369 Improve touch paint sample to use geometrical touch width.
Added multitouch support.
Fixed the trackball based drawing.

Change-Id: I15d9c5c4ac26a83f476f98c1f2ef3a5841e2ffbd
2010-09-30 15:32:28 -07:00
Jeff Brown
b39c4ba316 Added samples for splitting touches across views.
Also modified the rotating button demo to use touch splitting.

Change-Id: I560736903651e6846f847a9bd743a24a1707f6d2
2010-09-30 11:56:14 -07:00
Dianne Hackborn
8fc1811242 Make FramementLayout demo better... and, um actually work.
Also some other small cleanup.

Change-Id: Iaaf5d4a85113b4a01a4bd3986e2334972e1096ad
2010-09-21 19:29:47 -07:00
Joe Onorato
2d1343ad32 Add sample code for the new tablet ticker.
Change-Id: I621cb3daf3fe79db149e8efbac5ea3ec62371503
2010-09-21 11:55:12 -04:00
Amith Yamasani
ed6ae47c87 SearchView examples 2010-09-14 18:05:13 -07:00
Dianne Hackborn
519b6aa41e Modify retain sample to show of retained targets.
Change-Id: I33dd83651006469ef2af7976861f3b832e13bf60
2010-09-12 17:10:44 -07:00
Chet Haase
fe3b0cb7aa Merge "Enhanced demo for view transformation properties" 2010-09-09 15:35:56 -07:00
Chet Haase
b0a7a1ac0f Enhanced demo for view transformation properties
Change-Id: I01939513d7848b09ce17e7f604512a89062f446f
2010-09-09 14:53:12 -07:00
Jeff Brown
b7e6e13f99 resolved conflicts for merge of 2073f44b to master
Change-Id: I4e787edd6aed6027ceb30bd9c6def6912c48c63c
2010-09-08 13:11:24 -07:00
Jeff Brown
2073f44b8f am ff242db8: Merge "Add samples for secure views." into gingerbread
Merge commit 'ff242db8670695e946400d957a82d2933e7e01a1' into gingerbread-plus-aosp

* commit 'ff242db8670695e946400d957a82d2933e7e01a1':
  Add samples for secure views.
2010-09-08 11:57:59 -07:00
Gilles Debunne
045eac4208 New simple_selectable_list_item layout demo in ApiDemos / List
This layout uses the new border rectangle to highlight selected items.

Change-Id: Ic1b1bb4cb703c1f30e36a2913b9432a76ea0a6d6
2010-09-08 11:21:31 -07:00
Gilles Debunne
cd97f6686e Merge "Added a disabled button and a second text edit in View / Controls" 2010-09-08 11:09:19 -07:00
Gilles Debunne
62c863d257 Added a disabled button and a second text edit in View / Controls
Change-Id: I2e0e9b480609289fa7f9546614af51d4ce293a9c
2010-09-08 10:18:06 -07:00
Chet Haase
d9855a8dbe Animation classname changes
Change-Id: I0b3b5f1563ab0ac301684880957ed55ebfc54da5
2010-09-08 08:38:21 -07:00
Jeff Brown
cf4db94885 Add samples for secure views.
Change-Id: Ibe1e63c87f4c6a715009f7bbcdafa552dc2d937c
2010-09-07 13:04:15 -07:00
Chet Haase
0a495ab0d3 Demo ability to enable default layout animations from XML
Change-Id: I4a5c73391d277c248958cf8cb5260078006bafb1
2010-09-03 15:50:32 -07:00
Chet Haase
43828a8383 Demo of layout add/remove transitions
Change-Id: Ib5f31bb0b6d16fa18cf10a426a25c7a8138f620a
2010-09-03 12:19:41 -07:00
Dianne Hackborn
2593a187ab am 84d495af: am 23bff5dd: Add API demo for picking a contact with a permission grant.
Merge commit '84d495af1b030208cced9b3cd70486a0e9af6370'

* commit '84d495af1b030208cced9b3cd70486a0e9af6370':
  Add API demo for picking a contact with a permission grant.
2010-09-02 14:52:45 -07:00
Dianne Hackborn
84d495af1b am 23bff5dd: Add API demo for picking a contact with a permission grant.
Merge commit '23bff5dd80c782ac6d4f67caa57230f265fca77e' into gingerbread-plus-aosp

* commit '23bff5dd80c782ac6d4f67caa57230f265fca77e':
  Add API demo for picking a contact with a permission grant.
2010-09-02 14:49:25 -07:00
Dianne Hackborn
23bff5dd80 Add API demo for picking a contact with a permission grant.
Change-Id: I9b0659e18afb19f8050cb77104c41ea291a9e3c7
2010-09-02 11:21:05 -07:00
Jean-Baptiste Queru
712e7865b0 resolved conflicts for merge of 85173cc0 to master
Change-Id: I0ac3819b7c8a1822f217817ea6b8471cac24044f
2010-08-30 13:24:13 -07:00
Jean-Baptiste Queru
85173cc08a am be97ad65: Merge "Replaced deprecated Contacts Api with ContactsContract"
Merge commit 'be97ad655dedb392caa06ccc6c528b37ba5169fb' into gingerbread-plus-aosp

* commit 'be97ad655dedb392caa06ccc6c528b37ba5169fb':
  Replaced deprecated Contacts Api with ContactsContract
2010-08-30 10:25:04 -07:00
Jean-Baptiste Queru
be97ad655d Merge "Replaced deprecated Contacts Api with ContactsContract" 2010-08-30 09:04:19 -07:00
Dianne Hackborn
3e4a5c8a5e Update to follow clipboard APIs.
Change-Id: I905a499f2697bea218b6d4c3f8ec339fbe52c916
2010-08-27 11:06:05 -07:00
Dianne Hackborn
b15335142e Update preference samples.
Change-Id: Ia78d9c0f4f7e58f500aef55413b911904d0c40cd
2010-08-26 17:09:27 -07:00
Chet Haase
2ab1da8886 Demo for using and testing animation events
Change-Id: I7db791928dc590fd724f4c71565b42bc366e519c
2010-08-25 16:49:54 -07:00
Chet Haase
0366ddf4d3 Adding demo for xml animator loading
Change-Id: I77d4e4f3b26c47e7973dd64282c12a9d6c3b5dd1
2010-08-24 19:50:12 -07:00
Gilles Debunne
6e94ff6be9 New Views/Controls themes: Theme.Holo and Theme.Light.Holo
Change-Id: Ie3cd1ea5713119ce2027096a55e68997127a46f7
2010-08-23 17:23:02 -07:00
Dianne Hackborn
effa303688 Update fragment dialog samples.
- Follow API changes.
- Clean up and mark up for inclusion as sample code.
- New sample that shows a DialogFragment used as both a dialog
  and embedded in an activity.

Change-Id: Icaa41283562f4f345b188442ef988c9d5edd8ed1
2010-08-20 18:32:43 -07:00
Chet Haase
434672af29 add demo of bouncing balls to show various Animator APIs
Change-Id: I9d3aec9661d8845f67ea1c01b00f85f2380fd77f
2010-08-20 17:59:09 -07:00
Chet Haase
ce436337da Revert "Revert "demo multi-property animations""
This reverts commit afb6baf915.
2010-08-19 17:55:31 -07:00
Chet Haase
afb6baf915 Revert "demo multi-property animations"
This reverts commit d9e2a04d7c.
2010-08-19 17:40:27 -07:00
Chet Haase
d9e2a04d7c demo multi-property animations
Change-Id: I587bdc08e48a09d6df471e5bae767977c0c9ae18
2010-08-19 15:56:59 -07:00
Dianne Hackborn
1164f90b8a Update API demos to mark up for java doc insertion.
Change-Id: Ib0147af6c82f7781fd50f9a5f85c34c140973909
2010-08-17 18:53:23 -07:00
Chet Haase
eba431d703 demo for new reversing behavior in Animator
Change-Id: I50c736ce504105101f71551d6074750dca9d1391
2010-08-17 16:17:20 -07:00
Adam Powell
6c7ec482e3 Add GridView selection mode demo
Change-Id: I154424f29458870f66b3bb6b2025a4cd6fd16ee8
2010-08-16 11:48:34 -07:00
Dianne Hackborn
9e6f12a598 Update to follow fragment API changes.
Also make use of fragment arguments and targets to simplify code.

Change-Id: I79884854f4c7ff4fdc35c68087b5b2235a75c79f
2010-08-15 17:18:15 -07:00
Dianne Hackborn
b880eb4260 Update API demos to use new Fragment features.
In particular, use the new argument Bundle for passing runtime
data to fragments.  Simplifies the code some.

Change-Id: I248bfa0bf94b1599926038174baa4c7387ed8ba1
2010-08-12 17:19:06 -07:00
Chet Haase
84df83a5e2 Make fragments use the new animation system
Change-Id: I20b200c285336066d96cdb9cc37287d1168a1874
2010-08-11 16:41:49 -07:00
Chet Haase
64606ec84a Demo of new 3d rotation properties on View
Change-Id: I0b50b60c4452b3fc4bc22b8bc4109b8d78260204
2010-08-10 10:46:40 -07:00
Adam Powell
72187805c3 Added simple demos for ActionBar
Change-Id: Ie0dbf0c2bad61f75825e832305205811f49459d1
2010-08-06 14:42:20 -07:00
Dianne Hackborn
d21c55665c Some tweaks to the loader API demo.
Unfinished, but checkpointing.

Change-Id: Ib832a6915847302e8bbb23c6cf111c932fdacabf
2010-08-05 18:20:35 -07:00
Dianne Hackborn
46e70551eb New API demo for clipboard.
Change-Id: Ifcf52b2f7bae10e77c074868414a57c2d8f67c3c
2010-08-05 12:28:14 -07:00
Chet Haase
b9461fc8ef Add ApiDemo to show the new seeking behavior of Animator
Change-Id: I4ad4e322af9c1d8419e1d7f8bea6b20951a1dc4f
2010-08-05 11:51:13 -07:00
Oscar Montemayor
d53965f305 Attempting to add new Corp App to demo Global Proxy.
Making ApiDemos device admin able to set the Global Proxy.

Change-Id: I565ccf5d05b1c7d775aea968e99e04894c3f8b64
2010-08-04 16:02:39 -07:00
Adam Powell
a19298d0cf Added PopupMenu demo
Change-Id: Ib4ed4203dc78a4706963cb36e7bac7ec58a5747a
2010-08-04 11:37:05 -07:00
Andrew Stadler
45ae9c3def Cleanup fragment api demos
* Cleaned up extra whitespace & made vertical whitespace more consistent
* 100col wrap
* Remove unused imports
* Add @Override where necessary

Change-Id: I1ad404ffc4ce7fa9c4b661f7cc1783c86356316b
2010-08-03 17:39:20 -07:00