OSDN Git Service

android-x86/frameworks-base.git
15 years agoMerge branch 'readonly-p4-donut' into donut
Scott Main [Wed, 22 Apr 2009 20:28:57 +0000 (13:28 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147317: am: CL 147314 change carousel SDK to 1.5;
Scott Main [Wed, 22 Apr 2009 20:27:42 +0000 (13:27 -0700)]
AI 147317: am: CL 147314 change carousel SDK to 1.5;
  revise Google IO info
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 147317

15 years agoMerge branch 'readonly-p4-donut' into donut
Scott Main [Wed, 22 Apr 2009 20:26:11 +0000 (13:26 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147313: am: CL 147311 update eclipse docs to include necessary AVD procedures and
Scott Main [Wed, 22 Apr 2009 20:24:58 +0000 (13:24 -0700)]
AI 147313: am: CL 147311 update eclipse docs to include necessary AVD procedures and
  discuss relevant target facilities
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 147313

15 years agoMerge branch 'readonly-p4-donut' into donut
Scott Main [Wed, 22 Apr 2009 20:23:29 +0000 (13:23 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147308: am: CL 147306 re-write the Developing in Other IDEs doc with updated infor...
Scott Main [Wed, 22 Apr 2009 20:22:17 +0000 (13:22 -0700)]
AI 147308: am: CL 147306 re-write the Developing in Other IDEs doc with updated information for 1.5
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 147308

15 years agoMerge branch 'readonly-p4-donut' into donut
Dirk Dougherty [Wed, 22 Apr 2009 20:20:44 +0000 (13:20 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147303: am: CL 147297 Update Android 1.5 SDK Download, Release Notes, Version...
Dirk Dougherty [Wed, 22 Apr 2009 20:19:30 +0000 (13:19 -0700)]
AI 147303: am: CL 147297 Update Android 1.5 SDK Download, Release Notes, Version Notes, Highlights
  Please let me know if you have other "known issues", "resolved issues", or
  "highlights".
  Also, note that the installing and upgrading docs are being updated in
  a different CL, so the new version is not displayed on my staging server.
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147303

15 years agoMerge commit 'goog/readonly-p4-donut' into HEAD
Jean-Baptiste Queru [Wed, 22 Apr 2009 19:09:59 +0000 (12:09 -0700)]
Merge commit 'goog/readonly-p4-donut' into HEAD

Conflicts:
location/java/android/location/Geocoder.java

15 years agoDo case-insensitive matching when determining whether something is music, an alarm...
Marco Nelissen [Wed, 22 Apr 2009 17:34:12 +0000 (10:34 -0700)]
Do case-insensitive matching when determining whether something is music, an alarm sound, notification sound, etc.

15 years agoMerge change 358 into donut
Android (Google) Code Review [Wed, 22 Apr 2009 16:57:03 +0000 (09:57 -0700)]
Merge change 358 into donut

* changes:
  Fix issue 1745312: Various cleanups in media framework

15 years agoMerge change 416 into donut
Android (Google) Code Review [Wed, 22 Apr 2009 08:59:31 +0000 (01:59 -0700)]
Merge change 416 into donut

* changes:
  Remove debug messages.  modified:   core/java/android/hardware/Camera.java

15 years agoRemove debug messages.
Wu-cheng Li [Wed, 22 Apr 2009 08:21:26 +0000 (16:21 +0800)]
Remove debug messages.
modified:   core/java/android/hardware/Camera.java

modified:   camera/libcameraservice/CameraService.cpp

15 years agoMerge change 404 into donut
Android (Google) Code Review [Wed, 22 Apr 2009 06:44:04 +0000 (23:44 -0700)]
Merge change 404 into donut

* changes:
  normalize the DATA_STATE_RADIO_OFF event log id definition

15 years agoMerge change 403 into donut
Android (Google) Code Review [Wed, 22 Apr 2009 06:43:45 +0000 (23:43 -0700)]
Merge change 403 into donut

* changes:
  remove superfluous lines

15 years agoFix timing problem that was introduced when we removed location provider polling
Mike Lockwood [Wed, 22 Apr 2009 04:27:33 +0000 (21:27 -0700)]
Fix timing problem that was introduced when we removed location provider polling

The wake lock was not being held until after we enabled location tracking,
so the check to see if the wake lock was held before propogating a
new location prevented us from receiving a network location as soon as we
enabled the provider.
This check is not necessary anyway, so this change removes it.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agonormalize the DATA_STATE_RADIO_OFF event log id definition
Tammo Spalink [Tue, 21 Apr 2009 07:14:49 +0000 (15:14 +0800)]
normalize the DATA_STATE_RADIO_OFF event log id definition

Was this different intentionally?  It looks internal, and with very limited usage, and so easy to bring in line with the others...

15 years agoremove superfluous lines
Tammo Spalink [Tue, 21 Apr 2009 06:54:18 +0000 (14:54 +0800)]
remove superfluous lines

15 years agolocation: Remove support for a message that never actually gets sent.
Mike Lockwood [Wed, 22 Apr 2009 03:18:41 +0000 (20:18 -0700)]
location: Remove support for a message that never actually gets sent.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agolocation: Remove unnecessary code that monitors the screen on/off state.
Mike Lockwood [Wed, 22 Apr 2009 03:02:52 +0000 (20:02 -0700)]
location: Remove unnecessary code that monitors the screen on/off state.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoAI 147294: am: CL 147290 Update Geocoder javadoc to reflect the need for a backend...
Xavier Ducrohet [Wed, 22 Apr 2009 01:47:12 +0000 (18:47 -0700)]
AI 147294: am: CL 147290 Update Geocoder javadoc to reflect the need for a backend service.
  Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 147294

15 years agoMerge change 387 into donut
Android (Google) Code Review [Wed, 22 Apr 2009 00:31:01 +0000 (17:31 -0700)]
Merge change 387 into donut

* changes:
  Geocoder: Document behavior when no backend service is available.

15 years agoGeocoder: Document behavior when no backend service is available.
Mike Lockwood [Tue, 21 Apr 2009 23:45:33 +0000 (16:45 -0700)]
Geocoder: Document behavior when no backend service is available.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agogps: Check for null APN name when receiving telephony notifications.
Mike Lockwood [Tue, 21 Apr 2009 22:49:38 +0000 (15:49 -0700)]
gps: Check for null APN name when receiving telephony notifications.

Fixes bug b/1800584

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge branch 'readonly-p4-donut' into donut
Jeff Hamilton [Tue, 21 Apr 2009 22:14:41 +0000 (15:14 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147253: am: CL 147250 Fix a nasty typo in the docs for ContentResolver.update...
Jeff Hamilton [Tue, 21 Apr 2009 22:13:18 +0000 (15:13 -0700)]
AI 147253: am: CL 147250 Fix a nasty typo in the docs for ContentResolver.update(). No code changes.
  Original author: jham
  Merged from: //branches/cupcake/...

Automated import of CL 147253

15 years agoMerge change 372 into donut
Android (Google) Code Review [Tue, 21 Apr 2009 22:12:25 +0000 (15:12 -0700)]
Merge change 372 into donut

* changes:
  WifiService: Cleanup parsing of wifi scan results.

15 years agoMerge branch 'readonly-p4-donut' into donut
Dirk Dougherty [Tue, 21 Apr 2009 22:01:57 +0000 (15:01 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147239: am: CL 147238 Update tools index, replace activitycreator with android
Dirk Dougherty [Tue, 21 Apr 2009 22:00:34 +0000 (15:00 -0700)]
AI 147239: am: CL 147238 Update tools index, replace activitycreator with android
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147239

15 years agoMerge branch 'readonly-p4-donut' into donut
Dirk Dougherty [Tue, 21 Apr 2009 21:55:49 +0000 (14:55 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147230: am: CL 147228 Add API diff report to SDK docs (API Level 2 to 3)
Dirk Dougherty [Tue, 21 Apr 2009 21:54:32 +0000 (14:54 -0700)]
AI 147230: am: CL 147228 Add API diff report to SDK docs (API Level 2 to 3)
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147230

15 years agoMerge branch 'readonly-p4-donut' into donut
Scott Main [Tue, 21 Apr 2009 21:28:13 +0000 (14:28 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147224: am: CL 147219 update app-signing doc to include a guide to export a signed...
Scott Main [Tue, 21 Apr 2009 21:26:59 +0000 (14:26 -0700)]
AI 147224: am: CL 147219 update app-signing doc to include a guide to export a signed APK from ADT
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 147224

15 years agoMerge branch 'readonly-p4-donut' into donut
Dirk Dougherty [Tue, 21 Apr 2009 21:15:40 +0000 (14:15 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147214: am: CL 147211 Update emulator doc for new usage with avds.
Dirk Dougherty [Tue, 21 Apr 2009 21:14:23 +0000 (14:14 -0700)]
AI 147214: am: CL 147211 Update emulator doc for new usage with avds.
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147214

15 years agoWifiService: Cleanup parsing of wifi scan results.
Mike Lockwood [Tue, 21 Apr 2009 20:55:07 +0000 (13:55 -0700)]
WifiService: Cleanup parsing of wifi scan results.

Also add support for possitive RSSI values, fixing b/1786306

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge change 352 into donut
Android (Google) Code Review [Tue, 21 Apr 2009 20:20:07 +0000 (13:20 -0700)]
Merge change 352 into donut

* changes:
  Remove dangling media recorder client reference when setCamera() is used.

15 years agoMerge change 368 into donut
Android (Google) Code Review [Tue, 21 Apr 2009 19:44:57 +0000 (12:44 -0700)]
Merge change 368 into donut

* changes:
  location: Add some null pointer checks.

15 years agolocation: Add some null pointer checks.
Mike Lockwood [Tue, 21 Apr 2009 19:13:35 +0000 (12:13 -0700)]
location: Add some null pointer checks.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge branch 'readonly-p4-donut' into donut
Andy Stadler [Tue, 21 Apr 2009 18:56:08 +0000 (11:56 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147168: am: CL 147163 Copy documentation for the various search-by-voice flags...
Andy Stadler [Tue, 21 Apr 2009 18:54:45 +0000 (11:54 -0700)]
AI 147168: am: CL 147163 Copy documentation for the various search-by-voice flags that
  were already listed in attrs.xml into SearchManager.java.  Add
  a (brief - no time for more) description about how to add search
  by voice to apps.
  JAVADOC ONLY - should be safe change for cupcake sdk.
  Original author: stadler
  Merged from: //branches/cupcake/...

Automated import of CL 147168

15 years agoMerge branch 'readonly-p4-donut' into donut
Andy Stadler [Tue, 21 Apr 2009 18:53:07 +0000 (11:53 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147167: am: CL 147162 Emphasize in the javadoc that the "pkg" parameters to
Andy Stadler [Tue, 21 Apr 2009 18:51:43 +0000 (11:51 -0700)]
AI 147167: am: CL 147162 Emphasize in the javadoc that the "pkg" parameters to
  InstrumentationTestCase and its descendants should be the
  package manager package name (not the java package name, and
  not the test package) of the package holding the Activity
  under test.
  Added similar notations to the ApiDemos call sites.
  JAVADOC ONLY - should be safe change for cupcake sdk.
  Original author: stadler
  Merged from: //branches/cupcake/...

Automated import of CL 147167

15 years agoMerge change 360 into donut
Android (Google) Code Review [Tue, 21 Apr 2009 16:40:38 +0000 (09:40 -0700)]
Merge change 360 into donut

* changes:
  location: Location Manager wakelock cleanup, phase 1

15 years agolocation: Location Manager wakelock cleanup, phase 1
Mike Lockwood [Tue, 21 Apr 2009 16:38:18 +0000 (09:38 -0700)]
location: Location Manager wakelock cleanup, phase 1

Move cell and wifi lock from LocationManagerService to NetworkLocationProvider

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge change 336 into donut
Android (Google) Code Review [Tue, 21 Apr 2009 15:18:50 +0000 (08:18 -0700)]
Merge change 336 into donut

* changes:
  Ensure ongoing progress updates after using the scroll ball to adjust position.

15 years agoFix issue 1745312: Various cleanups in media framework
Eric Laurent [Tue, 21 Apr 2009 14:56:33 +0000 (07:56 -0700)]
Fix issue 1745312: Various cleanups in media framework

AudioTrack, AudioRecord:
  - remove useless mAudioFlinger member of AudioTrack and AudioRecord.
  - signal cblk.cv condition in stop() method to speed up stop completion.
  - extend wait condition timeout in obtainBuffer() when waitCount is -1 to avoid waking up callback thread unnecessarily

AudioFlinger:
  - remove some warnings in AudioFlinger.cpp.
  - remove function AudioFlinger::MixerThread::removetrack_l()  as its content is never executed.
  - remove useless call to setMasterVolume in AudioFlinger::handleForcedSpeakerRoute().
  - Offset VOICE_CALL stream volume to reflect actual volume that is never 0 in hardware (this fix has been made in the open source): 0.01 + v * 0.99.

AudioSystem.java:
  - correct typo in comment

IAudioflinger, IAudioFlingerClient:
  - make AudioFlinger binder interfaces used for callbacks ONEWAY.

AudioHardwareInterface:
  - correct routeStrings[] table in AudioHardwareInteface.cpp

15 years agoMerge branch 'readonly-p4-donut' into donut
Dirk Dougherty [Tue, 21 Apr 2009 08:06:57 +0000 (01:06 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147083: am: CL 147081 Add document describing AVDs and usage. (doc change only)
Dirk Dougherty [Tue, 21 Apr 2009 08:05:41 +0000 (01:05 -0700)]
AI 147083: am: CL 147081 Add document describing AVDs and usage. (doc change only)
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147083

15 years agoMerge branch 'readonly-p4-donut' into donut
Dirk Dougherty [Tue, 21 Apr 2009 08:01:28 +0000 (01:01 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147054: am: CL 147053 Add -hdf primer vars for the platform and release ID associa...
Dirk Dougherty [Tue, 21 Apr 2009 08:00:12 +0000 (01:00 -0700)]
AI 147054: am: CL 147053 Add -hdf primer vars for the platform and release ID associated with the current (most recent) SDK.
  Currently, the docs that are specific to each SDK release -- downloading, installing, upgrading, requirements -- are stored in a directory with release-derived name, such as "1.1_r1". This change lets documents use generic links to point into the most recent version specific docs, eg href="{@docRoot}sdk/{sdkCurrent}/installing.html" instead of href="{@docRoot}sdk/1.1_r1/installing.html".
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147054

15 years agoRemove dangling media recorder client reference when setCamera() is used.
James Dong [Tue, 21 Apr 2009 02:35:28 +0000 (19:35 -0700)]
Remove dangling media recorder client reference when setCamera() is used.

15 years agoEnsure ongoing progress updates after using the scroll ball to adjust position.
Andreas Huber [Mon, 20 Apr 2009 21:22:31 +0000 (14:22 -0700)]
Ensure ongoing progress updates after using the scroll ball to adjust position.

We use a single outstanding message of type SHOW_PROGRESS to refresh the progress
bar's current position as well as textual display of time and duration. This message
could get lost if the scroll ball was used to adjust the current playback position as
we entered state "mDragging" which would cause the subsequent SHOW_PROGRESS message
to be a no-op and would also cause it to not be re-enqueued.
The change refactors the seekbar logic a little and makes sure that while dragging
there isn't a pending SHOW_PROGRESS message in the queue and once dragging is over,
exactly one SHOW_PROGRESS message is reenqueued.

related to bug 1721227

15 years agoMerge branch 'readonly-p4-donut' into donut
Jean-Michel Trivi [Mon, 20 Apr 2009 23:31:35 +0000 (16:31 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 147035: am: CL 147032 Finalize JetPlayer javadoc.
Jean-Michel Trivi [Mon, 20 Apr 2009 23:30:18 +0000 (16:30 -0700)]
AI 147035: am: CL 147032 Finalize JetPlayer javadoc.
  Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 147035

15 years agoMerge branch 'readonly-p4-donut' into donut
Jean-Michel Trivi [Mon, 20 Apr 2009 17:47:31 +0000 (10:47 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146938: am: CL 146937 Finalize AudioRecord javadoc.
Jean-Michel Trivi [Mon, 20 Apr 2009 17:45:23 +0000 (10:45 -0700)]
AI 146938: am: CL 146937 Finalize AudioRecord javadoc.
  Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 146938

15 years agoMerge branch 'readonly-p4-donut' into donut
Dmitry Shmidt [Mon, 20 Apr 2009 16:50:17 +0000 (09:50 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146934: Make TI Wifi driver choice framework-independent - part 1
Dmitry Shmidt [Mon, 20 Apr 2009 16:48:54 +0000 (09:48 -0700)]
AI 146934: Make TI Wifi driver choice framework-independent - part 1
  BUG=1786365

Automated import of CL 146934

15 years agoMerge branch 'readonly-p4-donut' into donut
Evan Millar [Sat, 18 Apr 2009 19:27:51 +0000 (12:27 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146853: Add kernel wakelock data to batteryinfo dump.
Evan Millar [Sat, 18 Apr 2009 19:26:32 +0000 (12:26 -0700)]
AI 146853: Add kernel wakelock data to batteryinfo dump.
  BUG=1755458

Automated import of CL 146853

15 years agoMerge change 287 into donut
Android (Google) Code Review [Fri, 17 Apr 2009 23:24:12 +0000 (16:24 -0700)]
Merge change 287 into donut

* changes:
  Get Sketch compiling.

15 years agoGet Sketch compiling.
Joe Onorato [Fri, 17 Apr 2009 23:22:32 +0000 (16:22 -0700)]
Get Sketch compiling.

Add an Android.mk.
Android compiles with Java5, which doesn't let you put @Override on
interface methods.

15 years agoMore Location Manager cleanup:
Mike Lockwood [Fri, 17 Apr 2009 22:03:44 +0000 (18:03 -0400)]
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>
15 years agoMerge change 279 into donut
Android (Google) Code Review [Fri, 17 Apr 2009 21:20:38 +0000 (14:20 -0700)]
Merge change 279 into donut

* changes:
  Add sketch gesture demo application.

15 years agoAdd sketch gesture demo application.
Joe Onorato [Fri, 17 Apr 2009 21:18:46 +0000 (14:18 -0700)]
Add sketch gesture demo application.

Initial checkin, there's no Android.mk yet.

15 years agoMerge change 263 into donut
Android (Google) Code Review [Fri, 17 Apr 2009 21:05:57 +0000 (14:05 -0700)]
Merge change 263 into donut

* changes:
  location: Generalize support for location provider usage tracking.

15 years agolocation: Generalize support for location provider usage tracking.
Mike Lockwood [Fri, 17 Apr 2009 12:24:10 +0000 (08:24 -0400)]
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>
15 years agoMerge branch 'readonly-p4-donut' into donut
Dave Sparks [Fri, 17 Apr 2009 18:49:44 +0000 (11:49 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146755: am: CL 146754 Fix some problems in the SoundPool docs and add additional...
Dave Sparks [Fri, 17 Apr 2009 18:48:25 +0000 (11:48 -0700)]
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

15 years agoMerge branch 'readonly-p4-donut' into donut
Jean-Michel Trivi [Fri, 17 Apr 2009 18:46:50 +0000 (11:46 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146752: am: CL 146751 Finalize AudioTrack javadoc.
Jean-Michel Trivi [Fri, 17 Apr 2009 18:45:30 +0000 (11:45 -0700)]
AI 146752: am: CL 146751 Finalize AudioTrack javadoc.
  Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 146752

15 years agoMerge branch 'readonly-p4-donut' into donut
Urs Grob [Fri, 17 Apr 2009 18:31:36 +0000 (11:31 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146743: am: CL 146711 Enhancing the test runner. Now it filters BrokenTests and...
Urs Grob [Fri, 17 Apr 2009 18:30:14 +0000 (11:30 -0700)]
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

15 years agoMerge branch 'readonly-p4-donut' into donut
Dave Sparks [Fri, 17 Apr 2009 02:55:31 +0000 (19:55 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146668: am: CL 146667 Add advice in MediaRecorder Java docs about using MPEG-4...
Dave Sparks [Fri, 17 Apr 2009 02:54:16 +0000 (19:54 -0700)]
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

15 years agoMerge change 233 into donut
Android (Google) Code Review [Fri, 17 Apr 2009 00:55:44 +0000 (17:55 -0700)]
Merge change 233 into donut

* changes:
  Add an Android-specific static OpenGL ES 1.1 Java API.

15 years agoMerge branch 'readonly-p4-donut' into donut
Dave Sparks [Fri, 17 Apr 2009 00:51:48 +0000 (17:51 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146655: am: CL 146654 Add java docs for SoundPool
Dave Sparks [Fri, 17 Apr 2009 00:50:27 +0000 (17:50 -0700)]
AI 146655: am: CL 146654 Add java docs for SoundPool
  Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 146655

15 years agoAdd an Android-specific static OpenGL ES 1.1 Java API.
Jack Palevich [Thu, 16 Apr 2009 02:13:17 +0000 (19:13 -0700)]
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.

15 years agoMerge branch 'readonly-p4-donut' into donut
Brandon Ballinger [Thu, 16 Apr 2009 21:33:04 +0000 (14:33 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146613: Move Recognition service declarations to frameworks/base/core/java/android...
Brandon Ballinger [Thu, 16 Apr 2009 21:31:48 +0000 (14:31 -0700)]
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

15 years agoMerge branch 'readonly-p4-donut' into donut
Dirk Dougherty [Thu, 16 Apr 2009 21:29:31 +0000 (14:29 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146610: am: CL 146609 updates to the manifest docs for cupcake: Add "since" notati...
Dirk Dougherty [Thu, 16 Apr 2009 21:28:14 +0000 (14:28 -0700)]
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

15 years agoMerge branch 'readonly-p4-donut' into donut
Dirk Dougherty [Thu, 16 Apr 2009 20:35:30 +0000 (13:35 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146602: am: CL 146601 Update media formats appendix for cupcake
Dirk Dougherty [Thu, 16 Apr 2009 20:34:12 +0000 (13:34 -0700)]
AI 146602: am: CL 146601 Update media formats appendix for cupcake
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 146602

15 years agoMerge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Thu, 16 Apr 2009 19:45:54 +0000 (12:45 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146485: am: CL 146411 Fix BridgeCanvas#drawRoundRect
Xavier Ducrohet [Thu, 16 Apr 2009 19:44:37 +0000 (12:44 -0700)]
AI 146485: am: CL 146411 Fix BridgeCanvas#drawRoundRect
  Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146485

15 years agoMerge change 187 into donut
Android (Google) Code Review [Thu, 16 Apr 2009 07:05:57 +0000 (00:05 -0700)]
Merge change 187 into donut

* changes:
  replaced integer * and % with shift operations, for performance

15 years agoreplaced integer * and % with shift operations, for performance
Tammo Spalink [Wed, 15 Apr 2009 11:15:37 +0000 (19:15 +0800)]
replaced integer * and % with shift operations, for performance

15 years agoMerge change 186 into donut
Android (Google) Code Review [Wed, 15 Apr 2009 19:13:07 +0000 (12:13 -0700)]
Merge change 186 into donut

* changes:
  eliminate seemingly pointless conversion to and then from hex string

15 years agoMerge branch 'readonly-p4-donut' into donut
Dirk Dougherty [Wed, 15 Apr 2009 18:35:03 +0000 (11:35 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146345: am: CL 146341 g4 integrate -t -i -b platform-1_0-to-cupcake @146018,146018...
Dirk Dougherty [Wed, 15 Apr 2009 18:33:48 +0000 (11:33 -0700)]
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

15 years agoMerge branch 'readonly-p4-donut' into donut
Dirk Dougherty [Wed, 15 Apr 2009 18:32:07 +0000 (11:32 -0700)]
Merge branch 'readonly-p4-donut' into donut

15 years agoAI 146343: am: CL 146340 Integrate updated SDK Terms and Conditions document
Dirk Dougherty [Wed, 15 Apr 2009 18:30:46 +0000 (11:30 -0700)]
AI 146343: am: CL 146340 Integrate updated SDK Terms and Conditions document
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 146343

15 years agoMerge change 190 into donut
Android (Google) Code Review [Wed, 15 Apr 2009 15:21:40 +0000 (08:21 -0700)]
Merge change 190 into donut

* changes:
  location: Move geocoding support from ILocationProvider to a new interface.

15 years agolocation: Move geocoding support from ILocationProvider to a new interface.
Mike Lockwood [Wed, 15 Apr 2009 15:10:11 +0000 (11:10 -0400)]
location: Move geocoding support from ILocationProvider to a new interface.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge change 174 into donut
Android (Google) Code Review [Wed, 15 Apr 2009 13:14:11 +0000 (06:14 -0700)]
Merge change 174 into donut

* changes:
  Improve glgen

15 years agoeliminate seemingly pointless conversion to and then from hex string
Tammo Spalink [Wed, 15 Apr 2009 10:50:38 +0000 (18:50 +0800)]
eliminate seemingly pointless conversion to and then from hex string

15 years agoMerge change 175 into donut
Android (Google) Code Review [Wed, 15 Apr 2009 03:19:42 +0000 (20:19 -0700)]
Merge change 175 into donut

* changes:
  telephony: Don't disable an APN type that is not enabled.