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
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
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
Add setDependency() call to make "from code" parent-child
behavior matched the "from XML" one.
Change-Id: I9e19a8bd16f69fb3101928831831103719a03a04
Signed-off-by: Joseph Judistira <joseph.judistira@gmail.com>
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
Store which Displays are presenting, their images and their
background colors. That way the don't change between onPause
and onResume.
Change-Id: I01328583ef309bf12e7f5750aa4abea50f847a99
* 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
* 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
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
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
* commit '1aeb3525e1a49ed654eb7fe1855f40aa0d1c1b0d':
docs: move all ZIP files for training classes here, originally from the html/shareables/ directory to save space on the developer site.
* commit '3a76c1fd1b99c7c2f6df19ec54d4948c9dd1b204':
docs: move all ZIP files for training classes here, originally from the html/shareables/ directory to save space on the developer site.
Also tweak the cursor loader samples to filter out query
callbacks that don't change the filter, to avoid restarting the
loader on a configuration change.
Change-Id: Iac9293fed45e127698be59262d68b0b59a8ec9ce