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
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
Michael Wright
f3c3a93bc4
Update NDK's android headers
...
Change-Id: I2ae3b42dcbbdccbcae018f768dc7b56723416d21
2013-08-29 18:17:46 -07:00
Andrew Hsieh
c45fca2926
Add missing SL_IID_ANDROIDBUFFERQUEUESOURCE in android-14 for ARM/X86
...
SL_IID_ANDROIDBUFFERQUEUESOURCE is new in android-14 and already
declared in platforms/android-14/include/SLES/OpenSLES_Android.h,
but it's missing from libOpenSLES.so
It turns out both *.functions.txt and *.variables.txt should exist
for gen-platforms.sh to generate new *.so. Add *.functions.txt otherwise
development/ndk/platforms/android-14/arch-(arm|x86)/symbols/libOpenSLES.so.variables.txt
are ignored. Note that MIPS is correct all along.
See http://code.google.com/p/android/issues/detail?id=40625
Change-Id: I826f13a93c9f3eaf648a59e7e844b53be5f7fba0
2012-12-04 20:23:41 +08:00
Andrew Hsieh
3f59495d17
Remove auto-gen project.properties
...
It's auto-gen by tool from default.properties in the same dir, etc.
Change-Id: I081ecb809699d42b707218b08e61b97fc9a51f1a
2012-04-02 18:32:04 +08:00
Glenn Kasten
00038deedc
Native media sample app for NDK API level 14
2012-04-02 18:08:03 +08:00
Chao-Ying Fu
718e73cf26
MIPS platform files for building the NDK
...
Change-Id: If19af75003aeb8872d23d7901f01c434bdc58a5f
2012-03-30 18:09:22 -07:00
Glenn Kasten
bd690d7cd2
Add README.txt for missing example
...
Change-Id: I88236a3953f6b62f8b3c6f80ecd5a94608c9296e
2011-10-19 15:15:56 -07:00
David 'Digit' Turner
8ece910f60
ndk: Update OpenSLES platform files for API level 14
...
Change-Id: I029b7eea0db05613389e8cd22b0440a56c850d53
2011-10-14 02:29:28 +02:00
David 'Digit' Turner
2c4b4c1a3d
ndk: Add OpenMAX headers and symbols for API level 14
...
Change-Id: I61f6f255357781d1912e25bd43815fd34ff83d0e
2011-10-14 01:52:11 +02:00