718 Commits

Author SHA1 Message Date
Joe Onorato
8307a0c69c Get Sketch compiling.
Add an Android.mk.
Android compiles with Java5, which doesn't let you put @Override on
interface methods.
2009-04-17 16:22:32 -07:00
Mike Lockwood
98cb667974 More Location Manager cleanup:
Move LocationCollector support out of GpsLocationProvider.
Don't disable GPS when screen is off.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-04-17 18:06:18 -04:00
Android (Google) Code Review
981980e5da Merge change 279 into donut
* changes:
  Add sketch gesture demo application.
2009-04-17 14:20:38 -07:00
Joe Onorato
6e93a3db56 Add sketch gesture demo application.
Initial checkin, there's no Android.mk yet.
2009-04-17 14:18:46 -07:00
Android (Google) Code Review
27c6109aa8 Merge change 263 into donut
* changes:
  location: Generalize support for location provider usage tracking.
2009-04-17 14:05:57 -07:00
Mike Lockwood
2f82c4eb0b location: Generalize support for location provider usage tracking.
This replaces two different mechanisms that were used for GPS and Netork
location provider tracking.
Move BatteryStats logging of GPS usage from LocationManagerService to
GpsLocationProvider.
Clean up tracking of location listeners in LocationManagerService and remove
some HashMaps that are no longer needed.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-04-17 17:00:32 -04:00
Dave Sparks
6440e81454 Merge branch 'readonly-p4-donut' into donut 2009-04-17 11:49:44 -07:00
Dave Sparks
6cb9900e6f AI 146755: am: CL 146754 Fix some problems in the SoundPool docs and add additional text.
Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 146755
2009-04-17 11:48:25 -07:00
Jean-Michel Trivi
b3eaa4a139 Merge branch 'readonly-p4-donut' into donut 2009-04-17 11:46:50 -07:00
Jean-Michel Trivi
ff14c25339 AI 146752: am: CL 146751 Finalize AudioTrack javadoc.
Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 146752
2009-04-17 11:45:30 -07:00
Urs Grob
096840a2a0 Merge branch 'readonly-p4-donut' into donut 2009-04-17 11:31:36 -07:00
Urs Grob
da13ef5dca AI 146743: am: CL 146711 Enhancing the test runner. Now it filters BrokenTests and only executes tests
annotated with SideEffect if the host is running in single test mode.
  Also adding some cleanup mechanism and some logcat logging about memory consumption
  Original author: ursg
  Merged from: //branches/cupcake/...

Automated import of CL 146743
2009-04-17 11:30:14 -07:00
Dave Sparks
62200dd153 AI 146754: Fix some problems in the SoundPool docs and add additional text.
BUG=1795461

Automated import of CL 146754
2009-04-17 11:29:35 -07:00
Jean-Michel Trivi
f69b61b496 AI 146751: Finalize AudioTrack javadoc.
BUG=1795799

Automated import of CL 146751
2009-04-17 11:22:35 -07:00
Urs Grob
358d23017d AI 146711: Enhancing the test runner. Now it filters BrokenTests and only executes tests
annotated with SideEffect if the host is running in single test mode.
  Also adding some cleanup mechanism and some logcat logging about memory consumption
  BUG=1789657

Automated import of CL 146711
2009-04-17 02:09:00 -07:00
Dave Sparks
21b5817aaa Merge branch 'readonly-p4-donut' into donut 2009-04-16 19:55:31 -07:00
Dave Sparks
2170312ab0 AI 146668: am: CL 146667 Add advice in MediaRecorder Java docs about using MPEG-4 container format
Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 146668
2009-04-16 19:54:16 -07:00
Dave Sparks
6cb76f6c23 AI 146667: Add advice in MediaRecorder Java docs about using MPEG-4 container format
BUG=1753020

Automated import of CL 146667
2009-04-16 18:35:51 -07:00
Android (Google) Code Review
e8fbb001a4 Merge change 233 into donut
* changes:
  Add an Android-specific static OpenGL ES 1.1 Java API.
2009-04-16 17:55:44 -07:00
Dave Sparks
1ebb286054 Merge branch 'readonly-p4-donut' into donut 2009-04-16 17:51:48 -07:00
Dave Sparks
cef302d095 AI 146655: am: CL 146654 Add java docs for SoundPool
Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 146655
2009-04-16 17:50:27 -07:00
Dave Sparks
b1520e9333 AI 146654: Add java docs for SoundPool
BUG=1795461

Automated import of CL 146654
2009-04-16 17:49:25 -07:00
Jack Palevich
27f8002e59 Add an Android-specific static OpenGL ES 1.1 Java API.
This change adds four new public classes that expose a static OpenGL ES 1.1 API:

	android.opengl.GLES10
	android.opengl.GLES10Ext
	android.opengl.GLES11
	android.opengl.GLES11Ext

Benefits:

 + The static API is slightly faster (1% to 4%) than the existing Interface based JSR239 API.
 + The static API is similar to the C API, which should make it easier to import C-based
   example code.
 + The static API provides a clear path for adding new OpenGL ES 1.1 extensions
   and OpenGL ES 2.0 APIs, neither of which currently have a JSR standard.

Example:

  import static android.opengl.GLES10.*;

  ...

  glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

Note that it is possible to mix-and-match calls to both the static and JSR239 APIs.
This works because neither API maintains state. They both call through to the same underlying
C OpenGL ES APIs.

Implementation details:

This change enhances the "glgen" "gen" script to generate both the original JSR239 and
new static OpenGL ES APIs. The contents of the generated JSR239 classes remained the same as before,
so there is no need to check in new versions of the generated JSR239 classes.

As part of this work the gen script was updated to be somewhat more robust, and to
work with git instead of perforce. The script prints out commands to git add the generated files,
but leaves it up to the script runner to actually execute those commands.
2009-04-16 15:20:55 -07:00
Brandon Ballinger
3385e728d8 Merge branch 'readonly-p4-donut' into donut 2009-04-16 14:33:04 -07:00
Brandon Ballinger
181a44dd81 AI 146613: Move Recognition service declarations to frameworks/base/core/java/android/speech. Hide them from public API by default (no changes to current.xml).
Automated import of CL 146613
2009-04-16 14:31:48 -07:00
Dirk Dougherty
131e27a00c Merge branch 'readonly-p4-donut' into donut 2009-04-16 14:29:31 -07:00
Dirk Dougherty
dc52312ce3 AI 146610: am: CL 146609 updates to the manifest docs for cupcake: Add "since" notations for elements and some attributes.
Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 146610
2009-04-16 14:28:14 -07:00
Dirk Dougherty
d33ab2b8ad AI 146609: updates to the manifest docs for cupcake: Add "since" notations for elements and some attributes.
BUG=1790234

Automated import of CL 146609
2009-04-16 14:27:42 -07:00
Dirk Dougherty
e6a9b45207 Merge branch 'readonly-p4-donut' into donut 2009-04-16 13:35:30 -07:00
Dirk Dougherty
cc6069eacf AI 146602: am: CL 146601 Update media formats appendix for cupcake
Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 146602
2009-04-16 13:34:12 -07:00
Dirk Dougherty
610cb2df9d AI 146601: Update media formats appendix for cupcake
BUG=1792195

Automated import of CL 146601
2009-04-16 13:33:16 -07:00
Xavier Ducrohet
4edbf0758a Merge branch 'readonly-p4-donut' into donut 2009-04-16 12:45:54 -07:00
Xavier Ducrohet
e30661294b AI 146485: am: CL 146411 Fix BridgeCanvas#drawRoundRect
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146485
2009-04-16 12:44:37 -07:00
Eric Fischer
afa2add8ba AI 146517: Import translation changes.
DO NOT MERGE

Automated import of CL 146517
2009-04-16 11:01:05 -07:00
Android (Google) Code Review
e2945e2d69 Merge change 187 into donut
* changes:
  replaced integer * and % with shift operations, for performance
2009-04-16 00:05:57 -07:00
Tammo Spalink
e564b19ed2 replaced integer * and % with shift operations, for performance 2009-04-16 14:48:19 +08:00
Xavier Ducrohet
9d1eced4a8 AI 146411: Fix BridgeCanvas#drawRoundRect
BUG=1792311

Automated import of CL 146411
2009-04-15 22:30:00 -07:00
Eric Fischer
c56eed910a AI 146365: Import revised translations.
DO NOT MERGE

Automated import of CL 146365
2009-04-15 13:30:18 -07:00
Android (Google) Code Review
a6c6f06b07 Merge change 186 into donut
* changes:
  eliminate seemingly pointless conversion to and then from hex string
2009-04-15 12:13:07 -07:00
Dirk Dougherty
7cf6fa727a Merge branch 'readonly-p4-donut' into donut 2009-04-15 11:35:03 -07:00
Dirk Dougherty
2fd2f6e5c6 AI 146345: am: CL 146341 g4 integrate -t -i -b platform-1_0-to-cupcake @146018,146018 (doc change)
Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 146345
2009-04-15 11:33:48 -07:00
Dirk Dougherty
e9a65c3a4a Merge branch 'readonly-p4-donut' into donut 2009-04-15 11:32:07 -07:00
Dirk Dougherty
adb538b52f AI 146343: am: CL 146340 Integrate updated SDK Terms and Conditions document
Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 146343
2009-04-15 11:30:46 -07:00
Dirk Dougherty
d9671b8e05 AI 146341: g4 integrate -t -i -b platform-1_0-to-cupcake @146018,146018 (doc change)
BUG=1675368

Automated import of CL 146341
2009-04-15 11:29:53 -07:00
Dirk Dougherty
b01b0cb4b6 AI 146340: Integrate updated SDK Terms and Conditions document
Automated import of CL 146340
2009-04-15 11:28:57 -07:00
Android (Google) Code Review
f5bfda1fce Merge change 190 into donut
* changes:
  location: Move geocoding support from ILocationProvider to a new interface.
2009-04-15 08:21:40 -07:00
Mike Lockwood
a55c321329 location: Move geocoding support from ILocationProvider to a new interface.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-04-15 11:17:37 -04:00
Android (Google) Code Review
a2180c6eee Merge change 174 into donut
* changes:
  Improve glgen
2009-04-15 06:14:11 -07:00
Tammo Spalink
e87e9506ba eliminate seemingly pointless conversion to and then from hex string 2009-04-15 18:50:38 +08:00
Android (Google) Code Review
967f7c169c Merge change 175 into donut
* changes:
  telephony: Don't disable an APN type that is not enabled.
2009-04-14 20:19:42 -07:00