Commit Graph

624 Commits

Author SHA1 Message Date
The Android Open Source Project
d350cf1bb8 am ca81fb41: merge from open-source master
Merge commit 'ca81fb411afd93378f01e3e13ef482693fd35a73' into kraken

* commit 'ca81fb411afd93378f01e3e13ef482693fd35a73':
  Corrected StatusBarNotificationSample
2010-05-19 08:18:13 -07:00
The Android Open Source Project
ca81fb411a merge from open-source master
Change-Id: I4af8f65d1dfff3912f0057645943df78ddefc7ca
2010-05-19 08:13:51 -07:00
Dianne Hackborn
d9d107e815 am 689868ac: Small fix to surface window sample. 2010-05-18 18:37:20 -07:00
Dianne Hackborn
689868ac47 Small fix to surface window sample.
Change-Id: Iaae90aaf8cfdb71c6201eba8a436450a75b2b732
2010-05-18 18:33:05 -07:00
Christian Mehlmauer
9bfa323af1 Corrected StatusBarNotificationSample
Change-Id: I892e84198cfe288e673b81e8ffc331525fee09b8
2010-05-18 23:44:32 +02:00
Dianne Hackborn
a2abe6de26 am 5ee6d7a1: Merge "Add new demo of taking over a window\'s surface." into kraken 2010-05-18 12:24:57 -07:00
Dianne Hackborn
988a7192ac Add new demo of taking over a window's surface.
Change-Id: If76f577d2a314018d7dc7980ffa446b7cf050037
2010-05-18 10:46:32 -07:00
The Android Open Source Project
562d456ba8 am 3dcb1f7a: am c043a97c: merge from open-source master 2010-05-18 09:34:21 -07:00
The Android Open Source Project
c043a97c9f merge from open-source master
Change-Id: Ib0c6bef7b527a79c9902046889e29a4bccd0ab87
2010-05-18 09:27:19 -07:00
Christian Mehlmauer
b88f42b361 Removed Calls to deprecated API
Change-Id: Ia94734637df6aa7b8b08417c49a3485f34f1b94c
2010-05-17 23:43:43 +02:00
Dianne Hackborn
68f9ae5d18 New API demo of Fragment.startActivityForResult().
Change-Id: I87c5851bfaf3fa84bf57c101bab05b9a1911585d
2010-05-14 10:28:30 -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
09fa09cff2 Update to follow fragment APIs.
Change-Id: If7f4d2465590cd27aed04d2675498fbe59474728
2010-05-07 11:31:43 -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
Ray Chen
c73455df1a API Change: MediaScannerConnection.ScanResultListener -> MediaScannerConnection.OnScanCompletedListener.
Change-Id: I1386394dbccda4c01e50d89b8fdeca97ee65a29f
2010-04-06 15:16:13 -07:00
Romain Guy
51344bdcff Update Layout Animations samples to take the display's density into account.
Change-Id: I1a6768a36879ad0909a557c17142c9294e20dcbb
2010-03-30 17:05:23 -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
Dianne Hackborn
c1f107a257 Add new quality constant.
Change-Id: I386438485a921ec94ed1047936ca182c04bce410
2010-03-22 17:02:46 -07:00
Brett Chabot
880855ed20 Remove use of deprecated API from test sample code.
Modify tests sample code to use ActivityInstrumentationTestCase2 and its new
constructor.

Change-Id: Idf927b6641c8dfb4aede8cb2bba45de29320bcf5
2010-03-18 18:54:57 -07:00
Roman Nurik
be1232d3cf Merge "Add SMS manager demo" 2010-03-01 13:03:16 -08:00
Roman Nurik
f096f961ff Add SMS manager demo 2010-03-01 10:57:37 -08:00
Dianne Hackborn
c48b3d9b71 Move DeviceAdmin APIs to android.app.admin. 2010-02-26 18:25:03 -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
0a4b90cb68 Fix issue #2420412: API review: DeviceAdmin API changes 2010-02-17 10:30:09 -08:00
Dianne Hackborn
9fc7996adb Removed limit-unlock policy. 2010-02-11 14:34:23 -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
Jack Palevich
66914d4a73 Improve Cube Map and FrameBufferObject samples.
Fix tabs and trailing whitespace.

Expand comment to explain how we search for GL extensions.

Rename and document the DEBUG_RENDER_OFFSCREEN_ONSCREEN variable.
Also make it final static because its value never changes.
2010-02-03 16:00:49 +08:00
Dianne Hackborn
1c2669905d Fix sample code markers. 2010-01-29 19:12:05 -08:00
Dianne Hackborn
906d338680 Update to follow device policy "mode" to "quality" change. 2010-01-29 17:16:11 -08:00
Jack Palevich
d97a9e3b3b Merge "Add API Demos showing how to use cube maps and frame buffer objects." 2010-01-29 14:28:47 -08:00
Jack Palevich
89282a6fd6 Add API Demos showing how to use cube maps and frame buffer objects. 2010-01-29 20:58:38 +08:00
Dianne Hackborn
c518e3ac44 Update to follow device policy API changes. 2010-01-28 13:16:10 -08:00
Dirk Dougherty
26d1fb0c8d am 07b5c3bd: am c220077d: Merge "SDK doc change: Misc fixes." into eclair
Merge commit '07b5c3bdb76e7f4b4ceefb48e5cf11ed789bb0c2'

* commit '07b5c3bdb76e7f4b4ceefb48e5cf11ed789bb0c2':
  SDK doc change: Misc fixes.
2010-01-28 12:37:28 -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
2086587ba4 Update sample admin with a description to uses-policies info. 2010-01-26 12:28:25 -08:00
Dirk Dougherty
07b5c3bdb7 am c220077d: Merge "SDK doc change: Misc fixes." into eclair
Merge commit 'c220077d52972356ff30d46d47def7669731f0d7' into eclair-plus-aosp

* commit 'c220077d52972356ff30d46d47def7669731f0d7':
  SDK doc change: Misc fixes.
2010-01-22 16:49:51 -08:00
Dirk Dougherty
e096b94573 SDK doc change: Misc fixes.
Bug: 2160782
Change-Id: I44d1d9687df45dae40a6922a37e6b410cc2de835
2010-01-22 15:18:15 -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
Romain Guy
74192eafec Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:18 -08:00
Jack Palevich
c1645153e7 Tool for compressing/decompressing ETC1 textures.
The ETC1 texture format is commonly supported by
OpenGL ES 2.0-capable GPUs.

For historical reasons ETC1 texture files have the
default extension .PKM

This tool relies on the libETC1 library to
compress and decompress the image data.
2009-12-31 13:19:21 +08:00
Jack Palevich
8e50990893 Remove unnecessary matrix stack manipulations.
glDrawTexiOES does not use the matix stack, so no need to modify it.
2009-12-22 18:32:05 +08:00
Dirk Dougherty
a276296490 Merge commit 'e897c1b4' into manualmerge
Conflicts:
	samples/ApiDemos/src/com/example/android/apis/app/_index.html
2009-12-15 23:27:22 -08:00
Dirk Dougherty
e897c1b428 am 1d151678: Merge change Ie8650e4b into eclair
Merge commit '1d15167865b22730cf6ba314a057e62f960aa1db' into eclair-plus-aosp

* commit '1d15167865b22730cf6ba314a057e62f960aa1db':
  sdk doc change for esr: fix some broken links to resources files.
2009-12-15 19:26:25 -08:00
Dirk Dougherty
0b1153b115 sdk doc change for esr: fix some broken links to resources files.
Bug: 2160782
Change-Id: Ie8650e4b642a96e67a2e7e62669282bc58d414ba
2009-12-15 18:47:00 -08:00
Romain Guy
764ff7513a am dcf99fbe: Merge change If4ff28ed into eclair-mr2
Merge commit 'dcf99fbe7ac981c4ef3c8def65213e148281547a' into eclair-mr2-plus-aosp

* commit 'dcf99fbe7ac981c4ef3c8def65213e148281547a':
  Cleanup one of the ListView sample demos.
2009-12-10 16:58:46 -08:00
Romain Guy
f4ff28edda Cleanup one of the ListView sample demos. 2009-12-10 15:19:03 -08:00