Commit Graph

2372 Commits

Author SHA1 Message Date
Roman Nurik
a7178809f6 Fresh new change for:
Add Live Folder support to NotePad sample, and add new icons for the app and Live Folder (separate for Donut and Eclair).

Previous change 33290 was screwed up.

Xav, please pardon a repo newbie!
2009-11-23 17:12:19 -05:00
Android (Google) Code Review
f28c33b6ec Merge change I4ba0290a into eclair
* changes:
  Add Multiple Resolutions (MultiRes) sample code.
2009-11-23 13:45:14 -08:00
Scott Main
e71c282812 am 1558abd6: Merge change I53e268db into eclair-sdk
Merge commit '1558abd6d3706380cf4634c151ee7952e0b317fb' into eclair

* commit '1558abd6d3706380cf4634c151ee7952e0b317fb':
  docs: make the apidemos app index page only display the
2009-11-23 10:07:10 -08:00
Android (Google) Code Review
1558abd6d3 Merge change I53e268db into eclair-sdk
* changes:
  docs: make the apidemos app index page only display the shortcut links when the docs are online, because these links will not resolve when the docs are offline.
2009-11-23 09:57:22 -08:00
Roman Nurik
d7f64d5338 Add Multiple Resolutions (MultiRes) sample code. 2009-11-23 11:44:11 -05:00
Android (Google) Code Review
c7f23b570c Merge change Ifb9dee6f into eclair
* changes:
  Add support for armeabi-v7a to the NDK.
2009-11-20 16:44:45 -08:00
Scott Main
ea6c4f9082 docs: make the apidemos app index page only display the
shortcut links when the docs are online, because these
links will not resolve when the docs are offline.

this is a silly hack, but a temporary one until these
samples are moved.

Change-Id: I53e268db265cec143ca5e561ca2d6b4df3dba3e2
2009-11-20 14:55:07 -08:00
Eric Fischer
2ddbd5682b Update zoneinfo time zone data to version 2009s
http://b/issue?id=2272477
2009-11-20 14:37:35 -08:00
David 'Digit' Turner
f5862d8da6 Add support for armeabi-v7a to the NDK.
This patch modifies the NDK build scripts to support the 'armeabi-v7a' ABI.
(For the record, it corresponds to Thumb-2 + FPU support, to speed up native
code on certain devices like the Droid).

To build for this ABI, the Application.mk file should use a line like:

  APP_ABI := armeabi-v7a

It is also possible to build for both 'armeabi' and 'armeabi-v7a' by using:

  APP_ABI := armeabi armeabi-v7a

This will result in the generation of two distinct shared libraries that both
will be copied to the final application package.

This is dependent on having GCC 4.4.0 prebuilt binaries under
build/prebuilt/<host>/arm-eabi-4.4.0, since gcc 4.2.1 does not support
this new ABI.

Note that this also changes the NDK to use gcc 4.4.0 by default, unless
the user defines NDK_TOOLCHAIN to 'arm-eabi-4.2.1' in its environment to
switch back to the previous one.
2009-11-20 14:07:15 -08:00
Android (Google) Code Review
b4e31b931d Merge change I3f0d5eb5 into eclair
* changes:
  Update the build-toolchain.sh script.
2009-11-19 13:45:53 -08:00
David 'Digit' Turner
69eeb8a22f Update the build-toolchain.sh script.
This patch modifies the script to be able to build all prebuilt toolchain
binaries in a single call. I.e. if passed a recent toolchain source package
generated with download-toolchain-sources.sh, then it will build both
GCC 4.2.1 and GCC 4.4.0 and place them in the final prebuilt tarball.

We need this because, while we're going to switch to gcc 4.4.0 by default
in a new version of the NDK, the 4.4.0 C++ compiler is more strict about
various constructs and might refuse to build certain sources. An option
will be given to application developers to use 4.2.1 instead, to keep their
sources building.

Other changes include:

Move all builds into a random temporary directory under /tmp by default,
unless you use --build-out=<path>.

Cleanup the build out directory on succesful build

The generated tarball is now named android-ndk-prebuilt-<date>-<host>.tar.bz2
by default, unless you use the new --release=<name> option which will replace
<date> with <name> instead.

Removal of un-needed files (e.g. info or man pages, libiberty static library,
etc..) to reduce the size of the final tarball.
2009-11-19 13:43:11 -08:00
Xavier Ducrohet
01d2087c87 resolved conflicts for merge of 19cb54ea to eclair
Change-Id: I182195aeaad88aebc82988b1cec9ebda0c359bc8
2009-11-18 17:07:11 -08:00
Xavier Ducrohet
19cb54ea7d Remove components that were moved to sdk.git and update build scripts. 2009-11-17 15:17:25 -08:00
Android (Google) Code Review
20d0327492 Merge change I6809bd44 into eclair
* changes:
  SDK Manager: XML Schema for sdk-repository v2
2009-11-16 19:39:13 -08:00
Raphael
2db89e8fe9 SDK Manager: XML Schema for sdk-repository v2
v2 will be a full standalone schema, not reusing any parts of v1.
Each package type is now defined using a named type, which means
a v3 version would redifine the top element and could include
some named types of v2.

Unfortunately we cannot *extend* the top element from v1 because
extension in XML Schema seems to imply a sequence (i.e. fixed order)
whereas we use a "choice" mode to have 0..N of each types in any
order.

SDK BUG 2252825

Change-Id: I6809bd4486ef2d7f2473995ed5a0abb7fa377bdd
2009-11-16 18:05:10 -08:00
Android (Google) Code Review
e4df0ea14b Merge change I8d8b5816 into eclair
* changes:
  Update build-toolchain.sh to be able to build gcc 4.4.0
2009-11-16 14:53:57 -08:00
Android (Google) Code Review
f3ec7a0277 Merge change If72f81fb into eclair
* changes:
  Add a script to download and package the toolchain sources.
2009-11-16 14:53:45 -08:00
Raphael
5df7d75e1c am f4c63fae: SDK Manager support for future schemas.
Merge commit 'f4c63fae0c6d0654ab49e05b3292e218f82f97d8' into eclair

* commit 'f4c63fae0c6d0654ab49e05b3292e218f82f97d8':
  SDK Manager support for future schemas.
2009-11-16 14:25:49 -08:00
Raphael
f4c63fae0c SDK Manager support for future schemas.
This CL cleans up the v2 test by removing all v2 stuff
from the code right now. We only keep the part that
handles future schemas and right now the latest version is 1.

Change-Id: I31e6aeaf0582e94c67e1cc8317bec479ea7a52e7
2009-11-16 13:59:03 -08:00
Raphael
6dcf42149b resolved conflicts for merge of 0da4f158 to eclair
Fixes a merge eclair-sdk => eclair conflict of
  SDK Manager: phase 1 of support for future schemas
  SDK BUG 2252825

Change-Id: I7530bdb7315439416abad114ef59208f8d4b3ab8
2009-11-16 13:07:43 -08:00
Android (Google) Code Review
0da4f158f9 Merge change If1bda264 into eclair-sdk
* changes:
  SDK Manager: phase 1 of support for future schemas
2009-11-16 12:53:09 -08:00
Xavier Ducrohet
a0ac4b1492 am b624370d: (-s ours) Rename the layout device from ION to ADP2. (do not merge)
Merge commit 'b624370d795cd1e17fcd9960c98c01463c23757f' into eclair

* commit 'b624370d795cd1e17fcd9960c98c01463c23757f':
  Rename the layout device from ION to ADP2. (do not merge)
2009-11-16 12:50:17 -08:00
David 'Digit' Turner
37e84c2056 Update build-toolchain.sh to be able to build gcc 4.4.0
Update the script used to build the prebuilt toolchain binaries.
There are now two ways to use it:

1/ As usual, just invoke it and it will download the source tarball,
   uncompress it, configure the toolchain sources, build them, then
   package the result into a 'prebuilt' tarball.

2/ Generate a new source tarball with the 'download-toolchain-sources.sh'
   script, and invoke build-toolchain.sh with the --package=<tarball>
   option.

Additionally, you can now specify --gcc-version=4.4.0 to build GCC 4.4.0
(with ARMv7 / FPU support)

The option --gdb-version=6.8 has been added but the build doesn't seem
to work yet. This will probably be fixed in the toolchain git repository
though.

This will be used to refresh the NDK with gcc 4.4.0 prebuilts and support
for armeabi-v7a soon.
2009-11-16 12:41:33 -08:00
Raphael
580e982719 SDK Manager: phase 1 of support for future schemas
This is phase 1 of the support for future schemas:
- introduces a new v2 of the XSD
- handles an unknown XSD and extract its tools elements after
  some hand checks.

TODO in phase 2:
- we still need to iron out the details of the sample node.
- there's no support for samples yet... this commit is not
  about switching the sample code support to the new structure.
- there's no indication to the user that we are handling a new
  schema... there should be some visual clue on why only the
  tools are shown.

SDK BUG 2252825

Change-Id: If1bda26414cfe15275063d3187a98be6301d2992
2009-11-16 11:42:28 -08:00
David 'Digit' Turner
af4040476e Add a script to download and package the toolchain sources.
download-toolchain-sources.sh will download the current toolchain sources
from our git repositories then finely package them into a compressed
tarball that will later be used to rebuild the prebuilt binaries properly.

Due to the way our sources are stored in the git repository, the sources
in the tarball are laid out slightly differently than in the original toolchain
source archive used for NDK 1.6.

An upcoming patch will modify build-toolchain.sh to deal with the difference
and also allow the build of gcc-4.4.0 and gdb-6.8.
2009-11-16 11:31:33 -08:00
Xavier Ducrohet
b624370d79 Rename the layout device from ION to ADP2. (do not merge)
This is integrated from Eclair.
2009-11-16 11:29:29 -08:00
Android (Google) Code Review
5f9e0abed1 Merge change I5a66bbdf into eclair
* changes:
  Rename the layout device from ION to ADP2.
2009-11-16 11:21:10 -08:00
Xavier Ducrohet
92bc35cc44 Rename the layout device from ION to ADP2.
Change-Id: I5a66bbdf68772504cac2379ea85edb88c77f2fde
2009-11-15 17:02:26 -08:00
Android (Google) Code Review
13dbc2272e Merge change I62823795 into eclair
* changes:
  Move source.properties for doc in sync with 2.0.1
2009-11-15 13:22:41 -08:00
Xavier Ducrohet
a6bd846ac8 Move source.properties for doc in sync with 2.0.1
Change-Id: I6282379532159de597aaec50cad81b14a0c895ce
2009-11-15 13:16:01 -08:00
Android (Google) Code Review
05ae5d65fd Merge change I229c60a9 into eclair
* changes:
  Move source.properties for platform in sync with 2.0.1
2009-11-15 13:14:47 -08:00
Xavier Ducrohet
3423617276 Move source.properties for platform in sync with 2.0.1
Change-Id: I229c60a97138c70bb9b27bd0aa60670b882cb711
2009-11-15 12:52:56 -08:00
Raphael
e5387db7c2 am d2ad5e31: Merge change I361fb688 into eclair-sdk
Merge commit 'd2ad5e31b829f609c76f2352cbdb964c0a4434e6' into eclair

* commit 'd2ad5e31b829f609c76f2352cbdb964c0a4434e6':
  SDK Manager: fix, create temp folder before download
2009-11-14 14:39:52 -08:00
Android (Google) Code Review
d2ad5e31b8 Merge change I361fb688 into eclair-sdk
* changes:
  SDK Manager: fix, create temp folder before download
2009-11-14 14:32:27 -08:00
Android (Google) Code Review
36449a1e14 Merge change Ic2680af0 into eclair
* changes:
  Cleanup for coverage.
2009-11-13 18:55:47 -08:00
Brett Chabot
ddbd282dc8 Cleanup for coverage.
Fix constructor call in coverage.py
Remove obsolete improvider from coverage targets.

Change-Id: Ic2680af0aa84c705a6bc05a897461eeeaeeeb1cc
2009-11-13 18:33:43 -08:00
Android (Google) Code Review
d5165a4b67 Merge change I00c840bb into eclair
* changes:
  Import revised translations.
2009-11-13 17:49:55 -08:00
Eric Fischer
00c840bbf4 Import revised translations.
Approver: jerryw
2009-11-13 17:11:59 -08:00
Xavier Ducrohet
b92c8a9055 am 7e48a700: (-s ours) Use SWT to write PNG screenshot now that we moved to SWT 3.3+ (do not merge)
Merge commit '7e48a7003ad28f8b45a45a24fc479b3a237727f1' into eclair

* commit '7e48a7003ad28f8b45a45a24fc479b3a237727f1':
  Use SWT to write PNG screenshot now that we moved to SWT 3.3+ (do not merge)
2009-11-13 16:27:51 -08:00
Xavier Ducrohet
7e48a7003a Use SWT to write PNG screenshot now that we moved to SWT 3.3+ (do not merge)
BUG 2256562

This is integrated from eclair
2009-11-13 16:17:12 -08:00
Android (Google) Code Review
25c6ac6391 Merge change I9a181cb7 into eclair
* changes:
  Use SWT to write PNG screenshot now that we moved to SWT 3.3+
2009-11-13 15:42:46 -08:00
Android Git Automerger
e259566cef Put this change back, false alert with build breakage
This reverts commit a9046e418e.
2009-11-13 12:26:06 -08:00
Android Git Automerger
a9046e418e Fix build by Reverting "Remove surface from rs init and handle surfaceChanged correctly."
This reverts commit 18e1486a27.
2009-11-13 11:40:40 -08:00
Raphael
3298a0438e SDK Manager: fix, create temp folder before download
SDK BUG 2258237

Change-Id: I361fb688558539e20af50cd0a1d805ddf4ea4828
2009-11-12 17:15:54 -08:00
Jason Sams
18e1486a27 Remove surface from rs init and handle surfaceChanged correctly. 2009-11-12 15:08:27 -08:00
Xavier Ducrohet
75e9110f13 Use SWT to write PNG screenshot now that we moved to SWT 3.3+
BUG 2256562

Change-Id: I9a181cb799b1eadc027d6357c100fc4dfb0db012
2009-11-12 13:30:02 -08:00
Brett Chabot
cf87c98ad1 Add contacts launch performance test definition.
Change-Id: I8d4376e676a682c59accbb129a4d77efb5696e28
2009-11-12 11:47:16 -08:00
Android (Google) Code Review
c84040c18b Merge change I6fd4cd01 into eclair
* changes:
  Add an overlay to make the latinIME the default one in the SDK
2009-11-11 11:20:09 -08:00
Xavier Ducrohet
d9750719c3 Add an overlay to make the latinIME the default one in the SDK
BUG 2225111

Change-Id: I6fd4cd0159f1eb90b78e3398a8e97d74d6396f9f
2009-11-10 18:14:11 -08:00
Fred Quintana
cf229bb013 make consistent with new RegisteredServicesCache API 2009-11-10 16:33:20 -08:00