Commit Graph

30 Commits

Author SHA1 Message Date
Jim Miller
84fb279107 Add test case for new keyguard widget API
Change-Id: Ibcb19c15964f4ea4bad36ec102e9aed8b4ea9c41
2012-09-20 23:46:30 -07: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
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
96c0210eb5 Adding ICS Accessibility Features to ApiDemos app.
Change-Id: I37485821a77fed483308434e7b1d407642379d8c
2011-10-27 18:40:54 -07:00
Amith Yamasani
ea5c0b0f87 New SearchView expansion using ActionBar feature.
Change-Id: Ib0a4bdc45af65fdeeb354ee02de02b251fec471d
2011-07-25 13:17:05 -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
Ben Komalo
63506eeafe API sample for using new disallow camera policy.
Change-Id: Ic83b2079312860a3c4b9348ca28dc7d3c0a2b9e6
2011-06-15 18:01:22 -07:00
Anirudh Dewani
cd5e69361d Adding resizeMode to widget samples.
Change-Id: I60e43f4f2f3726f7b268f532f2da86913df72982
2011-06-10 16:46:40 +05:30
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
5ee9462101 Remove references to global proxy APIs
Remove global proxy settings from Apidemos
Remove CorpApp

Bug: 3460938
Change-Id: I2b6889a96341f0e4fad50a9cfaa76db715ecfaa0
2011-02-16 10:51:01 -08:00
Jeff Hamilton
6a16ba335f am e0fbd3ff: Demo for NFC ACTION_TECHNOLOGY_DISCOVERED intent.
* commit 'e0fbd3ffe82e6e80c6b070c3afbdb8e7fdd9bb25':
  Demo for NFC ACTION_TECHNOLOGY_DISCOVERED intent.
2011-01-29 09:32:16 -08:00
Jeff Hamilton
e0fbd3ffe8 Demo for NFC ACTION_TECHNOLOGY_DISCOVERED intent.
Change-Id: Ic537d209b07e81e80aeca5aa3e4a63657ac6fb76
2011-01-25 16:33:33 -06:00
Andy Stadler
3eb48a061a Add encryption status controls
* Enable, disable, and activate encryption
* Report encryption status

Change-Id: Ia76cf6033fe00ebdfd3369f8123f5d1ec109f3a9
2011-01-12 20:41:20 -08:00
Jim Miller
7a2d5f2981 Add password expiration test to DeviceAdminSample.
Change-Id: Ib5b398dc068227529d83be2b55c33225f9bbce80
2010-11-10 21:36:55 -08:00
Dianne Hackborn
b15335142e Update preference samples.
Change-Id: Ia78d9c0f4f7e58f500aef55413b911904d0c40cd
2010-08-26 17:09:27 -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
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
Dianne Hackborn
132ab286a1 Update preference example to show switching with fragments.
Change-Id: I2b1db31b5e1a0e83d843ad68b0a177048d2914f4
2010-08-03 17:07:45 -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
9fc7996adb Removed limit-unlock policy. 2010-02-11 14:34:23 -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
1c2669905d Fix sample code markers. 2010-01-29 19:12:05 -08:00
Dianne Hackborn
2086587ba4 Update sample admin with a description to uses-policies info. 2010-01-26 12:28:25 -08:00
Dianne Hackborn
c86ba3199d Initial sample code for writing a device policy. 2010-01-16 18:01:37 -08:00
The Android Open Source Project
243d18eb22 auto import from //branches/cupcake/...@137873 2009-03-11 12:11:54 -07:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
87a88c4f03 auto import from //branches/cupcake/...@131421 2009-02-13 12:57:48 -08:00
The Android Open Source Project
e3c5766074 auto import from //branches/cupcake/...@130745 2009-02-10 15:43:58 -08:00
The Android Open Source Project
5c11852110 Initial Contribution 2008-10-21 07:00:00 -07:00