Commit Graph

12765 Commits

Author SHA1 Message Date
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
Andrew Hsieh
c8e78f48f5 am 522490da: am 55530bf3: Merge "ndk: Add missing declaration for mkdtemp"
* commit '522490da814428394f5ac63364031a737851d04a':
  ndk: Add missing declaration for mkdtemp
2013-10-28 18:58:37 -07:00
Andrew Hsieh
64b721166c am ba2adddb: am 3fd7d3d3: Merge "cleaned code, added pinch gesture detector, better opengl context handling, fixed issues"
* commit 'ba2adddbd998b30fd54888e7d79ad6beae5b5fe2':
  cleaned code, added pinch gesture detector, better opengl context handling, fixed issues
2013-10-28 18:58:36 -07:00
Andrew Hsieh
522490da81 am 55530bf3: Merge "ndk: Add missing declaration for mkdtemp"
* commit '55530bf38722d88132efeee41c3f4fbff5e08e08':
  ndk: Add missing declaration for mkdtemp
2013-10-28 18:55:30 -07:00
Andrew Hsieh
55530bf387 Merge "ndk: Add missing declaration for mkdtemp" 2013-10-29 01:52:24 +00: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
David 'Digit' Turner
82703204a9 ndk: Add missing declaration for mkdtemp
The mkdtemp() function has always been implemented in the C library
(see [1] for proof) but was missing a declaration in <stdlib.h>, until
Android 4.0.1 [2]

This patch simply adds the missing declaration to former <stdlib.h>
versions. This makes it easier to build certain open-source programs
for Android, because auto-tools probing typically looks at the symbols
in libc.so to define HAVE_MKDTEMP, then the source fails to compile
because of the lack of declaration.

Note that the mkdtemp is also already listed in
platforms/android-*/arch-*/symbols/libc.so.functions.txt, which were
generated by parsing actual system libraries, and thus don't need to
be updated here.

[1] https://android.googlesource.com/platform/bionic/+/android-1.6_r1/libc/stdio/mktemp.c
    https://android.googlesource.com/platform/bionic/+/android-1.6_r1/libc/Android.mk

[2] ad1ff2fb26

Change-Id: I838b54bcb5cbfd2fed24cf7649897889ec7a5559
2013-10-28 18:46:54 +01:00
Roman Nurik
e7a6ab4fd8 Add Android 4.4 Immersive Mode DevByte sample code.
Change-Id: I3515e2742a4b8285f7e3f7c214af1d43dde605a0
2013-10-28 11:53:23 -04:00
Andrew Hsieh
ba2adddbd9 am 3fd7d3d3: Merge "cleaned code, added pinch gesture detector, better opengl context handling, fixed issues"
* commit '3fd7d3d383fd64e4a8b334ab831ece073580c02c':
  cleaned code, added pinch gesture detector, better opengl context handling, fixed issues
2013-10-28 02:10:15 -07:00
Andrew Hsieh
3fd7d3d383 Merge "cleaned code, added pinch gesture detector, better opengl context handling, fixed issues" 2013-10-28 09:07:25 +00:00
Hak Matsuda
5d1c91fb75 cleaned code, added pinch gesture detector, better opengl context handling, fixed issues
Change-Id: I26a28374ae74391204586b4584d03cf0c58772c2
2013-10-28 11:41:58 +08:00
Elliott Hughes
00d5277a33 am 9c527023: am 122d194b: Merge "Fix incorrect extern declaration of poll(2)."
* commit '9c527023067527de3474461771e4220c6942d2d6':
  Fix incorrect extern declaration of poll(2).
2013-10-25 10:24:35 -07:00
Elliott Hughes
9c52702306 am 122d194b: Merge "Fix incorrect extern declaration of poll(2)."
* commit '122d194b36e41ca6291efe6c27e02fc73d2a1683':
  Fix incorrect extern declaration of poll(2).
2013-10-25 10:22:10 -07:00
Elliott Hughes
122d194b36 Merge "Fix incorrect extern declaration of poll(2)." 2013-10-25 17:19:25 +00:00
Elliott Hughes
ebfbb367fb Fix incorrect extern declaration of poll(2).
Change-Id: I9ed5136a6b7d20fd0520e09d455a0447ea73e122
2013-10-25 09:07:42 -07: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
b4f054a894 Merge "Remove invalid UTF-8 chars from source." 2013-10-25 15:44:24 +00:00
Tor Norbye
8c37790e60 am 15a65401: Update the api-version.xml file to reflect KitKat recent changes
* commit '15a65401a8071dd36641726e788e19abe91d5b47':
  Update the api-version.xml file to reflect KitKat recent changes
2013-10-24 12:39:30 -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
Tor Norbye
15a65401a8 Update the api-version.xml file to reflect KitKat recent changes
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
2013-10-24 09:43:20 -07:00
Chet Haase
f02d44877a am 9262e703: Merge "Fix ApiDemo for transitions" into klp-dev
* commit '9262e7037fdaefbcde9d225b51af4bc980e69fcd':
  Fix ApiDemo for transitions
2013-10-23 11:05:12 -07: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
fb159c7976 am 7165109e: Bitmapfun Sample: Cleanup gradle files to import into Studio properly.
* commit '7165109e6d189ce518f6d3f0d1e09289c1d056c9':
  Bitmapfun Sample: Cleanup gradle files to import into Studio properly.
2013-10-22 11:39:34 -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
2e2085f48b am 2ec448a2: am 58ef2c38: am fd6d06a1: mrp sample: refactor and use helper class
* commit '2ec448a255367440b3dfad6fa6760acfb4c8e82b':
  mrp sample: refactor and use helper class
2013-10-21 17:32:07 -07:00
Jeff Brown
c683fb4c57 am bb1f4a73: am 10f22587: am 6a81c4be: Fix NPE in sample code.
* commit 'bb1f4a73f9eed6b67a5233af5873231651ecc117':
  Fix NPE in sample code.
2013-10-21 17:32:07 -07: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
Jeff Brown
bb1f4a73f9 am 10f22587: am 6a81c4be: Fix NPE in sample code.
* commit '10f225872313bd36188eaeec5c2417a8cb9ce1da':
  Fix NPE in sample code.
2013-10-21 17:27:14 -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
0d873095f1 am 933dd8a3: Merge "Bitmapfun Sample: Update for KitKat and clean up some minor bugs." into klp-dev
* commit '933dd8a3ca38896288e2329a5612da56044e40a3':
  Bitmapfun Sample: Update for KitKat and clean up some minor bugs.
2013-10-21 06:16:49 -07:00
Adam Koch
107a3b94b6 am c246e4a8: Merge "Bitmapfun Sample: Migrate to Android Studio/gradle project." into klp-dev
* commit 'c246e4a842f238d826a730b6f9d2250c1586c161':
  Bitmapfun Sample: Migrate to Android Studio/gradle project.
2013-10-21 06:16:48 -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
Ben Cheng
c888278c4a am d4b49c6c: am 8edf8ef6: Merge "Refresh sysroot headers for aarch64."
* commit 'd4b49c6ccfea428f0af5010ee164efa6727dc592':
  Refresh sysroot headers for aarch64.
2013-10-17 15:56:59 -07:00
Ben Cheng
d4b49c6ccf am 8edf8ef6: Merge "Refresh sysroot headers for aarch64."
* commit '8edf8ef6aadc1a568be40d52c0da659c2b1f5aa8':
  Refresh sysroot headers for aarch64.
2013-10-17 15:54:32 -07:00
Ben Cheng
8edf8ef6aa Merge "Refresh sysroot headers for aarch64." 2013-10-17 22:52:21 +00:00
Ben Cheng
2e2d9927e5 Refresh sysroot headers for aarch64.
Change-Id: I2443ff351aec5d558cb7843885e5b3f8177527e8
2013-10-17 14:07:49 -07:00