Commit Graph

13272 Commits

Author SHA1 Message Date
Andrew Hsieh
1fd910a7df am cbe87010: am 29c857fe: Merge "Restore immersive mode when volume button has been pressed."
* commit 'cbe870105d87898f4ed8687fde0952143946962e':
  Restore immersive mode when volume button has been pressed.
2013-12-30 06:10:21 +00:00
Andrew Hsieh
0862223e51 am 412eed7a: am 13f2b7e1: Merge "Fix rendering issue in Tegra2/3."
* commit '412eed7a9414317bc3f591fb9cb1c5a28a2f5974':
  Fix rendering issue in Tegra2/3.
2013-12-30 06:10:20 +00:00
Andrew Hsieh
cbe870105d am 29c857fe: Merge "Restore immersive mode when volume button has been pressed."
* commit '29c857fe6df5362ed16f2748d2447fe76209e2cb':
  Restore immersive mode when volume button has been pressed.
2013-12-29 22:05:58 -08:00
Andrew Hsieh
412eed7a94 am 13f2b7e1: Merge "Fix rendering issue in Tegra2/3."
* commit '13f2b7e16913512d4042a35dec05d71bba2983b0':
  Fix rendering issue in Tegra2/3.
2013-12-29 22:05:57 -08:00
Andrew Hsieh
29c857fe6d Merge "Restore immersive mode when volume button has been pressed." 2013-12-30 06:01:37 +00:00
Andrew Hsieh
13f2b7e169 Merge "Fix rendering issue in Tegra2/3." 2013-12-30 06:01:25 +00:00
Hak Matsuda
78bf635170 Restore immersive mode when volume button has been pressed.
Workaround issue where SYSTEM_UI_FLAG_IMMERSIVE_STICKY is invalidated
when a volume button is pressed (internal bug ref b/11986621)

Immersive mode still does not recover when the screen has been
rotated, due to onSystemUiVisibilityChange is not triggered
when screen is rotated (internal bug ref b/11990702)

Change-Id: Ifdfe9b24d5c3c208441aeca0fbb2b1eaee39da95
2013-12-30 13:49:54 +08:00
Hak Matsuda
2a0781b43d Fix rendering issue in Tegra2/3.
Now having medium precision for specular variable, so that specular power can be <1.0

Change-Id: I15459d34e269ba7d31bc899460540fe390e5e294
2013-12-30 13:49:23 +08:00
Andrew Hsieh
7e25851a68 Implement wait4 already exist in header
1. Implement wait4 by calling __wait4 exists in libc.so
2. Add wait4 to libc.a

Change-Id: I08b6555cc50ee88358cd2ec63f9d8d2d4482305a
2013-12-30 11:57:38 +08:00
Andrew Hsieh
4ecd37d091 am 57ebb3aa: am 7c35de7f: Merge "Add support for building the NDK\'s native_app_glue."
* commit '57ebb3aaa50b1f6aa032f882c6baaa69aa2da762':
  Add support for building the NDK's native_app_glue.
2013-12-27 00:09:19 +00:00
Andrew Hsieh
57ebb3aaa5 am 7c35de7f: Merge "Add support for building the NDK\'s native_app_glue."
* commit '7c35de7f0a1747b868304daff1c75907cba215b3':
  Add support for building the NDK's native_app_glue.
2013-12-26 16:06:10 -08:00
Andrew Hsieh
7c35de7f0a Merge "Add support for building the NDK's native_app_glue." 2013-12-27 00:00:01 +00:00
Todd Fiala
cfa0f35d00 Add support for building the NDK's native_app_glue.
Required for upcoming CTS tests that utilize the native_app_glue
framework to simplify native test apps.

In support of this feature:
https://code.google.com/p/android/issues/detail?id=63920

Change-Id: I3fe5dab26c147636538a4b519683493d8e78d26f
2013-12-26 15:39:36 +00:00
Andrew Hsieh
d9abded2b2 am 7a432f8c: am 11728ce9: Merge "Workaround the __builtin_isnan() type error for clang 3.4."
* commit '7a432f8cf2f16611a2964c1208d363ffc0e0be9f':
  Workaround the __builtin_isnan() type error for clang 3.4.
2013-12-25 02:16:49 +00:00
Andrew Hsieh
7a432f8cf2 am 11728ce9: Merge "Workaround the __builtin_isnan() type error for clang 3.4."
* commit '11728ce9bbfaaf3599566b94d6a4207fde749beb':
  Workaround the __builtin_isnan() type error for clang 3.4.
2013-12-24 18:12:16 -08:00
Andrew Hsieh
11728ce9bb Merge "Workaround the __builtin_isnan() type error for clang 3.4." 2013-12-25 02:09:13 +00:00
Logan Chien
ad40d952a1 Workaround the __builtin_isnan() type error for clang 3.4.
Similar to clang 3.3, it seems that clang 3.4 declares an incompatible
function prototypes for __builtin_isnan().  To workaround this issue,
we should not declare the function prototype for __builtin_isnan().

Note: Though it may be good to fix this in clang type checker, like
__builtin_nexttoward(), however it seems non-trivial since __builtin_isnsn()
might be overloaded.  We can revert this after we have fixed the
clang builtin definition.

Change-Id: I329b56225f3d229b0c141bb8414c4369f154efda
2013-12-25 01:59:29 +00:00
Christopher Ferris
a8a66a4e19 am 3356457a: am 9092f8fb: Merge "Use uapi kernel headers."
* commit '3356457a94d3e0754479832ac18cdf202c36cdaf':
  Use uapi kernel headers.
2013-12-20 19:15:36 +00:00
Christopher Ferris
3356457a94 am 9092f8fb: Merge "Use uapi kernel headers."
* commit '9092f8fb0a86501fe0781f138e96e1dd2638c778':
  Use uapi kernel headers.
2013-12-20 11:10:36 -08:00
Christopher Ferris
9092f8fb0a Merge "Use uapi kernel headers." 2013-12-20 19:06:05 +00:00
Amith Yamasani
a684a10e20 Update eclipse classpath due to change in directory structure
Moved frameworks/base/services/java to multiple subdirectories

Change-Id: I99b22ef38b7779f5eab50a721000ee9055d021af
2013-12-19 15:40:08 -08:00
Scott Main
8a37395f3a remove redirect for guide/index.html now that we actually have such a page
Change-Id: I9511ecb7f3af1d1884c1d3952224c45bd4546837
2013-12-19 15:06:35 -08:00
Adam Powell
544a42f00f Example activity for RecyclerView
Also includes a very basic custom RecyclerView LayoutManager.

Change-Id: Ic6dca39a4e71dbe8b3b82965299bc554fad18a43
2013-12-19 22:17:33 +00:00
Christopher Ferris
7bc2433721 Use uapi kernel headers.
Bug: 11559337
Change-Id: I9060b95f9e5d0b7d2173695d6a27df7b4d5d0758
2013-12-18 14:59:59 -08:00
Andrew Hsieh
2ead849b89 am 0c5907b3: am 2f5fa0be: Merge "ndk: Fix wait4() declarations"
* commit '0c5907b31ce1bbeda51770104785035fa62f6c41':
  ndk: Fix wait4() declarations
2013-12-13 02:30:26 +00:00
Andrew Hsieh
0c5907b31c am 2f5fa0be: Merge "ndk: Fix wait4() declarations"
* commit '2f5fa0bebdbf02e333688b2ce26dda2fe4553576':
  ndk: Fix wait4() declarations
2013-12-12 18:25:03 -08:00
Andrew Hsieh
2f5fa0bebd Merge "ndk: Fix wait4() declarations" 2013-12-13 01:51:40 +00:00
Narayan Kamath
7d3b1cc2cf am 4ebf0371: am 1e18a584: Merge "Whitelist libziparchive for windows."
* commit '4ebf03711a8e34479f35941f2cc595e2b7283808':
  Whitelist libziparchive for windows.
2013-12-11 21:06:40 +00:00
Narayan Kamath
4ebf03711a am 1e18a584: Merge "Whitelist libziparchive for windows."
* commit '1e18a584efe16cd387c603738c47c0591532e8d9':
  Whitelist libziparchive for windows.
2013-12-11 09:40:02 -08:00
Narayan Kamath
1e18a584ef Merge "Whitelist libziparchive for windows." 2013-12-11 17:33:43 +00:00
David 'Digit' Turner
db275132c5 ndk: Fix wait4() declarations
wait4() was incorrectly declared in <sys/wait.h>, but only added to the
C library in Android 4.3 (API level 18) [1]

This patch:

- Removes the wait4() declarations for any <sys/wait.h> header before
  API level 19.

- Brings the API level 19 <sys/wait.h> which correctly declares wait4().

- Update the libc.so.functions.txt for API level 19 of all platforms
  to include the exported symbol.

NOTE: This does not bring the static libc.a to API level 19, which means
      it is stuck at API level 9 for ARM.

See [2] for the corresponding NDK tests.

http://b.android.com/19854

[1] 17a8b0db63
[2] https://android-review.googlesource.com/#/c/72000/

Change-Id: I7735473d177c44f43b09bb6738e9914945cd4d0a
2013-12-11 17:23:46 +01:00
Narayan Kamath
a4ea4f1843 Whitelist libziparchive for windows.
Change-Id: I19d527b6b52732057b16367574edc14c7065f256
2013-12-11 14:20:33 +00:00
Qiwen Zhao
a924e71c93 DO NOT MERGE reset to goog/klp-volantis-dev 2013-12-09 14:10:32 -08:00
Qiwen Zhao
5e84ff2c5c snap to klp-dev-plus-aosp f57b1e0 with history 2013-12-06 12:29:04 -08:00
quddusc
c522b3124e docs: Code sample for game controller training class.
Change-Id: I14f7046c7fba4f67838513af2ca2abbca4c3561a
2013-12-06 10:16:35 -08:00
The Android Open Source Project
f57b1e036d am e0f497fe: Merge commit \'54ec4ff7dfa9e8028f9da1986a73bddb1c00be93\' into HEAD
* commit 'e0f497fe19acfafeba6d1b9977d4a775c1fe5420':
2013-12-05 17:36:01 -08:00
The Android Open Source Project
e0f497fe19 Merge commit '54ec4ff7dfa9e8028f9da1986a73bddb1c00be93' into HEAD 2013-12-05 17:25:54 -08:00
Andrew Hsieh
8e938888b8 am a77377be: Merge "Annotate JNICALL with __NDK_FPABI__"
* commit 'a77377bed68bf363019d966788b06a2ca22a6683':
  Annotate JNICALL with __NDK_FPABI__
2013-12-05 15:57:33 -08:00
Andrew Hsieh
a77377bed6 Merge "Annotate JNICALL with __NDK_FPABI__" 2013-12-05 23:51:36 +00:00
Andrew Hsieh
d43cf5c8e9 am a79d5399: am fa73c847: am 54723fb6: Merge "Remove missing functions imaxabs() and imaxdiv() from inttypes.h"
* commit 'a79d5399f07860f713a67b1798c8cce2a4456dd3':
  Remove missing functions imaxabs() and imaxdiv() from inttypes.h
2013-12-05 21:29:44 +00:00
Dianne Hackborn
1437d2c372 am 59e6f5d9: am 18159037: Add API demo for game style system UI interaction.
* commit '59e6f5d9c99d216db6db7e5e56648daaf909d328':
  Add API demo for game style system UI interaction.
2013-12-05 10:11:49 -08:00
Dianne Hackborn
59e6f5d9c9 am 18159037: Add API demo for game style system UI interaction.
* commit '18159037a4f6a6b539736f6b8c0bdab4d26e3bd7':
  Add API demo for game style system UI interaction.
2013-12-05 10:08:56 -08:00
Andrew Hsieh
3ee7860eb4 am 9e09a8e8: Merge "Fix -mhard-float for calling __builtin_* math functions"
* commit '9e09a8e81e2d9032db04a9a6edb7340ce53154d8':
  Fix -mhard-float for calling __builtin_* math functions
2013-12-05 07:25:25 -08:00
Andrew Hsieh
9e09a8e81e Merge "Fix -mhard-float for calling __builtin_* math functions" 2013-12-05 07:14:20 +00:00
Dianne Hackborn
18159037a4 Add API demo for game style system UI interaction.
Shows the ideal way for a game to interact with system UI, hiding
the status bar and nav bar while being played, making them visible
when paused or otherwise interacting with controls of the game,
and determing layout of game controls to not be covered by the
status bar or nav bar.

Change-Id: Ia192c31321113d81f96c06c7a69a06ef72c4682a
2013-12-04 16:10:30 -08:00
Raphael Moll
51fa6c5c5e am aa198e6c: am 3519ce6e: Adjust SDK revisions for KLP MR1 for platform and samples
* commit 'aa198e6cd531c5c069c8f5bff94f8c889ad6c59a':
  Adjust SDK revisions for KLP MR1 for platform and samples
2013-12-04 13:33:42 -08:00
Raphael Moll
aa198e6cd5 am 3519ce6e: Adjust SDK revisions for KLP MR1 for platform and samples
* commit '3519ce6eb348ac43536879bc94aacdea065df750':
  Adjust SDK revisions for KLP MR1 for platform and samples
2013-12-04 13:30:09 -08:00
Andrew Hsieh
b05e7c1985 Annotate JNICALL with __NDK_FPABI__
In armeabi-v7a, VM still expects JNI functions to follow soft-abi.
Annotate it with __NDK_FPABI__ so compiler follows soft-abi in JNI
functions regardless the presence of -mhard-float in command-line.

It's up to developer to apply JNICALL consistently on JNI functions,
ie. those functions whose first arg has type "JNIEnv*" is likely to be

Change-Id: Ica7cca8ab9498ce00de6ffc7fff35f8cc13aedbf
2013-12-04 11:55:17 +08:00
Andrew Hsieh
2a571fda2b Fix -mhard-float for calling __builtin_* math functions
Annotate __builtin math functions with __NDK_FPABI_MATH__ too.
1. __attribute__((pcs("aapcs"))) has no effect on codegen when __buitlin
   function is emitted inlined.
2. When __builtin call into regular function in Android's libm, it has
   proper attribute which observes soft float-abi

Change-Id: I11e8b74fc22f3072b9ce849193e4a56e98c92d64
2013-12-04 11:45:04 +08:00
Andrew Hsieh
eb9388bcee am d9c17aa7: Merge "Enhance hello-jni to report APP_ABI at compilation"
* commit 'd9c17aa7d791d1428ab19127e39892f6b8480efd':
  Enhance hello-jni to report APP_ABI at compilation
2013-12-02 01:02:52 -08:00