77142 Commits

Author SHA1 Message Date
Romain Guy
9d9758ae30 Fix two memory leaks
Bug #6408362

Change-Id: I58543938e7b64d83504e11e97b0dd21ef8ebf3b6
2012-05-14 15:19:58 -07:00
Brian Colonna
5a1c0cf492 Merge "Fix 6437474: Fixed black box appearing on rotation" into jb-dev 2012-05-14 15:16:14 -07:00
Kenny Root
a69b7eb1fc Change thread priority for disk measurement to bg
Change the thread priority for all disk measurement and statfs calls to
background priority.

Also move the measurement fully into the measurement task since it makes
more sense.

Bug: 6332097
Change-Id: Iafc2151313ad9b14117daf67e933dccd32f68d54
2012-05-14 15:02:19 -07:00
Eric Fischer
8e96d58146 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-14 14:51:41 -07:00
Michael Jurka
b520676175 Merge "Hide notification panel when launching recent apps" into jb-dev 2012-05-14 14:44:33 -07:00
Michael Jurka
56a5783c02 Hide notification panel when launching recent apps
Bug: 6484280
Change-Id: Ib97af40979ccdd98aa2b8af6c1488b33b34bdf2b
2012-05-14 14:38:38 -07:00
Eric Fischer
1d1a5273a9 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-14 14:31:01 -07:00
Daisuke Miyakawa
df9b20504b Remove assets for Phone's incoming call widget
Bug: 6491970
Change-Id: I6c0965b7807daef91e0e61252f254ac704c60c67
2012-05-14 14:20:31 -07:00
Svetoslav Ganov
844047acb7 Merge "Fix inconsitency in aAccessibilityNodeInfo cache." into jb-dev 2012-05-14 14:14:26 -07:00
Eric Laurent
8c78752f2b Implement new volume display policy.
Whenever a stream type is muted, the progress bar in volume panel
is at 0.
If a stream is muted by ringer mode and does not control ringer mode,
the progress bar is disabled.
Pressing VOL- when in vibrate or silent mode resets the last audible
volume of ringtone stream (music strem on tablets) to 0.

VolumePanel implementation:
 - Always prefer AudioManager APIs over AudioService APIs when available on both.
 - Do not use AudioManager.shouldVibrate() (deprecated).

Change-Id: I57fcb19ada4e8d729b6b41d668496562ebe340c3
2012-05-14 14:13:10 -07:00
Romain Guy
00fdfe4106 Merge "Properly pre-cache latin glyphs Bug #6408362" into jb-dev 2012-05-14 14:12:27 -07:00
Philip Milne
c8b7747bc0 Merge "Add validation code for GridLayout.LayoutParams" into jb-dev 2012-05-14 14:12:06 -07:00
Romain Guy
ae91c4cbc7 Properly pre-cache latin glyphs
Bug #6408362

Change-Id: Ie11644c5a9e2d87d3b851b7e619e5f04b60a7e02
2012-05-14 14:06:02 -07:00
Michael Jurka
143a02aa79 Merge "Prevent ViewPropertyAnimators from getting started twice" into jb-dev 2012-05-14 14:04:27 -07:00
Philip Milne
0f57cea898 Add validation code for GridLayout.LayoutParams
Bug 6404882.

The supplied code in this bug sets up a table with 2 columns and then
tries to add a component in column 5. Earlier attempts to fix this
by 'doing what the user meeant' had unwanted side-effects. This CL is
intended to defend against all ways to register invalid LayoutParams
and throw IllegalArgumentExcpetion when any column index falls outside the
range [0 .. N] where N is the number of columns. It also includes the
symmetrical check for rows.

Change-Id: I958a6d16035889cd954b78108773426e8b6b6d95
2012-05-14 13:42:05 -07:00
Eric Fischer
fb7a89fe55 Import translations. DO NOT MERGE
Change-Id: I7ad9995da8405b20d50ecb211786ebc86469ea42
2012-05-14 13:30:10 -07:00
Dianne Hackborn
776627b8b0 Merge "Add missing XML close tag. Fixes bug 6488238." into jb-dev 2012-05-14 13:18:37 -07:00
Jake Hamby
47509c744f Merge "Change SMS security check to enforceCallingPermission()." into jb-dev 2012-05-14 13:12:14 -07:00
Raph Levien
d26e18bfe9 Add missing XML close tag. Fixes bug 6488238.
Change-Id: Ic1197d0b8bece1595626a92f025cb7ae7e96163d
2012-05-14 13:11:57 -07:00
Eric Fischer
8f38310e40 Import translations. DO NOT MERGE
Change-Id: Ie0e5b24e9df9f9c2e3706cf17bb04cc3e1d00cb0
2012-05-14 13:11:13 -07:00
Chet Haase
728e43948c Merge "Minor touch-up of Animation docs" into jb-dev 2012-05-14 12:58:08 -07:00
Jamie Gennis
04d3521839 Merge "WindowManager: unset the wallpaper window crop" into jb-dev 2012-05-14 12:14:49 -07:00
George Mount
647827a5d3 Change selection to use left/right instead of base/extent.
Bug 5859620
 Simplify text selection to use left/right rather than
 base/extent. In combination with webkit change, this
 fixes RTL selection. The handle directions are properly-
 facing when the text direction is the same for both
 sides of selection.
 Webkit Change: I3362c5034ce08ce1517a86882c13b78aff35fe3f

Change-Id: Ib88ed2327182ba5b47b3e41584cbe944d05c8ada
2012-05-14 11:24:56 -07:00
Jean-Michel Trivi
2411c3361e Merge "Verify AudioTrack only uses a valid multichannel configuration" into jb-dev 2012-05-14 08:56:53 -07:00
Jean-Michel Trivi
d9e587137b 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
2012-05-14 08:49:42 -07:00
Brian Colonna
a5cf93a84a Merge "Fix 6283709: set max FUL failed attempts to 5" into jb-dev 2012-05-14 07:56:07 -07:00
Brian Colonna
ffefd0fdd1 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
2012-05-14 10:34:08 -04:00
Brian Colonna
88240596fc Fix 6437474: Fixed black box appearing on rotation
The biometric unlock initializeView() function is called every time
the lockscreen is recreated.  Since this normally happens when the
device turns off, initializeView() was covering the backup lock so the
backup lock is not exposed when the device turns back on.  However,
initializeView() is also called when lockscreen is recreated due to an
orientation change.

With this change, the show() call to cover the backup lock has been
moved out of initializeView(), and the backup lock is now only covered
when the screen is turning off, preventing the backup lock from being
covered on an orientation change.

This also includes changes to prevent biometric unlock function calls
from occurring when SIM or Account unlock is in use.  In fact, in any
situation where we know FUL won't be used, we don't even construct it.
This is not only more efficient, but it also cuts down on the
possibility of errors where FUL is being used when it shouldn't be.

Change-Id: Ie97761840df8de5701703d9b9b991726fb601064
2012-05-14 10:06:05 -04:00
Jamie Gennis
521e0d794d WindowManager: unset the wallpaper window crop
This change removes the window crop of the wallpaper when setting its position.

Change-Id: I0f4dc10ea9a724b210f75286580ef391145286df
2012-05-14 04:11:02 -07:00
Mathias Agopian
7ed1d6613e Merge "fix SurfaceView visibility state changes" into jb-dev 2012-05-13 23:50:32 -07:00
Mathias Agopian
a545db3534 Merge "fix BootAnimation timing" into jb-dev 2012-05-13 23:50:15 -07:00
Svetoslav Ganov
11fd02f63a Merge "Update the API version checks." into jb-dev 2012-05-13 19:09:47 -07:00
Svetoslav Ganov
8f76176016 Merge "Removing default accessibility gesture handling." into jb-dev 2012-05-13 19:09:35 -07:00
Jeff Brown
85bd0d6283 More VelocityTracker refactoring.
Bug: 6413587
Change-Id: Ida1152e7a34d5fe5caab5e6b5e1bc79f6c7a25e6
2012-05-13 16:10:57 -07:00
Dianne Hackborn
4286d6d115 Fix build.
Change-Id: I53263d509559c70100cd78ad49f225f0dafd8891
2012-05-13 16:03:39 -07:00
Michael Jurka
500998d401 Prevent ViewPropertyAnimators from getting started twice 2012-05-13 15:35:02 -07:00
Dianne Hackborn
2a7a6ca00a Merge "Implement new window cropping." into jb-dev 2012-05-13 15:24:32 -07:00
Svetoslav Ganov
5a48f9758b 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
2012-05-13 13:34:00 -07:00
Dianne Hackborn
85afd1b6f8 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
2012-05-13 13:31:06 -07:00
Svetoslav Ganov
7b1e0c7046 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
2012-05-13 12:39:51 -07:00
Mathias Agopian
cbeb33249d 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
2012-05-12 19:57:07 -07:00
Guang Zhu
0d607fbe54 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
2012-05-12 19:09:34 -07:00
Romain Guy
ce8b9c33b3 am 15e84399: Merge "Add call sites for OpenGL\'s debug label extension" into jb-dev
* commit '15e8439905cfae4605d101ae96a2694e69fb5017':
  Add call sites for OpenGL's debug label extension
2012-05-12 16:26:18 -07:00
Romain Guy
15e8439905 Merge "Add call sites for OpenGL's debug label extension" into jb-dev 2012-05-12 16:24:03 -07:00
Romain Guy
dfa1046eca Add call sites for OpenGL's debug label extension
Change-Id: I9c689127e8166cbef92c935f8aa07217ab806dda
2012-05-12 16:22:35 -07:00
Mangesh Ghiware
5794bf2b0e am 05efb04c: Merge "Maintain the anchor at top/left on orientation change." into jb-dev
* commit '05efb04c381e91980c68bcfd409d2994ce849b19':
  Maintain the anchor at top/left on orientation change.
2012-05-12 16:07:37 -07:00
Mangesh Ghiware
05efb04c38 Merge "Maintain the anchor at top/left on orientation change." into jb-dev 2012-05-12 16:04:00 -07:00
Mathias Agopian
db7dd2af93 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
2012-05-12 15:08:21 -07:00
Jim Miller
8c11350366 am 5a588dbe: Merge "Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet" into jb-dev
* commit '5a588dbe6e3d246523d7c04258f0129ba37df069':
  Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet
2012-05-12 14:56:28 -07:00
Jim Miller
5a588dbe6e Merge "Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet" into jb-dev 2012-05-12 14:54:06 -07:00