36291 Commits

Author SHA1 Message Date
Eric Fischer
3082e5fed0 Merge "Import revised translations. DO NOT MERGE" into gingerbread 2010-11-11 15:44:04 -08:00
Romain Guy
add94f204c Merge "Free resources only from the GL context thread. Bug #3179882" 2010-11-11 15:42:35 -08:00
Jaikumar Ganesh
3ca2ee0f03 Merge "Fix crash in dump function." 2010-11-11 15:38:21 -08:00
Andreas Huber
10b920cd99 Make sure the prefetcher is actively fetching data if we pause playback due to cache underrun.
Change-Id: Id5f4b7a0387137380dcd39995390a8e0d084b4b3

Conflicts:

	media/libstagefright/AwesomePlayer.cpp
2010-11-11 15:37:17 -08:00
Romain Guy
fe48f65922 Free resources only from the GL context thread.
Bug #3179882

Resources were freed following garbage collections on a worker thread.
This worker thread had no EGL context, which would cause the renderer
to incorrectly assume that the memory was liberated.

Change-Id: Ifdb51f94ddf42641e8654522787bfac532976c7c
2010-11-11 15:36:56 -08:00
Jamie Gennis
7ab17a3426 Merge "Implement reducing the buffer count of a Surface." 2010-11-11 15:26:21 -08:00
Vasu Nori
4015de2a08 add column to downloads table to store error msg when a download fails
useful for debugging for bugs like bug:3187299
without this error message, one doesn't know WHY downloads
fail.
there is a STOPSHIP comment around storage of this error
message in database.

Change-Id: I1fa49ee9eb97be16aced1611ab30a286b0b6c8d2
2010-11-11 15:22:13 -08:00
Robert Greenwalt
ec44c26f42 Make getDataEnabled take more into account.
getDataEnabled and getAnyDataEnabled ignored mMasterDataEnabled.
bug: 2216392

Change-Id: Ic3ae0808d2a02057ddf5056d3e01f754f2e57f5c
2010-11-11 15:18:51 -08:00
Jaikumar Ganesh
bb0773fac8 Fix crash in dump function.
Change-Id: I5a4cd7cf3fd325ced5d05f036c191f759dee16e0
2010-11-11 15:18:19 -08:00
Adam Powell
021aad952b First pass at styling progress bars for Holo.
Added attribute to let scale drawables size based on the intrinsic
width and height as a minimum. This helps prevent artifacts when
some 9-patches are used in situations like progress bars.

Change-Id: I168a232d3225afe9b5578a05a9b8634a1084404c
2010-11-11 14:53:29 -08:00
Mathias Agopian
e1ccfb7f6e am 792b847e: am fcab475c: Merge "record the last event received regardless of having clients or not" into gingerbread
* commit '792b847ee117c3c21b2859635caa7e7ec39d9c20':
  record the last event received regardless of having clients or not
2010-11-11 14:52:37 -08:00
Mathias Agopian
792b847ee1 am fcab475c: Merge "record the last event received regardless of having clients or not" into gingerbread
* commit 'fcab475c906da5c159bc56a32c2610f6f55eafd9':
  record the last event received regardless of having clients or not
2010-11-11 14:49:35 -08:00
Mathias Agopian
fcab475c90 Merge "record the last event received regardless of having clients or not" into gingerbread 2010-11-11 14:44:08 -08:00
James Dong
d781089731 Add color format query support to QueryCodecs()
Change-Id: Ic8589649cd09392a1b969a30082b4c9c4e6cc6a7
2010-11-11 14:08:52 -08:00
Jamie Gennis
6c925d00e1 Implement reducing the buffer count of a Surface.
Change-Id: I7f979c60c06d654aa8265002836277434bc1a64f
Bug: 3095167
2010-11-11 14:06:38 -08:00
James Dong
798a9d2eb1 Merge "Fix memory leak when 0-memcpy quirk is used" 2010-11-11 14:06:30 -08:00
Chet Haase
449bb119c9 Merge "Add invalidation to Drawable when its properties change" 2010-11-11 14:04:10 -08:00
Jamie Gennis
088f50ccf7 Merge "Fix a compile warning in the Surface class." 2010-11-11 13:50:43 -08:00
Jamie Gennis
7869c52370 Merge "Remove a problematic empty update optimization." 2010-11-11 13:49:38 -08:00
Gilles Debunne
a61cc93199 Merge "Lock screen should not display password." 2010-11-11 13:46:17 -08:00
Jamie Gennis
0b440fc34d Fix a compile warning in the Surface class.
Change-Id: Id744e71d2cd23c287925a5090e13a6d9908cdd99
2010-11-11 13:41:43 -08:00
Chet Haase
9891e1fce5 Add invalidation to Drawable when its properties change
invalidateSelf() already exists on Drawable. This triggers a call to
callback listeners so that they know the drawable has been invalidated.
For example, the background drawable on View will cause the View itself
to be invalidated.

Change-Id: I45b231a7600dcf3bc139e4059b7c9940ff49f60c
2010-11-11 13:20:08 -08:00
Mike Lockwood
5c7d5ae094 Merge "MediaFile: Recognize MPG file extension as MPEG video" 2010-11-11 13:15:57 -08:00
Mike Lockwood
28d1a4aaf3 MediaFile: Recognize MPG file extension as MPEG video
Change-Id: Ief7308e5f562754a27f07e4fda970ffd7b1eb98e
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-11 16:14:19 -05:00
Xavier Ducrohet
f917f9accf Merge "Layoutlib: New bridge implementation using the new API 5." 2010-11-11 12:25:01 -08:00
Gilles Debunne
d7483bfffc Lock screen should not display password.
Bug 3179062

Problem was introduced in CL 78854: changing the keyListener should not
change the transformation method.

mInputType changes are brittle. It is often reset to TYPE_CLASS_TEXT or to
mInput.getInputType(). The TYPE_TEXT_FLAG_MULTI_LINE and TYPE_TEXT_VARIATION_PASSWORD
variation are then added back based on the previous state. But this is not consistent,
and sometimes, only one of those is set.

This should be refactored if a bug is found in what seems to work correclty at the moment.

Change-Id: Ie251ec7db0ce0af4a07564b0dbb53465e6f361c6
2010-11-11 12:20:16 -08:00
Steve Block
9232f2e5a9 Merge changes Ib82f897a,I2d689d0f
* changes:
  Fix EventSender mouse events to correctly convert from screen coordinates
  Refactor EventSenderImpl.MousePoint
2010-11-11 12:19:28 -08:00
Romain Guy
50c5e4c36e Merge "Reduce number of GL calls when drawing with shaders." 2010-11-11 12:18:03 -08:00
Steve Block
edfdd15527 Fix EventSender mouse events to correctly convert from screen coordinates
This is required for LayoutTest fast/dom/Node/mutation-blur.html

Change-Id: Ib82f897ab61ac3a8e8eacee8ec08f5242c43c736
2010-11-11 20:06:42 +00:00
Romain Guy
01d0657957 Reduce number of GL calls when drawing with shaders.
Change-Id: I27aca9f6d381d5c7e363d90a93225d185f2ff4e3
2010-11-11 12:06:27 -08:00
Steve Block
aca659c207 Refactor EventSenderImpl.MousePoint
This factors out a new Point class and a new
createViewPointFromContentCoordinates() method. This will allow Point
and the conversion method to be re-used with mouse events.

Change-Id: I2d689d0ffa0ad7ba01d0e90f78c812604ab96234
2010-11-11 20:05:56 +00:00
Scott Main
4fb51ca1a9 docs: misc changes to sdk setup docs
update sdk manager screenshot;
update info about new manager UI;
more info about the windows installer;

Change-Id: Ic4a582ba28f02e2c787901a575194ae884be396e
2010-11-11 11:59:13 -08:00
Gil Dobjanschi
34fad15699 Invalidate transitions when an image media item duration changes.
Change-Id: I3cff920ef629df49dcfcb63065afeeb47a649287
2010-11-11 11:55:19 -08:00
Leon Scroggins
8b83d25222 Merge "Ensure that text passed in is non-null." 2010-11-11 11:41:07 -08:00
Brad Fitzpatrick
54019ee8c5 Merge "StrictMode.Span support" 2010-11-11 11:33:18 -08:00
Alon Albert
3fa51e3430 Improve logging
Change-Id: Ia855b1a45a3abbc1a87233462f19b330b72d30b9
2010-11-11 11:30:26 -08:00
James Dong
31b9375f45 Fix memory leak when 0-memcpy quirk is used
o minor change to the original patch by Andreas:
  call restorePatchedDataPointer() method only if kAvoidMemcopyInputRecordingFrames is turned on

Change-Id: Idf3710e6f759d37d28e866613f98d39215722cb9
2010-11-11 11:26:16 -08:00
Jaikumar Ganesh
53f0f36352 Merge "Make AUDIO_STATE_CONNECTING in BluetoothHeadset public." 2010-11-11 11:20:14 -08:00
Leon Scroggins
ef7af28975 Ensure that text passed in is non-null.
Bug:3183112
Change-Id: Icf00e2793cb9b62dd0ebb4f60b8ddcafea3e581f
2010-11-11 14:20:06 -05:00
Gilles Debunne
f170a345b3 Added drag and drop functionality in TextViews
Basic implementation. The finger is currently hiding the insertion position.
An offset has to be added in DragThumbnailBuilder to prevent this.

Change-Id: I4207c337a2a31162063fba191a5eb5d5856b24cf
2010-11-11 11:09:02 -08:00
Scott Main
8e93e4f3a8 am 93896ad8: am dfb12218: docs: revise adding components with info about platform-tools
* commit '93896ad8792ba53d1990d61ee6193339f7b5d51d':
  docs: revise adding components with info about platform-tools
2010-11-11 11:03:28 -08:00
Scott Main
93896ad879 am dfb12218: docs: revise adding components with info about platform-tools
* commit 'dfb122180c7028764136ac3a4fa07104f601de84':
  docs: revise adding components with info about platform-tools
2010-11-11 11:00:44 -08:00
Jaikumar Ganesh
b0a1d01b4c Make AUDIO_STATE_CONNECTING in BluetoothHeadset public.
As the SCO connection is done on a separate thread, this
state is needed to prevent silent failures in case of APIs like
voicerecognition.

Change-Id: Id08725323a2c847df4d3bd9f60e42fde46100707
2010-11-11 10:59:48 -08:00
Scott Main
dfb122180c docs: revise adding components with info about platform-tools
Change-Id: I3b4afca09fc81d41f3017fd78e64f44b11f9ec12
2010-11-11 10:48:45 -08:00
Eric Fischer
4f66308170 Merge "Import revised translations." 2010-11-11 10:28:30 -08:00
Xavier Ducrohet
c2e9651bf3 Layoutlib: New bridge implementation using the new API 5.
Since the new API prepare for stateful layoutlib, major
reorganization of the code.

New "android" sub-package for all extended android classes.
  Also moved BridgeInflater in here so that all extended classes
  are in this package. Only delegates and classes replacing
  renamed classes are in their original android.* packages.
  Also created full file for the empty implementations of
  IWindow and IWindowSession.
New "impl" for the dirty work implementation.
Main package contains the basic implementation of the API.

Most of the code that was in Bridge is now in .impl.LayoutSceneImpl,
with the main init/inflate/render code split into the contrustrutor,
inflate() and render().

Change-Id: Ie15b15e5a1b2388cd6ef82e518345b1fc02ec981
2010-11-11 10:08:19 -08:00
James Dong
0fbb7a601f Merge "Fix testWAVSeekToEnd() testcase" 2010-11-11 09:58:44 -08:00
Brad Fitzpatrick
e7520d89fe StrictMode.Span support
Support for annotating critical regions (e.g. animations) with
a tag to be uploaded.

Change-Id: I412fc78f40dc05c9a3c9f62a4b0463201dbdb767
2010-11-11 09:46:07 -08:00
Amith Yamasani
8bda1c1ef7 am f8d2aff4: am db65907a: Merge "Adding pan behavior on preference dialog."
* commit 'f8d2aff41d347e029c9c0b1f51f20c92cd1cce8e':
  Adding pan behavior on preference dialog.
2010-11-11 09:10:51 -08:00
Amith Yamasani
f8d2aff41d am db65907a: Merge "Adding pan behavior on preference dialog."
* commit 'db65907a2148f053e51f941979f0f7694acd5923':
  Adding pan behavior on preference dialog.
2010-11-11 09:06:02 -08:00