76841 Commits

Author SHA1 Message Date
Chris Wren
67dc9a02cf Defensively reset the default state of layout elements.
Bug: 6500945
Change-Id: Idf7300c44955413e2db26ecbabdef9f67f12f360
2012-05-16 01:03:20 -04:00
Svetoslav Ganov
64899e5c8f Accessiblity focus not following input focus and text nav broken.
1. View is checking if the accessibility focus is its
   descendant it clears the accessibility focus state
   in ViewRootImpl. The check in View was missing the
   case that the descendant may be the view itself. In
   such a case we want the normal clearing code to run.

2. The check whether a view has iterable text for
   accessibility was inverted and text nav was not
   working.

Change-Id: I1a13b6809fb7f205fff76ca09cd449179d06e530
2012-05-15 21:14:10 -07:00
Jim Miller
20830421fe Fix 6398209: Lots of improvements to gesture search from navbar
- Added ability to postpone animations until after window is shown
to ensure the animation is visible on slower devices.
- Fixed layout bug that prevented targets from being located on
outer ring.
- Fixed bug where some motion events were being ignored when handle
wasn't captured.
- Reduced temp object generation in several methods.
- Added containers to start all animations together and to facilitate
delayed start.
- Increased radius of outer ring on phones to closer match mocks.
- Decreased sensitivity of swipe up gesture on navbar so it's harder to false.

Change-Id: I084f840115aef6496a1f87202c4e42d9962c8c3e
2012-05-15 21:10:12 -07:00
Daniel Sandler
ae14715284 Merge "Prevent IME from being closed by the notification panel." into jb-dev 2012-05-15 20:03:42 -07:00
Daniel Sandler
4391b0bc69 Prevent IME from being closed by the notification panel.
Bug: 6450921
Change-Id: I124c3776728456fdd71e57cfcf898b11a8dfc7ec
2012-05-15 22:54:44 -04:00
Romain Guy
d44a16864d Merge "Don't draw onto a hw surface using the software renderer Bug #6485955" into jb-dev 2012-05-15 19:19:41 -07:00
Romain Guy
413baf8a03 Don't draw onto a hw surface using the software renderer
Bug #6485955

If an invalidate gets scheduled right before the EGL surface is destroyed,
the next draw pass is done in software. This causes the software renderer
to connect to the surface forever which prevents the hardware renderer
from coming back when the screen is turned back on.

The fix here is to ignore the draw request when hw acceleration is requested
but not yet available. Proper software fallback will still happen when an
error is encountered with hardware rendering (in which case hw acceleration
will not be marked as requested anymore.)

Change-Id: I1edc4a51c8dd38240aa2345092a18a081a756fc1
2012-05-15 19:15:47 -07:00
Svetoslav Ganov
67d10a5867 Merge "Prefetching of accessibility node infos getting incorrect views." into jb-dev 2012-05-15 18:56:45 -07:00
Svetoslav Ganov
4528b4e882 Prefetching of accessibility node infos getting incorrect views.
1. The prefetcher of accessibility nodes infos was not folloing
   the childForAccessibility relationship when finding the views
   whose node infos to prefetch.

2. NumberPicker was not reporting the correct parent.

bug:6471710

Change-Id: Ia7ad5dd031fb4b3816dfe630d5212201cfafa236
2012-05-15 18:32:23 -07:00
Amith Yamasani
0763e01c78 Merge "Fix amnesia problem in MultiSelectListPreference." into jb-dev 2012-05-15 18:18:43 -07:00
Dianne Hackborn
80fea051ba Merge "Fix some issues with updating the offsets of a window." into jb-dev 2012-05-15 18:15:47 -07:00
Dianne Hackborn
79f5777d7c Merge "A few odds and ends." into jb-dev 2012-05-15 18:15:20 -07:00
Dianne Hackborn
3e52fc2515 Fix some issues with updating the offsets of a window.
- Apply the correct crop rect at this point.
- Apply the correct position by taking into account the frame left/top.
- Don't directly apply the new values if the window is currently
  animating, since we need to go through the whole animation step
  to determine what the correct position is (taking into account
  any transformations).

Change-Id: I15d79354d9779867c49c7c0880faccdead7b021d
2012-05-15 17:58:02 -07:00
Xia Wang
1d366274ba Merge "Fix issue: Disable soft ap when test activity is created. Add timer for soft ap enalbing timer: 6192139" into jb-dev 2012-05-15 17:34:44 -07:00
Eric Fischer
7266e83363 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-15 17:32:09 -07:00
Elliott Hughes
f4ba5c8456 Mention that ProGuard inlines accessors.
Bug: http://code.google.com/p/android/issues/detail?id=27775
Change-Id: I6d8eaf41e3b7de30a9ef0cd03e3d6a9eec92c063
2012-05-15 17:29:33 -07:00
Eric Fischer
fb4d663a5a Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-15 17:28:27 -07:00
Eric Fischer
cf31066f81 Import translations. DO NOT MERGE
Change-Id: Ic1fae2f961943dc4304b2733edb54e65dd5c5526
2012-05-15 17:27:43 -07:00
Robert Greenwalt
b5aff3fde3 Add some logging to NDC.
bug:6492166
Change-Id: Ib7c7a0927d3e920f6c041f7252f3f24c8e597bc7
2012-05-15 17:26:57 -07:00
Christopher Tate
8dfe2b9dd7 Merge restored wifi APs, don't overwrite
We now preserve any already-known AP configuration information when
restoring wifi from backup, instead of flatly overwriting the known
definitions with the historical ones.  This means that if you are
performing setup while connected to an AP unknown in the restored
dataset, you will retain your connection instead of seeing it drop
partway through the restore process because suddenly the supplicant
"forgot" how to connect to it.

Duplicates are resolved by retaining the currently-defined network
configuration and discarding the historical one.

Bug 6443790

Change-Id: I1f44cc6a01fc4ae7c4b680682a10fcb7a0be65dc
2012-05-15 17:18:22 -07:00
Amith Yamasani
cd9ea08d9c Fix amnesia problem in MultiSelectListPreference.
Bug: 6478079

Pointer assignment instead of copy was resulting in mValues being cleared
on next launch, since mValues became the same pointer as mNewValues.

Change-Id: I91014948e4f48056474b3ab31aab6d35e0ad69ca
2012-05-15 17:17:24 -07:00
Adam Powell
e095ceaa79 Merge "Handle returning a result from automatic up navigation from another task." into jb-dev 2012-05-15 17:11:45 -07:00
Eric Fischer
e067d3873b Import translations. DO NOT MERGE
Change-Id: I4f28c7c07dc52c1bb3c320692e7286bceedde177
2012-05-15 17:08:14 -07:00
John Reck
7a59c5aebc Merge "Always do a HIT_TEST" into jb-dev 2012-05-15 16:55:45 -07:00
Adam Powell
3d193d92f6 Handle returning a result from automatic up navigation from another
task.

When navigating up from a different task, if the current activity has
a result set only finish the current activity instead of trying
finishAffinity. Log this so that developers know why this behavior is
happening.

Bug 6465336

Change-Id: Ic7cec6f0c0d5861296091e2aea9344309f5fc600
2012-05-15 16:53:34 -07:00
Michael Chan
2faa075ed7 Merge "Update docs for launching custom app for calendar events" into jb-dev 2012-05-15 16:30:15 -07:00
Xia Wang
2f19a3103c Fix issue: Disable soft ap when test activity is created.
Add timer for soft ap enalbing timer: 6192139

Change-Id: I9f9a6a1f0787efdfbb924af80f7d610c07cd32e5
2012-05-15 16:10:55 -07:00
Fabrice Di Meglio
31a4cbf00c Merge "Fix bug #6495019 Character gets garbled when locale is changed" into jb-dev 2012-05-15 15:29:25 -07:00
Chris Craik
6675f691ed Merge "Invalidate on new picture if scale/content size changes" into jb-dev 2012-05-15 15:28:21 -07:00
clchen
c8654acf63 Merge "Updating the accessibility gestures to remove unused gestures (circles) and adding more examples to improve recognition." into jb-dev 2012-05-15 15:28:08 -07:00
Guang Zhu
5c0a99f3a1 Merge "Expose class name in AppWidgetHostView for accessibility" into jb-dev 2012-05-15 15:28:03 -07:00
clchen
d3a6b725e0 Updating the accessibility gestures to remove unused gestures
(circles) and adding more examples to improve recognition.

Change-Id: Ib89b6efb5ca48bc50f0b51017519304d3d20748e
2012-05-15 15:19:47 -07:00
Stephen Hines
a7ea0d3968 Merge "Add unit tests for convert (with relaxed precision)." into jb-dev 2012-05-15 15:11:55 -07:00
Dianne Hackborn
e302a16235 A few odds and ends.
- Add documentation on "television" UI mode.
- Tweak new documentation and implementation around propagating
  URI grants through choosers.
- Add new activity launch flag for closing system dialogs.

Change-Id: I978c05f0dc3d16e1c55d43631828b9efa6335b19
2012-05-15 14:58:32 -07:00
Fabrice Di Meglio
15cc68ced0 Fix bug #6495019 Character gets garbled when locale is changed
- add missing cached data clearing. The Shaper was caching the HB_Face so
clear them too
- do minor code refactoring

Change-Id: Ifa86cc63815bdb4b51ce688cf16e986415b1e8c1
2012-05-15 14:55:49 -07:00
James Dong
5301a56cc3 Merge "Revert "Remove dependency of libvideoeditor_jni.so on static libs from video editor engine"" into jb-dev 2012-05-15 14:54:38 -07:00
Adam Powell
5ff7efa253 Merge "Appease the simians" into jb-dev 2012-05-15 14:54:00 -07:00
James Dong
f20e4f4b1a Revert "Remove dependency of libvideoeditor_jni.so on static libs from video editor engine"
This reverts commit cbaa821b7f286a54767cc8bc549504ea2ed86e4d.
2012-05-15 14:51:52 -07:00
Adam Powell
a60314c707 Appease the simians
Ensure that the shown panel view is not currently attached to a parent
before adding it to the panel decor view.

Bug 6430928

Change-Id: Ic64ec4222db4754e64afdf06d7d2b77fb5ef825a
2012-05-15 14:33:13 -07:00
Guang Zhu
1affb93764 Expose class name in AppWidgetHostView for accessibility
The class is public, part of framework, exposing it for launcher
testing.

Change-Id: Icd9b0f3e300de964b98de8d9f5f62fdc916584e3
2012-05-15 14:29:33 -07:00
James Dong
6387c8a9cb Merge "Remove dependency of libvideoeditor_jni.so on static libs from video editor engine" into jb-dev 2012-05-15 14:24:13 -07:00
Dianne Hackborn
bea7afc52c Merge "Fix issue #6284404: ArrayIndexOutOfBoundsException in..." into jb-dev 2012-05-15 13:57:06 -07:00
Adam Cohen
0a283346aa Merge "Adjusting default widget padding for sw600 dp devices (issue 6491977)" into jb-dev 2012-05-15 13:47:48 -07:00
Svetoslav Ganov
0bef72450b Merge "Implement the global accessibility action to expand notifications." into jb-dev 2012-05-15 13:41:25 -07:00
Adam Cohen
cd1b10b257 Adjusting default widget padding for sw600 dp devices (issue 6491977)
Change-Id: Ib5ae1452509f4f12c3bfc485b61251490a37960b
2012-05-15 13:38:02 -07:00
Daniel Sandler
8414beac87 Merge "Test new fonts and use correct OS version." into jb-dev 2012-05-15 13:30:41 -07:00
Svetoslav Ganov
5c89f44ea1 Implement the global accessibility action to expand notifications.
bug:6468852

Change-Id: Id4494a07b1ed96773e22dcfdd5991afe3ee98004
2012-05-15 13:28:14 -07:00
George Mount
d97d4f6cf6 Merge "Only open CAB for long-press." into jb-dev 2012-05-15 13:25:03 -07:00
Svetoslav Ganov
dff621968d Merge "Keeping the screen on during gesture detection." into jb-dev 2012-05-15 13:21:16 -07:00
Jeff Sharkey
df7adb3a44 Merge "Enable haptic feedback from ILockSettings." into jb-dev 2012-05-15 13:16:45 -07:00