Commit Graph

5020 Commits

Author SHA1 Message Date
Dianne Hackborn
e551875b2d Update NDK for pre-key-dispatching changes.
The same code now calls the appropriate function as part of
its key processing.

Change-Id: Ie6fbcd802b098b85d8113fe0a49473134721009b
2010-07-15 22:21:04 -07:00
Xavier Ducrohet
b8f2aa9ff1 Fix MonkeyRunner to use the changed ddmlib API.
Change-Id: Ia56612bf700e360f77dd9e13c0bc74eac59e30ea
2010-07-15 17:46:26 -07:00
David 'Digit' Turner
0471ba82ca am 3d81d6a2: Merge "ndk: add tests/run-all.sh to run all automated tests." into gingerbread
Merge commit '3d81d6a2eb8be4649891687cb3354a66b981dfc8' into gingerbread-plus-aosp

* commit '3d81d6a2eb8be4649891687cb3354a66b981dfc8':
  ndk: add tests/run-all.sh to run all automated tests.
2010-07-15 16:32:23 -07:00
David 'Digit' Turner
3d81d6a2eb Merge "ndk: add tests/run-all.sh to run all automated tests." into gingerbread 2010-07-15 16:30:12 -07:00
David 'Digit' Turner
d74329cef6 ndk: add tests/run-all.sh to run all automated tests.
For now, this only tries to rebuild all samples from scratch

Change-Id: I0d059b72b68d5abcfb462b897813dd60399612ef
2010-07-15 16:20:59 -07:00
Christopher Tate
3589326ba7 am 284e3ae1: Merge "NDK access to the Asset Manager" into gingerbread
Merge commit '284e3ae11c6f1fee5b2d417eea16b3a2126a04a5' into gingerbread-plus-aosp

* commit '284e3ae11c6f1fee5b2d417eea16b3a2126a04a5':
  NDK access to the Asset Manager
2010-07-15 15:03:26 -07:00
Christopher Tate
284e3ae11c Merge "NDK access to the Asset Manager" into gingerbread 2010-07-15 15:00:16 -07:00
Scott Main
38675e8073 am bcc3a3c0: am 435959e7: am f0f2aba8: Merge "update notepad tutorial to change activity title in NoteEdit class" into froyo
Merge commit 'bcc3a3c0a1d413b2e1b89ed2a54fd074dd4745ce'

* commit 'bcc3a3c0a1d413b2e1b89ed2a54fd074dd4745ce':
  update notepad tutorial to change activity  title in NoteEdit class
2010-07-15 11:54:26 -07:00
Scott Main
bcc3a3c0a1 am 435959e7: am f0f2aba8: Merge "update notepad tutorial to change activity title in NoteEdit class" into froyo
Merge commit '435959e72b623a41ff4384862b924102dd7a1bc6' into gingerbread-plus-aosp

* commit '435959e72b623a41ff4384862b924102dd7a1bc6':
  update notepad tutorial to change activity  title in NoteEdit class
2010-07-15 11:27:22 -07:00
Scott Main
435959e72b am f0f2aba8: Merge "update notepad tutorial to change activity title in NoteEdit class" into froyo
Merge commit 'f0f2aba8925b7f88af6c3af479c560e4e6b67ee4' into gingerbread

* commit 'f0f2aba8925b7f88af6c3af479c560e4e6b67ee4':
  update notepad tutorial to change activity  title in NoteEdit class
2010-07-15 11:25:07 -07:00
Scott Main
f0f2aba892 Merge "update notepad tutorial to change activity title in NoteEdit class" into froyo 2010-07-15 11:22:52 -07:00
Joe Onorato
8c490dc8d1 am 6b9784b0: am 288d90c2: Merge "The "current" SDK stubs jar should use the full apk that\'s exported, not the product-specific one." into gingerbread
Merge commit '6b9784b04249d42f1f2c68cfd30fa4d3322a3b75'

* commit '6b9784b04249d42f1f2c68cfd30fa4d3322a3b75':
  The "current" SDK stubs jar should use the full apk that's exported, not the product-specific one.
2010-07-15 11:16:38 -07:00
Joe Onorato
6b9784b042 am 288d90c2: Merge "The "current" SDK stubs jar should use the full apk that\'s exported, not the product-specific one." into gingerbread
Merge commit '288d90c212b534e85ccf12d7bc1b5bd1d0562c5b' into gingerbread-plus-aosp

* commit '288d90c212b534e85ccf12d7bc1b5bd1d0562c5b':
  The "current" SDK stubs jar should use the full apk that's exported, not the product-specific one.
2010-07-15 11:12:37 -07:00
Joe Onorato
288d90c212 Merge "The "current" SDK stubs jar should use the full apk that's exported, not the product-specific one." into gingerbread 2010-07-15 11:08:07 -07:00
Joe Onorato
6e384d9b43 The "current" SDK stubs jar should use the full apk that's exported, not the product-specific one.
The SDK is not dependent on configurations, and also this speeds up the post-installclean build.

Change-Id: I1c075ddf1dd2ca44cc0aa37f23e86ccc593cc2a8
2010-07-14 19:56:38 -07:00
Mathias Agopian
a8ccef2afb am f83e92e0: am 4619318d: Merge "Sample code to illustrate how to use the accelerometer" into gingerbread
Merge commit 'f83e92e078bbf6de6e80380901a4ea1382b57a56'

* commit 'f83e92e078bbf6de6e80380901a4ea1382b57a56':
  Sample code to illustrate how to use the accelerometer
2010-07-14 16:39:31 -07:00
Mathias Agopian
f83e92e078 am 4619318d: Merge "Sample code to illustrate how to use the accelerometer" into gingerbread
Merge commit '4619318dd1398bd4f87b2e74827b9fb9796a2643' into gingerbread-plus-aosp

* commit '4619318dd1398bd4f87b2e74827b9fb9796a2643':
  Sample code to illustrate how to use the accelerometer
2010-07-14 16:36:10 -07:00
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