David Friedman
3b601c6550
Fixed apparent copy/paste mistake
...
Bug: 11634373
Change-Id: I44766217f414988bfd3be68043a4b80dd21554d8
2014-02-05 11:18:32 +08:00
Andrew Hsieh
fbb32955a4
Fixed asset_manager.h, rect_manager.h, and jni.h
...
1. Fixed missing #include <sys/types.h> in android/asset_manager.h for API >= 13
2. Fixed missing #include <stdint.h> in android/rect_manager.h for API >= 14
3. Added JNICALL to JNI_OnLoad and JNI_OnUnload in jni.h
Change-Id: I875ec0b6e6f7c2f433c176f0a738eb78f3c33062
2014-01-08 14:10:06 +08: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
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