Commit Graph

284 Commits

Author SHA1 Message Date
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
Amith Yamasani
ed6ae47c87 SearchView examples 2010-09-14 18:05:13 -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
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
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
23bff5dd80 Add API demo for picking a contact with a permission grant.
Change-Id: I9b0659e18afb19f8050cb77104c41ea291a9e3c7
2010-09-02 11:21:05 -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
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
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
Chet Haase
64606ec84a Demo of new 3d rotation properties on View
Change-Id: I0b50b60c4452b3fc4bc22b8bc4109b8d78260204
2010-08-10 10:46:40 -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
Scott Main
6e9821c667 change fragment stack button from "next" to "new fragment"
also move text in the dialog demo to the top to make dialogs easier to read

Change-Id: I76c44f773098e64c79465060efb4bb6edab1fa3a
2010-08-03 14:12:43 -07:00
Dianne Hackborn
721a184e0a Add new sample for multi-pane PreferenceActivity.
Also re-arrange all preference API demos to go in their own
package, since the preferfence APIs themselves are in their own package.

Change-Id: I305f77dc09748bb60d1de8a23d063db64c11bb1e
2010-08-03 10:39:14 -07:00
Dianne Hackborn
05c2cb0748 Add sample code for PreferenceFragment.
Change-Id: I64222124daa117a2ea61dc55f2e26af78d3689c2
2010-07-28 16:07:15 -07:00
Dianne Hackborn
cdb8af8170 Add API demo for DialogFragment.
Change-Id: Id02cba60d661f747c36bc113bd81a2b6fe45573a
2010-07-24 11:43:26 -07:00
Konstantin Lopyrev
991a1f530a Fix 2677197: Adding support for minimum number of complex characters to the Device Admin Sample App.
Change-Id: I7570f005ee665adc150e8c4fb92068b4d8dcdbb1
2010-06-21 16:59:31 -07:00
Dianne Hackborn
9c5d122a98 New fragment sample code for ListFragment and context menus.
Change-Id: I97c64fa4c4140c81c7d0147026ba558ba1a76d2e
2010-06-12 10:17:58 -07:00
Dianne Hackborn
fce9bfd563 Add API demo for fragment menus.
Change-Id: I85714938861dea06bb72f39dd7d1465c0d3926e4
2010-06-09 11:38:32 -07:00
Konstantin Lopyrev
b00082c73a Fix 2673731: Adding support for password history to the Device Admin Sample App.
Change-Id: I1380ff9475c201d3c2ec2ec449b1103c3d55a3a7
2010-05-26 14:58:15 -07:00
Dianne Hackborn
165ca04d0e Add new fragment demo for changing with config.
This changes the FragmentLayout demo to show how the layout
(and entire UI flow) can easily be changed based on screen configuration
using fragments.  Here we have different UI for landscape vs portrait.

The old FragmentLayout demo is renamed to FragmentAnim and extended a
bit.

Various other tweaks to follow fragment API changes.

Change-Id: I8df918dbf32b3617cae2b20f77eb37d8211b8c89
2010-05-19 19:25:46 -07:00
Dianne Hackborn
edb8628b41 Update fragment API demos for new fragment APIs:
- Correctly work with state saving and restoring.
- Add new sample showing a fragment that is retained across activities.

Change-Id: I7b1e02135177e69e9fff23fcc55e86d93a75c7e0
2010-05-13 11:13:47 -07:00
Dianne Hackborn
d2d93d0b17 Update fragment samples to show back stacks and layout.
Change-Id: I016f87dc3b7433d0600a9a9308f666a36c5a98ca
2010-05-06 11:57:56 -07:00
Dianne Hackborn
5a076f43d5 First simple Fragment API demo.
Change-Id: I8d21485bc12445fe8a670796ddbc3e5ef57fd390
2010-04-19 15:09:36 -07:00
Romain Guy
eae42dbbf2 Polish for the gallery sample demo.
Change-Id: I3ea34ac090554494bf09e71aaa08a9148a0ab42a
2010-04-14 14:48:02 -07:00
Jim Miller
68230c3f72 Fix 2527411: Extend sample DPM app to test setMaximumTimeToLock()
Change-Id: I1a0ff93a27d7d27b66acbacf953eb0984e85e4cf
2010-03-29 20:22:06 -07:00
Roman Nurik
f096f961ff Add SMS manager demo 2010-03-01 10:57:37 -08:00
Dianne Hackborn
bae0f4fd87 Add new MessengerService API demo.
Also refactor the LocalService demo to be more ammenable to being
used for sample code in the java docs.
2010-02-18 16:26:12 -08:00
Dianne Hackborn
04a9130c8e New sample code for new external storage paths/APIs. 2010-02-09 12:54:41 -08:00
Andrew Stadler
1f91425318 Cleanups to Device Admin sample code
1.  Rename SampleDeviceAdmin to DeviceAdminSample where it appears in
    filenames.  This makes it easier to find when scanning directories.
2.  Fix bug in max password length handling
3.  Add a toast to warn user that entering values in "Password Attempts"
    box has real consequences.
2010-02-08 21:00:05 -08:00
Dianne Hackborn
906d338680 Update to follow device policy "mode" to "quality" change. 2010-01-29 17:16:11 -08:00
Dianne Hackborn
d51a50c766 More device admin work:
- Example warning message when disabling.
- UI to set maximum failed password attempts.
2010-01-26 18:04:54 -08:00
Dianne Hackborn
cc4ee91892 Start implementing UI for changing requested policies. 2010-01-21 14:30:29 -08:00
Dianne Hackborn
c86ba3199d Initial sample code for writing a device policy. 2010-01-16 18:01:37 -08:00