11112 Commits

Author SHA1 Message Date
Maryam Garrett
ab9289320f Allows users to scroll while in select mode.
This change allows the user to select-n-scroll. While a user
is in select mode, and they try to scroll, the textbox will
scroll in the direction of the selection, and expand the selection.
2009-12-10 16:00:32 -05:00
Android (Google) Code Review
6ae24d9365 Merge change I3c01bb62 into eclair-mr2
* changes:
  Adding copyright headers to recently introduced decoder source files.
2009-12-10 12:37:59 -08:00
Android (Google) Code Review
987e7fb2d4 Merge change I9a275773 into eclair-mr2
* changes:
  Initial check in of AMR (NB and WB) decoders based on PV source code.
2009-12-10 12:29:39 -08:00
Andreas Huber
3c01bb627a Adding copyright headers to recently introduced decoder source files. 2009-12-10 12:28:22 -08:00
Andreas Huber
a30d400838 Initial check in of AMR (NB and WB) decoders based on PV source code. 2009-12-10 12:23:55 -08:00
Andreas Huber
f0d04246f4 Don't count empty buffers when computing the frame rate. 2009-12-10 12:21:57 -08:00
Android (Google) Code Review
f44ecff467 Merge change Id432656e into eclair-mr2
* changes:
  Add support for @UiThreadTest on setUp() and tearDown() in InstrumentationTestCase.
2009-12-10 11:54:13 -08:00
Roman Nurik
0e71bdc6ac Add ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples index. Also add latest samples zip file. 2009-12-10 11:45:33 -08:00
Romain Guy
d432656e60 Add support for @UiThreadTest on setUp() and tearDown() in InstrumentationTestCase. 2009-12-10 11:16:43 -08:00
Fred Quintana
97ef7637c6 - move the EventLog stuff out of ATSA
- move the google calendar sync adapter settings out of Settings.java
2009-12-10 11:16:18 -08:00
Android (Google) Code Review
b3c1f1cff4 Merge change I7daa7ae8 into eclair-mr2
* changes:
  move event log tags used by SyncAdapter into a local .logtags file
2009-12-10 10:17:17 -08:00
Android (Google) Code Review
b9b45a5e26 Merge change I24bb662a into eclair
* changes:
  Adding screenshots for development/samples/Wiktionary and development/samples/WiktionarySimple.
2009-12-09 23:42:13 -08:00
Android (Google) Code Review
159f001541 Merge change I98819b18 into eclair-mr2
* changes:
  Allow resource and file URIs in ImageView.setImageURI()
2009-12-09 23:32:58 -08:00
Android (Google) Code Review
45e77ce36a Merge change I154386b1 into eclair-mr2
* changes:
  Use unbundled QSB for global search
2009-12-09 23:32:31 -08:00
Dave Sparks
14f8940472 Fix media player decode function. Bug 2317821.
There was a recent change to OpenCORE that broke the MediaPlayer::decode()
function for all OpenCORE supported formats (MP3, AAC, and AMR-NB/WB). The
affect is that SoundPool is unreliable for all of these formats. This patch
changes the logic in the AudioCache object that processes messages from the
media player. The old logic was fragile. This change should make it more
robust against changes.
2009-12-09 20:36:31 -08:00
Trevor Johns
24bb662a13 Adding screenshots for development/samples/Wiktionary and development/samples/WiktionarySimple. 2009-12-09 20:30:54 -08:00
Android (Google) Code Review
d3cfb1bd84 Merge change Ia48b3f2a into eclair
* changes:
  Fix #2313887: Device doesn't boot after rebooting device...
2009-12-09 18:41:04 -08:00
Dianne Hackborn
f3bea9cb75 Fix #2313887: Device doesn't boot after rebooting device...
...in setup wizard ->Wifi setup screen.

We were stopped waiting for the wallpaper to draw, which it would never do
because it had been obscured and thus hidden.

Change-Id: Ia48b3f2a46ca970f143cbaee99f5f2a054378986
2009-12-09 18:26:21 -08:00
Android (Google) Code Review
88ff62db35 Merge change I06398298 into eclair
* changes:
  docs: add images used in BT developer guide.
2009-12-09 18:20:21 -08:00
Scott Main
fe7f27aabf docs: add images used in BT developer guide.
needed (but not a dependency) by I1cd5c8282ba45d79da854db43d741b6fa049812b
2009-12-09 18:16:02 -08:00
Android (Google) Code Review
ce307f889b Merge change Ie4cdb5a3 into eclair
* changes:
  Add --custom-package to aapt
2009-12-09 18:09:49 -08:00
Scott Main
ed2a70d649 docs: add the Bluetooth developer guide,
and make some revisions to the BT javadocs
2009-12-09 17:59:38 -08:00
Android (Google) Code Review
282a742347 Merge change I3c299167 into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-12-09 17:59:07 -08:00
Android (Google) Code Review
abd6c2782d Merge change I54400322 into eclair
* changes:
  Adding screenshots for development/samples/ContactManager documentation.
2009-12-09 17:51:34 -08:00
Eric Fischer
3c299167a4 Import revised translations. DO NOT MERGE 2009-12-09 17:06:04 -08:00
Android (Google) Code Review
f6e32e72a9 Merge change Icced7a09 into eclair
* changes:
  Maintain a list of all Bluetooth docks.
2009-12-09 17:00:09 -08:00
Jaikumar Ganesh
6e9c443460 Maintain a list of all Bluetooth docks.
With this change, isBluetoothDock API can be used anytime and is not in tied
to dock state. The Dock State is a sticky intent so users
can query for the dock state.

Dr No: Eastham
Bug: 2133530
2009-12-09 16:10:38 -08:00
Mathias Agopian
76169da0e8 fix [2315900] Monochrome camera preview screen after launching camera
this was introduced by a recent change. when we try to figure out the size of
the yuv->rgb temporary buffer, the output resolution has not been computed yet
and an invalid buffer size is used. most of the time the allocation fails
and the system reverts to "standard" GL will uses onle the Y plane.

the allocation of the temporary buffer is moved to onDraw(), the first
time it is called, by that time, the window is positioned properly.
2009-12-09 15:26:29 -08:00
Android (Google) Code Review
7cd4029473 Merge change I2cb78a66 into eclair-mr2
* changes:
  Add convenience function to MediaStore to move a playlist item to a different location.
2009-12-09 14:22:47 -08:00
Doug Zongker
45e6dbf90b move event log tags used by SyncAdapter into a local .logtags file 2009-12-09 13:30:07 -08:00
Android (Google) Code Review
86ed86d226 Merge change I0f73439a into eclair
* changes:
  Partially fix bug 2111240 Detect docking / undocking event by reporting to the AudioPolicyManager a new forced usage AudioSystem::FOR_DOCK which can take the FORCE_NONE, FORCE_BT_DOCK or FORCE_WIRED_ACCESSORY values. This CL is complemented by an update of the APM to take into account the FOR_DOCK usage.
2009-12-09 11:46:50 -08:00
Android (Google) Code Review
c7f7c94034 Merge change Id469ba88 into eclair-mr2
* changes:
  Listen for window orientation events.
2009-12-09 11:30:00 -08:00
Patrick Scott
f06364b8c6 Listen for window orientation events.
These will be sent to webcore as orientation events.
2009-12-09 14:27:24 -05:00
Grace Kloba
5f68d6fafc Enable longpress and doubletap to WebKit as touch
event if it is requested.
2009-12-09 11:13:30 -08:00
Android (Google) Code Review
57ce0888fc Merge change Id22c0137 into eclair
* changes:
  Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
2009-12-09 11:07:16 -08:00
Jason Sams
b9d5c574ff Throttle low priority RS threads by sleeping once per frame to avoid starving other apps. 2009-12-09 11:05:45 -08:00
Fred Quintana
029074ff0f fix build 2009-12-09 11:03:00 -08:00
Fred Quintana
563bfade66 fix a build breakage 2009-12-09 10:53:23 -08:00
Fred Quintana
328c0e7986 - removed the concept of Entity from the ContentProvider APIs
- removed the parcelling ability from Entity and EntityIterator and made them public
- added an EntityIterator abstract implementation that allow easy wrapping of a Cursor
- changed the VCard code to use the new APIs
2009-12-09 10:30:18 -08:00
Android (Google) Code Review
a50d450863 Merge change I75481cb8 into eclair-mr2
* changes:
  Check that the resolved activity is not in our package.
2009-12-09 09:52:24 -08:00
Marco Nelissen
6b0ca01565 Add convenience function to MediaStore to move a playlist item
to a different location.
2009-12-09 09:30:59 -08:00
Patrick Scott
75481cb860 Check that the resolved activity is not in our package.
Ideally, I would like to allow Activities in the same package to intercept mime
types but there is no way to get the current Activity information from a generic
Context object. For now, skip resolved Activities that are in the same package.

Bug: 2314904
2009-12-09 11:09:04 -05:00
Leon Scroggins
47fabbfcbf Pass a message to move the focus when user hits "Next".
Directly move the focus rather than passing a click.

Fixes http://b/issue?id=2292683

Requires a change to external/webkit
2009-12-09 10:19:10 -05:00
Bjorn Bringert
3c50ef6f66 Use unbundled QSB for global search
This obsoletes the following:
- The need to run SearchDialog in the system process.
- The global search mode code in SearchDialog.
- The GlobalSearch package.
- The search widget built into Launcher.

I will remove these in future changes.

Change-Id: I154386b1d6be73cfeab8376b6959a1dc5483e5f0
2009-12-09 14:51:19 +00:00
Android (Google) Code Review
d8c752ef74 Merge change Ib548dbb2 into eclair
* changes:
  improve video performance to minimize the tearing effect seen in 720p movies
2009-12-09 01:39:23 -08:00
Jack Palevich
981ccfbbfd Implement Matrix Palette extension.
Adds support for formerly-unimplemented methods:

glCurrentPaletteMatrixOES
glLoadPaletteFromModelViewMatrixOES
glMatrixIndexPointerOES
glWeightPointerOES

The bulk of the changes are related to implementing the two PointerOES
methods, which are implemented pretty much the same way as the existing
Pointer methods were implemented.

This change also changes the way glPointSizePointerOES is implemented,
making it act like all the other Pointer methods. (Previously it was
not handling non-direct-buffer arguments correctly.)

Fixes bug 2308625 "Support matrix palette skinning
in JSR239 and related APIs"

Also updated GLLogWraper to fix two bugs in GLLogWrapper that were
discovered while testing matrix palette skinning support:

a) Handle trying to print the contents of null-but-enabled buffers.
(It's not legal to draw with null-but-enabled buffers, and
in fact some OpenGL drivers will crash if you try to render in this
state, but there's no reason the GLLogWrapper should crash while trying
to debug this situation.

b) Don't read off the end of a vertex buffer with non-zero position when
printing the entire contents of the vertex buffer. Now we only print from
the current position to the end of the buffer.
2009-12-09 16:34:46 +08:00
Jack Palevich
aa396b9610 Unhide the Android OpenGL ES 2.0 API
Add a Matrix.setLookAtM method for computing a look-at viewing transform.

Change GLU.lookAt to use Matrix.setLook.
2009-12-09 16:34:42 +08:00
Jack Palevich
0dce2dd266 Extend GLSurfaceView to make it easy to create an OpenGL ES 2.0 context
Provide a new method, GLSurfaceView.setEGLContextClientVersion. Clients
call this method to define which level of OpenGL ES support they want.

This method only affects the default behavior of GLSurfaceView. If clients
have supplied their own EGLContextFactory or EGLConfigChooser then they
are on their own if they want to create an OpenGL ES 2.0 context.

This API is currently hidden.

Update the gl2_java test to use this new API.

Update the gl2_java test's AndroidManifest.xml file to indicate that
it requires OpenGL ES 2.0.
2009-12-09 16:34:34 +08:00
Jack Palevich
3608891b83 Add a Java API for OpenGL ES 2.0.
Currently this API is hidden.

Add a test program.
2009-12-09 16:34:33 +08:00
Trevor Johns
17d8e74747 Adding screenshots for development/samples/ContactManager documentation. 2009-12-08 23:29:46 -08:00