Commit Graph

12935 Commits

Author SHA1 Message Date
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
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
Tor Norbye
03a66dd8e3 am 30278c6f: Merge "Update the api-version.xml file to reflect KitKat recent changes" into klp-dev
* commit '30278c6f481ac0e10459337d84f421c68583abbf':
  Update the api-version.xml file to reflect KitKat recent changes
2013-10-17 10:38:52 -07:00
Tor Norbye
30278c6f48 Merge "Update the api-version.xml file to reflect KitKat recent changes" into klp-dev 2013-10-17 17:31:56 +00:00
Adam Koch
d308f86f33 Bitmapfun Sample: Migrate to Android Studio/gradle project.
Change-Id: I74dd29d607f066d331ffa309dba1bc6cbb30d93f
2013-10-17 11:05:13 -04:00
Andrew Hsieh
d1e28cda45 am 23f0a72d: am 956fc5ca: Merge "Add libm_hard.a for armeabi-v7a"
* commit '23f0a72de7894d00912b7d829bd29f9ad628c80d':
  Add libm_hard.a for armeabi-v7a
2013-10-17 05:05:30 -07:00
Andrew Hsieh
3e06938e3d am 3bc014a6: am 69845974: Merge "Add __NDK_FPABI__ to function taking/returning float/double"
* commit '3bc014a6abc7d9569d2ff18a9fd076c5c8fbd058':
  Add __NDK_FPABI__ to function taking/returning float/double
2013-10-17 05:05:28 -07:00
Andrew Hsieh
23f0a72de7 am 956fc5ca: Merge "Add libm_hard.a for armeabi-v7a"
* commit '956fc5ca9ea08e532a81a1eb8ff4b1b530b2a25c':
  Add libm_hard.a for armeabi-v7a
2013-10-17 04:46:49 -07:00
Andrew Hsieh
956fc5ca9e Merge "Add libm_hard.a for armeabi-v7a" 2013-10-17 11:43:29 +00:00
Andrew Hsieh
059df41ed9 Add libm_hard.a for armeabi-v7a
A math library compiled with -mhard-float.  Build instructions:

1. cd to a recent Android source tree: bionic.git
   fbefb252b09634114977dbd1b48dd42bb2629b83 (internal) in this case
2. Temporarily remove "-mfloat-abi=softfp" from build/core/combo/arch/arm/armv7*
   and build/core/combo/TARGET_linux-arm.mk
3. Temporarily add "-mhard-float -mfloat-abi=hard" to LOCAL_CFLAGS
   for libm.a in bionic/libm/Android.mk
4. make -B -j32 out/target/product/generic/obj/STATIC_LIBRARIES/libm_intermediates/libm.a
5. Rename it

Change-Id: I107eea48af75e97b448862cfc7aae2e8f8911a63
2013-10-17 19:41:06 +08:00
Andrew Hsieh
3bc014a6ab am 69845974: Merge "Add __NDK_FPABI__ to function taking/returning float/double"
* commit '69845974fd0374acdadb5019e2f10242d1690d46':
  Add __NDK_FPABI__ to function taking/returning float/double
2013-10-17 04:20:58 -07:00
Andrew Hsieh
69845974fd Merge "Add __NDK_FPABI__ to function taking/returning float/double" 2013-10-17 11:16:53 +00:00
Andrew Hsieh
5881b5cbe7 Add __NDK_FPABI__ to function taking/returning float/double
Allow user code to be compiled with "-mhard-float" for armeabi-v7a
(which implies -mfloat-abi=hard), and either link with
1. Android native APIs which use softfp, or
2. A customized libm_hard.a which is compiled with -mhard-float. Need
   -D_NDK_MATH_NO_SOFTFP=1

See tests/device/hard-float/jni/Android.mk for details and restriction
on Clang

Change-Id: I773a842c73368e08b9a6cda0441e95a96fa303b2
2013-10-17 19:15:22 +08:00
Andrew Hsieh
2cc7212ebb am 91939c30: am a36935be: Merge "Add missing math functions"
* commit '91939c301c9598a6babbf0ad0e7696dda1cb5d57':
  Add missing math functions
2013-10-17 04:00:20 -07:00
Andrew Hsieh
91939c301c am a36935be: Merge "Add missing math functions"
* commit 'a36935be2189bb9cdb8bf6aa4b16db66fd1521b4':
  Add missing math functions
2013-10-17 03:56:40 -07:00
Andrew Hsieh
a36935be21 Merge "Add missing math functions" 2013-10-17 10:54:18 +00:00
Ed Heyl
8eccbd3b5d am edb74965: merge in klp-release (no-op)
* commit 'edb749657954b65ecf4d1dc884659f90a2e57f90':
2013-10-16 17:47:52 -07:00
Ed Heyl
edb7496579 merge in klp-release (no-op) 2013-10-16 17:35:18 -07:00
Andrew Hsieh
88e4cafe0d am 610b14ac: am e3f5a9c5: Merge "Update libandroid.so for API9 .. API18"
* commit '610b14acd4a3ebc565f88d96a6aa274b9bd75a3d':
  Update libandroid.so for API9 .. API18
2013-10-16 17:33:38 -07:00
Ben Cheng
930f4b1285 am 2babe409: am bfd1ec82: Merge "Use updated uapi headers for aarch64."
* commit '2babe4093578d15356ce9e0da62fff09f78f6f77':
  Use updated uapi headers for aarch64.
2013-10-16 17:33:37 -07:00
Andrew Hsieh
1c7eb03927 am 7af421e1: am dc8f1f8d: Merge "Add arch-mips64 symlink"
* commit '7af421e1e21199456003bf70695334472b53babf':
  Add arch-mips64 symlink
2013-10-16 17:33:36 -07:00
Andrew Hsieh
610b14acd4 am e3f5a9c5: Merge "Update libandroid.so for API9 .. API18"
* commit 'e3f5a9c5ddba72f688d48b87bc515852e032e3f6':
  Update libandroid.so for API9 .. API18
2013-10-16 17:30:09 -07:00
Ben Cheng
2babe40935 am bfd1ec82: Merge "Use updated uapi headers for aarch64."
* commit 'bfd1ec82b44bb90a327202aafa620523aed6307b':
  Use updated uapi headers for aarch64.
2013-10-16 17:30:08 -07:00
Andrew Hsieh
7af421e1e2 am dc8f1f8d: Merge "Add arch-mips64 symlink"
* commit 'dc8f1f8d078bde63a1440b4eff533d455773b720':
  Add arch-mips64 symlink
2013-10-16 17:30:07 -07:00
Andrew Hsieh
e3f5a9c5dd Merge "Update libandroid.so for API9 .. API18" 2013-10-17 00:27:47 +00:00
Ben Cheng
bfd1ec82b4 Merge "Use updated uapi headers for aarch64." 2013-10-17 00:27:11 +00:00
Andrew Hsieh
dc8f1f8d07 Merge "Add arch-mips64 symlink" 2013-10-17 00:27:05 +00:00
Ben Cheng
6570d523c4 Use updated uapi headers for aarch64.
Change-Id: I6093b3908f26842524acd5ba845e083b8ad6a888
2013-10-16 17:24:18 -07:00
Tor Norbye
f105e9b824 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: I93b14fcd2e692aa607bbefade46f6f42ae144864
2013-10-16 10:56:58 -07:00
Andrew Hsieh
0df3e70b99 Add missing math functions
1. Add sincos, sincosf, and sincosl to API >= 9 (for ARM only,
   because X86 and MIPS have it already)
2. Add nan, nanf, nanl, and tgammaf to API >= 13 (11 actually,
   but we don't want to add another API which is not released)
3. Add log2, log2f, log2l, logbl, nexttoward, and nexttowardl to
   API >= 18

See b.android.com/38423

Change-Id: I0a756aeeddafc3862f3c0ae38218cb3301608231
2013-10-15 15:55:12 +08:00
Andrew Hsieh
0c147ba2dc Update libandroid.so for API9 .. API18
This CL update library.  See
f3c3a93bc4 for API13..18 header update

Add functions:

android-9:
  AMotionEvent_getHistoricalRawX
  AMotionEvent_getHistoricalRawY
  AMotionEvent_getHistoricalTouchMajor
  AMotionEvent_getHistoricalTouchMinor
  AMotionEvent_getHistoricalToolMajor
  AMotionEvent_getHistoricalToolMinor
  AMotionEvent_getHistoricalOrientation

android-13:
  AAsset_seek64
  AAsset_getLength64
  AAsset_getRemainingLength64
  AAsset_openFileDescriptor64
  AConfiguration_getScreenWidthDp
  AConfiguration_setScreenWidthDp
  AConfiguration_getScreenHeightDp
  AConfiguration_setScreenHeightDp
  AConfiguration_getSmallestScreenWidthDp
  AConfiguration_setSmallestScreenWidthDp
  AMotionEvent_getAxisValue
  AMotionEvent_getHistoricalAxisValue
  ANativeWindow_fromSurfaceTexture (removed in >=API16)
  android_getTtsEngine
  getTtsEngine

android-14:
  AMotionEvent_getButtonState
  AMotionEvent_getToolType

android-15:
  << none >>

android-16:
  Remove ANativeWindow_fromSurfaceTexture

android-17:
  AConfiguration_getLayoutDirection
  AConfiguration_setLayoutDirection

android-18:
  << none >>

Also
  1. remove android-16/include/android/native_activity.h which is the
     same as android-13's
  2. fix input.h comments and missing args, same as
     9d0136004f for android-9
  3. sort android-9's libandroid.so.functions.txt for easier comparison

See https://code.google.com/p/android/issues/detail?id=47150
    https://code.google.com/p/android/issues/detail?id=58528

Change-Id: Iaa88fe45d188482fd0905ca54180c635ab02dd95
2013-10-14 18:44:24 +08:00