Commit Graph

1930 Commits

Author SHA1 Message Date
Svetoslav Ganov
a12747bca5 am 7c833d71: Merge "Update the print from off-screen WebView sample" into klp-dev
* commit '7c833d7164cc8689da9495dc2d3c5a3185296e07':
  Update the print from off-screen WebView sample
2013-10-30 18:59:38 -07:00
Svetoslav Ganov
7c833d7164 Merge "Update the print from off-screen WebView sample" into klp-dev 2013-10-31 01:56:29 +00:00
Svetoslav Ganov
b356564db1 Update the print from off-screen WebView sample
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
2013-10-30 18:51:49 -07:00
Adam Koch
70f9c93467 am ddba6b87: Merge "KitKat SMS APIs DevByte Sample Code" into klp-dev
* commit 'ddba6b876843c72e49b812d028f19e0be656ab9f':
  KitKat SMS APIs DevByte Sample Code
2013-10-30 16:52:18 -07:00
Adam Koch
ddba6b8768 Merge "KitKat SMS APIs DevByte Sample Code" into klp-dev 2013-10-30 23:44:10 +00:00
Svetoslav Ganov
c100e53e42 am 79efac6b: Merge "Add print samples to the ApiDemos app." into klp-dev
* commit '79efac6b3aedb6e5bcb54bec7566fa9038240f93':
  Add print samples to the ApiDemos app.
2013-10-30 14:09:25 -07:00
Svetoslav Ganov
79efac6b3a Merge "Add print samples to the ApiDemos app." into klp-dev 2013-10-30 21:04:49 +00:00
Adam Koch
e77abcd465 KitKat SMS APIs DevByte Sample Code
Change-Id: I9f0a414e73b37183f4939b95c21c4ce1d5dc52f0
2013-10-30 15:56:59 -04:00
Svetoslav Ganov
42c6250c9d Add print samples to the ApiDemos app.
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
2013-10-30 12:12:55 -07:00
Roman Nurik
685583383d am 3b6fb5c0: Merge "Add Android 4.4 Immersive Mode DevByte sample code." into klp-dev
* commit '3b6fb5c02be844a7437357ca70a836233d4cdfc2':
  Add Android 4.4 Immersive Mode DevByte sample code.
2013-10-30 06:59:15 -07:00
Roman Nurik
3b6fb5c02b Merge "Add Android 4.4 Immersive Mode DevByte sample code." into klp-dev 2013-10-30 13:53:17 +00:00
Svetoslav
22af8556df am 40bea547: Merge "Adding an API demo for how to implement printing in an app." into klp-dev
* commit '40bea5476a5d4207852c1932ce738adaa90c5b30':
  Adding an API demo for how to implement printing in an app.
2013-10-29 23:43:08 -07:00
Svetoslav
40bea5476a Merge "Adding an API demo for how to implement printing in an app." into klp-dev 2013-10-30 06:39:09 +00:00
Svetoslav
0b73e61c6c Adding an API demo for how to implement printing in an app.
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
2013-10-29 22:59:03 -07:00
Dirk Dougherty
dc7ece5fd0 am 46686c6f: Merge "Add prebuilt browseable samples as static files." into klp-dev
* commit '46686c6f15b45df0c2b8e522ae87103c16bb1275':
  Add prebuilt browseable samples as static files.
2013-10-29 21:25:43 -07:00
Dirk Dougherty
46686c6f15 Merge "Add prebuilt browseable samples as static files." into klp-dev 2013-10-30 04:18:09 +00:00
Dirk Dougherty
4b737b695e Add prebuilt browseable samples as static files.
Change-Id: Ifb5382223343400882834d2dd9c182c3df602e34
2013-10-29 20:56:17 -07:00
Adam Koch
6c8f4d9682 am 47e3f029: Bitmapfun Sample: Minor updates to match zip file in training class.
* commit '47e3f029a4ff80d537011d6738f7cf8572956be8':
  Bitmapfun Sample: Minor updates to match zip file in training class.
2013-10-28 17:12:41 -07:00
Adam Koch
47e3f029a4 Bitmapfun Sample: Minor updates to match zip file in training class.
Change-Id: I0fa13d5d8947532e9b5906b863ca75e5c85ac544
2013-10-28 17:01:45 -04:00
Roman Nurik
e7a6ab4fd8 Add Android 4.4 Immersive Mode DevByte sample code.
Change-Id: I3515e2742a4b8285f7e3f7c214af1d43dde605a0
2013-10-28 11:53:23 -04:00
Narayan Kamath
e53bc4d9fe am 80b5d8d2: am b4f054a8: Merge "Remove invalid UTF-8 chars from source."
* commit '80b5d8d23a13df413f9406fd173660c81e78d6a7':
  Remove invalid UTF-8 chars from source.
2013-10-25 08:51:06 -07:00
Narayan Kamath
80b5d8d23a am b4f054a8: Merge "Remove invalid UTF-8 chars from source."
* commit 'b4f054a894790f68f991c1034fb9c5cb75fe546e':
  Remove invalid UTF-8 chars from source.
2013-10-25 08:47:43 -07:00
Narayan Kamath
94ade845a7 Remove invalid UTF-8 chars from source.
Double checked that the time corrected verlet
equation is still readable. (If it isn't there's
always wikipedia).

Change-Id: I6573a4a096c2f2089968c19c79465b37540c2197
2013-10-24 19:15:06 +01:00
Chet Haase
9262e7037f Merge "Fix ApiDemo for transitions" into klp-dev 2013-10-23 18:01:42 +00:00
Chet Haase
69ae34b2b9 Fix ApiDemo for transitions
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
2013-10-23 07:14:03 -07:00
Adam Koch
7165109e6d Bitmapfun Sample: Cleanup gradle files to import into Studio properly.
Change-Id: I5578216d47b22ed6dcc5a33a80f7a4f6e39d810d
2013-10-22 14:16:35 -04:00
Chong Zhang
2ec448a255 am 58ef2c38: am fd6d06a1: mrp sample: refactor and use helper class
* commit '58ef2c388c9d1e7a27dfdbe84e90456cb1d2d157':
  mrp sample: refactor and use helper class
2013-10-21 17:27:15 -07:00
Chong Zhang
58ef2c388c am fd6d06a1: mrp sample: refactor and use helper class
* commit 'fd6d06a19ce06d0f3e4fa8c58c283be2f07aabfc':
  mrp sample: refactor and use helper class
2013-10-21 17:24:41 -07:00
Jeff Brown
10f2258723 am 6a81c4be: Fix NPE in sample code.
* commit '6a81c4be1649b8812296645db06bbaf93b3eb7cf':
  Fix NPE in sample code.
2013-10-21 17:24:40 -07:00
Chong Zhang
fd6d06a19c mrp sample: refactor and use helper class
Bug: 10955351

Change-Id: Ib607d27bc93a35460c6acd295d29afad3f255e25
2013-10-21 16:36:15 -07:00
Jeff Brown
6a81c4be16 Fix NPE in sample code.
Change-Id: I61b348192cd39813027ae5b4d2cedb2e84b701f1
2013-10-21 11:23:24 -07:00
Adam Koch
933dd8a3ca Merge "Bitmapfun Sample: Update for KitKat and clean up some minor bugs." into klp-dev 2013-10-21 13:14:01 +00:00
Adam Koch
c246e4a842 Merge "Bitmapfun Sample: Migrate to Android Studio/gradle project." into klp-dev 2013-10-21 13:13:26 +00:00
Adam Koch
da23e7a006 Bitmapfun Sample: Update for KitKat and clean up some minor bugs.
Change-Id: Iceb1c03a08193dc03747ab7946e9c19cf32ae7c7
2013-10-17 14:32:33 -04:00
Adam Koch
d308f86f33 Bitmapfun Sample: Migrate to Android Studio/gradle project.
Change-Id: I74dd29d607f066d331ffa309dba1bc6cbb30d93f
2013-10-17 11:05:13 -04:00
Dianne Hackborn
dbe4e751b7 New system UI API demos.
- Content browser that hides nav bar.
- Translucent bars.
- All the new flags on the direct system UI tweaker example.

Change-Id: I16fc8da252174db1ed45b0f60c37d6cbb8d7f13c
2013-10-11 16:17:58 -07:00
Alan Viverette
5d5026ee66 Update Support4Demos targetSdkVersion to 19
BUG: 10752103
Change-Id: I11954c70b6b6a473a86264ea67961bb3b3a260cd
2013-10-03 17:00:16 -07:00
Jeff Brown
ebc9c692f2 am ca5521ed: am 5d3d35ee: Always register the RCC even for local playback.
* commit 'ca5521ed66d3f403d893f087f794b9c595a69593':
  Always register the RCC even for local playback.
2013-09-27 17:58:25 -07:00
Jeff Brown
ca5521ed66 am 5d3d35ee: Always register the RCC even for local playback.
* commit '5d3d35ee89ccd2bc02a65af03d46ea031c8cf73a':
  Always register the RCC even for local playback.
2013-09-27 17:55:55 -07:00
Jeff Brown
5d3d35ee89 Always register the RCC even for local playback.
Change-Id: I6f2ca31b746f9f53ef9aa6edb674514979ad1893
2013-09-28 00:52:07 +00:00
Jason Sams
d1e8cb25b5 Fix use of dead APIs.
bug 10752757

Change-Id: I8e145f141eb573456d62b32cf8c10387f666635b
2013-09-23 16:05:44 -07:00
Alan Viverette
8a30cb9940 Fix drawer mirroring in Support4Demos
BUG: 10209321
Change-Id: I2a96fb2448a30a1635920346826f598d09decf20
2013-09-13 16:04:26 -07:00
Erik Gilling
438ea813f1 Add Consumer IR ApiDemo
Change-Id: I4eb27b2ba6a46c27962eaa5e09d3e65939b64c0a
2013-09-10 21:07:58 -07:00
Dirk Dougherty
73762c8de9 am 17b152d9: am 60880978: am fe32c3ad: Adjust tags format in _index.jd files.
* commit '17b152d9a273987645fa97b0df00a35378efc85a':
  Adjust tags format in _index.jd files.
2013-09-05 19:34:14 -07:00
Dirk Dougherty
17b152d9a2 am 60880978: am fe32c3ad: Adjust tags format in _index.jd files.
* commit '60880978e61a43624e50a3537819e827a24ff2ae':
  Adjust tags format in _index.jd files.
2013-09-05 19:33:05 -07:00
Dirk Dougherty
60880978e6 am fe32c3ad: Adjust tags format in _index.jd files.
* commit 'fe32c3ad53be328d445e8c5ce1d3b1f2bdad7166':
  Adjust tags format in _index.jd files.
2013-09-05 19:30:18 -07:00
Dirk Dougherty
fe32c3ad53 Adjust tags format in _index.jd files.
Change-Id: Id32ea71d4b8d54c6e8783326b112b20e23a8f44c
2013-09-05 18:50:25 -07:00
Chet Haase
f3dbdc66d7 Minor fixes to animation ApiDemos
Many of the original animation demos still had hardwareAccelerated="false"
in their activity tag. This was originally necessary due to the state of the
hw renderer in 3.0, but is no longer necessary.

Also, added documentation to the new Transitions demo.

Issue #7902583 Update animation ApiDemos to use hw acceleration

Change-Id: I7add3acc10d8fa36648e1869a3ec91088b2e199d
2013-09-05 12:57:33 -07:00
Dirk Dougherty
79392cbf67 am 97717b66: am 3186fb28: am 16f78acf: Add _index.jd files to a few test samples.
* commit '97717b6664d08e00e6a94715fd77cb01cf0ce7ae':
  Add _index.jd files to a few test samples.
2013-09-04 22:25:42 -07:00
Dirk Dougherty
97717b6664 am 3186fb28: am 16f78acf: Add _index.jd files to a few test samples.
* commit '3186fb282159f222abe20a804a24e7d49f4c81c0':
  Add _index.jd files to a few test samples.
2013-09-04 22:23:35 -07:00