Commit Graph

13145 Commits

Author SHA1 Message Date
Tor Norbye
68370aefea am 03a66dd8: am 30278c6f: Merge "Update the api-version.xml file to reflect KitKat recent changes" into klp-dev
* commit '03a66dd8e31b8e5b6779f621e63574081ee0128f':
  Update the api-version.xml file to reflect KitKat recent changes
2013-10-17 10:41:20 -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
4363a8f60a am d1e28cda: am 23f0a72d: am 956fc5ca: Merge "Add libm_hard.a for armeabi-v7a"
* commit 'd1e28cda454f38a406fd24894efe86a2f7ff41fb':
  Add libm_hard.a for armeabi-v7a
2013-10-17 05:10:50 -07:00
Andrew Hsieh
b222c1fa3f am 3e06938e: am 3bc014a6: am 69845974: Merge "Add __NDK_FPABI__ to function taking/returning float/double"
* commit '3e06938e3daae0c8f694a6252e5cae27729429ce':
  Add __NDK_FPABI__ to function taking/returning float/double
2013-10-17 05:10:49 -07: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
8ea2704d48 am 2cc7212e: am 91939c30: am a36935be: Merge "Add missing math functions"
* commit '2cc7212ebb699868727087864d118d36faae7703':
  Add missing math functions
2013-10-17 04:02:36 -07: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
097e972920 am 8eccbd3b: am edb74965: merge in klp-release (no-op)
* commit '8eccbd3b5d90b9f0557c9a01f49d45e98ac85a46':
2013-10-16 17:53:06 -07:00
Ed Heyl
8eccbd3b5d am edb74965: merge in klp-release (no-op)
* commit 'edb749657954b65ecf4d1dc884659f90a2e57f90':
2013-10-16 17:47:52 -07:00
Andrew Hsieh
cc09225269 am 88e4cafe: am 610b14ac: am e3f5a9c5: Merge "Update libandroid.so for API9 .. API18"
* commit '88e4cafe0dc54e53ae8d0843cf743fa80f4d6e98':
  Update libandroid.so for API9 .. API18
2013-10-16 17:36:12 -07:00
Ben Cheng
79a1d3ce60 am 930f4b12: am 2babe409: am bfd1ec82: Merge "Use updated uapi headers for aarch64."
* commit '930f4b12858c1dd256b8ddafb65226710431b661':
  Use updated uapi headers for aarch64.
2013-10-16 17:36:11 -07:00
Andrew Hsieh
81e1fb851f am 1c7eb039: am 7af421e1: am dc8f1f8d: Merge "Add arch-mips64 symlink"
* commit '1c7eb039277104a2e06090ddbc3b2ef4bd2b7a37':
  Add arch-mips64 symlink
2013-10-16 17:36:10 -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
Dianne Hackborn
f554d32aa6 am e0dce67f: am dbe4e751: New system UI API demos.
* commit 'e0dce67f030a9566e1111082392d8cd0d0e47802':
  New system UI API demos.
2013-10-14 10:51:54 -07: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
95ee0fbcb3 am 906ec536: am 37684bb0: Merge "resolved conflicts for merge of 14794b20 to klp-dev" into klp-dev
* commit '906ec536f24a6231e63371276db257f1bf1ed9f8':
  Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
2013-10-10 15:40:34 -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
938b6b66fb am afe40e3f: am bc9875e2: Merge "Update the api-versions.xml file for KitKat" into klp-dev
* commit 'afe40e3f75aecefb4614231161602dc41f8c488c':
  Update the api-versions.xml file for KitKat
2013-10-10 13:15:07 -07: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