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
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
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
[Problem]
LinearLayout5, RelativeLayout2 of ApiDemos has text input field
display error.
[Cause]
They use Holo theme although text input field use old style edit text
drawable as background.
[Solution]
Use default edit text without custom background for RelativeLayout2,
LinearLayout5 sample.
Change-Id: I102bf267119ba0903bd17e898b525af0aa2f0c5d
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
- Content browser now lets you long press to go into selection mode.
- Overscan demo has more options for controlling more window state.
Change-Id: I04cfb58f515882cc6dccd65cb68bc073e53dcad5
Improves the demo to use the new InputManager API for receiving
notifications when input devices are added, removed or changed.
For example, a game could listen for when new joysticks are
connected or disconnected.
Change-Id: I8ac35206d4f00011145d74c78e91d720aec8f21c
UI is now a set of check boxes to toggle the various modes.
Also add new API demos for two typical implementations using
system UI flags: a content browser and a video player.
Change-Id: If93659343cfc42b903b18997a5a0a04ee10e8343
o Remove NFCDemo sample app. It's janky and is mostly parsing code
that isn't needed anymore.
o Use new NDEF APIs for parsing and creating records
o Use nicer setNdefPushMessage() API
o Delete helper NDEF code that is not needed any more
o Use URL instead of Text for the foreground push demo
o Mark AndroidBeamDemo a test so it gets installed in data not system
Change-Id: I75eda84019c2075956688e26f2598f126d5659a2