Commit Graph

12720 Commits

Author SHA1 Message Date
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
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
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
Andrew Hsieh
dc5ecc7e3e Add arch-mips64 symlink
To build mips64el-linux-android-4.8
eg.
  ./build/tools/gen-platforms.sh --minimal --dst-dir=$NDK --ndk-dir=$NDK --overlay --arch=mips64
  ./build/tools/build-gcc.sh /tmp/ndk-$USER/src $NDK mips64el-linux-android-4.8 \
     --with-python=prebuilt --try-64

Change-Id: Ia1d4e12db2da18b1a20bcb00e754c23d8b5ba990
ToDo: Need to update platforms/android-9/arch-mips/src/crt*
2013-10-14 13:46:57 +08:00
The Android Automerger
6c22b7b05d merge in klp-release history after reset to klp-dev 2013-10-13 19:20:00 -07:00
Dianne Hackborn
e0dce67f03 am dbe4e751: New system UI API demos.
* commit 'dbe4e751b70b1f1699eed4047c7a1a772c4bcc8f':
  New system UI API demos.
2013-10-13 12:56:02 -07:00
The Android Automerger
10b290e3cb merge in klp-release history after reset to klp-dev 2013-10-13 06:01:21 -07: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
Raphael Moll
906ec536f2 am 37684bb0: Merge "resolved conflicts for merge of 14794b20 to klp-dev" into klp-dev
* commit '37684bb0653e2e93fb70fb4481799db485a90db1':
  Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
2013-10-10 15:38:25 -07:00
Raphael Moll
37684bb065 Merge "resolved conflicts for merge of 14794b20 to klp-dev" into klp-dev 2013-10-10 22:18:20 +00:00
Tor Norbye
afe40e3f75 am bc9875e2: Merge "Update the api-versions.xml file for KitKat" into klp-dev
* commit 'bc9875e27cbc042dc1388b94b1d20a1b46f21fc2':
  Update the api-versions.xml file for KitKat
2013-10-10 13:12:06 -07:00
Tor Norbye
bc9875e27c Merge "Update the api-versions.xml file for KitKat" into klp-dev 2013-10-10 20:08:13 +00:00
Raphael Moll
161314c80b resolved conflicts for merge of 14794b20 to klp-dev
Change-Id: Idfdd970a9c90ca91c23f1780457c6fd8a3644cdc
2013-10-10 12:00:41 -07:00
Raphael Moll
14794b209c am 3404cd16: am 827c0c16: Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
* commit '3404cd16bfd0fadf7d50a10351ca407d938dbf28':
  Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
2013-10-10 11:52:48 -07:00
Raphael Moll
3404cd16bf am 827c0c16: Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
* commit '827c0c16080fcb92505945e2210c440571251e3e':
  Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
2013-10-10 11:49:45 -07:00
Siva Velusamy
f14254870e am 3f12dac9: samples: Do not attempt to clean line endings for *.py DO NOT MERGE
* commit '3f12dac94da218f6a706a30201ac7bc06fe4b8ae':
  samples: Do not attempt to clean line endings for *.py DO NOT MERGE
2013-10-10 11:32:48 -07:00
The Android Automerger
af7160bdd2 merge in klp-release history after reset to klp-dev 2013-10-10 06:00:38 -07:00
Siva Velusamy
3f12dac94d samples: Do not attempt to clean line endings for *.py DO NOT MERGE
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
2013-10-09 18:16:06 -07:00