46232 Commits

Author SHA1 Message Date
Mathias Agopian
f99c91c9cf Merge "remove some logs" 2011-03-02 18:51:00 -08:00
Mathias Agopian
32ae094d87 remove some logs
Change-Id: Ia476184048ee419e19330a56dc8e6553189f6a24
2011-03-02 18:45:50 -08:00
Chet Haase
9402a667e9 Merge "Cancel LayoutTransition animations selectively" 2011-03-02 18:39:11 -08:00
Chet Haase
e8e45d32fd Cancel LayoutTransition animations selectively
A recent change to LayoutTransition caused new layout transitions to
cancel any previously-running animations. This was to handle situations
where a transition adding an item needed transitions removing items to
finish their job first (and vice versa). But canceling *all* running
animations from transitions caused some artifacts, like making the status
bar icons blink or fade in, depending on which one was started last.

The new approach is to cancel just the ones we care about: adding animations
cancel removing animations, and vice versa. Either one cancels 'changing'
animations, which prevents objects from being animated to the old end
locations, since the new transition will animate them to the correct new
end locations.

Change-Id: I68ac351b05365cace6639b6618422395c35c83fd
2011-03-02 18:37:31 -08:00
Jean-Michel Trivi
2a2b25ef25 Merge "Fix bug 3425610 Adjust Lock sound level" 2011-03-02 18:37:07 -08:00
Jean-Michel Trivi
b163d068be Fix bug 3425610 Adjust Lock sound level
After the correction for the speaker output processing, the lock
 sound became almost inaudible. This new asset is louder.

Change-Id: I2232f307f647cafc8a5c6d5dd482833367a73c56
2011-03-02 18:33:30 -08:00
Mike Lockwood
aabf823593 Merge "UsbService: Make sure the USB accessory function is disabled when we disconnect" 2011-03-02 18:20:25 -08:00
Romain Guy
acc3944dd1 Merge "Add an API to force Views to render their layer." 2011-03-02 18:18:06 -08:00
Romain Guy
f1ae10640f Add an API to force Views to render their layer.
Change-Id: Id5776f3b0880fdf75835f16560a1d03a3175d139
2011-03-02 18:16:04 -08:00
Gilles Debunne
5a39c95c00 Extra @Override removed in SpanStringBuilder
These were added in 99657 by using a misconfigured eclipse
save action that adds @Overirde to interfaces (Java 1.6 only).

Change-Id: I766bbde917b0bb063cb6d588ee276787e2f7db66
2011-03-02 18:06:13 -08:00
Mike Lockwood
b98d02b8b2 UsbService: Make sure the USB accessory function is disabled when we disconnect
BUG: 3493041

Change-Id: I95a34742d4b670a13ba5717f0551f3ce40af3c24
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02 17:58:48 -08:00
Gilles Debunne
2ea39e2d1b Merge "Added documentation for SpannableStringBuilder.getTextRunCursor" 2011-03-02 17:56:01 -08:00
Gilles Debunne
f09d510cd1 Added documentation for SpannableStringBuilder.getTextRunCursor
Bug 3370244

Change-Id: I621a1599ff18da928044dd37a0d7cc861cc6f48f
2011-03-02 17:42:36 -08:00
Dianne Hackborn
cbf9cb35bb Merge "Fix issue #3400119: API to specify a black background behind a window transition" 2011-03-02 17:19:39 -08:00
Dianne Hackborn
de75cb4738 Fix issue #3400119: API to specify a black background behind a window transition
There is now an API, which is used for task switching.

Also improved how we handle rotation animation when we can't take a
screen shot, to cleanly revert to the old freeze behavior.  This removes
the need to special case the emulator.

Change-Id: I7227432a2309370437ec6ac78db02c6f1e7eedd5
2011-03-02 17:15:58 -08:00
Mike Lockwood
37b05d7d61 Merge "MtpClient: remove finalize override to avoid multiple calls to unregisterReceiver" 2011-03-02 17:14:57 -08:00
Justin Ho
65c1ddc2bd Merge "Updated text select handles, paste dialogs, updated list section dividers (fixing previously incorrect asset.)" 2011-03-02 17:14:37 -08:00
Amith Yamasani
a3c9ad7170 Merge "Fix a race condition when entering and exiting a preference fragment quickly." 2011-03-02 17:13:46 -08:00
Justin Ho
579a884b01 Updated text select handles, paste dialogs, updated list section dividers (fixing previously incorrect asset.)
Change-Id: I0e747c18b87bfc64d87054c065f321ff872dbd8e
2011-03-02 17:04:00 -08:00
Mike Lockwood
1bdeef34ef MtpClient: remove finalize override to avoid multiple calls to unregisterReceiver
BUG: 3497801

Change-Id: I4ed0166efcc509a18361287c5816bc4844089025
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02 16:59:53 -08:00
Jamie Gennis
28a8cb75e8 Merge "Stagefright: Use the ANW min undequeued bufs query." 2011-03-02 16:44:51 -08:00
Gloria Wang
51caf91f02 Merge "To support DRM files without file extension" 2011-03-02 16:26:18 -08:00
Andreas Huber
ce80b0ca33 Merge "Resize internal PES buffers dynamically instead of relying on a fixed maximum size." 2011-03-02 16:22:20 -08:00
Andreas Huber
56e84ba150 Resize internal PES buffers dynamically instead of relying on a fixed maximum size.
Change-Id: Ibe720e6148799e32d039ccdb4b269659bc779952
2011-03-02 16:18:33 -08:00
Amith Yamasani
81d860013c Fix a race condition when entering and exiting a preference fragment quickly.
Bug: 3413715

Fragment was going through STARTED/RESUMED/STARTED/CREATED very quickly and
bindPreferences() was a delayed call that happened after mView was nullified.
Removing the MSG_BIND_PREFERENCES when view is destroyed.

Change-Id: Iec43102c004a266c412b993f17e1a8c1699fb0b1
2011-03-02 16:11:31 -08:00
Andreas Huber
00fa3a729c Merge "Allow optional specification of a PTS timestamp when signalling a discontinuity." 2011-03-02 16:11:01 -08:00
Chia-chi Yeh
b2c8628ed3 Merge "RTP: update javadocs." 2011-03-02 16:02:57 -08:00
Chia-chi Yeh
c52f5b2ec5 RTP: update javadocs.
Change-Id: If600df0eb1e6135aed9f3b2eacfb6bc9ed5d78ff
2011-03-03 08:01:01 +08:00
Jeff Brown
192f0b0608 Merge "Fade out the mouse pointer after inactivity or other events." 2011-03-02 15:54:42 -08:00
Romain Guy
058f47e845 Merge "We need to go deeper. Bug #3431907" 2011-03-02 15:48:33 -08:00
Shimeng (Simon) Wang
0a25836486 Merge "Adjust actual scale when zoom density changes." 2011-03-02 15:45:27 -08:00
Romain Guy
84962f2fe6 We need to go deeper.
Bug #3431907

When drawing layers inside a layer, the wrong target FBO would be used.
This would happen for instance with app widgets using a ViewFlipper
in Launcher. The ViewFlipper uses a fade animation that triggers a
call to saveLayerAlpha(), which in turns creates an FBO. If this happened
during a scroll, the ViewFlipper's FBO would be composited back directly
inside FBO 0, i.e. the screen. This properly initializes the snapshots
of hardware layers to use the layer's FBO as the default compositing
target instead of using 0.

This problem did not happen when drawing hardware layers inside
hardware layers because LayerRenderer already takes care of figuring
out the FBO it needs to composite into. The bug would occur only
with layers generated with saveLayer() and its saveLayerAlpha()
variation.

Layers inside hardware layers insider layers inside hardware layers
now work properly.

Change-Id: Ibe852301087f3d414ad8a18436eebc81f8ac66f5
2011-03-02 15:43:44 -08:00
Andreas Huber
669ad13de9 Allow optional specification of a PTS timestamp when signalling a discontinuity.
If present, rendering will be suppressed until reaching the timestamp.

Change-Id: Ic64bdf4225063c5a4d042ea9809960b843a46d19
related-to-bug: 3489454
2011-03-02 15:38:32 -08:00
Alex Sakhartchouk
98e88ca2dc Merge "Fixing element count bug in renderscript." 2011-03-02 15:38:10 -08:00
Jeff Brown
05dc66ada6 Fade out the mouse pointer after inactivity or other events.
Fades out the mouse pointer:
- after 15 seconds of inactivity normally
- after 3 seconds of inactivity in lights out mode
- after a non-modifier key down
- after a touch down

Extended the native Looper to support enqueuing time delayed
messages.  This is used by the PointerController to control
pointer fade timing.

Change-Id: I87792fea7dbe2d9376c78cf354fe3189a484d9da
2011-03-02 15:37:57 -08:00
Irfan Sheriff
04e04fe333 Merge "fix network disconnection handling" 2011-03-02 15:36:10 -08:00
Jason Chen
b85bb89a13 am 166055b5: (-s ours) am d616d505: Merge "Bugfixes in StaticLayout. DO NOT MERGE." into honeycomb
* commit '166055b529987554644dc47cb5b29ce33a1ab5d1':
  Bugfixes in StaticLayout. DO NOT MERGE.
2011-03-02 15:33:00 -08:00
Jason Chen
e146592c7b am a6883539: (-s ours) am ef7aed89: Merge "DO NOT MERGE Cherry-pick of cd59febcea2 from master" into honeycomb
* commit 'a688353928042ccf9620477476d813c9aceed9e2':
  DO NOT MERGE Cherry-pick of cd59febcea2 from master
2011-03-02 15:32:57 -08:00
Svetoslav Ganov
7fb34b29c6 Merge "Force close in WebView." 2011-03-02 15:24:58 -08:00
Eric Laurent
1254169260 Merge "Fix issue 3388775." 2011-03-02 15:19:38 -08:00
Romain Guy
40a787f89a Properly initialize FBO textures for linear filtering.
Change-Id: I67fc4fd760483ef85809be8d6e608cf4f469650f
2011-03-02 15:15:42 -08:00
Romain Guy
a91320e364 Merge "Properly initialize FBO textures for linear filtering." 2011-03-02 15:14:52 -08:00
Svetoslav Ganov
fa44314d3a Force close in WebView.
bug:3504589

WebView#removeJavascriptInterface was not performing check if
a mWebViewCore instance is present. Added such a check.

Change-Id: I7f6dfe51a08f23dddf2fc94df635fdfa68e9a7cf
2011-03-02 14:54:07 -08:00
Irfan Sheriff
9b3710b253 fix network disconnection handling
We should avoid network id set unless the access point is associating.
Also, we should reset network connection state before sending
out network change broadcast.

Finally, we should reset connect mode settings when we disconnect from
an access point

Bug: 3424635
Change-Id: I41db5399810218abd6a77155166db5a9b1dbd22c
2011-03-02 14:45:42 -08:00
Adam Powell
e43111fad3 Merge "Fix bug 3502257 - overscroll effect api" 2011-03-02 14:41:35 -08:00
Adam Powell
07d6f7bd75 Fix bug 3502257 - overscroll effect api
Change-Id: I3bf8bb653e96151c51fb94b4571a72b210615e62
2011-03-02 14:27:30 -08:00
Shimeng (Simon) Wang
9cedbcfdf5 Adjust actual scale when zoom density changes.
Also some fine tuning of zoom scales.
1. Since overview scale will be used to determine min zoom scale, its own
computation shall be free of min zoom scale.
2. make sure mMaxZoomScale is at lease mMinZoomScale.
3. Use default scale in case of non-overview mode, since it reflects the
current zoom density.

issue: 3494868
Change-Id: I4297878b820e437b706bb7e0f143336ff1b39f82
2011-03-02 14:26:36 -08:00
Amith Yamasani
f867706180 am 0e99d3bf: am df33b8c5: Merge "Check for NTP time as soon as WIFI is connected." into honeycomb
* commit '0e99d3bfab99254cc187de127a7a4767f165cde8':
  Check for NTP time as soon as WIFI is connected.
2011-03-02 14:20:36 -08:00
Mike Lockwood
403af5c688 Merge "Combine the USB accessory support library with the platform feature" 2011-03-02 14:19:38 -08:00
Romain Guy
4677c5118c Merge "Fix problem with glyph cache and textScaleX property" 2011-03-02 14:04:47 -08:00