Commit Graph

5103 Commits

Author SHA1 Message Date
Mathias Agopian
4619318dd1 Merge "Sample code to illustrate how to use the accelerometer" into gingerbread 2010-07-14 16:31:10 -07:00
David 'Digit' Turner
e6d574a71a am fb6f3fed: am 4948c163: Remove prebuilt static library "libthreaded_app.a".
Merge commit 'fb6f3fed3d9de27834ee12fa75052cccd891b665'

* commit 'fb6f3fed3d9de27834ee12fa75052cccd891b665':
  Remove prebuilt static library "libthreaded_app.a".
2010-07-14 15:41:05 -07:00
David 'Digit' Turner
fb6f3fed3d am 4948c163: Remove prebuilt static library "libthreaded_app.a".
Merge commit '4948c163663ecc343c97e4c2a2139234f1d3273f' into gingerbread-plus-aosp

* commit '4948c163663ecc343c97e4c2a2139234f1d3273f':
  Remove prebuilt static library "libthreaded_app.a".
2010-07-14 15:39:04 -07:00
Jae Yong Sung
80059e63a7 Generate English Dictionary (version : 200 - may contain bigrams)
- created separate class for bigram

Change-Id: Iaee544c6e62dcd0a90730d20d5c955280e5cf0ae
2010-07-14 10:40:44 -07:00
Nick Kralevich
2e5fe2766d documentation fix when downloading repo
Change-Id: I3ceb3abe0cc3cd19954331086ba1cb73c855fde2
2010-07-14 10:25:58 -07:00
David 'Digit' Turner
4948c16366 Remove prebuilt static library "libthreaded_app.a".
Make the "glue library" part of the NDK as an importable module,
this has several benefits:

- no need to distribute a binary here with no easy way to regenerate it

- no need to explicitely list -lthreaded_app in your LOCAL_LDLIBS
  (this is handled automatically by the module import capability)

- allows easier native debugging of what's really happening.

Note that the header is renamed <threaded_native_app.h>

+ Modify the native-activity sample to use and import the new module
+ Start documenting usage in the header file. We probably need something
  better, and will probably put it under development/ndk/docs/ at some
  point.

After this patch, we should be able to get rid of the code under
framework/base/native/{include.glue}

Change-Id: I6e81d70a225a6ca006beabf6e8b42529e8f371b9
2010-07-13 23:50:02 -07:00
Mathias Agopian
c29f1d199f Sample code to illustrate how to use the accelerometer
this is a small particle + physics system that shows how
to integrate accleration data into positions accurately.

Change-Id: I3bbdc433f52d98464269ac8cb996c4cf037ae8d6
2010-07-13 22:51:23 -07:00
Christopher Tate
956311c625 NDK access to the Asset Manager
Change-Id: Ibe380e352af98f953bfc2398b498a6ccb242bcec
2010-07-13 19:38:20 -07:00
Dianne Hackborn
27772028d4 am 349d7453: am 98b2c359: Copy over updated NDK APIs and follow other API changes.
Merge commit '349d7453088fb63fd786fb1f49f7cf0707329319'

* commit '349d7453088fb63fd786fb1f49f7cf0707329319':
  Copy over updated NDK APIs and follow other API changes.
2010-07-13 18:59:05 -07:00
Dianne Hackborn
349d745308 am 98b2c359: Copy over updated NDK APIs and follow other API changes.
Merge commit '98b2c359c2b3361f43e14b0c5d07a02c055dd10e' into gingerbread-plus-aosp

* commit '98b2c359c2b3361f43e14b0c5d07a02c055dd10e':
  Copy over updated NDK APIs and follow other API changes.
2010-07-13 18:55:43 -07:00
Dianne Hackborn
98b2c359c2 Copy over updated NDK APIs and follow other API changes.
Change-Id: Ifec95268c9ade21963eea13357ec2f56fd7968c2
2010-07-13 18:45:52 -07:00
Jeff Brown
c5888da387 am 72e550a1: am 52705bb0: Add initial gamepad support.
Merge commit '72e550a10c3a718db2f452222920846c667ca935'

* commit '72e550a10c3a718db2f452222920846c667ca935':
  Add initial gamepad support.
2010-07-13 17:46:49 -07:00
Jeff Brown
1b93282b43 am 1ccc6742: am fd606bc3: Migrate to new keycode constants in keycodes.h.
Merge commit '1ccc674237fe5b0ed4a03161f0aa7067e4e6fbd6'

* commit '1ccc674237fe5b0ed4a03161f0aa7067e4e6fbd6':
  Migrate to new keycode constants in keycodes.h.
2010-07-13 17:46:46 -07:00
Jeff Brown
72e550a10c am 52705bb0: Add initial gamepad support.
Merge commit '52705bb02c7679f68585544d39480f26adb6f1e9' into gingerbread-plus-aosp

* commit '52705bb02c7679f68585544d39480f26adb6f1e9':
  Add initial gamepad support.
2010-07-13 17:43:46 -07:00
Jeff Brown
1ccc674237 am fd606bc3: Migrate to new keycode constants in keycodes.h.
Merge commit 'fd606bc303bdf1fafefc4a6b79d050faa26d0800' into gingerbread-plus-aosp

* commit 'fd606bc303bdf1fafefc4a6b79d050faa26d0800':
  Migrate to new keycode constants in keycodes.h.
2010-07-13 17:43:39 -07:00
David 'Digit' Turner
755261c445 am 0372192a: am 5ef6b2f2: ndk sample hello-neon: use to access the \'cpufeatures\' library
Merge commit '0372192addb3aa17ea3d2e6fa8b04f63452544cb'

* commit '0372192addb3aa17ea3d2e6fa8b04f63452544cb':
  ndk sample hello-neon: use $(call import-module) to access the 'cpufeatures' library
2010-07-13 16:47:59 -07:00
Jeff Brown
52705bb02c Add initial gamepad support.
Change-Id: Ide1922ea36f8b64100b4dba57e718479b8a0bec5
2010-07-13 16:47:03 -07:00
Jeff Brown
fd606bc303 Migrate to new keycode constants in keycodes.h.
Change-Id: I775efb0f73b418db5bf65c218949b164f8e65647
2010-07-13 16:47:02 -07:00
David 'Digit' Turner
0372192add am 5ef6b2f2: ndk sample hello-neon: use to access the \'cpufeatures\' library
Merge commit '5ef6b2f2568944e9dedf31c83716b8dd94dd506a' into gingerbread-plus-aosp

* commit '5ef6b2f2568944e9dedf31c83716b8dd94dd506a':
  ndk sample hello-neon: use $(call import-module) to access the 'cpufeatures' library
2010-07-13 16:46:11 -07:00
David 'Digit' Turner
5ef6b2f256 ndk sample hello-neon: use $(call import-module) to access the 'cpufeatures' library
Change-Id: I29397158de0ccdd89dfe4da72a544fad14a8324e
2010-07-13 15:51:46 -07:00
Dianne Hackborn
bff1d9a2a7 Merge "No longer need to explicitly hide/show list." 2010-07-12 17:43:29 -07:00
Bill Napier
5bc4e7e426 Merge "Update help text templates to include "Returns" information." 2010-07-12 13:56:03 -07:00
Bill Napier
1fb098a088 Update help text templates to include "Returns" information.
Change-Id: Id310a2a5b550c307c68444b0ca950c7b61bc514c
2010-07-12 13:13:45 -07:00
Joe Onorato
66a022bda4 Simpler instructions for installing MacPorts
Change-Id: I117eaaa19f2296d9e911125ae3d5a16c70b0531e
2010-07-12 15:48:15 -04:00
Joe Onorato
59156a7521 Get rid of bad advice for using eclipse.
Change-Id: Icbd70d8153231ea5c9667cfca5ebfb027b8a8b4d
2010-07-12 15:47:59 -04:00
Dianne Hackborn
97200cb52e No longer need to explicitly hide/show list.
Change-Id: Ie5690ad76576956cb46f8dcccb734e3ccbf9ac4d
2010-07-12 11:41:33 -07:00
Dianne Hackborn
b7879a7755 Update to follow LoaderManager API.
Also renaming the list samples to make it clearer what they are.

Change-Id: I91b209a32ad4dbf82982682884769d1cde8e3bc3
2010-07-09 18:43:38 -07:00
Dianne Hackborn
92de6eb1fa am 807f426a: am 29534f62: Update for improved glue.
Merge commit '807f426accfe5b014d4e516653de0c193da82a1a'

* commit '807f426accfe5b014d4e516653de0c193da82a1a':
  Update for improved glue.
2010-07-09 18:30:19 -07:00
Dianne Hackborn
807f426acc am 29534f62: Update for improved glue.
Merge commit '29534f6275fdc4cba1c732f89f8442b6d887eb50' into gingerbread-plus-aosp

* commit '29534f6275fdc4cba1c732f89f8442b6d887eb50':
  Update for improved glue.
2010-07-09 18:27:47 -07:00
Dianne Hackborn
29534f6275 Update for improved glue.
Change-Id: I73bb23644523e8ec19c51a3e3b9c5c4f7a98c558
2010-07-09 18:21:45 -07:00
Dianne Hackborn
8720a9e281 am 3a92d348: am 1aa32188: Add new native-plasma sample code.
Merge commit '3a92d3482964216a9cdab501e2e3deb86f81440a'

* commit '3a92d3482964216a9cdab501e2e3deb86f81440a':
  Add new native-plasma sample code.
2010-07-09 17:05:20 -07:00
Dianne Hackborn
3a92d34829 am 1aa32188: Add new native-plasma sample code.
Merge commit '1aa3218800a9d98c7b62450a3821b99b8b9588e0' into gingerbread-plus-aosp

* commit '1aa3218800a9d98c7b62450a3821b99b8b9588e0':
  Add new native-plasma sample code.
2010-07-09 17:03:10 -07:00
Dianne Hackborn
1aa3218800 Add new native-plasma sample code.
This shows direct drawing to an ANativeWindow's bits.

Update the NDK API, and fix a bug in the native-activity app where it
would hang while exiting.

Change-Id: I4fa98d083405eb0d1b22b10a73a2ef18d45fdb59
2010-07-09 16:58:52 -07:00
Ying Wang
b522da92ff am ab8e4871: am 5ce45c93: Fix keycode
Merge commit 'ab8e487188be6d3ce7e14e4893f59ecdea7007fd'

* commit 'ab8e487188be6d3ce7e14e4893f59ecdea7007fd':
  Fix keycode
2010-07-09 15:17:14 -07:00
Ying Wang
ab8e487188 am 5ce45c93: Fix keycode
Merge commit '5ce45c93ad1dc5f3e836be865ca25a043f7f4ced' into gingerbread-plus-aosp

* commit '5ce45c93ad1dc5f3e836be865ca25a043f7f4ced':
  Fix keycode
2010-07-09 15:15:22 -07:00
Ying Wang
5ce45c93ad Fix keycode
4 new key codes were added since gingerbread.
bug: http://b/issue?id=2830562

Change-Id: I91a55ef6ca9244bc053e25b6dd8d514cb3f106e9
2010-07-09 15:07:19 -07:00
The Android Open Source Project
7c05453712 am c5d06301: merge from open-source master
Merge commit 'c5d06301abe18c3fd709b9b37ad64b8d26ad273c'

* commit 'c5d06301abe18c3fd709b9b37ad64b8d26ad273c':
  update 404'd source.android.com URLs
2010-07-09 14:45:18 -07:00
The Android Open Source Project
c5d06301ab merge from open-source master
Change-Id: I8a67eacfb33430d61d738b588955148b2f11994c
2010-07-09 14:42:33 -07:00
David 'Digit' Turner
f7f7c7571c am 9aff3c7d: am f68d6af8: ndk: Add a test to check that prebuilt libraries work as expected.
Merge commit '9aff3c7d58e7ee737033a4da23d5c590e36ed78e'

* commit '9aff3c7d58e7ee737033a4da23d5c590e36ed78e':
  ndk: Add a test to check that prebuilt libraries work as expected.
2010-07-09 10:08:09 -07:00
David 'Digit' Turner
9aff3c7d58 am f68d6af8: ndk: Add a test to check that prebuilt libraries work as expected.
Merge commit 'f68d6af83f8f99714c139d867e8328f558480f28' into gingerbread-plus-aosp

* commit 'f68d6af83f8f99714c139d867e8328f558480f28':
  ndk: Add a test to check that prebuilt libraries work as expected.
2010-07-09 10:06:02 -07:00
David 'Digit' Turner
f68d6af83f ndk: Add a test to check that prebuilt libraries work as expected.
Change-Id: I7c0683ac1ee50bb62cc0f7ac22e839f749ec1cdf
2010-07-09 09:56:31 -07:00
Dianne Hackborn
2159f51690 am 6d452370: am eefb5c2d: Merge "Update native_activity sample to use new glue code." into gingerbread
Merge commit '6d45237078f729f5c7467467406162e723c8ac3c'

* commit '6d45237078f729f5c7467467406162e723c8ac3c':
  Update native_activity sample to use new glue code.
2010-07-08 19:10:21 -07:00
Yu Shan Emily Lau
5f1659a034 am d1ca4f3a: am ec87ca5f: am 34ca4b64: Merge "Add the support for the alarmManager and force the device to wake up." into froyo
Merge commit 'd1ca4f3a55d83298596793cea137f8fcb979bae5'

* commit 'd1ca4f3a55d83298596793cea137f8fcb979bae5':
  Add the support for the alarmManager and force the device to wake up.
2010-07-08 19:09:56 -07:00
Gilles Debunne
a6ed517502 Merge "Improved ImageDownloader code." 2010-07-08 16:29:35 -07:00
Gilles Debunne
fa640af482 Improved ImageDownloader code.
Integrate comments from the blog article.

Change-Id: If51d27a4ef3eb0df0bc660ea37a85cc39fd18064
2010-07-08 16:25:05 -07:00
Jean-Baptiste Queru
36a38df99c Merge "update 404'd source.android.com URLs" 2010-07-08 16:23:59 -07:00
Dianne Hackborn
6d45237078 am eefb5c2d: Merge "Update native_activity sample to use new glue code." into gingerbread
Merge commit 'eefb5c2dca087c2b0a0ef90e15db00fb5523d8af' into gingerbread-plus-aosp

* commit 'eefb5c2dca087c2b0a0ef90e15db00fb5523d8af':
  Update native_activity sample to use new glue code.
2010-07-08 12:28:33 -07:00
Dianne Hackborn
eefb5c2dca Merge "Update native_activity sample to use new glue code." into gingerbread 2010-07-08 12:25:41 -07:00
Dianne Hackborn
11a89ea0bd Update native_activity sample to use new glue code.
The native_activity sample is now built with the new threaded_app
glue code, removing all of the boiler-plate code from it.  This
adds the glue code (header and .a) to the NDK.

Change-Id: I2a7be473811f22f948dcda3da8034dd0bd62049d
2010-07-08 12:23:58 -07:00
Yu Shan Emily Lau
d1ca4f3a55 am ec87ca5f: am 34ca4b64: Merge "Add the support for the alarmManager and force the device to wake up." into froyo
Merge commit 'ec87ca5f3abb615d75ee68ad977b3a17c3c7d3ab' into gingerbread-plus-aosp

* commit 'ec87ca5f3abb615d75ee68ad977b3a17c3c7d3ab':
  Add the support for the alarmManager and force the device to wake up.
2010-07-08 11:33:29 -07:00