Commit Graph

2912 Commits

Author SHA1 Message Date
Dianne Hackborn
d41bf1a287 am 014afea3: am a482d366: Merge "Fixed typo in findAccessibilityFocus API." into jb-dev
* commit '014afea3cec7ff93d195753103478826796c310f':
  Fixed typo in findAccessibilityFocus API.
2012-05-10 11:39:14 -07:00
Jeff Brown
a552661948 am 3631131e: am 571d4cbe: Merge "Fix bugs in fallback key handling." into jb-dev
* commit '3631131e5fcb939931f985bffdb14af71dc0f388':
  Fix bugs in fallback key handling.
2012-05-10 11:38:27 -07:00
Dianne Hackborn
455af7f7b0 am 67cc7f2e: am a53de062: Add callback hack to find out when to load system properties.
* commit '67cc7f2e60bc6532d00bb3c473b9a1d32cdafce2':
  Add callback hack to find out when to load system properties.
2012-05-10 09:33:27 -07:00
Dianne Hackborn
014afea3ce am a482d366: Merge "Fixed typo in findAccessibilityFocus API." into jb-dev
* commit 'a482d36635cbfbbfb4aee9fc79d55514bf6b7464':
  Fixed typo in findAccessibilityFocus API.
2012-05-10 09:26:15 -07:00
Jeff Brown
3631131e5f am 571d4cbe: Merge "Fix bugs in fallback key handling." into jb-dev
* commit '571d4cbeec4adad050b8e188770e7e7dedc558f1':
  Fix bugs in fallback key handling.
2012-05-10 09:25:36 -07:00
Dianne Hackborn
67cc7f2e60 am a53de062: Add callback hack to find out when to load system properties.
* commit 'a53de0629f3b94472c0f160f5bbe1090b020feab':
  Add callback hack to find out when to load system properties.
2012-05-10 09:24:07 -07:00
Dianne Hackborn
a482d36635 Merge "Fixed typo in findAccessibilityFocus API." into jb-dev 2012-05-09 21:40:00 -07:00
alanv
57aab75544 Fixed typo in findAccessibilityFocus API.
Change-Id: I3ca1448792a1b712f781c1bfa73823ca08ea3d39
2012-05-09 19:52:29 -07:00
Jeff Brown
571d4cbeec Merge "Fix bugs in fallback key handling." into jb-dev 2012-05-09 17:35:07 -07:00
Dianne Hackborn
a53de0629f Add callback hack to find out when to load system properties.
Use this to reload the trace and layout bounds properties.

This is ONLY for debugging.

Change-Id: I1c4bdb52c823520c352c5bac45fa9ee31160793c
2012-05-09 14:53:20 -07:00
Jeff Brown
fd23e3ed97 Fix bugs in fallback key handling.
If a fallback key is generated using a key plus a modifier,
then it's possible we might get a different fallback key
generated if the modifier has changed.  PhoneWindowManager
needs to remember which fallback is last generated for a
given key code so that it can apply the same fallback action.

When generating cancellation events, it's important to have
preserved the policyFlags of the original event.  Otherwise
we may not dispatch the cancellation properly.  For example,
some actions are not performed if the POLICY_FLAG_TRUSTED
is not specified.

Remember the metaState associated with a key event so we can
include it when canceled.

Tell the policy when a fallback is being cancelled so that it
can clean up its state.

After a SEARCH shortcut is invoked, clear the flag indicating
that a shortcut is pending.  This is to prevent SEARCH from
getting stuck down in the case where we might forget to send
the up.  (Shouldn't happen anymore after the prior fixes.)

Bug: 5616255
Change-Id: I68f0a9679c7af464eaf31c099f2aa50b53fecf1f
2012-05-09 13:34:28 -07:00
Svetoslav Ganov
7956d5a019 am 72912116: am a3b67289: Merge "Fixing View.getBoundsOnScreen()" into jb-dev
* commit '72912116cf0ff08dc655f065cff173d53b7152bd':
  Fixing View.getBoundsOnScreen()
2012-05-09 10:10:33 -07:00
Jeff Brown
eda88f0089 am 3d42f8f8: am 9ac663ef: Merge "Disable input dispatch until boot finished." into jb-dev
* commit '3d42f8f8cab56ab33cb587a7aa857051d92ada90':
  Disable input dispatch until boot finished.
2012-05-09 10:10:09 -07:00
Romain Guy
1313b08011 am 3607c338: am 27ef44c4: Merge "Invalidate display lists immediately when views are removed/added quickly" into jb-dev
* commit '3607c338c75bbfbc7e3ac61b5ead4eaf1ac61427':
  Invalidate display lists immediately when views are removed/added quickly
2012-05-09 10:09:59 -07:00
Svetoslav Ganov
2da197dff2 am aecb9b59: am 59f3f585: Merge "Add performAccessibilityAction to AccessibilityDelegate." into jb-dev
* commit 'aecb9b59e6c9e9a864bf4b302f978fb950df09ff':
  Add performAccessibilityAction to AccessibilityDelegate.
2012-05-09 10:09:44 -07:00
Svetoslav Ganov
eacfff7f47 am c2f5e797: am 6704c233: Merge "AccessibilityNodeInfo for visible views should reported." into jb-dev
* commit 'c2f5e797506fbc4235d4940846f3e2110e67daa6':
  AccessibilityNodeInfo for visible views should reported.
2012-05-09 10:09:32 -07:00
Svetoslav Ganov
529ddb895e am ca1e49ca: am cdbbecf3: Merge "Accessibility focus on temporary detached view not cleared." into jb-dev
* commit 'ca1e49cad5b5eebdd47039289b604bea6f00e8f7':
  Accessibility focus on temporary detached view not cleared.
2012-05-09 10:09:29 -07:00
satok
f1ce8554ba am c496652b: am 05f5236f: Merge "Make InputMethodSubtype thread safe" into jb-dev
* commit 'c496652b867b046cf825d1e0c000504e65d9be67':
  Make InputMethodSubtype thread safe
2012-05-09 10:08:42 -07:00
Jeff Brown
1c08c1b0f1 am e8e94a07: am 41a4704b: Merge "Small tweaks to orientation." into jb-dev
* commit 'e8e94a0743eae912658865645db75619533449b3':
  Small tweaks to orientation.
2012-05-09 10:08:26 -07:00
Svetoslav Ganov
807a4331ab am ba23196f: am 911b0c0b: Merge "Accessibility focus actinos incorectly set on accessibility node info." into jb-dev
* commit 'ba23196f1626409334f74e2d7e7cb34bef0b6f7f':
  Accessibility focus actinos incorectly set on accessibility node info.
2012-05-09 10:08:13 -07:00
Svetoslav Ganov
4833ca2903 am 755b2146: am b2ee0d57: Merge "Text traversal at various granularities." into jb-dev
* commit '755b2146735c15deb0eb611430a7da1e363d82a1':
  Text traversal at various granularities.
2012-05-09 10:08:03 -07:00
Romain Guy
b166539a47 am 0064c032: am e79e8758: Merge "Remove ViewTreeObserver allocations" into jb-dev
* commit '0064c032f4a890970c285567520c057976909ea9':
  Remove ViewTreeObserver allocations
2012-05-09 10:07:52 -07:00
Jeff Brown
012c9ed9ce am 1f455691: am 2fd54c41: Merge "Improve animation timing." into jb-dev
* commit '1f455691fe344e9dd44b092036f0dc8b8b00cce1':
  Improve animation timing.
2012-05-09 10:07:43 -07:00
Svetoslav Ganov
72912116cf am a3b67289: Merge "Fixing View.getBoundsOnScreen()" into jb-dev
* commit 'a3b6728933c13599f3b2f22aad7016cdaa04d706':
  Fixing View.getBoundsOnScreen()
2012-05-09 01:49:10 -07:00
Jeff Brown
3d42f8f8ca am 9ac663ef: Merge "Disable input dispatch until boot finished." into jb-dev
* commit '9ac663ef9ab6ec455403d1e71bf897c34d3b311e':
  Disable input dispatch until boot finished.
2012-05-09 01:48:32 -07:00
Romain Guy
3607c338c7 am 27ef44c4: Merge "Invalidate display lists immediately when views are removed/added quickly" into jb-dev
* commit '27ef44c46d24a5800e227d945ffede813d7f28f7':
  Invalidate display lists immediately when views are removed/added quickly
2012-05-09 01:48:23 -07:00
Svetoslav Ganov
aecb9b59e6 am 59f3f585: Merge "Add performAccessibilityAction to AccessibilityDelegate." into jb-dev
* commit '59f3f5853cd05103b5a83f5ddbe584a5270a9c6b':
  Add performAccessibilityAction to AccessibilityDelegate.
2012-05-09 01:47:55 -07:00
Svetoslav Ganov
c2f5e79750 am 6704c233: Merge "AccessibilityNodeInfo for visible views should reported." into jb-dev
* commit '6704c233390743890d23338a2329dcda5709b810':
  AccessibilityNodeInfo for visible views should reported.
2012-05-09 01:47:38 -07:00
Svetoslav Ganov
ca1e49cad5 am cdbbecf3: Merge "Accessibility focus on temporary detached view not cleared." into jb-dev
* commit 'cdbbecf357bf47e6eee6ba54caee5791834b5deb':
  Accessibility focus on temporary detached view not cleared.
2012-05-09 01:47:34 -07:00
satok
c496652b86 am 05f5236f: Merge "Make InputMethodSubtype thread safe" into jb-dev
* commit '05f5236f6093b7f518677289f023f033832218f7':
  Make InputMethodSubtype thread safe
2012-05-09 01:46:13 -07:00
Jeff Brown
e8e94a0743 am 41a4704b: Merge "Small tweaks to orientation." into jb-dev
* commit '41a4704b09f98723f4ddec895c9f2e651a5c0c8e':
  Small tweaks to orientation.
2012-05-09 01:45:49 -07:00
Svetoslav Ganov
ba23196f16 am 911b0c0b: Merge "Accessibility focus actinos incorectly set on accessibility node info." into jb-dev
* commit '911b0c0b15ae4f14a6f755278679ef9c6a6e6c05':
  Accessibility focus actinos incorectly set on accessibility node info.
2012-05-09 01:45:37 -07:00
Svetoslav Ganov
755b214673 am b2ee0d57: Merge "Text traversal at various granularities." into jb-dev
* commit 'b2ee0d57672faf42ca88fa878dc7e688046c915e':
  Text traversal at various granularities.
2012-05-09 01:45:24 -07:00
Romain Guy
0064c032f4 am e79e8758: Merge "Remove ViewTreeObserver allocations" into jb-dev
* commit 'e79e87581280f4f3b26b1d4496b34cbb9aa39ae5':
  Remove ViewTreeObserver allocations
2012-05-09 01:45:18 -07:00
Jeff Brown
1f455691fe am 2fd54c41: Merge "Improve animation timing." into jb-dev
* commit '2fd54c416b6f648e93bfa9dcb34fe8c6e4847a0f':
  Improve animation timing.
2012-05-09 01:44:57 -07:00
Svetoslav Ganov
14b2b74c13 Fixing View.getBoundsOnScreen()
1. The function was not setting the initial rect properly.

bug:6462629

Change-Id: I7a832a979576fc5745794c68fb8414257efb21dd
2012-05-08 16:41:28 -07:00
Jeff Brown
9ac663ef9a Merge "Disable input dispatch until boot finished." into jb-dev 2012-05-08 15:15:56 -07:00
Romain Guy
27ef44c46d Merge "Invalidate display lists immediately when views are removed/added quickly" into jb-dev 2012-05-08 14:52:48 -07:00
Romain Guy
2a0f228a30 Invalidate display lists immediately when views are removed/added quickly
The deferred invalidation of display list could cause problems with
view like TextureView who destroy resources when detached from the
window but only recreate them later at draw time. This would cause
temporary flashes or other visual glitches on screen.

Change-Id: I018488ba09743df21c6434ea610813014fb80a85
2012-05-08 14:46:26 -07:00
Jeff Brown
c042ee2acd Disable input dispatch until boot finished.
Bug: 6263070
Change-Id: I25e15e3d8af8eb3343c7b684fec345337d9f6aab
2012-05-08 13:58:32 -07:00
Svetoslav Ganov
59f3f5853c Merge "Add performAccessibilityAction to AccessibilityDelegate." into jb-dev 2012-05-08 12:52:57 -07:00
Svetoslav Ganov
6704c23339 Merge "AccessibilityNodeInfo for visible views should reported." into jb-dev 2012-05-08 11:32:20 -07:00
Philip Milne
3ed259a43c am 2a52d26c: am 7bb66c9c: Hide optical bounds feature for JB.
* commit '2a52d26c0b917de8b1e4d20ebad87b9b3825f6ca':
  Hide optical bounds feature for JB.
2012-05-08 11:32:06 -07:00
Svetoslav Ganov
cdbbecf357 Merge "Accessibility focus on temporary detached view not cleared." into jb-dev 2012-05-08 11:29:37 -07:00
Svetoslav Ganov
961bf0e9b4 Accessibility focus on temporary detached view not cleared.
1. When a view that has accessibility focus is temporary detached
   we try to draw the focus highlight and crash. Since the detached
   view will be modified and then either attached or detached from
   the window we should not keep accessibility focus on a temporary
   detached view. Otherwise, we may have a scenario where the user
   thinks he is in one item scroll acound and being in completely
   different item because of the view being recycled but the user
   has no clue.

2. Clearing accessibility focus when the view is removed from the
   parent as opposed as when it is detached from the window. Since
   we may have transitioning views for removal we do not want
   accessibility focus on such views during the anumation.

bug:6457339

Change-Id: I62287a089ec6850fb1d691ae26dea54e1da39c94
2012-05-08 09:50:28 -07:00
satok
05f5236f60 Merge "Make InputMethodSubtype thread safe" into jb-dev 2012-05-08 00:04:16 -07:00
satok
e52eb4e289 Make InputMethodSubtype thread safe
Bug: 6327800
Change-Id: I549d1ec377793e918800d919b39fd8f4b6f0db41
2012-05-08 14:45:09 +09:00
Jeff Brown
41a4704b09 Merge "Small tweaks to orientation." into jb-dev 2012-05-07 18:55:20 -07:00
alanv
8eeefefc84 Add performAccessibilityAction to AccessibilityDelegate.
Change-Id: I43dff2ced959af5d8a9ce9ed18858a6e74cb35c6
2012-05-07 18:42:31 -07:00
Jeff Brown
daf5d894ef Small tweaks to orientation.
Improved threshold for detecting external acceleration.

Bug: 5976859
Change-Id: Iaf2298fba8eda72d1cacbb2f3aea72f460a9262f
2012-05-07 18:30:18 -07:00