Jeff Sharkey
01ae453b0e
Example code for FileProvider.
...
Shows simple usage of FileProvider to share a private thumbnail
across process boundaries. Also serves as sample code for javadoc
on FileProvider.
Bug: 7005318
Change-Id: I0ca12977a3832c7c2ac1c254d411a547ffee0a51
2013-03-08 10:02:39 -08:00
Dianne Hackborn
654f51aa29
Add API demo for a custom layout.
...
This serves as a complete, formal layout, with attributes
and all that good stuff. Intended for use as sample code
in the java docs.
Change-Id: Ic45b9387d724bf574e2bfb8970b26c7b47fc0a2b
2013-03-06 13:46:42 -08:00
Dianne Hackborn
3de0bf970a
Add API demo for WindowInputToken.
...
Change-Id: I2c1521caa30545411f34e57ad2f5eceb16c0b2b1
2013-03-04 18:47:42 -08:00
Dianne Hackborn
a28de3ba59
Add new action bar demos:
...
- Buttons for showing/hiding action bar and system UI
in the basic action bar demo.
- New system UI demo that uses a non-overlay action bar.
Change-Id: Id3fbaa77365476489c558a2a43855a01f383551c
2013-02-27 18:32:21 -08:00
Adam Koch
0ff44f0050
am 5f51b7fb: Bitmapfun Sample: Add some docs and clean up some method naming.
...
* commit '5f51b7fb0caa695e2905545441979c5f0aa6f973':
Bitmapfun Sample: Add some docs and clean up some method naming.
2013-02-27 06:25:48 +00:00
Adam Koch
0c5b72b4dd
am e826ee24: Merge "Bitmapfun Sample: Add additional sample images." into jb-mr1-dev
...
* commit 'e826ee24ecacce4ff8d7ff511c1d9101f665a1c8':
Bitmapfun Sample: Add additional sample images.
2013-02-27 06:25:47 +00:00
Chris Banes
ac5a784467
am c5d5c3db: Merge "bitmapfun: Add support to use inBitmap option" into jb-mr1-dev
...
* commit 'c5d5c3db62354a51b90934511a1f8dd1c87e987f':
bitmapfun: Add support to use inBitmap option
2013-02-27 06:25:46 +00:00
Craig Mautner
92a74bf534
Merge "Add demo for rotation animation." into jb-mr2-dev
2013-02-26 15:32:03 +00:00
Craig Mautner
d540e6e0b7
Add demo for rotation animation.
...
New feature in App/Activity/Rotation Animation for overriding
default rotation animation with crossfade or jumpcut.
Change-Id: I3cb3cdb26770e6c7d040f4492eb02149af73b757
2013-02-25 18:21:56 -08:00
Dianne Hackborn
168241ee8e
Clean up of system UI flag demo, doc markup for overscan demo.
...
Change-Id: Iaef99a4c1aeebbd327bcbc42b27d20c8065f8d27
2013-02-25 16:48:06 -08:00
Dianne Hackborn
8227c14902
New overscan API demos.
...
A new flag on the system UI demo (which needs to be renamed),
and a new pure overscan demo.
Change-Id: I88a7a309147aaad773bbc00971a01369f4658b61
2013-02-22 15:20:55 -08:00
Zak Cohen
f773111c82
Merge "Make query in FileProvider demo respect OpenanbleColumns."
2013-02-22 16:00:02 +00:00
Adam Koch
16a056af3d
am 323e1a4f: am ddf2040c: am 985f6801: am 5f51b7fb: Bitmapfun Sample: Add some docs and clean up some method naming.
...
* commit '323e1a4f89ddeab38e4c0d4a42dad87b03621127':
Bitmapfun Sample: Add some docs and clean up some method naming.
2013-02-21 15:19:58 -08:00
Adam Koch
01e7cf4f65
am ecc73574: am d337bbbf: am d97830ca: am e826ee24: Merge "Bitmapfun Sample: Add additional sample images." into jb-mr1-dev
...
* commit 'ecc7357403438d0b0aea355d1ba0f938efeb3b94':
Bitmapfun Sample: Add additional sample images.
2013-02-21 15:19:57 -08:00
Chris Banes
a3fc703d7b
am c11af55d: am 2aac0a0a: am d2de640e: am c5d5c3db: Merge "bitmapfun: Add support to use inBitmap option" into jb-mr1-dev
...
* commit 'c11af55d1232a1d5b5b4422a16731484a2d38084':
bitmapfun: Add support to use inBitmap option
2013-02-21 15:19:56 -08:00
Adam Koch
323e1a4f89
am ddf2040c: am 985f6801: am 5f51b7fb: Bitmapfun Sample: Add some docs and clean up some method naming.
...
* commit 'ddf2040c2d12d5c1984363aff8ad24744f82b6e7':
Bitmapfun Sample: Add some docs and clean up some method naming.
2013-02-21 14:24:54 -08:00
Adam Koch
ecc7357403
am d337bbbf: am d97830ca: am e826ee24: Merge "Bitmapfun Sample: Add additional sample images." into jb-mr1-dev
...
* commit 'd337bbbfa5ef29ad95c919a4b97bf4e4884ed533':
Bitmapfun Sample: Add additional sample images.
2013-02-21 14:24:54 -08:00
Chris Banes
c11af55d12
am 2aac0a0a: am d2de640e: am c5d5c3db: Merge "bitmapfun: Add support to use inBitmap option" into jb-mr1-dev
...
* commit '2aac0a0a9d16fa494de17b64985517fc73836ca4':
bitmapfun: Add support to use inBitmap option
2013-02-21 14:24:53 -08:00
Adam Koch
985f6801fc
am 5f51b7fb: Bitmapfun Sample: Add some docs and clean up some method naming.
...
* commit '5f51b7fb0caa695e2905545441979c5f0aa6f973':
Bitmapfun Sample: Add some docs and clean up some method naming.
2013-02-21 14:14:37 -08:00
Adam Koch
d97830ca46
am e826ee24: Merge "Bitmapfun Sample: Add additional sample images." into jb-mr1-dev
...
* commit 'e826ee24ecacce4ff8d7ff511c1d9101f665a1c8':
Bitmapfun Sample: Add additional sample images.
2013-02-21 14:14:36 -08:00
Chris Banes
d2de640ee3
am c5d5c3db: Merge "bitmapfun: Add support to use inBitmap option" into jb-mr1-dev
...
* commit 'c5d5c3db62354a51b90934511a1f8dd1c87e987f':
bitmapfun: Add support to use inBitmap option
2013-02-21 14:14:35 -08:00
Zak Cohen
87cfef9699
Make query in FileProvider demo respect OpenanbleColumns.
...
Change-Id: I4b40d0ddfa8b88da67a6960102242d0d7bc12dfc
2013-02-21 16:05:30 +00:00
Adam Koch
5f51b7fb0c
Bitmapfun Sample: Add some docs and clean up some method naming.
...
Change-Id: I12dc039b1084a8f1a27b47a5a516773ab4e1c2cb
2013-02-21 11:00:19 -05:00
Adam Koch
e826ee24ec
Merge "Bitmapfun Sample: Add additional sample images." into jb-mr1-dev
2013-02-21 14:03:07 +00:00
Adam Koch
ec4b4c4188
Bitmapfun Sample: Add additional sample images.
...
Add a larger number of sample images so it's easier to see the result
of the various bitmap optimizations.
Change-Id: Ieef04a1cd4dc6cf1fa165baa0a6f8d4750b58d71
2013-02-20 15:08:06 -05:00
Dianne Hackborn
1ee9d5ec61
Add option to toggle the new overscan mode.
...
Change-Id: I552a1c8b36650c558fe6f4e3e1a9e40137d7274f
2013-02-19 12:05:17 -08:00
Chris Banes
3b7f23f881
bitmapfun: Add support to use inBitmap option
...
This adds support for devices running Honeycomb or newer
to use the inBitmap BitmapFactory option when decoding images. The way
it accomplishes this is by adding a second level 'memory cache' using
SoftReferences. When an item is removed from the LruCache it is added
to this SoftReference Set. The next time an image is decoded, the Set
is searched to see if it contains a bitmap that can be re-used.
Change-Id: I8f980160ddc7116731b25e6f3f110c38f207f286
Signed-off-by: Chris Banes <chrisbanes@google.com >
2013-02-13 13:19:09 +00:00
Chris Banes
a1a83e1f25
am e6edd932: am d3dc2b12: am 2a84299d: am f4535aee: Merge "Update bitmapfun sample to call recycle()" into jb-mr1-dev
...
# Via Android Git Automerger (3) and others
* commit 'e6edd9322b43ef14da2e447b45183bf07262238f':
Update bitmapfun sample to call recycle()
2013-02-07 11:19:47 -08:00
Chris Banes
e6edd9322b
am d3dc2b12: am 2a84299d: am f4535aee: Merge "Update bitmapfun sample to call recycle()" into jb-mr1-dev
...
# Via Android Git Automerger (2) and others
* commit 'd3dc2b12e21305685920d262cfdc093dfaf1da0b':
Update bitmapfun sample to call recycle()
2013-02-07 09:25:08 -08:00
Chris Banes
2a84299d4d
am f4535aee: Merge "Update bitmapfun sample to call recycle()" into jb-mr1-dev
...
# Via Android (Google) Code Review (1) and Chris Banes (1)
* commit 'f4535aee56bf564f962dbcbdc0ce03af98f0ebd4':
Update bitmapfun sample to call recycle()
2013-02-07 09:15:44 -08:00
Trevor Johns
dc452cf178
Merge "Remove MailSync demo"
2013-02-07 02:54:28 +00:00
Chris Banes
4d6574e878
Update bitmapfun sample to call recycle()
...
A new sub-class of BitmapDrawable has been created which tracks
when it is being used or cached when running on Gingerbread or
older. A new ImageView subclass has been added to accomplish this,
as well as changes to the LruCache.
Change-Id: I95d3334684703aebb6b09fcd56194cf73e3c2dcf
Signed-off-by: Chris Banes <chrisbanes@google.com >
2013-02-06 16:21:21 +00:00
Stephen Hines
4a31681276
Merge "Update HelloCompute to use separate output bitmap."
2013-02-05 21:42:50 +00:00
Adam Koch
6addcd306b
am 5d849d6f: am 5f404299: am aa3687df: am 2e5555e0: Bitmapfun Sample: Fix bug where background image loading could hang
...
# Via Android Git Automerger (3) and Adam Koch (1)
* commit '5d849d6f5003cb96c9c36f675c451a0dd57c02de':
Bitmapfun Sample: Fix bug where background image loading could hang
2013-02-04 16:43:41 -08:00
Adam Koch
5d849d6f50
am 5f404299: am aa3687df: am 2e5555e0: Bitmapfun Sample: Fix bug where background image loading could hang
...
# Via Android Git Automerger (2) and Adam Koch (1)
* commit '5f4042990ac33bd05cd4e3f48935d6eb0dc552c9':
Bitmapfun Sample: Fix bug where background image loading could hang
2013-02-04 09:06:34 -08:00
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