To print we create an off-screen WebView but do not destroy it
immeidately after printing. WebViews are somehow expensive and
we do not want to keep them around more than needed.
Change-Id: Ic9c78994e0c96d4d08c0e318c459acddd2e5a652
1. Added a sample for printing a bitmap.
2. Added a sample for printing an on-screen WebView.
3. Added s sample for printing an off-screen WebView.
4. Fixed a bug in the custom layout print sample.
Change-Id: I35b2bbf8c7fd9bc39be795b1f793d9ea7bdfc8a0
This is a very comprehensive code sample in which:
1. Layout based on the selected print options is performed.
2. Layout work is performed only if print options change would change the content.
3. Layout result is properly reported.
4. Only requested pages are written.
5. Write result is properly reported.
6. Both Layout and write respond to cancellation.
7. Layout and render of views is demonstrated.
Change-Id: I0179b025b286f0a511cb2268da18c729c66874ba
This CL updates the api-versions.xml file, which is a file
used by Lint API check to check which API version each class,
field and method reference was introduced in.
It is generated by running sdk/apigenerator on an SDK install
which has android.jar from all 19 releases of Android installed.
This file was updated recently, but a few more APIs have changed
since then, so I regenerated it with the latest android.jar
snapshot.
Change-Id: If36a1df74c6bfabd9874a9d94b3725bf56bffcaa
The demo used an obsolete/wrong tag name for TransitionSet
(set, instead of the correct transitionSet). This caused the demo
to crash at runtime and to produce incorrect example docs in the
Transition reference pages.
Issue #11346546 Transition ApiDemo crashes
Change-Id: I12142870ac4f7412e5809b9cdad3ca3015449d77
This CL updates the api-versions.xml file, which is a file
used by Lint API check to check which API version each class,
field and method reference was introduced in.
It is generated by running sdk/apigenerator on an SDK install
which has android.jar from all 19 releases of Android installed.
This file was updated recently, but a few more APIs have changed
since then, so I regenerated it with the latest android.jar
snapshot.
Change-Id: I93b14fcd2e692aa607bbefade46f6f42ae144864
- Content browser that hides nav bar.
- Translucent bars.
- All the new flags on the direct system UI tweaker example.
Change-Id: I16fc8da252174db1ed45b0f60c37d6cbb8d7f13c
The line endings script changes line endings, but also
removes the executable permissions of the files. We don't
want this to happen for scripts such as systrace.py
(cherry picked from commit de3fa5df07)
Change-Id: Icee78118d0d7367176e8561338ae547228ee087d
This CL updates the api-versions.xml file, which is a file
used by Lint API check to check which API version each class,
field and method reference was introduced in.
It is generated by running sdk/apigenerator on an SDK install
which has android.jar from all 19 releases of Android installed.
This diff shows some methods getting removed from API 18 which
apparently were not in API 18; the last revision of the file
must have been run on a non-final version of the platform.
Change-Id: If08e4e9f08ae7fecbe938c1e928ad8698ed4025a
Summary: method getDhcpInfo() is being un-deprecated and
a new version of API 18 doc should be released for the SDK.
Bug: 10003785
Change-Id: I8f790f21ade23c8894046c27ad9027fc7cb42687
(cherry picked from commit f19416c388)
Summary: method getDhcpInfo() is being un-deprecated and
a new version of API 18 doc should be released for the SDK.
Bug: 10003785
Change-Id: I8f790f21ade23c8894046c27ad9027fc7cb42687