Commit Graph

2422 Commits

Author SHA1 Message Date
Xavier Ducrohet
1b5d63be54 am 0dda405c: am e96bc57a: Merge change I7d761ffa into eclair
Merge commit '0dda405c6ec7ae2040f884ec71ad89bbc8ce7110'

* commit '0dda405c6ec7ae2040f884ec71ad89bbc8ce7110':
  Fix best match resource selection when there's only one match.
2009-10-12 11:30:14 -07:00
Romain Guy
752f3ab16a am 8fbe805f: am 06d3ec15: Only process XML files in layoutopt.
Merge commit '8fbe805f161c71e4dc471b2104484f221674de28'

* commit '8fbe805f161c71e4dc471b2104484f221674de28':
  Only process XML files in layoutopt.
2009-10-12 11:30:09 -07:00
Romain Guy
fad2cff3b6 am 1db3cfa4: am d01b8dd3: Merge change I5dfb2567 into eclair
Merge commit '1db3cfa4f846ee01c55e3ac5e1ea0807bcde6345'

* commit '1db3cfa4f846ee01c55e3ac5e1ea0807bcde6345':
  Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.
2009-10-12 11:30:04 -07:00
Derek Sollenberger
62618ffbfa am 4c46bf95: Merge change I108ad940 into eclair-mr2
Merge commit '4c46bf9558d928568905eeeda26657b80cbc399d'

* commit '4c46bf9558d928568905eeeda26657b80cbc399d':
  Adding a full screen video sample plugin. Also cleaned up surface plugins to use the provided JavaVM.
2009-10-12 11:29:53 -07:00
Fred Quintana
3640a33afa am db8fdbec: account manager api review changes
Merge commit 'db8fdbec4268697653d5688d0a0092483b3832f1'

* commit 'db8fdbec4268697653d5688d0a0092483b3832f1':
  account manager api review changes
2009-10-12 11:29:40 -07:00
Romain Guy
a2ee84d03c am 06f70393: Merge change I8e4697e1 into eclair
Merge commit '06f70393bd6c10c24136492a4616019822c63299'

* commit '06f70393bd6c10c24136492a4616019822c63299':
  New layout optimization tool. Run layoutopt on the command line.
2009-10-12 11:25:58 -07:00
Raphael
a0f3732197 am 1061c0c7: Merge change I69afafa4 into eclair
Merge commit '1061c0c7dc20479626aa8b2d71485c9e17e7daf7'

* commit '1061c0c7dc20479626aa8b2d71485c9e17e7daf7':
  ADT: Create project from existing sample in New Project Wizard
2009-10-12 11:23:44 -07:00
Xavier Ducrohet
3633f5c9f1 am 90ee703e: Fix resource resolution in the graphical layout editor.
Merge commit '90ee703e945cedaa222e8e5a2aba6333afff21b6'

* commit '90ee703e945cedaa222e8e5a2aba6333afff21b6':
  Fix resource resolution in the graphical layout editor.
2009-10-12 11:23:39 -07:00
Xavier Ducrohet
3912060947 am d280d236: Monintor resolution/size chooser dialog
Merge commit 'd280d2363e412c43b1a7bfe044044d70d8895154'

* commit 'd280d2363e412c43b1a7bfe044044d70d8895154':
  Monintor resolution/size chooser dialog
2009-10-12 11:23:34 -07:00
Xavier Ducrohet
3b10d94a49 am d13d440d: Emulator launch options dialog.
Merge commit 'd13d440d43a744ab6e596e52cf53eef79d222d01'

* commit 'd13d440d43a744ab6e596e52cf53eef79d222d01':
  Emulator launch options dialog.
2009-10-12 11:23:30 -07:00
Raphael
15fdd346a2 am ef133787: SDK: Fix CustomLocale to properly setup Language+Country
Merge commit 'ef1337876b2dfbf76dc7e45e035f4a25ebc0f560'

* commit 'ef1337876b2dfbf76dc7e45e035f4a25ebc0f560':
  SDK: Fix CustomLocale to properly setup Language+Country
2009-10-12 11:23:25 -07:00
Jeff Sharkey
65ab5053c9 am 480332f6: Revise template to match spec per jham.
Merge commit '480332f6c5ee0da552426716abff5ddd87074a5f'

* commit '480332f6c5ee0da552426716abff5ddd87074a5f':
  Revise template to match spec per jham.
2009-10-12 11:23:15 -07:00
David 'Digit' Turner
ce3ff41ba0 am cc230ba0: Ensure the version of \'awk\' detected by host-setup.sh is used during the build
Merge commit 'cc230ba07c05ba5eec6412136ffebc4dd58e3aee'

* commit 'cc230ba07c05ba5eec6412136ffebc4dd58e3aee':
  Ensure the version of 'awk' detected by host-setup.sh is used during the build
2009-10-12 11:23:11 -07:00
David 'Digit' Turner
3264e24b22 am 79adc9fc: Merge change Ia78a7753 into eclair
Merge commit '79adc9fc9040760a722f2cc5fd15a517f4cbb245'

* commit '79adc9fc9040760a722f2cc5fd15a517f4cbb245':
  Remove bash-specific operator from build/host-setup.sh.
2009-10-12 11:23:06 -07:00
Xavier Ducrohet
cfa2b8acd3 am f0737030: Fix Android Manifest parser.
Merge commit 'f0737030570be15c1789d00db3593eb78cee9fbc'

* commit 'f0737030570be15c1789d00db3593eb78cee9fbc':
  Fix Android Manifest parser.
2009-10-12 11:23:01 -07:00
Raphael
122c3dd9c6 am 2ace885b: ADT Manifest Editor: Fix for uses-sdk dup that won\'t go away.
Merge commit '2ace885b2945aba76266bc54ad9fa59fb4e05187'

* commit '2ace885b2945aba76266bc54ad9fa59fb4e05187':
  ADT Manifest Editor: Fix for uses-sdk dup that won't go away.
2009-10-12 11:22:56 -07:00
Raphael
4e53735ede am 657bdd7d: Merge change I8a575e49 into eclair
Merge commit '657bdd7d2851cd3b09f156c4abd085614efdc593'

* commit '657bdd7d2851cd3b09f156c4abd085614efdc593':
  Fix CustomLocale to work with soft keyboard.
2009-10-12 11:22:52 -07:00
Xavier Ducrohet
cd53b3bc5a am 2cdd16b7: fix the build
Merge commit '2cdd16b77f18b7e240c41e8bc95ba0d844767652'

* commit '2cdd16b77f18b7e240c41e8bc95ba0d844767652':
  fix the build
2009-10-12 11:22:47 -07:00
Raphael
9729e97806 am 1233e408: Merge change Ie3124796 into eclair
Merge commit '1233e408f77ad8752afa1387a94c8e2b378b6629'

* commit '1233e408f77ad8752afa1387a94c8e2b378b6629':
  Ignore adt/eclipse project files in CustomLocale
2009-10-12 11:22:42 -07:00
Xavier Ducrohet
6a368fcf3e am 227b8768: Load default GLE device profiles from the SDK.
Merge commit '227b8768fa8accff8a9e3555351af05d41ad7840'

* commit '227b8768fa8accff8a9e3555351af05d41ad7840':
  Load default GLE device profiles from the SDK.
2009-10-12 11:22:37 -07:00
Nicolas Catania
4a5dc7e0c3 Minor cleanup, fix documentation.
Refactored the tests for the makefile existence in a
separate function.
Ran checkdoc and fixed errors.
2009-10-09 09:29:33 -07:00
Nicolas Catania
f94bca2ab7 Added support for the number of jobs during a make.
Moved common functions in a new android-common.el file.
Declared a customizable variable to control the number
of jobs used during the make process.

In android-compile, call compile interactively to honor
 the compile-read-command feature to give the user the opportunity
to edit the command (e.g add the snod target)
2009-10-06 17:15:21 -07:00
Nicolas Catania
1925281cfa New module to compile android packages from emacs. 2009-10-05 16:51:09 -07:00
Xavier Ducrohet
0dda405c6e am e96bc57a: Merge change I7d761ffa into eclair
Merge commit 'e96bc57aad64d435c1986bf415cb1c5f974426b9' into eclair-mr2

* commit 'e96bc57aad64d435c1986bf415cb1c5f974426b9':
  Fix best match resource selection when there's only one match.
2009-10-05 12:42:12 -07:00
Romain Guy
8fbe805f16 am 06d3ec15: Only process XML files in layoutopt.
Merge commit '06d3ec157ee7bebbf550924af267ee168336e085' into eclair-mr2

* commit '06d3ec157ee7bebbf550924af267ee168336e085':
  Only process XML files in layoutopt.
2009-10-05 12:42:08 -07:00
Romain Guy
1db3cfa4f8 am d01b8dd3: Merge change I5dfb2567 into eclair
Merge commit 'd01b8dd3c73add238bb4b632ece4a42e44bae126' into eclair-mr2

* commit 'd01b8dd3c73add238bb4b632ece4a42e44bae126':
  Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.
2009-10-05 12:42:04 -07:00
Android (Google) Code Review
e96bc57aad Merge change I7d761ffa into eclair
* changes:
  Fix best match resource selection when there's only one match.
2009-10-05 15:29:16 -04:00
Xavier Ducrohet
98fcd41e1f Fix best match resource selection when there's only one match.
Was using the wrong index.

Change-Id: I7d761ffa553f0aeec176a4752185dde238991e5e
2009-10-05 12:15:08 -07:00
Romain Guy
06d3ec157e Only process XML files in layoutopt.
Change-Id: I847109409601ccfbb10abff3b9972afdb3032821
2009-10-05 12:08:48 -07:00
Android (Google) Code Review
4c46bf9558 Merge change I108ad940 into eclair-mr2
* changes:
  Adding a full screen video sample plugin. Also cleaned up surface plugins to use the provided JavaVM.
2009-10-05 15:02:04 -04:00
Android (Google) Code Review
d01b8dd3c7 Merge change I5dfb2567 into eclair
* changes:
  Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.
2009-10-05 14:59:48 -04:00
Derek Sollenberger
b8947eee34 Adding a full screen video sample plugin. Also cleaned up surface plugins to use the provided JavaVM. 2009-10-05 14:59:48 -04:00
Romain Guy
5a31898020 Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.
Change-Id: I5dfb2567d923da8442b1df1e703e4ebca6e9523b
2009-10-05 11:59:21 -07:00
Fred Quintana
db8fdbec42 account manager api review changes 2009-10-05 09:59:03 -07:00
Android (Google) Code Review
06f70393bd Merge change I8e4697e1 into eclair
* changes:
  New layout optimization tool. Run layoutopt on the command line.
2009-10-05 07:13:21 -04:00
Romain Guy
3958d08fd4 New layout optimization tool. Run layoutopt on the command line.
Change-Id: I8e4697e19ca8a203dc8a41b464f7cb46d52184b0
2009-10-05 03:48:33 -07:00
Android (Google) Code Review
1061c0c7dc Merge change I69afafa4 into eclair
* changes:
  ADT: Create project from existing sample in New Project Wizard
2009-10-02 22:52:31 -04:00
Raphael
badc593c5e ADT: Create project from existing sample in New Project Wizard
The UI workflow:
- user selects the new "Create project from existingsample" radio button
- user selects an SDK target in the NPW
- a popup is filled with all available samples

This also fixes 2 edge cases:
- when the selected sample contains a build|default.propertie that is
  a base of the currently selected SDK target, don't reset it.
- when the user manually changes the project name or the app name for
  the sample, simply empty the fields and the next selected sample
  will recompute the adequate names. Any non-empty user input is never
  overridden.

SDK BUG 2121819

Change-Id: I69afafa460b86942046ef6baca3d4c7ee7dbe97d
2009-10-02 19:47:26 -07:00
Xavier Ducrohet
90ee703e94 Fix resource resolution in the graphical layout editor.
Resource with qualifiers take precedence over the ones without
even if the qualifiers are not present on the requested configuration.

Change-Id: I0d19889064e8031179ea6ee13c93a4198fe971fd
2009-10-02 19:07:09 -07:00
Xavier Ducrohet
d280d2363e Monintor resolution/size chooser dialog
This simple dialog lets the user choose a screen size (from a fixed list) and
a resolution (as returned by SWT's Display class).

This is used by the AVD start options dialog to help users figure out
the pixel density of their monitor.

Change-Id: I3eec0e7fac850c82e836d2bc0291a491f29f516e
2009-10-02 15:16:06 -07:00
Xavier Ducrohet
d13d440d43 Emulator launch options dialog.
This is displayed when clicking the Start button in the AVD manager.

The dialog allows to easily scale the emulator to match an arbitrary screen size
and to wipe the user data if needed.

The required monitor dpi is computed using java.awt.Toolkit, but (at least
on MacOS) it doesn't return the correct value, so it can be user supplied.
It's stored at least while the app is running and if possible in the settings
of the ADV/SDK Manager/Updater.

The wipe-data and scale flags are stored and reused while the app keeps
running as well.

Change-Id: Ia2f3ff5f4de285a3d505c6914d6b89cc663be284
2009-10-02 12:35:10 -07:00
Raphael
ef1337876b SDK: Fix CustomLocale to properly setup Language+Country
SDK BUG 2154263

Change-Id: I74db5bc237921ff6a6fd55664a2a3c62f544081b
2009-10-02 11:18:10 -07:00
Jeff Sharkey
480332f6c5 Revise template to match spec per jham. 2009-10-01 22:14:45 -07:00
David 'Digit' Turner
cc230ba07c Ensure the version of 'awk' detected by host-setup.sh is used during the build 2009-10-01 21:27:19 -07:00
Android (Google) Code Review
79adc9fc90 Merge change Ia78a7753 into eclair
* changes:
  Remove bash-specific operator from build/host-setup.sh.
2009-10-01 23:26:50 -04:00
Android (Google) Code Review
bfd51eca87 Merge change Id5105cb7
* changes:
  Remove adb networking support.
2009-10-01 21:07:38 -04:00
Elliott Hughes
d5105cb7bd Remove adb networking support.
(Just removing a comment here.)

Bug: 1122968
2009-10-01 17:46:38 -07:00
Xavier Ducrohet
f073703057 Fix Android Manifest parser.
While the test is in the java package as the parser, it's in a different
plug-in and this prevents accessing package-protected methods.

Change-Id: Ib17765095e4da518d62ee65cb9e1987d0e22be6e
2009-10-01 17:23:25 -07:00
David 'Digit' Turner
a78a775332 Remove bash-specific operator from build/host-setup.sh. 2009-10-01 16:38:44 -07:00
Raphael
2ace885b29 ADT Manifest Editor: Fix for uses-sdk dup that won't go away.
It was a display issue only, meaning the actual XML node was
being deleted but the Ui model was not updated properly. The
actual cause is that this is a mandatory node, and mandatory
nodes must stay as "fake nodes" in the Ui model. However
only one such node needs to stay in the hierarchy.

SDK BUG 2147112

Change-Id: I68e3d343bb95169865ad8dcad77004cbd51fafc3
2009-10-01 14:17:02 -07:00