OSDN Git Service

android-x86/frameworks-base.git
12 years agoProperly pre-cache latin glyphs
Romain Guy [Mon, 14 May 2012 21:00:27 +0000 (14:00 -0700)]
Properly pre-cache latin glyphs
Bug #6408362

Change-Id: Ie11644c5a9e2d87d3b851b7e619e5f04b60a7e02

12 years agoMerge "Verify AudioTrack only uses a valid multichannel configuration" into jb-dev
Jean-Michel Trivi [Mon, 14 May 2012 15:56:53 +0000 (08:56 -0700)]
Merge "Verify AudioTrack only uses a valid multichannel configuration" into jb-dev

12 years agoVerify AudioTrack only uses a valid multichannel configuration
Jean-Michel Trivi [Sat, 12 May 2012 17:08:22 +0000 (10:08 -0700)]
Verify AudioTrack only uses a valid multichannel configuration

Enforce the same rules as for HDMI output:
- FL/FR must be present
- paired channels must be used in pairs (e.g. no rear left
   without rear right)

Bug 6392126

Change-Id: I0a39e474dcf509cb7eabd8edd1f0e44852d72b51

12 years agoMerge "Fix 6283709: set max FUL failed attempts to 5" into jb-dev
Brian Colonna [Mon, 14 May 2012 14:56:07 +0000 (07:56 -0700)]
Merge "Fix 6283709: set max FUL failed attempts to 5" into jb-dev

12 years agoFix 6283709: set max FUL failed attempts to 5
Brian Colonna [Mon, 14 May 2012 14:34:08 +0000 (10:34 -0400)]
Fix 6283709: set max FUL failed attempts to 5

After an unrecognized face occurs 5 times in a row, we disable FUL
until the user unlocks via the backup lock.  This prevents attacks
where someone tries a bunch of different photos, hoping for a good
enough match to the device's owner.

This value was previously set to 15, which is much higher than
necessary.  This change sets it to 5.  We've been holding off on
this change because it makes our testing more difficult, but we
want this in there for factory ROM this week.

Change-Id: I4e1acc5b1dcc2c0629e0c0fe97a837d6edc44d5d

12 years agoMerge "fix SurfaceView visibility state changes" into jb-dev
Mathias Agopian [Mon, 14 May 2012 06:50:32 +0000 (23:50 -0700)]
Merge "fix SurfaceView visibility state changes" into jb-dev

12 years agoMerge "fix BootAnimation timing" into jb-dev
Mathias Agopian [Mon, 14 May 2012 06:50:15 +0000 (23:50 -0700)]
Merge "fix BootAnimation timing" into jb-dev

12 years agoMerge "Update the API version checks." into jb-dev
Svetoslav Ganov [Mon, 14 May 2012 02:09:47 +0000 (19:09 -0700)]
Merge "Update the API version checks." into jb-dev

12 years agoMerge "Removing default accessibility gesture handling." into jb-dev
Svetoslav Ganov [Mon, 14 May 2012 02:09:35 +0000 (19:09 -0700)]
Merge "Removing default accessibility gesture handling." into jb-dev

12 years agoFix build.
Dianne Hackborn [Sun, 13 May 2012 23:03:39 +0000 (16:03 -0700)]
Fix build.

Change-Id: I53263d509559c70100cd78ad49f225f0dafd8891

12 years agoMerge "Implement new window cropping." into jb-dev
Dianne Hackborn [Sun, 13 May 2012 22:24:32 +0000 (15:24 -0700)]
Merge "Implement new window cropping." into jb-dev

12 years agoUpdate the API version checks.
Svetoslav Ganov [Sun, 13 May 2012 20:33:53 +0000 (13:33 -0700)]
Update the API version checks.

1. Since the API version has been finalized this change
   updates the SDk version checks to use the JellyBean
   verson number.

bug:5947249

Change-Id: Ie22fa7e18a7ea7b0c7077d80246a26c17f327ceb

12 years agoImplement new window cropping.
Dianne Hackborn [Sun, 13 May 2012 20:31:06 +0000 (13:31 -0700)]
Implement new window cropping.

The window manager now performs the crop internally, evaluating
it every animation from, to be able to update it along with
the surface position.

Change-Id: I960a2161b9defb6fba4840fa35aee4e411c39b32

12 years agoRemoving default accessibility gesture handling.
Svetoslav Ganov [Sun, 13 May 2012 18:57:29 +0000 (11:57 -0700)]
Removing default accessibility gesture handling.

1. The initial design was to have some accessibility gestures
   being handled by the system if the gesture handling access
   service does not consume the gesture. However, we are not
   sure what a good default is and once we add a default handler
   we cannot remove it since people may rely on it. Thus, we
   take the simples approach and let the accessibility service
   handle the gestures. If no gestures are handled the system
   will work in explore by touch as before.

bug:5932640

Change-Id: I865a83549fa03b0141d27ce9713e9b7bb45a57b4

12 years agofix SurfaceView visibility state changes
Mathias Agopian [Sun, 13 May 2012 02:57:07 +0000 (19:57 -0700)]
fix SurfaceView visibility state changes

SurfaceView didn't recompute the transparent region
when the INVISIBLE state (as opposed to GONE) was involved.

Bug: 6467123
Change-Id: I05930bd568a345331840c1ad8d9123ef4904c04f

12 years agoaccessibility bug fix in NumberPicker
Guang Zhu [Sat, 12 May 2012 02:34:56 +0000 (19:34 -0700)]
accessibility bug fix in NumberPicker

* moved View#isVisibleToUser to protected with @hide
* added a new View#isVisibleToUser(Rect), so that a portion of
  the view can be tested for visibility
* NumberPicker will report its concrete class name
* code to append virtual children was at wrong place
* boundInScreen for increment and decrement buttons are reported
  wrong

Change-Id: Ic5d644b3e1efa15b1f0537907c8cdd4ce43a97c1

12 years agoMerge "Add call sites for OpenGL's debug label extension" into jb-dev
Romain Guy [Sat, 12 May 2012 23:24:03 +0000 (16:24 -0700)]
Merge "Add call sites for OpenGL's debug label extension" into jb-dev

12 years agoAdd call sites for OpenGL's debug label extension
Romain Guy [Sat, 12 May 2012 23:18:58 +0000 (16:18 -0700)]
Add call sites for OpenGL's debug label extension

Change-Id: I9c689127e8166cbef92c935f8aa07217ab806dda

12 years agoMerge "Maintain the anchor at top/left on orientation change." into jb-dev
Mangesh Ghiware [Sat, 12 May 2012 23:04:00 +0000 (16:04 -0700)]
Merge "Maintain the anchor at top/left on orientation change." into jb-dev

12 years agofix BootAnimation timing
Mathias Agopian [Sat, 12 May 2012 22:08:21 +0000 (15:08 -0700)]
fix BootAnimation timing

We were including the delay of the previous frame when
calculating the delay needed between a frame and the next.
This caused a bad jitter in the animation timing.

We also now use clock_nanosleep().

Change-Id: Iebb8cca4d57fe2f11d83b23a736e03db7a7d2006

12 years agoMerge "Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet" into...
Jim Miller [Sat, 12 May 2012 21:54:06 +0000 (14:54 -0700)]
Merge "Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet" into jb-dev

12 years agoMaintain the anchor at top/left on orientation change.
Mangesh Ghiware [Sat, 12 May 2012 21:46:05 +0000 (14:46 -0700)]
Maintain the anchor at top/left on orientation change.

Bug: 5291151
Change-Id: Id1d5c157668440fe4d0d1214477ba31e8f02d6b6

12 years agoFix 6486099: Fix clipping issues with MultiWaveView on phone/tablet
Jim Miller [Sat, 12 May 2012 21:12:03 +0000 (14:12 -0700)]
Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet

This fixes a problem where the bounds of the view weren't being
calculated properly when a separate outer radius was specified.

The code now takes the maximum of the ring drawable's width/height
and that specified in the resource files.

This gives it the best default look on all devices while still
allowing minor tweaks.

Change-Id: I5daa40ff4f14653c8cc89b39102816afb976e4f7

12 years agoMerge "Improve transition out of recents" into jb-dev
Michael Jurka [Sat, 12 May 2012 21:01:43 +0000 (14:01 -0700)]
Merge "Improve transition out of recents" into jb-dev

12 years agoMerge "Fix 6474712: Disable the google gesture on prime while notifications are open...
Jim Miller [Sat, 12 May 2012 20:55:55 +0000 (13:55 -0700)]
Merge "Fix 6474712: Disable the google gesture on prime while notifications are open" into jb-dev

12 years agoFix 6474712: Disable the google gesture on prime while notifications are open
Jim Miller [Sat, 12 May 2012 20:28:26 +0000 (13:28 -0700)]
Fix 6474712: Disable the google gesture on prime while notifications are open

Change-Id: I7c40e7bf4859d60c54c186fc49b670397a4ea723

12 years agoMerge "Fix 6485058: remove OnTriggerListeners from Wave*Methods in cleanup" into...
Jim Miller [Sat, 12 May 2012 20:31:41 +0000 (13:31 -0700)]
Merge "Fix 6485058: remove OnTriggerListeners from Wave*Methods in cleanup" into jb-dev

12 years agoImprove transition out of recents
Michael Jurka [Sat, 12 May 2012 20:24:58 +0000 (13:24 -0700)]
Improve transition out of recents

- During the transition, fade the bg to black
- Exiting activity fades to black
- Recents background no longer fades away, because
then it would fight against the fade to black
happening behind it

12 years agoMerge "Start voice-based interactions from headsethook key" into jb-dev
Jean-Michel Trivi [Sat, 12 May 2012 15:06:28 +0000 (08:06 -0700)]
Merge "Start voice-based interactions from headsethook key" into jb-dev

12 years agoMerge "Fix typo in javadoc." into jb-dev
Pin Ting [Sat, 12 May 2012 13:56:04 +0000 (06:56 -0700)]
Merge "Fix typo in javadoc." into jb-dev

12 years agoMerge "Tell power HAL when user activity occurs." into jb-dev
Jeff Brown [Sat, 12 May 2012 02:33:17 +0000 (19:33 -0700)]
Merge "Tell power HAL when user activity occurs." into jb-dev

12 years agoMerge "Move power HAL interactions to PowerManagerService." into jb-dev
Jeff Brown [Sat, 12 May 2012 02:32:56 +0000 (19:32 -0700)]
Merge "Move power HAL interactions to PowerManagerService." into jb-dev

12 years agoTell power HAL when user activity occurs.
Jeff Brown [Sat, 12 May 2012 02:18:56 +0000 (19:18 -0700)]
Tell power HAL when user activity occurs.

Bug: 6435382
Change-Id: I78754158b057851fcba807ebbda143899da387ec

12 years agoMove power HAL interactions to PowerManagerService.
Jeff Brown [Sat, 12 May 2012 01:42:42 +0000 (18:42 -0700)]
Move power HAL interactions to PowerManagerService.

This refactoring sets the stage for a follow-on change that
will make use additional functions of the power HAL.

Moved functionality from android.os.Power into PowerManagerService.
None of these functions make sense being called outside of the
system server.  Moving them to the PowerManagerService makes it
easier to ensure that the power HAL is initialized exactly once.

Similarly, moved ShutdownThread out of the policy package and into
the services package where it can tie into the PowerManagerService
as needed.

Bug: 6435382
Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5

12 years agoMerge "Enable SQLite configuration to be set with system properties." into jb-dev
Jeff Brown [Sat, 12 May 2012 01:19:39 +0000 (18:19 -0700)]
Merge "Enable SQLite configuration to be set with system properties." into jb-dev

12 years agoMerge "Trace: add a tracing tag for video" into jb-dev
Jamie Gennis [Sat, 12 May 2012 00:17:47 +0000 (17:17 -0700)]
Merge "Trace: add a tracing tag for video" into jb-dev

12 years agoMerge "Surface: replace active rect with window crop" into jb-dev
Jamie Gennis [Sat, 12 May 2012 00:17:31 +0000 (17:17 -0700)]
Merge "Surface: replace active rect with window crop" into jb-dev

12 years agoMerge "Update assets that didn't scale nicely from hdpi to tvdpi." into jb-dev
Amith Yamasani [Sat, 12 May 2012 00:08:42 +0000 (17:08 -0700)]
Merge "Update assets that didn't scale nicely from hdpi to tvdpi." into jb-dev

12 years agoMerge "Add fallback fonts for Malayalam, Kannada, and Telugu scripts" into jb-dev
Victoria Lease [Fri, 11 May 2012 23:52:00 +0000 (16:52 -0700)]
Merge "Add fallback fonts for Malayalam, Kannada, and Telugu scripts" into jb-dev

12 years agoMerge "Improve notifying TimedText by reducing marshall/unmarshalling." into jb-dev
James Dong [Fri, 11 May 2012 23:45:19 +0000 (16:45 -0700)]
Merge "Improve notifying TimedText by reducing marshall/unmarshalling." into jb-dev

12 years agoEnable SQLite configuration to be set with system properties.
Jeff Brown [Fri, 11 May 2012 23:36:24 +0000 (16:36 -0700)]
Enable SQLite configuration to be set with system properties.

This change does not alter the behavior of the system except to
enable the use of system properties to override SQLite configuration
options for debugging.

Bug: 6484633
Change-Id: I8908a3ba07910a1193396e2e45791e9faa7be349

12 years agoMerge "Automatic persistent text selection for ListViews" into jb-dev
Adam Powell [Fri, 11 May 2012 23:34:15 +0000 (16:34 -0700)]
Merge "Automatic persistent text selection for ListViews" into jb-dev

12 years agoMerge "Cut long text into multiple DL at start" into jb-dev
Gilles Debunne [Fri, 11 May 2012 23:14:02 +0000 (16:14 -0700)]
Merge "Cut long text into multiple DL at start" into jb-dev

12 years agoFix 6485058: remove OnTriggerListeners from Wave*Methods in cleanup
Jim Miller [Fri, 11 May 2012 23:11:17 +0000 (16:11 -0700)]
Fix 6485058: remove OnTriggerListeners from Wave*Methods in cleanup

This fixes a rare crash that could happen when the device orientation
changes while the handle is held over a target.  LockScreen.cleanUp()
was being called which set mCallback to null which then causes it
to crash in MultiWaveViewMethods.onTrigger().

The solution is to also remove OnTriggerListeners in LockScreen.cleanup().

Change-Id: I487c7c9dbbe40417e685b39f2e79b1c43b30fa00

12 years agoMerge "Keep launcher screen from flashing over lockscreen" into jb-dev
Craig Mautner [Fri, 11 May 2012 23:07:10 +0000 (16:07 -0700)]
Merge "Keep launcher screen from flashing over lockscreen" into jb-dev

12 years agoMerge "Fix bug #6480486 Zero width non-joiner and zero width joiner rendered weirdly...
Fabrice Di Meglio [Fri, 11 May 2012 22:54:06 +0000 (15:54 -0700)]
Merge "Fix bug #6480486 Zero width non-joiner and zero width joiner rendered weirdly" into jb-dev

12 years agoMerge "Add in constant for WPA supplication settings" into jb-dev
Kenny Root [Fri, 11 May 2012 22:49:22 +0000 (15:49 -0700)]
Merge "Add in constant for WPA supplication settings" into jb-dev

12 years agoMerge "Enforce READ_EXTERNAL through Settings.Secure." into jb-dev
Jeff Sharkey [Fri, 11 May 2012 22:47:01 +0000 (15:47 -0700)]
Merge "Enforce READ_EXTERNAL through Settings.Secure." into jb-dev

12 years agoFix bug #6480486 Zero width non-joiner and zero width joiner rendered weirdly
Fabrice Di Meglio [Fri, 11 May 2012 22:46:27 +0000 (15:46 -0700)]
Fix bug #6480486 Zero width non-joiner and zero width joiner rendered weirdly

- add missing ZWS (uni200B), ZWNJ (uni200C), ZWJ (uni200D)

Change-Id: I2e70bbaa855a75e0172c375cfcbc8544325030da

12 years agoCut long text into multiple DL at start
Gilles Debunne [Thu, 10 May 2012 17:24:20 +0000 (10:24 -0700)]
Cut long text into multiple DL at start

Bug 5763685

To improve performance, preventively cut the the into display
list of 3-10 lines of text. Further updates to small parts of
the text (such as adding an underline on a word) will only
invalidate and redraw the affected sub display list.

DLs are aligned with paragraphs, just like they will be during
text edition.

Change-Id: I0d60debc7fdaea8b29080a6eacb2d60205e7d547

12 years agoEnforce READ_EXTERNAL through Settings.Secure.
Jeff Sharkey [Fri, 11 May 2012 21:04:41 +0000 (14:04 -0700)]
Enforce READ_EXTERNAL through Settings.Secure.

Always defers to user-defined setting, when present.

Bug: 6389556
Change-Id: I079d2a41b772facfdac74eefc4c8072fc9284f97

12 years agoMerge "Fix 6040870: Update MultiWaveView for new device" into jb-dev
Jim Miller [Fri, 11 May 2012 22:29:50 +0000 (15:29 -0700)]
Merge "Fix 6040870: Update MultiWaveView for new device" into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Fri, 11 May 2012 22:28:35 +0000 (15:28 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Fri, 11 May 2012 21:52:11 +0000 (14:52 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoMerge "Fix wifi direct issues" into jb-dev
Irfan Sheriff [Fri, 11 May 2012 21:46:46 +0000 (14:46 -0700)]
Merge "Fix wifi direct issues" into jb-dev

12 years agoAutomatic persistent text selection for ListViews
Adam Powell [Fri, 11 May 2012 17:28:38 +0000 (10:28 -0700)]
Automatic persistent text selection for ListViews

Use View transient state tracking to allow selection to persist across
ListView-style item view recycling.

Fix some bugs with transient state tracking.

Bug 6110122

Change-Id: Ic084b8fc2289bff718b19478a37ce64459b3ed4c

12 years agoMerge "Test clamp (full and relaxed precision)." into jb-dev
Stephen Hines [Fri, 11 May 2012 21:25:56 +0000 (14:25 -0700)]
Merge "Test clamp (full and relaxed precision)." into jb-dev

12 years agoMerge "Prevent updateStateTrackers from being affected by preventDefault()" into...
John Reck [Fri, 11 May 2012 21:23:18 +0000 (14:23 -0700)]
Merge "Prevent updateStateTrackers from being affected by preventDefault()" into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 11 May 2012 21:09:53 +0000 (14:09 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id093bff086183247032385b05d314ea0ef7d3b8b

12 years agoMerge "Minor refactoring before starting on velocity tracker changes." into jb-dev
Jeff Brown [Fri, 11 May 2012 21:03:38 +0000 (14:03 -0700)]
Merge "Minor refactoring before starting on velocity tracker changes." into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 11 May 2012 20:52:02 +0000 (13:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id65875321fa8c95e5909d901c080396f702bad02

12 years agoPrevent updateStateTrackers from being affected by preventDefault()
John Reck [Fri, 11 May 2012 20:50:57 +0000 (13:50 -0700)]
Prevent updateStateTrackers from being affected by preventDefault()

 Bug: 6477996
 Calling e.preventDefault() on a javascript touch handler is apparantly
 not supposed to prevent the default gesture detector, who knew?

Change-Id: I6ee36e2fbc485b289b6dbb3464d8562c88e3be49

12 years agoMerge "Fix a crash." into jb-dev
Teng-Hui Zhu [Fri, 11 May 2012 20:45:13 +0000 (13:45 -0700)]
Merge "Fix a crash." into jb-dev

12 years agoFix wifi direct issues
Irfan Sheriff [Thu, 10 May 2012 23:52:49 +0000 (16:52 -0700)]
Fix wifi direct issues

- BSS command is unreliable, use group owner information from p2p_find
- Fix the autonomousgroup settings
- Use group idle settings only on the p2p group interface to avoid group idle
resulting group formation failures

Bug: 6426991
Change-Id: I44fc204775580fb4fec6ce27070ddbde0751b495

12 years agoUpdate assets that didn't scale nicely from hdpi to tvdpi.
Amith Yamasani [Fri, 11 May 2012 20:31:11 +0000 (13:31 -0700)]
Update assets that didn't scale nicely from hdpi to tvdpi.

Bug: 6430949
Change-Id: I197043c3da0295e09abfbb4ae5582c2542ecbcd8

12 years agoFix a crash.
Teng-Hui Zhu [Fri, 11 May 2012 18:52:04 +0000 (11:52 -0700)]
Fix a crash.

End can happen when error happens, but media controller may be not ready yet.

bug:5340224
Change-Id: I94607dfdf26d2dc4c7bbc9c2a62f98deccb8d198

12 years agoMerge "Fix quickReject logic for transformed views" into jb-dev
Chet Haase [Fri, 11 May 2012 19:59:41 +0000 (12:59 -0700)]
Merge "Fix quickReject logic for transformed views" into jb-dev

12 years agoMinor refactoring before starting on velocity tracker changes.
Jeff Brown [Fri, 11 May 2012 19:24:35 +0000 (12:24 -0700)]
Minor refactoring before starting on velocity tracker changes.

Bug: 6413587
Change-Id: I5eba2bb57193bff78cb3740de5f87aca0b31d154

12 years agoRename kcm attribute to keyboardLayout.
Jeff Brown [Fri, 11 May 2012 04:29:33 +0000 (21:29 -0700)]
Rename kcm attribute to keyboardLayout.

Bug: 6478076
Change-Id: I7fc0d8eb36d03a628d070f8fd6ea1e1464b1a163

12 years agoKeep launcher screen from flashing over lockscreen
Craig Mautner [Fri, 11 May 2012 18:50:58 +0000 (11:50 -0700)]
Keep launcher screen from flashing over lockscreen

Extend the force hide period to include the animation.

Fixes bug b6471929.

Change-Id: I91daf9dc678723be4c69913aa5a3aa0e265d103e

12 years agoAdd explicit id for fontFamily attribute.
Raph Levien [Fri, 11 May 2012 18:07:02 +0000 (11:07 -0700)]
Add explicit id for fontFamily attribute.

The merge for the attribute crossed in flight with making jb-dev a
release branch.

Change-Id: Ic9a2a34a8e3c54efa17a98365f58f24fe365b532

12 years agoFix quickReject logic for transformed views
Chet Haase [Fri, 11 May 2012 15:41:20 +0000 (08:41 -0700)]
Fix quickReject logic for transformed views

When a parent draws its child views, each child's bounds is checked
against the current dirty region. If the view falls outside of that
region is is rejected and doesn't enter into the parent's DisplayList.

This works in general, for both transformed and untransformed views
(because we skip this check if the view is transformed). But it breaks down
when the transform properties of the view change later, since DisplayList
properties simply push these values down to the view's DisplayList without
invalidating the parent. If a view is rejected when untransformed, then there
is nothing to cause it to be considered again until something causes an
invalidate of the parent.

The fix is to note when a view is rejected and record that information.
Later, when one of the transform-related properties change, we invalidate the parent
to force the check to happen again, which will cause the view to get drawn
if it's visible.

Issue #6477730 quickRejected views must recreate their DisplayLists on transform changes

Change-Id: I70caf198005cd7e424a37bccc6ae050e09880a6c

12 years agoMerge "Clear animations in DisplayLists when done" into jb-dev
Chet Haase [Fri, 11 May 2012 17:57:40 +0000 (10:57 -0700)]
Merge "Clear animations in DisplayLists when done" into jb-dev

12 years agoTrace: add a tracing tag for video
Jamie Gennis [Fri, 11 May 2012 11:43:35 +0000 (04:43 -0700)]
Trace: add a tracing tag for video

Change-Id: If4c3c76b049a475ca99eb258dc3d432435e77dc0

12 years agoSurface: replace active rect with window crop
Jamie Gennis [Mon, 7 May 2012 21:13:01 +0000 (14:13 -0700)]
Surface: replace active rect with window crop

This change replaces the setActiveRectCrop method on Surface, which was called
from app processes, with the setWindowCrop method that is to be called from the
window manager.

Bug: 6299171
Change-Id: Ica51efcd8c488a526e7013b83d80df4856694519

12 years agoMerge "Prevent NPE in TextureView.getBitmap()" into jb-dev
Romain Guy [Fri, 11 May 2012 17:25:06 +0000 (10:25 -0700)]
Merge "Prevent NPE in TextureView.getBitmap()" into jb-dev

12 years agoPrevent NPE in TextureView.getBitmap()
Romain Guy [Fri, 11 May 2012 17:01:42 +0000 (10:01 -0700)]
Prevent NPE in TextureView.getBitmap()

This crash could occur when invoking setSurfaceTexture() then getBitmap()
before the View has a chance to be drawn.

Change-Id: I25c55df15750e59b9c916e8f750de2c89718d39e

12 years agoMerge "Keep the controller when video ended." into jb-dev
Teng-Hui Zhu [Fri, 11 May 2012 17:00:06 +0000 (10:00 -0700)]
Merge "Keep the controller when video ended." into jb-dev

12 years agoMerge "Avoid inline->fullscreen reload for html5 video." into jb-dev
Teng-Hui Zhu [Fri, 11 May 2012 16:59:57 +0000 (09:59 -0700)]
Merge "Avoid inline->fullscreen reload for html5 video." into jb-dev

12 years agoMerge "Add RobotoCondensed family and optimized Roboto Light." into jb-dev
Raph Levien [Fri, 11 May 2012 16:37:14 +0000 (09:37 -0700)]
Merge "Add RobotoCondensed family and optimized Roboto Light." into jb-dev

12 years agoMerge "Add fontFamily XML attribute to select font family by string" into jb-dev
Raph Levien [Fri, 11 May 2012 16:31:22 +0000 (09:31 -0700)]
Merge "Add fontFamily XML attribute to select font family by string" into jb-dev

12 years agoMerge "Don't allow notificaitons to be larger than 4U, even with actions. Limit BigTe...
Chris Wren [Fri, 11 May 2012 16:28:08 +0000 (09:28 -0700)]
Merge "Don't allow notificaitons to be larger than 4U, even with actions. Limit BigText template to a fixed number of lines. Optimize layout of BigText and Inbox for expansion." into jb-dev

12 years agoMerge "Move airplane icon to its own view" into jb-dev
Andrew Flynn [Fri, 11 May 2012 16:08:15 +0000 (09:08 -0700)]
Merge "Move airplane icon to its own view" into jb-dev

12 years agoAdd in constant for WPA supplication settings
Kenny Root [Fri, 11 May 2012 16:06:17 +0000 (09:06 -0700)]
Add in constant for WPA supplication settings

This constant indicates what should be sent when a wpa_supplicant's
engine field should be marked as "disable."

Bug: 6480500
Change-Id: Ic963eff4b2ae1496f06e23f80514bf530767c568

12 years agoDon't allow notificaitons to be larger than 4U, even with actions.
Chris Wren [Thu, 10 May 2012 19:01:37 +0000 (15:01 -0400)]
Don't allow notificaitons to be larger than 4U, even with actions.
Limit BigText template to a fixed number of lines.
Optimize layout of BigText and Inbox for expansion.

Bug: 6457470
Change-Id: Ib7389e16e566df9f91347ca3fdd621916a12af9b

12 years agoDon't show rotation lock on phone-sized devices.
Daniel Sandler [Fri, 11 May 2012 14:40:35 +0000 (10:40 -0400)]
Don't show rotation lock on phone-sized devices.

Bug: 6476409
Change-Id: Ife4476ab08a96337fe78ef2892ac5d73f90b3e8c

12 years agoFix typo in javadoc.
Pin Ting [Fri, 11 May 2012 10:09:58 +0000 (18:09 +0800)]
Fix typo in javadoc.

Change-Id: I0e5d8640764772871e72cb00d117d12f3eaeb64f

12 years agoAllow the spell checker to remove existing misspelled spans
satok [Fri, 11 May 2012 06:49:14 +0000 (15:49 +0900)]
Allow the spell checker to remove existing misspelled spans

Bug: 6451163
Change-Id: If018533e8855e9dc21ab2a09ae31aa80ef260b72

12 years agoMerge "Add additional debug for time zone handling." into jb-dev
Wink Saville [Fri, 11 May 2012 06:05:54 +0000 (23:05 -0700)]
Merge "Add additional debug for time zone handling." into jb-dev

12 years agoFix 6040870: Update MultiWaveView for new device
Jim Miller [Fri, 11 May 2012 04:28:24 +0000 (21:28 -0700)]
Fix 6040870: Update MultiWaveView for new device

This change allows more flexibility in target placement in MultiWaveView.
It now supports a new way of specifying chevron drawables that allows
them to be moved in directions corresponding to more than the four basic
directions (right, up, left, down).

Chevron drawables can now be updated in an overlay.

This change also adds a place holder and makes a minor tweak to the layout
on 720dp devices where the navbar buttons weren't centered.

Change-Id: Icd319ec5f276870380e27737c873e78f599ff751

12 years agoAdd a safety net to set range span in the spell checker
satok [Fri, 11 May 2012 02:57:48 +0000 (11:57 +0900)]
Add a safety net to set range span in the spell checker

Bug: 6476578
Change-Id: I60ad82f80770dcb67fd9663dac64dc81634d7014

12 years agoJellyBean is now 4.1.
Dianne Hackborn [Thu, 10 May 2012 04:49:38 +0000 (21:49 -0700)]
JellyBean is now 4.1.

Change-Id: Ie37a7c4356d593010686d5dc7d6e715d30099e1e

12 years agoStart voice-based interactions from headsethook key
Jean-Michel Trivi [Tue, 1 May 2012 00:39:29 +0000 (17:39 -0700)]
Start voice-based interactions from headsethook key

Implement the interception of long-press on keys that
 can be used to trigger voice-based interactions (here
 only HEADSETHOOK) only if the long-press hasn't been
 trapped by the foreground application:
 - if the key is not one that is used for voice input, handle
   the event as before.
 - if the key press wasn't long enough, simulate a delayed
   key press.
 - if long press is detected, send
   RecognizerIntent.ACTION_WEB_SEARCH. Long press duration
   is set to 300ms (a typical key press is under 100ms).

Bug 3225090

Change-Id: I5b3adeb91d3c41ccd54d23fdb93d7eaec496eee7

12 years agoMerge "AudioService: Fix problem handling USB audio disconnect" into jb-dev
Mike Lockwood [Fri, 11 May 2012 00:58:47 +0000 (17:58 -0700)]
Merge "AudioService: Fix problem handling USB audio disconnect" into jb-dev

12 years agoAudioService: Fix problem handling USB audio disconnect
Mike Lockwood [Fri, 11 May 2012 00:13:20 +0000 (17:13 -0700)]
AudioService: Fix problem handling USB audio disconnect

Also broadcast ACTION_AUDIO_BECOMING_NOISY on USB audio disconnect

Change-Id: I46dfcc744df880066aea6bf651334a081c14af0f
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoMerge "AudioService: fix various volume issues." into jb-dev
Eric Laurent [Fri, 11 May 2012 00:40:26 +0000 (17:40 -0700)]
Merge "AudioService: fix various volume issues." into jb-dev

12 years agoAdd RobotoCondensed family and optimized Roboto Light.
Raph Levien [Fri, 11 May 2012 00:28:20 +0000 (17:28 -0700)]
Add RobotoCondensed family and optimized Roboto Light.

This adds the Roboto Condensed family (with the name
sans-serif-condensed, for consistency with existing family names).

Change-Id: Ied2c509ebbb2b3b8637c659e62c9a821b6941eaa

12 years agoKeep the controller when video ended.
Teng-Hui Zhu [Fri, 11 May 2012 00:20:19 +0000 (17:20 -0700)]
Keep the controller when video ended.

Use the media controller as a reminder to the user when the video ended.
We don't quit the video here b/c user may want to replay the video.

bug:5340224
Change-Id: I6d5fdb54bb614277b75e1a18ebe0a7dadd47017e

12 years agoAudioService: fix various volume issues.
Eric Laurent [Thu, 10 May 2012 16:41:17 +0000 (09:41 -0700)]
AudioService: fix various volume issues.

Fix various issues in adjustStreamVolume() related to stream type aliases
using different ranges.

Always Update last audible index on all streams sharing the same alias.

Add check on setRingerMode() to prevent setting mode to VIBRATE when no
vibrator is present.

Issue 6455831.

Change-Id: Id110e05d2f16e208e1e398922617bf31967b62db

12 years agoAvoid inline->fullscreen reload for html5 video.
Teng-Hui Zhu [Wed, 9 May 2012 21:13:52 +0000 (14:13 -0700)]
Avoid inline->fullscreen reload for html5 video.

Now when a user start inline play and then switch to full screen, there is no
reload any more.
Basically, we change mediaplayer as a static member, and detect possible
situation to skip the prepare work.

bug:5710646

Change-Id: Ida34cf2e919a6cc8e0d52cd1175d51b5f5d527f7