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
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