Commit Graph

19717 Commits

Author SHA1 Message Date
Adam Powell
c38457907a am e20c279d: Merge "Fix bug 5198868 - Showing previous hidden options menu doesn\'t work"
* commit 'e20c279d9a6719a7c0d8c6606c7ba1bd207db8d3':
  Fix bug 5198868 - Showing previous hidden options menu doesn't work
2011-08-22 18:17:58 -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
c4f68f1a17 am 76a05fef: Merge "Fix bug 5143392 - Add padding to left of action bar app icon to prevent icon from moving when drilling into hierarchy"
* commit '76a05fefbd401b386cd8ae264037bc3c8219bb0a':
  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:54:35 -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
Adam Powell
bf28cef2e1 am 0ddc899d: Merge "Fix bug 5189070 - Don\'t try to show overflow popups for nonexistant menus"
* commit '0ddc899dc5f2acebb1daa19369dbfe81d257690d':
  Fix bug 5189070 - Don't try to show overflow popups for nonexistant menus
2011-08-22 17:06:41 -07:00
Fabrice Di Meglio
f51ff04f19 am c2d256b4: Merge "Improve TextDirection resolution"
* commit 'c2d256b41587ff44efb6373885affe02e5df80b5':
  Improve TextDirection resolution
2011-08-22 17:06:35 -07:00
Michael Jurka
25ceca4ad5 am 04963769: Merge "Track motion events before we decide to start scrolling"
* commit '04963769e36a389f96a25712dd0bd0de570b4df8':
  Track motion events before we decide to start scrolling
2011-08-22 17:06:29 -07:00
Dianne Hackborn
749945720c am bcdb3e73: Merge "Debugging for issue #5180240: Wallpaper continues to consume CPU when screen off"
* commit 'bcdb3e73787f88fe8e45413e1c898dab54212518':
  Debugging for issue #5180240: Wallpaper continues to consume CPU when screen off
2011-08-22 17:06:22 -07:00
Jaikumar Ganesh
b0fa2608b7 am cbf3e595: Merge "Add Api to get profile connection state."
* commit 'cbf3e59590dc80101af3d73b09b9a5afc87243c3':
  Add Api to get profile connection state.
2011-08-22 17:06:03 -07:00
Chet Haase
f2f55aad91 am 9af1d280: Merge "Fix invalidation bug with INVISIBLE views."
* commit '9af1d280829da4330755b72b539f4f863e5ff3ff':
  Fix invalidation bug with INVISIBLE views.
2011-08-22 17:04:38 -07:00
Jason Simmons
4fbb071fe8 resolved conflicts for merge of 661cd52e to ics-aah
Change-Id: I5eb4154ab969a5367e9f597595c09b5e499174d0
2011-08-22 16:39:16 -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
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
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
b63b48b407 am 5e82bc03: Merge "Fix 5026428: Rework unlock attempt logic with active DPM to show better messages"
* commit '5e82bc038385edcb669b44659401fb83dab9c880':
  Fix 5026428: Rework unlock attempt logic with active DPM to show better messages
2011-08-22 13:38:20 -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
Svetoslav Ganov
3d8072df44 am 0ba9546b: Merge "Adding accessibility support to the PIN lock screen."
* commit '0ba9546b7b2352a9f10f053e461442f1aa464d1a':
  Adding accessibility support to the PIN lock screen.
2011-08-22 12:21:23 -07:00
Svetoslav Ganov
0ba9546b7b Merge "Adding accessibility support to the PIN lock screen." 2011-08-22 12:19:34 -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
2ba405a1d7 am 151763d3: Merge "Adding a callback to ShareActionProvider + make ActivityChooserView popup hide on action bar hide."
* commit '151763d3fc702ee2341aa6bebe821ce98d99e787':
  Adding a callback to ShareActionProvider + make ActivityChooserView popup hide on action bar hide.
2011-08-22 09:37:05 -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
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
Wei Hua
8e7a732b26 am 7526a6d9: Merge "Added additional Face attributes."
* commit '7526a6d9235a73f93ae5064e8b82440b61c53929':
  Added additional Face attributes.
2011-08-19 17:22:37 -07:00
Wei Hua
7526a6d923 Merge "Added additional Face attributes." 2011-08-19 17:20:54 -07:00
Romain Guy
06639521e9 am bb41daad: Merge "Minor fixes to SurfaceTexture transform matrix."
* commit 'bb41daadf9dc3e28fd96f1da515c43dbdeedfc0f':
  Minor fixes to SurfaceTexture transform matrix.
2011-08-19 16:59:40 -07:00
Alexandre Elias
c01391fb4e Minor fixes to SurfaceTexture transform matrix.
- Sometimes, the applyUpdate was applied through draw() and the
  underlying matrix was not updated in time, causing "jitter".  Add a
  matrix update call in draw().

- Switch to invalidateParentIfNeeded() in setTransform().

Change-Id: I1cf9cdfe78f9d989821cdc9600984fc826430211
2011-08-19 16:53:42 -07:00
Fabrice Di Meglio
a646145c33 Improve TextDirection resolution
- remove unuseful heuristics
- tune Javadoc

Change-Id: Id72a158b3a17a528423d278b1cbfd95b8c2951b5
2011-08-19 16:19:37 -07:00
Jeff Brown
b9a2801287 am 30867d8b: Merge "Input system bug fixes, particularly for stylus. Bug: 5049148"
* commit '30867d8bdf9c6a719f3ae129d7e271b55592e163':
  Input system bug fixes, particularly for stylus. Bug: 5049148
2011-08-19 15:28:05 -07:00
Jeff Brown
65fd251c39 Input system bug fixes, particularly for stylus.
Bug: 5049148

Finished stylus support, including support for indirect stylus
and mouse tools.

Added TILT axis.  When stylus tilt X/Y is available, it is transformed
into an orientation and tilt inclination which is a more convenient
representation and a simpler extension to the exiting API.

Touch devices now only report touch data using a single input
source.  Previously touch devices in pointer mode would report
both absolute touch pad data and cooked pointer gestures.
Now we just pick one.  The touch device switches modes as needed
when the focused application enables/disables pointer gestures.
This change greatly simplifies the code and reduces the load
on the input dispatcher.

Fixed an incorrect assumption that the value of ABS_(MT_)DISTANCE
would be zero whenever the stylus was in direct contact.  It appears
that the correct way to determine whether the stylus is in direct
contact (rather than hovering) is by checking for a non-zero
reported pressure.

Added code to read the initial state of tool buttons and axis values
when the input devices are initialized or reset.  This fixes
problems where the input mapper state might have the wrong initial
state.

Moved responsibility for cancelling pending inputs (keys down,
touches, etc.) to the InputDispatcher by sending it a device reset
notification.  This frees the InputReader from having to synthesize
events during reset, which was cumbersome and somewhat brittle
to begin with.

Consolidated more of the common accumulator logic from
SingleTouchInputMapper and MultiTouchInputMapper into
TouchInputMapper.

Improved the PointerLocation output.

Change-Id: I595d3647f7fd7cb1e3eff8b3c76b85043b5fe2f0
2011-08-19 15:02:26 -07:00
Amith Yamasani
b5f9b9f535 am 16296180: Merge "Fix an unintentional change in method signature and avoid an API change."
* commit '16296180984756e631611005179f42865af35621':
  Fix an unintentional change in method signature and avoid an API change.
2011-08-19 14:31:23 -07:00
Amith Yamasani
1629618098 Merge "Fix an unintentional change in method signature and avoid an API change." 2011-08-19 14:29:34 -07:00
Wei Hua
d52b308916 Added additional Face attributes.
bug: 5186701
Change-Id: Id08df922b9a79192a81e6e8bd7c0dccad4664b3b
2011-08-19 13:01:51 -07:00
Amith Yamasani
a465b2d4c3 Fix an unintentional change in method signature and avoid an API change.
Change onDetachedFromWindow() override to a protected method, like superclass.

Change-Id: If626c5187290516d525cab5a76f5c5cabe2d87f0
2011-08-19 13:01:22 -07:00
Eino-Ville Talvala
f4d58e5bdc am d06fa51b: Merge "Make changing white-balance mode always disable AWB lock."
* commit 'd06fa51b3ef8bf28c0c7ebdd82ef47f786e10fb8':
  Make changing white-balance mode always disable AWB lock.
2011-08-19 12:43:34 -07:00
Eino-Ville Talvala
d06fa51b3e Merge "Make changing white-balance mode always disable AWB lock." 2011-08-19 12:42:06 -07:00
Adam Powell
dda20678c3 am b7d34e71: Merge "Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items"
* commit 'b7d34e71726603514b2e405f9e3dcdf437e989c7':
  Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items
2011-08-19 12:36:26 -07:00
Adam Powell
b7d34e7172 Merge "Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items" 2011-08-19 12:34:28 -07:00
Adam Powell
bfcdfaf919 Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items
Fix a bug where action menus were not updating after configuration
changes.

Change-Id: Iaeed7d924a7b8b40849fd8e1826ed1c8f4079c94
2011-08-19 12:18:13 -07:00
Amith Yamasani
bad89a9655 am 7c670365: Merge "Dismiss the volume overlay dialog when user touches above the dialog as well."
* commit '7c670365ae5abf102da94be78cc9c064fd9d35e4':
  Dismiss the volume overlay dialog when user touches above the dialog as well.
2011-08-19 11:19:55 -07:00