Commit Graph

2926 Commits

Author SHA1 Message Date
Dianne Hackborn
5c2a9ddcf2 am 00389a51: am b1b55e6c: Fix build.
* commit '00389a5198d17a650b00b981b5a9174dbb88fc9f':
  Fix build.
2012-05-10 16:34:33 -07:00
Dianne Hackborn
00389a5198 am b1b55e6c: Fix build.
* commit 'b1b55e6c6b079d75c13dcc23ca3ebce847bb42f8':
  Fix build.
2012-05-10 16:30:54 -07:00
Dianne Hackborn
b1b55e6c6b Fix build.
Change-Id: Ie255c93442d0b62032ac25e6de97f2c03e5df3ba
2012-05-10 16:25:54 -07:00
Dianne Hackborn
50d9921502 am de888fec: am 255d1e15: Merge "Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting..." into jb-dev
* commit 'de888fec6b7c2f2c9a32a7e9faf38083f67da4d8':
  Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting...
2012-05-10 15:40:35 -07:00
Dianne Hackborn
de888fec6b am 255d1e15: Merge "Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting..." into jb-dev
* commit '255d1e1540833fb1980791b2e340cad4cb18b3b7':
  Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting...
2012-05-10 15:36:12 -07:00
Dianne Hackborn
255d1e1540 Merge "Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting..." into jb-dev 2012-05-10 15:32:32 -07:00
Dianne Hackborn
cf67578c7f Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting...
...incorrect visibility when the ActionBar overflow menu is opened

Don't report layout flags in system UI visibility callback.  Update
docs to reflect this.

Change-Id: Icfa411b5537de037cafbcac04991101e8b9138c4
2012-05-10 15:07:24 -07:00
Svetoslav Ganov
86ba4aaa71 am 37fd7976: am a1dc761c: Adding scroll actions to accessibility node info.
* commit '37fd797699eb8e481d69f7f5a19cd05b8a5b7170':
  Adding scroll actions to accessibility node info.
2012-05-10 12:43:12 -07:00
Svetoslav Ganov
37fd797699 am a1dc761c: Adding scroll actions to accessibility node info.
* commit 'a1dc761c8322355eb1bb71d3d6c9c603c1d1fc0f':
  Adding scroll actions to accessibility node info.
2012-05-10 12:39:55 -07:00
Svetoslav Ganov
a1dc761c83 Adding scroll actions to accessibility node info.
1. Scrolling actions are crucial for enabling a gesture based
   traversal of the UI and specifically scrollable containers
   especially lists and anything backed by an adapter. Since
   accessibility focus can land only attached views, it cannot
   visit views for adapter items not shown on the screen.
   Auto scrolling the list as a result of putting access focus
   ot a list item does not work well since the user may get
   trapped in a long list. Adding an accessibility node provider
   to emit virtual views for one view before the first and one
   after the last is complex and suffers the limitation of trapping
   the user. Accessibility service need an explicit scroll actions
   which may be performed upon an explicit user action. Hence,
   the user is informed for the start/end of the visible part of
   the list and he makes a deliberate choice to scroll. This will
   benefit also people developing Braille devices since they can
   scroll the content without telling the user to stop using the
   Braille controller and take the device out of his pocket to scroll
   and go back to the Braille controller.

NOTE: Without these action large portions of the screen will be
    hard to access since users will have to touch and explore to
    find and scroll the list.

Change-Id: Iafcf54d4967893205872b3649025a4e347a299ed
2012-05-10 12:28:04 -07:00
Michael Jurka
e5c511a1cc am bf1b5fa9: am 421dceb0: Merge "Making transition out of recents look better" into jb-dev
* commit 'bf1b5fa944158044a595706924b935b5577ec0f0':
  Making transition out of recents look better
2012-05-10 11:57:33 -07:00
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
Michael Jurka
bf1b5fa944 am 421dceb0: Merge "Making transition out of recents look better" into jb-dev
* commit '421dceb0a4fd8f20349a0de277f82b56e71cb90b':
  Making transition out of recents look better
2012-05-10 10:45:30 -07:00
Michael Jurka
421dceb0a4 Merge "Making transition out of recents look better" into jb-dev 2012-05-10 10:35:19 -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
Michael Jurka
21385cd83d Making transition out of recents look better
- Fading out recents first, then scaling up app
thumbnail
- Fade Recents out over 130ms
- Delay the window animation for 200ms first,
then animate for 200ms (previously we didn't delay
and then animated for 300ms)

Bug: 6390075

Change-Id: Ia8c753bf7ee03d2acef6eb2772b28d88fe10a682
2012-05-09 20:25:28 -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