Commit Graph

20403 Commits

Author SHA1 Message Date
Dianne Hackborn
2cef70aa32 am f0ec2dd3: Merge "Fix problems where we were allocating TypedArray when not needed."
* commit 'f0ec2dd3270b60b1516293190757de298f187957':
  Fix problems where we were allocating TypedArray when not needed.
2011-09-12 17:54:27 -07:00
Dianne Hackborn
f0ec2dd327 Merge "Fix problems where we were allocating TypedArray when not needed." 2011-09-12 17:52:54 -07:00
Svetoslav Ganov
2638b99b88 am 8a6d7323: Merge "CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation."
* commit '8a6d732360c9dbcdf1d2b4da93d150f16af8507b':
  CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation.
2011-09-12 17:07:10 -07:00
Svetoslav Ganov
8a6d732360 Merge "CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation." 2011-09-12 17:05:44 -07:00
Dianne Hackborn
ab0f485e64 Fix problems where we were allocating TypedArray when not needed.
Fixes up some recycling of TypedArray objects to reduce the
number we need to allocate during inflation etc.

Change-Id: I948dccc052997779001eaa99db2a710b04be01ae
2011-09-12 17:04:32 -07:00
Svetoslav Ganov
222de674ab am bd5c9768: Merge "Adding accessibility delegate mechanism for backwards compatibility support."
* commit 'bd5c9768c4432c6cb2bfa5f521d49ff03c087ff8':
  Adding accessibility delegate mechanism for backwards compatibility support.
2011-09-12 17:00:31 -07:00
Svetoslav Ganov
bd5c9768c4 Merge "Adding accessibility delegate mechanism for backwards compatibility support." 2011-09-12 16:58:13 -07:00
Jeff Sharkey
e4c7ed4292 am e44365b5: Merge "Data usage structure optimizations."
* commit 'e44365b539056b84a3ab57f5a9338d182eb10033':
  Data usage structure optimizations.
2011-09-12 16:53:50 -07:00
Jeff Sharkey
e44365b539 Merge "Data usage structure optimizations." 2011-09-12 16:50:34 -07:00
Svetoslav Ganov
34ffaabc30 CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation.
bug:5160586

Change-Id: I3861cfc398566805cdf3c551cbf20dc7b5c208d9
2011-09-12 16:19:37 -07:00
Jeff Sharkey
69b0f63af2 Data usage structure optimizations.
Driven by traceview hotspots found in Settings UI.

Change-Id: I614a049523c526b7fcd12fffdf53a3e4723623e4
2011-09-12 16:13:20 -07:00
Svetoslav Ganov
031d9c1389 Adding accessibility delegate mechanism for backwards compatibility support.
1. Added an AccessibilityDelegate class in View which can be set by
   a client that wants to cutomize accessibility behavior via
   composition as opposed to inheritance. Insead overriding a new method in
   View thus being bound to the API version that introduced this
   method a developer can conditionally inject the accessibility
   customization if the platform API version is heigh enough. The
   developer will have to override the method of interest of the
   delegate. The default implementation of the delegate methods is
   the same as that of View in the case that there is no delegate
   set. If a delegate is set calling an accessibility related method
   on View will be handed off to the corresponsing method of the
   delegate.

bug:5259555

Change-Id: I00e750e22e5e7164a1b571cb3d12ecaf4ab93db4
2011-09-12 15:42:19 -07:00
Dianne Hackborn
b73f3175a7 am 83f9dfe0: Merge "Add boot mode where only "core apps" are started."
* commit '83f9dfe0f085a01ebaa9f3ba6205af20e20bbe78':
  Add boot mode where only "core apps" are started.
2011-09-12 15:09:14 -07:00
Dianne Hackborn
83f9dfe0f0 Merge "Add boot mode where only "core apps" are started." 2011-09-12 15:07:51 -07:00
Gilles Debunne
d6fe256ae4 am fc7a8081: Merge "If suggestion span is not enable, removes the suggestion span (so no underline is displayed), and do not try to display the suggestion pop-up."
* commit 'fc7a8081f8d9ca3c2891d3c2d748dc26f8139ed6':
  If suggestion span is not enable, removes the suggestion span (so no underline is displayed), and do not try to display the suggestion pop-up.
2011-09-12 13:32:40 -07:00
Gilles Debunne
fc7a8081f8 Merge "If suggestion span is not enable, removes the suggestion span (so no underline is displayed), and do not try to display the suggestion pop-up." 2011-09-12 13:30:26 -07:00
Dianne Hackborn
d2509fd835 Add boot mode where only "core apps" are started.
A core app is one that has coreApp="true" in its manifest tag.

The system can successfully boot (though a little painfully) with
only framework-res.apk, SettingsProvider.apk, SystemUI.apk,
DefaultContainerService.apk, and Launcher2.apk set as core apps.

Currently this boot mode is always turned off.

Change-Id: Ieaa4a8031c2c391a12996aa8d8b1d65fc2b09d6b
2011-09-12 12:29:43 -07:00
Fred Quintana
efac6e1902 am 76eb1a25: Merge "Revert "Make the SyncManager timeout syncs if it takes too long to bind to them.""
* commit '76eb1a251808438771a237a92a0ab0903baeea7e':
  Revert "Make the SyncManager timeout syncs if it takes too long to bind to them."
2011-09-12 12:19:55 -07:00
Fred Quintana
76eb1a2518 Merge "Revert "Make the SyncManager timeout syncs if it takes too long to bind to them."" 2011-09-12 12:17:54 -07:00
Jeff Brown
eab3f9de49 am 6515f50d: Merge "Handle DOWN/MOVE/UP gestures with fling. Bug: 5265814"
* commit '6515f50d0c759cfff163aaf7f42a970019d93923':
  Handle DOWN/MOVE/UP gestures with fling. Bug: 5265814
2011-09-12 11:28:21 -07:00
Jeff Brown
6515f50d0c Merge "Handle DOWN/MOVE/UP gestures with fling. Bug: 5265814" 2011-09-12 11:26:58 -07:00
Gilles Debunne
f9d99d5338 am e9a9dbe7: Merge "The back key stops selection mode in extracted text mode."
* commit 'e9a9dbe729f4e4d4a54a7783e9768b9742240e25':
  The back key stops selection mode in extracted text mode.
2011-09-12 11:21:03 -07:00
Gilles Debunne
e9a9dbe729 Merge "The back key stops selection mode in extracted text mode." 2011-09-12 11:19:06 -07:00
Fred Quintana
87b146625a Revert "Make the SyncManager timeout syncs if it takes too long to bind to them."
This reverts commit bf3c634dc5

Bug: 5290505
Change-Id: I11a681b48360f5c200a0602c4daf30ae82b4209c
2011-09-12 10:50:53 -07:00
Luca Zanolin
e076045f10 If suggestion span is not enable, removes the suggestion span (so no underline is displayed),
and do not try to display the suggestion pop-up.

Bug: 5267093

Change-Id: Ia6f2596d0c62885ef9affeb478e00d3b92d76aac
2011-09-12 18:07:31 +01:00
Mangesh Ghiware
c031597180 am fa0d2316: Merge "On zoom to overview, reflow text, if necessary."
* commit 'fa0d2316f98ab787ff26383ff651dc31aac60ffd':
  On zoom to overview, reflow text, if necessary.
2011-09-12 09:50:06 -07:00
Jaikumar Ganesh
44c828e7ca am 049f5cc3: Merge "Don\'t override the hash code for the channel."
* commit '049f5cc3de8e30d05a26e135ab0978b3e1fe62b4':
  Don't override the hash code for the channel.
2011-09-12 09:48:06 -07:00
Mangesh Ghiware
fa0d2316f9 Merge "On zoom to overview, reflow text, if necessary." 2011-09-12 09:46:49 -07:00
Jaikumar Ganesh
049f5cc3de Merge "Don't override the hash code for the channel." 2011-09-12 09:45:20 -07:00
Ben Komalo
4b2efcb26f am 6c048260: Merge "Revert encryption mapping for device wipes."
* commit '6c048260f30d9bba1a83c4f79388cd6b3109be7d':
  Revert encryption mapping for device wipes.
2011-09-11 16:53:00 -07:00
Ben Komalo
6c048260f3 Merge "Revert encryption mapping for device wipes." 2011-09-11 16:48:32 -07:00
Dianne Hackborn
54869071db am fe75cb34: Merge "Fix inflating of animations."
* commit 'fe75cb342e33e7c465709bb34ab7abae9e9871f6':
  Fix inflating of animations.
2011-09-11 13:09:40 -07:00
Dianne Hackborn
fe75cb342e Merge "Fix inflating of animations." 2011-09-11 13:07:24 -07:00
Chet Haase
245b919119 am 6a6977e8: Merge "Fix 5266335: bad DIRTY/invalidation logic"
* commit '6a6977e8728f3a3d209daadf587079dc7369050b':
  Fix 5266335: bad DIRTY/invalidation logic
2011-09-11 13:00:38 -07:00
Chet Haase
6a6977e872 Merge "Fix 5266335: bad DIRTY/invalidation logic" 2011-09-11 12:58:45 -07:00
Dianne Hackborn
8962028b6e Fix inflating of animations.
Need to define attributes for animation set, to have correct indices.

Also small fixes elsewhere.

Change-Id: If596147e8aee4ebffe4e184872070341eff6df73
2011-09-11 12:47:45 -07:00
Chet Haase
f186f30a7c Fix 5266335: bad DIRTY/invalidation logic
The DIRTY flag is used to track which elements of the view hierarchy need
to be redrawn on the next drawing operation. This flag is set on the parent
hierarchy of a view when that view is invalidated. There is an optimization for
opaque views that tells the parent that it is dirty, but that it need not
redraw its own content because the view will cover it (since it is opaque).

This dirty-opaque logic breaks down in the current code because we only set
these dirty flags on the parent hierarchy, not on the view itself. In the situation
raised by this bug, we would invalidate the parent container directly (which does
not case the dirty flag to be set), then we would invalidate a child of that view.
Because the child is opaque, the DIRTY_OPAQUE flag would be set on the parent
container. This would cause us, in the later rendering process, to skip the
drawing on that parent container, assuming that it was only asked to be redrawn
because of its opaque child's invalidation.

The fix is to now set the DIRTY flag on an invalidated view, not just on its parent
hierarchy. The DIRTY_OPAQUE logic will avoid setting the opaque flag on views/parents
that are already marked DIRTY, thus an invalidated parent will be correctly drawn
during the drawing process.

Change-Id: Ib5e014a125a4f5168f6a5a3166e941474659aca5
2011-09-11 11:06:06 -07:00
Svetoslav Ganov
a008efb8f7 am fd19906b: Merge "Inter process interrogation ocassionally gets stuck."
* commit 'fd19906b50927834787403ca984f6fda93b53410':
  Inter process interrogation ocassionally gets stuck.
2011-09-09 18:59:26 -07:00
Svetoslav Ganov
fd19906b50 Merge "Inter process interrogation ocassionally gets stuck." 2011-09-09 18:57:35 -07:00
Svetoslav Ganov
6bc5e53001 Inter process interrogation ocassionally gets stuck.
1. There was a bug that was not handling correctly the
   case for which the interrogator requests an accessibility
   node info and the message describing how to fetch the
   latter for the same process case was delivered after the
   code that checks whether the message is there in order to
   dispatch it is executed. Now the message handling is done
   correctly - the caller checks if the message is present and
   if so processes it, otherwise the caller sleeps and is
   interrupted if such a message arrives.

bug:5138933

Change-Id: I4c2940b46c9a52a51c5ee48b83ca6811489765d6
2011-09-09 18:52:26 -07:00
Adam Powell
eb65673d04 am 81cca039: Merge "Fix metrics on Holo progress dialogs"
* commit '81cca039bdbc7f9fe8aefd68ce2cf22978678b01':
  Fix metrics on Holo progress dialogs
2011-09-09 17:49:40 -07:00
Adam Powell
81cca039bd Merge "Fix metrics on Holo progress dialogs" 2011-09-09 17:47:23 -07:00
Adam Powell
ba3c377ba4 Fix metrics on Holo progress dialogs
Change-Id: I8818d002dcee0ca6d6deead9e0403c07e8ef4460
2011-09-09 17:40:06 -07:00
Romain Guy
ebb10b0a37 am 3593fc4c: Merge "Go faster!!!!"
* commit '3593fc4c3fac8d957db0171387472e7b812c9073':
  Go faster!!!!
2011-09-09 17:37:12 -07:00
Romain Guy
3593fc4c3f Merge "Go faster!!!!" 2011-09-09 17:35:02 -07:00
Jeff Brown
78f6e63031 Handle DOWN/MOVE/UP gestures with fling.
Bug: 5265814

When MOVE events are batched, a ListView may not receive only
one MOVE event followed immediately by an UP in the case of
a quick fling.  Unfortunately, the old code relied on there
being at least one additional MOVE event following the first
in order to really scroll or fling.

This change extracts common code from onTouchEvent to
handle scrolls as soon as they are started if there is additional
remaining motion beyond the initial touch slop (taken care of by
mMotionCorrection).

Change-Id: I8c8f03f580bfba96aa69cf111d245ba7fd3b4c2a
2011-09-09 17:15:31 -07:00
Gilles Debunne
d091186b12 am 51322732: Hide method to fix the build
* commit '51322732739b355dd842abc9cef34df8613b2626':
  Hide method to fix the build
2011-09-09 17:01:18 -07:00
Gilles Debunne
5132273273 Hide method to fix the build
Change-Id: I5a556454a722bf037932632fa7e6ee6a2832a68d
2011-09-09 16:46:42 -07:00
Mangesh Ghiware
886b372b52 On zoom to overview, reflow text, if necessary.
Reset the text wrap scale to the correct value (i.e., reading level
scale) on zoom to overview. This addresses the scenario where text is
wrapped at a larger scale following a pinch zoom and double tap to
reflow.

Bug: 5254253
Change-Id: I57f706ef4254dd3f194cc35f109dd48b61b72f73
2011-09-09 16:22:51 -07:00
Ben Murdoch
3cd142c78d am a3809b34: Merge "Relax form autocomplete conditions"
* commit 'a3809b344c9f528c5c510dfc48ed9049a17cb64b':
  Relax form autocomplete conditions
2011-09-09 16:16:03 -07:00