Commit Graph

18213 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Amith Yamasani
7c670365ae Merge "Dismiss the volume overlay dialog when user touches above the dialog as well." 2011-08-19 11:17:48 -07:00
Dianne Hackborn
dccb1b0fc9 am 937ffc17: Merge "Fix issue #5180553: permission RECEIVE_BOOT_COMPLETED is not checked"
* commit '937ffc174c742c56d33f64c6f1129403445193fd':
  Fix issue #5180553: permission RECEIVE_BOOT_COMPLETED is not checked
2011-08-18 18:07:00 -07:00
Dianne Hackborn
937ffc174c Merge "Fix issue #5180553: permission RECEIVE_BOOT_COMPLETED is not checked" 2011-08-18 18:05:19 -07:00
Amith Yamasani
baf6dbfa93 Dismiss the volume overlay dialog when user touches above the dialog as well.
Bug: 5165168
Change-Id: Ib343c3b88371cb93f8241b1085d1a2f36a77b1ac
2011-08-18 17:40:29 -07:00
Adam Powell
05ee8244e8 am 931f0b8c: Merge "Fix bug 5099037 - No delete option when multiple videos are selected"
* commit '931f0b8c07c6647790cf455f1efab88615532bd7':
  Fix bug 5099037 - No delete option when multiple videos are selected
2011-08-18 16:27:12 -07:00
Adam Powell
931f0b8c07 Merge "Fix bug 5099037 - No delete option when multiple videos are selected" 2011-08-18 16:24:19 -07:00
Adam Powell
23f4cc0353 Fix bug 5099037 - No delete option when multiple videos are selected
Fix some bugs related to how action item slots are allocated in menus.

Fix some padding/margins in ActivityChooserView.

Change-Id: I12096b0165daca902c5bc8e24c1e8d54a35e9557
2011-08-18 16:19:31 -07:00
Dianne Hackborn
d99b293d5f Fix issue #5180553: permission RECEIVE_BOOT_COMPLETED is not checked
Change-Id: I069673f2fbdf05e409c5e9ed99ccd1e15b4fe3ed
2011-08-18 16:02:41 -07:00
Nicolas Roard
e60245d503 am fc8f2ca6: Merge "Modify nativeSetProperty to return a boolean indicating if we need to invalidate the content or not."
* commit 'fc8f2ca6216181e95e30ad96be842e0b12b3d46d':
  Modify nativeSetProperty to return a boolean indicating if we need to invalidate the content or not.
2011-08-18 15:47:37 -07:00
Nicolas Roard
fc8f2ca621 Merge "Modify nativeSetProperty to return a boolean indicating if we need to invalidate the content or not." 2011-08-18 15:45:27 -07:00
Jeff Sharkey
74e8ebb853 am 9a20fa54: Merge "Background data notification, API clean up."
* commit '9a20fa54c9ba4bd19f2afd6e8cc6e9954e7cb739':
  Background data notification, API clean up.
2011-08-18 15:03:51 -07:00
Jeff Sharkey
9a20fa54c9 Merge "Background data notification, API clean up." 2011-08-18 15:01:10 -07:00
Eino-Ville Talvala
16b67137b8 Make changing white-balance mode always disable AWB lock.
Fixes previously unspecified behavior wrt changing white-balance mode
while AWB is locked.

Change-Id: Ib70597319010cc7e6c88b26cae534ceea4fb46ce
2011-08-18 13:57:49 -07:00
Chris Craik
e2db1b6140 am da2f8df4: Merge "Removed setExtendedTileBounds"
* commit 'da2f8df48bed76a82ed6cad22731e5d5ee002723':
  Removed setExtendedTileBounds
2011-08-18 12:04:58 -07:00
Jeff Sharkey
c58d0a2f91 am 11a8c027: Merge "Preferences padding and scrollbars to match spec."
* commit '11a8c027e409cf01a2946be3dbd46ac806852849':
  Preferences padding and scrollbars to match spec.
2011-08-18 12:04:51 -07:00
Nicolas Roard
872cf224f3 Modify nativeSetProperty to return a boolean indicating if we
need to invalidate the content or not.

corresponding C++ CL: https://android-git.corp.google.com/g/#/c/129130/

bug:5167645
Change-Id: I48a3dd252e2a7ef24f3828e1e2955f86867423dd
2011-08-18 11:53:04 -07:00
Chris Craik
da2f8df48b Merge "Removed setExtendedTileBounds" 2011-08-18 10:56:40 -07:00
Jeff Sharkey
11a8c027e4 Merge "Preferences padding and scrollbars to match spec." 2011-08-18 10:52:03 -07:00