Commit Graph

1885 Commits

Author SHA1 Message Date
Adam Koch
8180be1421 Bitmapfun Sample: Minor updates/fixes.
Change-Id: I71dce2fdbe41ff67cc0aac9456d72d9aa7cb8318
2013-11-07 22:01:16 +00:00
Chong Zhang
c1eb23062b Add sample code to customize the MediaRouteControllerDialog
Bug: 11320487
Change-Id: I365c93173a74e99c63d919d2852690eed174d3b3
2013-11-05 09:53:24 -08:00
Dirk Dougherty
a0b7965b3a Add updated StorageProvider sample, merge _index with existing file.
Change-Id: I63d691929d2b30cedaafa5ede900670c59d4f83d
(cherry picked from commit 99acac3adb)
2013-11-01 23:53:24 +00:00
Dirk Dougherty
99acac3adb Add updated StorageProvider sample, merge _index with existing file.
Change-Id: I63d691929d2b30cedaafa5ede900670c59d4f83d
2013-11-01 15:10:11 -07:00
Scott Main
1d38e9a13e Merge "Updated description for the StorageProvider browseable sample." into klp-docs 2013-10-31 21:10:47 +00:00
quddusc
177a5df995 Fixed broken link in ActivityInstrumentation sample description.
Change-Id: I1ab9a5750693f44dec7aa97c99a2cfcd6af0b78e
(cherry picked from commit b5de8afa23)
2013-10-31 20:01:25 +00:00
quddusc
9edda10707 Updated description for the StorageProvider browseable sample.
Change-Id: I3f83a89e3b154f207e4054b92f0d4fc1f7851eb4
(cherry picked from commit a76387f7a4)
2013-10-31 20:00:41 +00:00
quddusc
b5de8afa23 Fixed broken link in ActivityInstrumentation sample description.
Change-Id: I1ab9a5750693f44dec7aa97c99a2cfcd6af0b78e
2013-10-31 11:03:15 -07:00
Dirk Dougherty
2397b75dc4 Fix broken javadoc reference.
Change-Id: I6b39015c340894715b3b24980ca0241a5e8f2a5a
(cherry picked from commit cc1867bc5b)
2013-10-31 17:01:59 +00:00
Dirk Dougherty
3ef2b0f371 Add StorageProvider sample code to browseables.
Change-Id: I353f596e9fc7455781e4c8d7f1972dfcd5739ddb
(cherry picked from commit c921db8d27)
2013-10-31 16:59:07 +00:00
Dirk Dougherty
cc1867bc5b Fix broken javadoc reference.
Change-Id: I6b39015c340894715b3b24980ca0241a5e8f2a5a
2013-10-31 05:45:54 -07:00
quddusc
11d2eef36f Updated browsable sample descriptions.
Change-Id: I21e3dfacb4bc1acfbe3b17c5f8001ee758f9eec2
(cherry picked from commit 3943cdc962)
2013-10-31 11:55:15 +00:00
quddusc
3943cdc962 Updated browsable sample descriptions.
Change-Id: I21e3dfacb4bc1acfbe3b17c5f8001ee758f9eec2
2013-10-30 20:51:43 -07:00
quddusc
a76387f7a4 Updated description for the StorageProvider browseable sample.
Change-Id: I3f83a89e3b154f207e4054b92f0d4fc1f7851eb4
2013-10-30 20:37:34 -07:00
Dirk Dougherty
2a7b416b5a Merge "Add StorageProvider sample code to browseables." into klp-dev 2013-10-31 02:33:02 +00:00
Dirk Dougherty
c921db8d27 Add StorageProvider sample code to browseables.
Change-Id: I353f596e9fc7455781e4c8d7f1972dfcd5739ddb
2013-10-30 19:31:29 -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
ddba6b8768 Merge "KitKat SMS APIs DevByte Sample Code" into klp-dev 2013-10-30 23:44:10 +00: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
3b6fb5c02b Merge "Add Android 4.4 Immersive Mode DevByte sample code." into klp-dev 2013-10-30 13:53:17 +00: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
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
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
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