Commit Graph

1674 Commits

Author SHA1 Message Date
Joe Malin
50600ba5d6 am a525bf71: am 1e083591: am 2c063c88: Android Training: Threads sample app
* commit 'a525bf719545fc315d03c1c6ee74f61e8dda03e0':
  Android Training: Threads sample app
2012-12-13 11:00:59 -08:00
Joe Malin
a525bf7195 am 1e083591: am 2c063c88: Android Training: Threads sample app
* commit '1e083591aed6b77408f6fce363bd48e63db92ed4':
  Android Training: Threads sample app
2012-12-13 10:58:59 -08:00
Joe Malin
2c063c889a Android Training: Threads sample app
Change-Id: I6d07871acad31807eb4bf06aa8406b722320680c
2012-12-12 10:47:58 -08:00
Dianne Hackborn
36b302ba18 am 3509481c: am f443913a: am 613e19b7: SDK Only: Fix search interaction with various samples.
* commit '3509481cfae4b8dc0fdba4836bfc36e2bd04045e':
  SDK Only: Fix search interaction with various samples.
2012-12-07 13:24:02 -08:00
Dianne Hackborn
3509481cfa am f443913a: am 613e19b7: SDK Only: Fix search interaction with various samples.
* commit 'f443913ad3e44403819f3c740bcf30bc18f74170':
  SDK Only: Fix search interaction with various samples.
2012-12-07 13:22:26 -08:00
Stephen Hines
0e72fe1adb Update HelloCompute to use separate output bitmap.
Change-Id: I236d35b1ce41099dcd18389983d694982f1c7f6c
2012-12-07 11:24:52 -08:00
Dianne Hackborn
613e19b740 SDK Only: Fix search interaction with various samples.
These were broken where pressing back would not clear the
search filter.

Change-Id: Iafd4a497a31a9689efabe7d92f44618a5e8dc80c
2012-12-05 15:17:31 -08:00
kmccormick@google.com
47650f5754 am a65a3669: am 83f7dd40: am 6eed638a: am ab85a2a5: am d77ac2b9: am 80e0ac6a: am 70db2b6b: Merge "Doc change: sample app for Notifications class" into jb-dev-docs
* commit 'a65a366905755a51d000b115760e88a15cb8ff2b':
  Doc change: sample app for Notifications class
2012-11-27 17:33:37 -08:00
Romain Guy
47e30d714f Update TextClock sample code
The update sample shows how to use custom fonts, color names and
color resources.

Change-Id: I4b7929dde2611de3aef7a2e4a0853187bf223f43
2012-11-27 12:04:16 -08:00
kmccormick@google.com
a65a366905 am 83f7dd40: am 6eed638a: am ab85a2a5: am d77ac2b9: am 80e0ac6a: am 70db2b6b: Merge "Doc change: sample app for Notifications class" into jb-dev-docs
* commit '83f7dd40051b9a8e2a3786642c45e3166a137889':
  Doc change: sample app for Notifications class
2012-11-27 11:36:41 -08:00
kmccormick@google.com
ab85a2a59a am d77ac2b9: am 80e0ac6a: am 70db2b6b: Merge "Doc change: sample app for Notifications class" into jb-dev-docs
* commit 'd77ac2b955ff5adf68f7437bb286c3e02430f896':
  Doc change: sample app for Notifications class
2012-11-27 11:25:27 -08:00
kmccormick@google.com
d77ac2b955 am 80e0ac6a: am 70db2b6b: Merge "Doc change: sample app for Notifications class" into jb-dev-docs
* commit '80e0ac6abc4a58d7442cc1d0707e77f4636ea0bd':
  Doc change: sample app for Notifications class
2012-11-27 11:22:40 -08:00
&& repo sync -j8
fc0d593056 Doc change: sample app for Notifications class
Change-Id: Iaa45156f333e5b8e9bc9cc596900835540ff138e
2012-11-26 16:56:34 -08:00
Marco Nelissen
3cab67467e Add video for VideoView demo
Add one of the CTS test videos so the demo works out of the box, and
make the video fill the screen instead of hardcoding it to a tiny size.

Change-Id: Ie26a4ae0e186fe966d0679b088492a0c7d035713
2012-11-09 14:46:52 -08:00
Katie McCormick
c42a143ddb am 15920fa9: am 130b7e43: Merge "cherrypick from ics-mr1 docs: network sample Change-Id: If50f407a0e56fa802fe9beedaa650e3a131872b2" into jb-mr1-dev
* commit '15920fa94559ddff48b0d2e83b5f086c49fb5c67':
  cherrypick from ics-mr1 docs: network sample Change-Id: If50f407a0e56fa802fe9beedaa650e3a131872b2
2012-11-06 11:06:18 -08:00
Katie McCormick
99ca344b23 cherrypick from ics-mr1 docs: network sample Change-Id: If50f407a0e56fa802fe9beedaa650e3a131872b2
Change-Id: I60235aa3e80974f2c3000760853f0159cf41cfa5
2012-11-05 14:52:30 -08:00
Philip Milne
ffddc2e6d8 am 52a24010: am 888ac28d: Fixes to GridLayout demos.
* commit '52a24010bb1cca085fa752faa35807082dec867b':
  Fixes to GridLayout demos.
2012-11-05 14:17:53 -08:00
Trevor Johns
4bab2147b3 am b89392d8: Merge "LunarLander: Fix race condition causing crash on exit"
* commit 'b89392d837f06840c208ee3fbd3700632a04c725':
  LunarLander: Fix race condition causing crash on exit
2012-11-02 13:19:14 -07:00
Philip Milne
888ac28d79 Fixes to GridLayout demos.
Include a GridLayout version of the "Simple Form" example provided in the
LinearLayout and RelativeLayout demos.

Make the existing Form demo work on all devices and orientations
(it was previously too wide for portrait mode).

Change-Id: Ia01d49230bc3ef3d2e70bc34e936c8b4b421b796
2012-11-01 13:16:37 -07:00
Romain Guy
a161dd2994 Add sample code for the new widget android.widget.TextClock
Change-Id: I0b65fcc35db8d9f15d9b7c4ada0658d806a601b8
2012-10-31 20:35:07 -07:00
Trevor Johns
b69d09ecd9 LunarLander: Fix race condition causing crash on exit
When exiting the LunarLander sample, it was possible for the canvas
to get destroyed before execution was halted.

Added additional synchronization to make sure the current run-state
is accounted for before performing a canvas update.

Also updated deprecated constants in lunar_layout.xml.

Bug: 6164549
Change-Id: I9a710f6b128491f1beece84dd39ab00f4937a4c6
2012-10-31 16:58:00 -07:00
Jeff Brown
b7e8a4ecb1 Merge "Add a demo for using Presentations with the MediaRouter." into jb-mr1-dev 2012-10-26 13:53:05 -07:00
Roman Nurik
31f3da3a08 am 9cfe3d44: am dc567ef5: am c00fe97b: Merge "AnimationsDemo sample code for Animations training class." into jb-dev-docs
* commit '9cfe3d449dfe81c8dfe367ec9d954fee266dd8cf':
  AnimationsDemo sample code for Animations training class.
2012-10-26 09:00:34 -07:00
Roman Nurik
9cfe3d449d am dc567ef5: am c00fe97b: Merge "AnimationsDemo sample code for Animations training class." into jb-dev-docs
* commit 'dc567ef57a0b7903880539d18a738f0d92fb750b':
  AnimationsDemo sample code for Animations training class.
2012-10-26 08:57:47 -07:00
Jeff Brown
66dc70ff47 Add a demo for using Presentations with the MediaRouter.
Improved the documentation and robustness of the samples.

Modified the existing Presentation sample to use the new
DisplayManager API for querying displays that support a
particular category of uses.

Bug: 7409073
Change-Id: I2a19afa373c408c2bcbaa633370480b717630088
2012-10-25 20:14:32 -07:00
Roman Nurik
01be9fd4c0 AnimationsDemo sample code for Animations training class.
Change-Id: I0fbf3c2f66ee4321adcc0c0bf3fe7f4b4e67584e
2012-10-25 12:59:24 -07:00
Jeff Brown
c875f9321a Add ApiDemos for secure surfaces.
Added three ApiDemos for secure surfaces.  One for Activity,
one for Dialog and one for SurfaceView.  The mechanism is the
same in each case but the API is a little different.

Bug: 7368436
Change-Id: I78bc2a456b4c0f1a553120d72f433095ba7e038c
2012-10-24 12:56:50 -07:00
Jean-Baptiste Queru
6dd8880cc9 Reconcile with jb-dev - do not merge
Change-Id: Ie0ff01ab85c75e2dc14c12c14ff641aa4cf54b58
2012-10-03 15:22:04 -07:00
Adam Momtaz
2854254004 Merge "Added UiAutomator samples to SDK" into jb-mr1-dev 2012-09-25 19:06:57 -07:00
Adam Momtaz
8213206c6e Added UiAutomator samples to SDK
Verified tests are building OK.

Change-Id: I838e44e84b3d9e2e503bff4ed2b95887996d8801
2012-09-25 17:15:17 -07:00
Dianne Hackborn
7263dad223 Update API demos to match new tab interaction.
Follow changes to FragmentTabManager to continue to work
correctly with it.  Fix the code in the base API demo (which
can't use FragmentTabManager) to work correctly.

Bug #7232088: ListView saved state being lost in some cases

Change-Id: Ib7ba1ab20ff00f2cc95c9f6024ab94783237c9be
2012-09-25 15:07:06 -07:00
Jim Miller
84fb279107 Add test case for new keyguard widget API
Change-Id: Ibcb19c15964f4ea4bad36ec102e9aed8b4ea9c41
2012-09-20 23:46:30 -07:00
Craig Mautner
51f883381d Make Presentation demo retain image and color.
Store which Displays are presenting, their images and their
background colors. That way the don't change between onPause
and onResume.

Change-Id: I01328583ef309bf12e7f5750aa4abea50f847a99
2012-09-11 22:13:09 -07:00
Craig Mautner
9dac35adda New and improved Presentation demo.
Less clutter, bigger letters!

Change-Id: Ie0d5626c6a83a0e96bbda9220aea1f945c1bd825
2012-09-11 14:53:03 -07:00
Dianne Hackborn
bd783a0e87 New API demo for nested fragments in support lib.
Also some cleanup of other demos.

Change-Id: I8c4265218c87e490718c9c908803fc09303873a6
2012-09-09 14:41:24 -07:00
Dianne Hackborn
f3f7c5f775 API demo for nesting fragments.
Change-Id: I7f20e4f00cf68c78c578ae620a95de7fa97f0761
2012-09-06 11:39:30 -07:00
Jeff Brown
2e1fe78fbf Add new sample for Presentation API.
Change-Id: Ia31deb9ca6ad9a4db1dd6f852c00fa9a94caa4c3
2012-08-31 15:22:34 -07:00
Adam Koch
1e0f4c136f am f4db935d: am a4877aed: Merge "Updating code sample for "displaying bitmaps efficiently" training class. Changes: -Use updated versions of ImageWorker & ImageCache from I/O 2012 app -Use copied DiskLruCache from system (rather than custom) -Use copied AsyncTask f
* commit 'f4db935d3a104cfc828c888d4eb53a22c5b70424':
  Updating code sample for "displaying bitmaps efficiently" training class. Changes:  -Use updated versions of ImageWorker & ImageCache from I/O 2012 app  -Use copied DiskLruCache from system (rather than custom)  -Use copied AsyncTask from system (to keep behavior consistent)  -Ensure no strict mode violations or lint errors  -Other misc bug fixes  -Move single-use static methods in Utils to corresponding class
2012-08-28 07:47:06 -07:00
Adam Koch
f4db935d3a am a4877aed: Merge "Updating code sample for "displaying bitmaps efficiently" training class. Changes: -Use updated versions of ImageWorker & ImageCache from I/O 2012 app -Use copied DiskLruCache from system (rather than custom) -Use copied AsyncTask from system (t
* commit 'a4877aed7654e8bc7f531593f75c1ae05ef3411c':
  Updating code sample for "displaying bitmaps efficiently" training class. Changes:  -Use updated versions of ImageWorker & ImageCache from I/O 2012 app  -Use copied DiskLruCache from system (rather than custom)  -Use copied AsyncTask from system (to keep behavior consistent)  -Ensure no strict mode violations or lint errors  -Other misc bug fixes  -Move single-use static methods in Utils to corresponding class
2012-08-28 07:45:17 -07:00
Adam Koch
a4877aed76 Merge "Updating code sample for "displaying bitmaps efficiently" training class. Changes: -Use updated versions of ImageWorker & ImageCache from I/O 2012 app -Use copied DiskLruCache from system (rather than custom) -Use copied AsyncTask from system (to keep behavior consistent) -Ensure no strict mode violations or lint errors -Other misc bug fixes -Move single-use static methods in Utils to corresponding class" into jb-dev 2012-08-28 07:42:11 -07:00
Roman Nurik
a5e5a459c0 am e7df2e3f: am f6457d05: Merge "Retroactively add EffectiveNavigation and TabCompat sample code." into jb-dev
* commit 'e7df2e3f6eb1f847cc362f70b062fc76e7825d30':
  Retroactively add EffectiveNavigation and TabCompat sample code.
2012-08-23 14:11:40 -07:00
Adam Koch
03ceb37f79 Updating code sample for "displaying bitmaps efficiently" training class.
Changes:
 -Use updated versions of ImageWorker & ImageCache from I/O 2012 app
 -Use copied DiskLruCache from system (rather than custom)
 -Use copied AsyncTask from system (to keep behavior consistent)
 -Ensure no strict mode violations or lint errors
 -Other misc bug fixes
 -Move single-use static methods in Utils to corresponding class

Change-Id: If21e045db1e1a80391169f3c9c9258d48345ab6b
2012-08-23 16:41:05 -04:00
Roman Nurik
e7df2e3f6e am f6457d05: Merge "Retroactively add EffectiveNavigation and TabCompat sample code." into jb-dev
* commit 'f6457d0548f499f77c996d13cc43115e448aa437':
  Retroactively add EffectiveNavigation and TabCompat sample code.
2012-08-22 16:21:36 -07:00
Roman Nurik
d80ee02011 Retroactively add EffectiveNavigation and TabCompat sample code.
This sample code was launched with the Implementing Effective Navigation and
Creating Backward-Compatible UIs training classes, but the source was never
added to AOSP. This retroactively adds the source, unmodified.

Change-Id: If6face5a0548107f7fd273e466b1ced2790f4f3a
2012-08-22 08:05:28 -07:00
Dianne Hackborn
77201b5414 Rename UserId to UserHandle.
Change-Id: I701335483628d30c875d087f27287e084789f10c
2012-08-16 12:46:49 -07:00
Scott Main
fbd1a85d7b am 5e01d367: am ef91cce8: Merge "remove all zip files for training class samples. They\'re now at frameworks/base/docs/downloads/" into jb-dev
* commit '5e01d367b08ea225af6bca294acd04706ecaede2':
  remove all zip files for training class samples. They're now at frameworks/base/docs/downloads/
2012-08-07 15:24:59 -07:00
Scott Main
5e01d367b0 am ef91cce8: Merge "remove all zip files for training class samples. They\'re now at frameworks/base/docs/downloads/" into jb-dev
* commit 'ef91cce81b6b89c5d47c6fbda9ea913a95fa7d46':
  remove all zip files for training class samples. They're now at frameworks/base/docs/downloads/
2012-08-07 15:23:33 -07:00
Scott Main
826be7b0f9 remove all zip files for training class samples.
They're now at frameworks/base/docs/downloads/

Change-Id: I3a82edcc73196dfc8ffc6a1e4d172925d5581157
2012-08-07 15:13:23 -07:00
Scott Main
1a14e24067 am 1aeb3525: am 3a76c1fd: Merge "docs: move all ZIP files for training classes here, originally from the html/shareables/ directory to save space on the developer site." into jb-dev
* commit '1aeb3525e1a49ed654eb7fe1855f40aa0d1c1b0d':
  docs: move all ZIP files for training classes here, originally from the html/shareables/ directory to save space on the developer site.
2012-07-26 15:42:50 -07:00
Scott Main
1aeb3525e1 am 3a76c1fd: Merge "docs: move all ZIP files for training classes here, originally from the html/shareables/ directory to save space on the developer site." into jb-dev
* commit '3a76c1fd1b99c7c2f6df19ec54d4948c9dd1b204':
  docs: move all ZIP files for training classes here, originally from the html/shareables/ directory to save space on the developer site.
2012-07-26 15:41:33 -07:00