Commit Graph

12948 Commits

Author SHA1 Message Date
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
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
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
Andrew Hsieh
d9c17aa7d7 Merge "Enhance hello-jni to report APP_ABI at compilation" 2013-12-02 08:56:51 +00:00
Andrew Hsieh
833979268e Enhance hello-jni to report APP_ABI at compilation
Change-Id: I24989212cfb729705cc4177a7112804fa68144c4
2013-12-02 10:22:47 +08:00
Raphael Moll
3519ce6eb3 Adjust SDK revisions for KLP MR1 for platform and samples
Platform changes from 19 r1 to 19 r2.
Samples  changes from 19 r1 to 19 r2.

Change-Id: Ia391fef04468211f460f3e8d6ab83e0a4dc12a70
2013-11-27 13:11:16 -08:00
Raphael Moll
90157f82c5 am f7624c5a: am c04b7aad: SDK Repository: switch to sdk addon revision 6.
* commit 'f7624c5a38edfbff523f24d36f6eb84c16144dd2':
  SDK Repository: switch to sdk addon revision 6.
2013-11-26 14:16:54 -08:00
Raphael Moll
f7624c5a38 am c04b7aad: SDK Repository: switch to sdk addon revision 6.
* commit 'c04b7aad0df26465d80775d8dd893fdc7a484b16':
  SDK Repository: switch to sdk addon revision 6.
2013-11-26 14:14:35 -08:00
Raphael Moll
c04b7aad0d SDK Repository: switch to sdk addon revision 6.
addon-6.xsd changes <extra><revision> from an int (major only)
to a full <revision> element with major.micro.minor (but not
preview part.)

(cherry picked from commit 7657a59083)

Change-Id: Iedff23a757dd3fd8d9e8006a2aec072ce2c71e8d
2013-11-26 14:05:47 -08:00
Katie McCormick
4afb47eb21 am b652393d: am b3017f4d: Sample code: bug fix
* commit 'b652393dd55979be53e73e62fa985d5cd836b156':
  Sample code: bug fix
2013-11-26 12:20:41 -08:00
Katie McCormick
b652393dd5 am b3017f4d: Sample code: bug fix
* commit 'b3017f4d2321dda48811b09813761cc53df6b893':
  Sample code: bug fix
2013-11-26 20:16:58 +00:00
Xavier Ducrohet
c5686e155c am 2472128a: am 888bd6a1: Merge "Prepare SDK for KLP MR1. Do not merge." into klp-dev
* commit '2472128a5cada24799f1bcaafcbf5e0ad70da4f6':
  Prepare SDK for KLP MR1. Do not merge.
2013-11-26 11:53:20 -08:00
Xavier Ducrohet
2472128a5c am 888bd6a1: Merge "Prepare SDK for KLP MR1. Do not merge." into klp-dev
* commit '888bd6a12473a4bfca36c691e187d9fc041411fe':
  Prepare SDK for KLP MR1. Do not merge.
2013-11-26 11:50:53 -08:00
Xavier Ducrohet
888bd6a124 Merge "Prepare SDK for KLP MR1. Do not merge." into klp-dev 2013-11-26 19:48:45 +00:00
Katie McCormick
b3017f4d23 Sample code: bug fix
Fix for:

b/6535950

Change-Id: I8f03a2e70c72dd68b4d183a54351ad09b23b83c4
2013-11-26 11:15:49 -08:00
Ben Cheng
e8ce758430 am 18e10d81: am 4a09318c: Merge "Temporarily disable elftree on darwin-x86"
* commit '18e10d81e37be27229e47de9cd7870b4cd62b6c6':
  Temporarily disable elftree on darwin-x86
2013-11-23 12:36:52 -08:00
The Android Open Source Project
5168cbade8 am c61dbe23: Merge commit \'8eccbd3b5d90b9f0557c9a01f49d45e98ac85a46\' into HEAD
* commit 'c61dbe23a4f2f69af9c674af3dad3759b098eae2':
2013-11-22 17:30:54 -08:00
Ben Cheng
18e10d81e3 am 4a09318c: Merge "Temporarily disable elftree on darwin-x86"
* commit '4a09318c1e6f2ffde53ac9219bb0e392228ef925':
  Temporarily disable elftree on darwin-x86
2013-11-22 17:22:11 -08:00
Ben Cheng
4a09318c1e Merge "Temporarily disable elftree on darwin-x86" 2013-11-23 01:15:49 +00:00
Ben Cheng
4a7c39c97b Temporarily disable elftree on darwin-x86
Change-Id: Ib4a73283ad18088de33da3c00278aae67c485fac
2013-11-22 17:02:53 -08:00
The Android Open Source Project
c61dbe23a4 Merge commit '8eccbd3b5d90b9f0557c9a01f49d45e98ac85a46' into HEAD 2013-11-22 16:46:47 -08:00
Kenny Root
a163fa9003 am 7e0d5c29: am c9421a7a: Merge "make_key: add EC key generation support"
* commit '7e0d5c29b33f3056aedcb44cb8cbae808c11c35d':
  make_key: add EC key generation support
2013-11-22 10:43:34 -08:00
Kenny Root
7e0d5c29b3 am c9421a7a: Merge "make_key: add EC key generation support"
* commit 'c9421a7ac67b6613acfb1415964947afb4c0fa30':
  make_key: add EC key generation support
2013-11-22 10:40:39 -08:00
Kenny Root
c9421a7ac6 Merge "make_key: add EC key generation support" 2013-11-22 18:37:38 +00:00
Alexander Lucas
b40c1571dc am 3a85c6d5: am 98a13468: Updating samples browser to include ActionBarCompat samples
* commit '3a85c6d598f8575a1442278bf3733eec6c5d6a2e':
  Updating samples browser to include ActionBarCompat samples
2013-11-22 10:06:20 -08:00
Alexander Lucas
3a85c6d598 am 98a13468: Updating samples browser to include ActionBarCompat samples
* commit '98a13468a649288ff83fd26a80c5922cede6ec1a':
  Updating samples browser to include ActionBarCompat samples
2013-11-22 18:03:49 +00:00
Ben Cheng
236042169e am 45d19989: am 4b60b014: Merge "Switch to use elfutils 0.153"
* commit '45d1998989aab744df954a0357cf1eed7d2123b1':
  Switch to use elfutils 0.153
2013-11-21 18:44:07 -08:00