Commit Graph

2101 Commits

Author SHA1 Message Date
Adam Koch
aa3687df9e am 2e5555e0: Bitmapfun Sample: Fix bug where background image loading could hang
# Via Adam Koch
* commit '2e5555e04b1e78f2d6fc48e8069b33399a4cf028':
  Bitmapfun Sample: Fix bug where background image loading could hang
2013-02-01 13:27:32 -08:00
Trevor Johns
2aca583c4b Remove MailSync demo
This directory seems to be empty, and predates the initial AOSP
code drop.

Change-Id: Ibdab72dd60523cb13dab14d0bfc65775d6430c20
2013-01-31 16:49:07 -08:00
Adam Koch
2e5555e04b Bitmapfun Sample: Fix bug where background image loading could hang
Background image loading is paused when the GridView is scrolling,
if the activity is destroyed during a scroll the image loading was
not unpaused causing it to remain running indefinitely. This change
makes sure the background image loading is unpaused.

Change-Id: Iad8093fc2af50fcfc1416c5d9089db0c064711cf
2013-01-28 12:20:42 -05:00
Winson Chung
b28878a5b8 Updating WeatherListWidget to the new collections widget api.
Change-Id: I29a56e54ebcac0b951114efdf01f98afd1adb758
2013-01-16 14:10:17 -08:00
Chet Haase
71459f1fe0 am fb198383: am 8c013aee: am 690af128: Cherrypick from Change-Id: I4ae984cf776604cede32b98db6b1eb3cb6c59c7e
* commit 'fb198383cc3c786ed303e49e29c8d0b86f38be73':
  Cherrypick from Change-Id: I4ae984cf776604cede32b98db6b1eb3cb6c59c7e
2013-01-15 11:05:58 -08:00
Chet Haase
8c013aeeec am 690af128: Cherrypick from Change-Id: I4ae984cf776604cede32b98db6b1eb3cb6c59c7e
* commit '690af1285c320a1d3fc31cc57414347c74bd8e1d':
  Cherrypick from Change-Id: I4ae984cf776604cede32b98db6b1eb3cb6c59c7e
2013-01-15 11:01:26 -08:00
Chet Haase
690af1285c Cherrypick from Change-Id: I4ae984cf776604cede32b98db6b1eb3cb6c59c7e
First set of demo apps for DevBytes videos

Change-Id: I696b184aaa8058f01c0369a173aae09e38a8cb08
2013-01-15 10:36:26 -08:00
Chet Haase
5e6a1236f4 Merge "First set of demo apps for DevBytes videos" 2013-01-14 15:25:14 -08:00
Chet Haase
74497f3336 First set of demo apps for DevBytes videos
Change-Id: I4ae984cf776604cede32b98db6b1eb3cb6c59c7e
2013-01-14 15:21:15 -08:00
Adam Koch
1724b187c7 am fe85cdde: am 79f346a7: am ec5a8473: am b8a61acb: Bitmapfun Sample: Change cache memory calculation to use maxMemory()
* commit 'fe85cdde2864129d69bc2c5621143620a0c34e62':
  Bitmapfun Sample: Change cache memory calculation to use maxMemory()
2013-01-14 09:31:23 -08:00
Adam Koch
fe85cdde28 am 79f346a7: am ec5a8473: am b8a61acb: Bitmapfun Sample: Change cache memory calculation to use maxMemory()
* commit '79f346a78e35079cf390b7328cce1fbcaa0ce845':
  Bitmapfun Sample: Change cache memory calculation to use maxMemory()
2013-01-14 09:28:10 -08:00
Derek Sollenberger
f7aa76bb3c Merge "Remove unsupported BrowserPlugin." 2013-01-14 07:57:29 -08:00
Adam Koch
ec5a847325 am b8a61acb: Bitmapfun Sample: Change cache memory calculation to use maxMemory()
* commit 'b8a61acb072e03665b2c53c7fd049b5bbf5ed1d4':
  Bitmapfun Sample: Change cache memory calculation to use maxMemory()
2013-01-14 06:15:15 -08:00
Adam Koch
b8a61acb07 Bitmapfun Sample: Change cache memory calculation to use maxMemory()
When calculating memory cache size, use Runtime.maxMemory() instead
of getMemoryClass() which is a more accurate value of available VM
heap size.

Also bump target and build SDK to 17.

Bug: 7988323
Change-Id: I4b94688b3800d958ffbe03ee9a2a620982483d3d
2013-01-11 16:51:09 -05:00
Adam Koch
48820d230d am 15493fd9: am 784be44a: am a1d11945: am 6acfaccc: Bitmapfun Sample: Fix inSampleSize selection and update dependencies
* commit '15493fd9c382bad416c434fe048c87fe2a2fe589':
  Bitmapfun Sample: Fix inSampleSize selection and update dependencies
2013-01-11 10:53:25 -08:00
Adam Koch
15493fd9c3 am 784be44a: am a1d11945: am 6acfaccc: Bitmapfun Sample: Fix inSampleSize selection and update dependencies
* commit '784be44a77ce4ec19824377260d93783071fd053':
  Bitmapfun Sample: Fix inSampleSize selection and update dependencies
2013-01-10 06:32:07 -08:00
Adam Koch
a1d11945fd am 6acfaccc: Bitmapfun Sample: Fix inSampleSize selection and update dependencies
* commit '6acfaccc5078e55a63d1c500bc0c28d432407e9e':
  Bitmapfun Sample: Fix inSampleSize selection and update dependencies
2013-01-10 06:26:41 -08:00
Adam Koch
6acfaccc50 Bitmapfun Sample: Fix inSampleSize selection and update dependencies
When computing inSampleSize, calculateInSampleSize() needs to compare
height/width ratios, rather than raw values.

Also updating support library JAR to latest version.

Bug: 7951398
Change-Id: Id15dbcc105bbd2bbf8e03883aeba780da6f807eb
2013-01-09 16:12:52 -05:00
Derek Sollenberger
dd2ab662b7 Remove unsupported BrowserPlugin.
Change-Id: Id163f56788f1e02b90a95dfb89b4cd0462aa0cbd
2013-01-08 13:21:12 -05:00
Katie McCormick
7ca2ee364e am b66af3b7: am 7c704705: am 1f152439: am 65cc8b78: Network sample: fix typo in manifest
* commit 'b66af3b789bb724d00694af54500b71591ed3268':
  Network sample: fix typo in manifest
2013-01-04 17:51:05 -08:00
Katie McCormick
b66af3b789 am 7c704705: am 1f152439: am 65cc8b78: Network sample: fix typo in manifest
* commit '7c704705ea2516fce940d1531715c7fdc83f6d42':
  Network sample: fix typo in manifest
2013-01-04 16:40:36 -08:00
Katie McCormick
1f1524395d am 65cc8b78: Network sample: fix typo in manifest
* commit '65cc8b78a8a3594911772c665d77fd6030d9fd51':
  Network sample: fix typo in manifest
2013-01-04 16:35:53 -08:00
Katie McCormick
65cc8b78a8 Network sample: fix typo in manifest
Change-Id: I5731dbb89d17bd15bc72a2f140bca2915976b4c1
2013-01-04 16:04:23 -08:00
Joe Malin
dd067789b8 am 34b168f6: am 92a7f64c: am fa8f593a: am 50600ba5: am a525bf71: am 1e083591: am 2c063c88: Android Training: Threads sample app
* commit '34b168f642a5dd30186ce76cdc9ef71d272c22cb':
  Android Training: Threads sample app
2012-12-13 11:11:56 -08:00
Joe Malin
34b168f642 am 92a7f64c: am fa8f593a: am 50600ba5: am a525bf71: am 1e083591: am 2c063c88: Android Training: Threads sample app
* commit '92a7f64c12fb7a186ed554d4b3c09214bbcc390a':
  Android Training: Threads sample app
2012-12-13 11:07:06 -08:00
Joe Malin
fa8f593a2a am 50600ba5: am a525bf71: am 1e083591: am 2c063c88: Android Training: Threads sample app
* commit '50600ba5d68e1e002bd8b6ca646be93f922d37ab':
  Android Training: Threads sample app
2012-12-13 11:03:10 -08:00
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