56882 Commits

Author SHA1 Message Date
Mathias Agopian
2143fe05e3 Add a debug option to turn the "transformation hint" off
transformation hint is disabled with:

   adb shell service call SurfaceFlinger 1009 i32 1

Change-Id: I9aafe6f280f88ce41569ed69a06dc522b10e3a88
2011-08-23 21:10:35 -07:00
Mathias Agopian
7f76a3cf66 fix "show screen update" debug option.
Change-Id: I7d8b24124768b5f7d59d3bb0b019e9baaa0dfc4f
NOTE: from now on, this also disable the h/w composer
2011-08-22 21:44:41 -07:00
Mathias Agopian
67403e096e BLUR_BEHIND flag is not supported anymore
Bug: 5185650
Change-Id: I56541d4967b90b150a734be1bbeff696eb6a4fb3
2011-08-22 20:03:58 -07:00
Jaikumar Ganesh
04c4301251 Merge "Fix sendConnection State intent api params." 2011-08-22 19:29:57 -07:00
Jaikumar Ganesh
ef4f8f2c08 Fix sendConnection State intent api params.
Reported by: sj222.choi@samsung.com

Change-Id: I2e767b372bd5d9fa42d083a37e402a013388a3c2
2011-08-22 18:18:24 -07:00
Adam Powell
e20c279d9a Merge "Fix bug 5198868 - Showing previous hidden options menu doesn't work" 2011-08-22 18:15:18 -07:00
Adam Powell
04dc06f52a Fix bug 5198868 - Showing previous hidden options menu doesn't work
Fix bad assumption in flagging action items.

Change-Id: Ic67b56195bc308e73d1564cbf1b77e41eaa4ecab
2011-08-22 18:11:11 -07:00
Adam Powell
76a05fefbd Merge "Fix bug 5143392 - Add padding to left of action bar app icon to prevent icon from moving when drilling into hierarchy" 2011-08-22 17:52:46 -07:00
Adam Powell
b1e2f25b7e Fix bug 5143392 - Add padding to left of action bar app icon to
prevent icon from moving when drilling into hierarchy

Fix up the layout of home/up/titles in the action bar such that showing/hiding
the "up" indicator never changes the position of the icon, logo, or title.

Change-Id: Ic2117babe3a54619a4b787d5374295955a58fb34
2011-08-22 17:43:30 -07:00
Romain Guy
c4eb316062 Merge "Don't use bilinear filtering on unscaled bitmaps Bug #5198590" 2011-08-22 17:34:23 -07:00
Romain Guy
6816972eb6 Don't use bilinear filtering on unscaled bitmaps
Bug #5198590

Change-Id: I4333d850501ac849eeeeb247e4178dd469b9de3d
2011-08-22 17:33:33 -07:00
Adam Powell
dce2ff8681 Merge "Fix bug 5185375 - ICS Fit+Finish: Full-screen IME" 2011-08-22 17:02:24 -07:00
Adam Powell
53376cb179 Fix bug 5185375 - ICS Fit+Finish: Full-screen IME
Have extract mode use a light theme to better match the previous behavior.

Change-Id: I7d8f78a6465fee078de03b0a77040296d130a78d
2011-08-22 16:56:08 -07:00
Adam Powell
0ddc899dc5 Merge "Fix bug 5189070 - Don't try to show overflow popups for nonexistant menus" 2011-08-22 16:35:44 -07:00
Adam Powell
70e9f4bd2c Fix bug 5189070 - Don't try to show overflow popups for nonexistant menus
Change-Id: I9db43211cdece81063fc1d3c3324f1e166f27b0c
2011-08-22 16:31:24 -07:00
Fabrice Di Meglio
c2d256b415 Merge "Improve TextDirection resolution" 2011-08-22 16:24:43 -07:00
Michael Jurka
04963769e3 Merge "Track motion events before we decide to start scrolling" 2011-08-22 16:23:40 -07:00
Dianne Hackborn
bcdb3e7378 Merge "Debugging for issue #5180240: Wallpaper continues to consume CPU when screen off" 2011-08-22 16:22:10 -07:00
Dianne Hackborn
527de8e3de Debugging for issue #5180240: Wallpaper continues to consume CPU when screen off
Add debug dump to the wallpaper service.

Change-Id: I01502b10de93b6f9d2315fd66776f3f2210e6696
2011-08-22 16:21:12 -07:00
Adam Powell
77eb57fc77 Merge "Fix bug 5142716 - Dialog content font size/padding is inconsistent across different applications." 2011-08-22 16:15:43 -07:00
Adam Powell
d257544e14 Fix bug 5142716 - Dialog content font size/padding is inconsistent
across different applications.

Alter font sizing and metrics of standard list item layouts to match
UI spec. This fixes metrics issues in dialogs, menus, and more.

Change-Id: I1e4f6266ac5e0d23e5272d69b5a102e3364ca7aa
2011-08-22 16:08:55 -07:00
Jaikumar Ganesh
cbf3e59590 Merge "Add Api to get profile connection state." 2011-08-22 15:59:19 -07:00
Michael Jurka
13451a476a Track motion events before we decide to start scrolling
Change-Id: I0e2de488c62814982a21b7a7debbf1cd78e5891c
2011-08-22 15:54:28 -07:00
Chet Haase
9af1d28082 Merge "Fix invalidation bug with INVISIBLE views." 2011-08-22 15:19:56 -07:00
Jaikumar Ganesh
cb1d354c1e Add Api to get profile connection state.
This gets the current connection state of the profile with respect
to the local Bluetooth adapter.

Change-Id: I7cff6c9201d29a8b45413cff7384b7483f21bd5c
2011-08-22 14:44:38 -07:00
Chet Haase
a68c5cf8a1 Fix invalidation bug with INVISIBLE views.
There was a bug in the invalidation code that prevented some
animations fropm starting. An INVISIBLE view would mark some dirty
flags then propagate the invaliation up the parent hierarchy. This would
cause a redraw of the hierarchy, but would not include the invisible
view (invisible children do not get drawn). Thus the flags wouldn't get cleared.

Later, an animation to fade the view in (making it VISIBLE on start) would
be started on the view. But the invalidation triggered by that animation would
not propagate because the invisible view would see that it was already
invalidated, and wouldn't send the message along. No invalidation means no drawing,
so the animation wouldn't start because the invalidation didn't make it's way up to the
top and the child's parent did not redraw.

The fix is to noop the invalidate() call for GONE/INVISIBLE views which do not
have animations set on them. Making these views VISIBLE later will trigger
an invalidation, as will starting an animation on them, so the behavior should
not change except for the buggy situation.

Change-Id: I7a26a4bc7823f08fef56e52648e77ca256df6858
2011-08-22 14:27:51 -07:00
Andreas Huber
5b3f07da20 Merge "The MatroskaExtractor will now publish a different mime-type "video/webm" if" 2011-08-22 14:27:12 -07:00
Romain Guy
91bd59dbda Merge "Move constants to the correct header" 2011-08-22 14:02:17 -07:00
Romain Guy
28d8ff6dbc Move constants to the correct header
Change-Id: Id4bd14f72487bd7156cd2e1930eaf97b47896273
2011-08-22 14:01:34 -07:00
Dianne Hackborn
661cd52e0e Add progress dialog for booting after an upgrade.
This introduces a new facility for code during the boot process
to display messages to the user through a progress dialog.  This
is only for use when performing longer-than-usual post-upgrade
operations such as running dexopt on applications or upgrading
databases.

Change-Id: I0e78439ccec3850fb67872c22f235bf12a158dae
2011-08-22 13:42:05 -07:00
Jim Miller
5e82bc0383 Merge "Fix 5026428: Rework unlock attempt logic with active DPM to show better messages" 2011-08-22 13:36:07 -07:00
Chris Craik
666eb122fd Merge "Fix tile benchmark tool stalls" 2011-08-22 13:30:09 -07:00
Jim Miller
9525480021 Merge "Fix 4993068: Don't check password history when dpm sets the password" 2011-08-22 13:28:54 -07:00
Xavier Ducrohet
cf508bd5c3 Merge "LayoutLib: add native delegate for set/getHinting in Paint." 2011-08-22 13:24:38 -07:00
Andreas Huber
6e37cf90f9 The MatroskaExtractor will now publish a different mime-type "video/webm" if
the doctype of the matroska file indicates that it is a webm file.

Change-Id: I467f597690a841043ecd11d2a2cae93351820f1b
related-to-bug: 5042137
2011-08-22 13:21:26 -07:00
Xavier Ducrohet
8433c36a98 LayoutLib: add native delegate for set/getHinting in Paint.
Change-Id: I1758f8ce861240d72113aa23dcbef5a52abade56
2011-08-22 13:13:16 -07:00
John Huang
8662f9f1b0 Merge "Handle SIP authentication response for BYE." 2011-08-22 13:02:23 -07:00
Svetoslav Ganov
0ba9546b7b Merge "Adding accessibility support to the PIN lock screen." 2011-08-22 12:19:34 -07:00
Eric Fischer
8551f56d0f Merge "Import revised translations." 2011-08-22 12:15:17 -07:00
Tsu Chiang Chuang
7a12d6ba14 Merge "fix bandwidth microbenchmark tests." 2011-08-22 11:11:07 -07:00
Eric Fischer
8da527d843 Import revised translations.
Change-Id: I51335fa15a40d471010dbcc96e228b170f06ce7e
2011-08-22 11:09:13 -07:00
Jaikumar Ganesh
110be0f1d9 Merge "Listen to the right Bluez signal for Channel deletion." 2011-08-22 10:31:15 -07:00
Chris Craik
55ad2efde9 Fix tile benchmark tool stalls
bug:5062896
Change-Id: I2969e95481d65d5f87ce4399f09becc7b66d540a
2011-08-22 09:55:14 -07:00
Svetoslav Ganov
e8b8e1aed0 Adding accessibility support to the PIN lock screen.
1. The password lock screen is accessible and with this
   change the PIN lock screen is accessibile as well.
   This is enough to cover the enterprise use case of
   imposed lock of the deivce. we will hide the options
   for pattern since it is hard for use by a blind person.
   We may reconsider this for subsequent releases.

bug:4978246

Change-Id: I069f8ebe1ff7ea1591cab42ea580f00f3d31b2e6
2011-08-22 09:46:08 -07:00
Svetoslav Ganov
151763d3fc Merge "Adding a callback to ShareActionProvider + make ActivityChooserView popup hide on action bar hide." 2011-08-22 09:35:00 -07:00
Tadashi G. Takaoka
fb3db1f3a2 Update IME switcher icon on notification bar
Bug: 5086639
Change-Id: Ic29e4e864e574da748ed74d02a2e0f2f62ab8fd9
2011-08-22 18:18:13 +09:00
Jaikumar Ganesh
ae37d06dd0 Listen to the right Bluez signal for Channel deletion.
Health device channel deletion was looking at the
wrong dbus interface.

Reported by: Sungjun<sj222.choi@samsung.com>

Change-Id: I48e7c464fdcdd8bd47dc8cc9cd55b14ba8ea6bbf
2011-08-21 20:24:57 -07:00
Chih-Chung Chang
8598e57598 Merge "Remove useAndroidNativeBuffer(2) warning message." 2011-08-21 19:19:01 -07:00
Jim Miller
0191bba17c Fix 4993068: Don't check password history when dpm sets the password
This fixes a crash caused by permission problems when we try to update
the password history and discover there's no password salt.  The code
attempts to create the salt, which triggers the exception.

This could be fixed by wrapping the call with a clearCallingIdentity()/
restoreCallingIdentity(ident).  However, while looking at it, it occurred to me
that this can cause unexpected failures if the DPM tries to set the
password twice or happens to set it to something in the password history.

Instead, we should *always* allow the DPM to reset the password to whatever it wants,
provided it passes the minimum password criteria.

Change-Id: I1505b24f9c097ee5c2c44e4bf378ba90095b113b
2011-08-21 14:47:59 -07:00
Jim Miller
4f36995777 Fix 5026428: Rework unlock attempt logic with active DPM to show better messages
Prior to this change, we didn't have a mechanism to warn the user when
they were approaching the wipe data threshold dictated by active DPMs.

Here's the new flow:

- If a device policy manager is installed and sets the max
password attempts, we start warning the user when they are within
a grace period of hitting the max (currently hard-wired to 5).

- We continue to show a dialog after each continued attempt
until the user reaches 0 remaining attempts.

- We now show a message when they hit 0 so they know why their device is
being reset.  The device will reboot and wipe data shortly after this final
dialog is shown.

Also increased the criteria for a pattern attempt from 3 dots to 4 dots
since the user can never set a pattern less than 4 in length. This will
greatly reduce the likelihood of a false wipe on the pattern unlock screens
without compromising security.

Change-Id: I28825ef21dfa2e2b6540e743252c6d50c41e5ad7
2011-08-21 13:57:01 -07:00