Commit Graph

23018 Commits

Author SHA1 Message Date
Dianne Hackborn
d7b376f223 am 2bccea24: Merge "Fix issue #6499411: Characters not displayed (but suggestion bar is working)" into jb-dev
* commit '2bccea2461556a525c5c65be0364b5b9404c8651':
  Fix issue #6499411: Characters not displayed (but suggestion bar is working)
2012-05-22 13:16:57 -07:00
Dianne Hackborn
ac92087a9a Fix issue #6499411: Characters not displayed (but suggestion bar is working)
The problem was that when dismissing the lock screen, the window manager
would briefly turn off force hiding when it started animating the transition
and then turn it back on until the transition was done.

This would cause it to briefly switch focus to the app behind and then
take focus off it.  The app would find out it got focus, and re-start
input on itself, asking the input method service to do so.  At this
point the input method service would ask the window manager if the
caller really had focus, and it may or may not be told no depending
on the timing.  If it is told no, then it doesn't allow the focus
switch to happen at that point, ignoring the new input connection,
and ultimately when focus does really switch the IME is left talking
with an old dead input connection.

I added some code to the input connection to make sure when we are
no longer using one that we mark it inactive and can't use it.  This
bug was especially difficult to track down because it would only
visibly break when a GC happened during this time, causing the weak
reference on the input connection to become null.  With this change
it will now always break (though in the scenario here only if you
hit the race condition correctly).

Change-Id: I81a6164dc140c548da1a9736e42cd253e8238a80
2012-05-22 12:15:15 -07:00
George Mount
162050737c am 37f29abe: Merge "DO NOT MERGE Consider current scroll position to move text field into view." into jb-dev
* commit '37f29abe1d4a47b7860db66bc38f9f4d21c2817a':
  DO NOT MERGE Consider current scroll position to move text field into view.
2012-05-22 11:46:37 -07:00
George Mount
5e556e606b am 76cf7816: Merge "DO NOT MERGE Consider fixed layers when scrolling the edit box." into jb-dev
* commit '76cf78165f5f495f7f14a2442c5b41ae346f14fc':
  DO NOT MERGE Consider fixed layers when scrolling the edit box.
2012-05-22 11:46:35 -07:00
George Mount
12221d1540 DO NOT MERGE Consider current scroll position to move text field into view.
Bug 6530008

Change-Id: I6542dab70b64f809ec5dd4deb3511f8aa38278e1
2012-05-22 09:46:13 -07:00
George Mount
b999b22eca DO NOT MERGE Consider fixed layers when scrolling the edit box.
Bug 6147580
 Webkit Change: I810891decf0bad682e90f29f0f65c6b765b7d6d6

Change-Id: Idaa538824e611acd64eb5a4ccb7866d3c978a077
2012-05-22 09:40:23 -07:00
Daniel Sandler
f2326a4995 am c40a7fe0: Merge "Fix three-line notifications." into jb-dev
* commit 'c40a7fe00257d5742bd10bc611cd11d1600f469f':
  Fix three-line notifications.
2012-05-22 08:20:51 -07:00
Daniel Sandler
c40a7fe002 Merge "Fix three-line notifications." into jb-dev 2012-05-22 08:17:29 -07:00
Jeff Brown
4535899b9c am 1957fd27: Merge "Add public API to Choreographer." into jb-dev
* commit '1957fd271f4e76c471d483df98cf23abf3e92360':
  Add public API to Choreographer.
2012-05-21 18:35:10 -07:00
Jeff Brown
1957fd271f Merge "Add public API to Choreographer." into jb-dev 2012-05-21 18:32:26 -07:00
Svetoslav Ganov
d429f8772c am 084c63eb: Merge "Fix accessibility actions in AbsListView." into jb-dev
* commit '084c63eb6a44fdab7507f828062a2c4a8872f8c8':
  Fix accessibility actions in AbsListView.
2012-05-21 18:17:55 -07:00
Svetoslav Ganov
084c63eb6a Merge "Fix accessibility actions in AbsListView." into jb-dev 2012-05-21 18:15:48 -07:00
Jeff Brown
cae804901e Add public API to Choreographer.
The API allows applications to post FrameCallbacks that will
run on vsync and that are provided with the frame time.

Change-Id: Ieb39fcdd085ef8a57805b8f78e7a307f416ff21d
2012-05-21 18:15:29 -07:00
Svetoslav Ganov
6ea0fd0f3f am 9faa9374: Merge "Changing the interaction model of the touch explorer." into jb-dev
* commit '9faa9374c1398ca4a0f3fbfc4feaa5cddeb073b0':
  Changing the interaction model of the touch explorer.
2012-05-21 17:55:29 -07:00
Svetoslav Ganov
9faa9374c1 Merge "Changing the interaction model of the touch explorer." into jb-dev 2012-05-21 17:52:28 -07:00
Svetoslav Ganov
34757fdd37 am f4062864: Merge "Accessibility focus and input focus do not sync - part 2" into jb-dev
* commit 'f40628645df750991ced8dde803dd57225fca04f':
  Accessibility focus and input focus do not sync - part 2
2012-05-21 17:51:15 -07:00
Svetoslav Ganov
f40628645d Merge "Accessibility focus and input focus do not sync - part 2" into jb-dev 2012-05-21 17:49:09 -07:00
Svetoslav Ganov
525ae2075c Accessibility focus and input focus do not sync - part 2
1. This patch has somecode that syncs input and accessibility
   focus or tries to put accessibility focus on the top most
   container that was missed by the previous patch.

Change-Id: I08f21670b1c6e9f363d5714b1976fb52d84baae4
2012-05-21 17:35:15 -07:00
Romain Guy
09fca0b44f am 493743e0: Merge "Flip TextureView\'s layer after calling setSurfaceTexture() Bug #6531172" into jb-dev
* commit '493743e0137f34939dd7f3674e9102942ef7e4e8':
  Flip TextureView's layer after calling setSurfaceTexture() Bug #6531172
2012-05-21 16:39:39 -07:00
Romain Guy
493743e013 Merge "Flip TextureView's layer after calling setSurfaceTexture() Bug #6531172" into jb-dev 2012-05-21 16:37:57 -07:00
Romain Guy
51f7c6b362 Flip TextureView's layer after calling setSurfaceTexture()
Bug #6531172

Changing the surface texture would not update the layer properties
nor its transform matrix.

Change-Id: I54e155a410d7e72f1a8edf3a4ab0034bf764ae28
2012-05-21 16:36:05 -07:00
Svetoslav Ganov
5182a5bcf7 am 4ce106f5: Merge "Fixing some minor issues in accessibility focus." into jb-dev
* commit '4ce106f5cff5670bf1aae4190612dc8e972f5c28':
  Fixing some minor issues in accessibility focus.
2012-05-21 15:58:12 -07:00
Svetoslav Ganov
4ce106f5cf Merge "Fixing some minor issues in accessibility focus." into jb-dev 2012-05-21 15:55:28 -07:00
Svetoslav Ganov
f76a83cfcf Fixing some minor issues in accessibility focus.
1. Now accessibility focus does not drag input focus and
   vice versa. Having the two focuses chase each other
   can lead to some pathological cases. For example, a
   container is input focusable and manages input focus
   for its children i.e. as soon as it gets input focus
   it sets input focus to a child. Now assume input and
   accessibility focus are on a child and focus search
   finds the parent to take accessibility focus, now
   putting accessibility focus to the parent will put
   input focus there and the parent will put input focus
   to the child which as a result will put accessibility
   focus there, thus resulting in traversal loop.

bug:6522900

2. Fixed asymmetrical behavior of accessibility focus search
   for AbsListView.

bug:6520016

3. Fixed accessibility focus search getting stuck in an
   empty AbsListView.

bug:6520049

Change-Id: Ia26e5be7b5a9f340f873861ff466c787467b98dc
2012-05-21 15:32:28 -07:00
Dianne Hackborn
7ad04d3ff4 am af5c0118: Merge "Fix issue #6447773: Pulse does not run in JB (NPE in GestureDetector.onTouchEvent)" into jb-dev
* commit 'af5c01185bb9f76fd6cbdc87344f1d9b60ebdd8c':
  Fix issue #6447773: Pulse does not run in JB (NPE in GestureDetector.onTouchEvent)
2012-05-21 15:27:39 -07:00
Dianne Hackborn
af5c01185b Merge "Fix issue #6447773: Pulse does not run in JB (NPE in GestureDetector.onTouchEvent)" into jb-dev 2012-05-21 15:25:48 -07:00
Dianne Hackborn
7a83b93e12 Fix issue #6447773: Pulse does not run in JB (NPE in GestureDetector.onTouchEvent)
Change-Id: I20b6d58fa47851cf401bbeb16960d118bbd1d965
2012-05-21 15:24:11 -07:00
Svetoslav Ganov
f7b8bbadf5 am de83e7aa: Merge "Make TextView respect ACCESSIBILITY_SPEAK_PASSWORD preference." into jb-dev
* commit 'de83e7aa32e7b1a6c8aea780664150345b7ae097':
  Make TextView respect ACCESSIBILITY_SPEAK_PASSWORD preference.
2012-05-21 15:11:07 -07:00
Svetoslav Ganov
de83e7aa32 Merge "Make TextView respect ACCESSIBILITY_SPEAK_PASSWORD preference." into jb-dev 2012-05-21 15:08:53 -07:00
Romain Guy
7eac5eca43 am d4cc9253: Merge "Remove DEBUG_LATENCY flag" into jb-dev
* commit 'd4cc925358305dff4ea3d0ff94b882c51f06db26':
  Remove DEBUG_LATENCY flag
2012-05-21 15:03:35 -07:00
Romain Guy
d4cc925358 Merge "Remove DEBUG_LATENCY flag" into jb-dev 2012-05-21 15:01:09 -07:00
alanv
7d62419c85 Make TextView respect ACCESSIBILITY_SPEAK_PASSWORD preference.
Bug: 6523447
Change-Id: I2610b558395dc53a74b5c8c36c09673898da44f2
2012-05-21 14:23:17 -07:00
Michael Kolb
d4755c9529 am ab68bbaf: Merge "add flag to websearch intent" into jb-dev
* commit 'ab68bbaf26cd526f6a5b8928533356d1f0fc7886':
  add flag to websearch intent
2012-05-21 14:17:06 -07:00
Michael Kolb
ab68bbaf26 Merge "add flag to websearch intent" into jb-dev 2012-05-21 14:14:34 -07:00
Svetoslav Ganov
e15ccb93ad Changing the interaction model of the touch explorer.
1. Now the user have to double tap to activate the last
   item. If the last touched window is not active because
   it does not take input focus the click on the last
   touch explored location. Othewise the click is on the
   accessibility focus location.

bug:5932640

Change-Id: Ibb7b97262a7c5f2f94abef429e02790fdc91a8dd
2012-05-21 14:08:57 -07:00
Romain Guy
e2d7f182ff Remove DEBUG_LATENCY flag
This flag was replaced with the more versatile and powerful systrace.

Change-Id: I2267698f86fe9ba9e1102856795ca641001fecd5
2012-05-21 13:55:15 -07:00
Daniel Sandler
9f7936a30b Fix three-line notifications.
To accommodate three lines as before, we now adjust the size
of text and icons to fit.

Also in this change:

 - snazzy little shadow below BigPicture's 1U block
 - restore contentText to BigPicture notifications
 - make overflow match other notification text (not so big)
 - fix text position jumps between 1U and expanded
   notifications across all templates

Bug: 6519374 (three-line notifications cut off)
Bug: 6494982 (text jumps)
Change-Id: I717ec2dde805c25e3b949641ca7e69e4d8fc86d2
2012-05-21 16:45:11 -04:00
Romain Guy
6fa51de80b am 46a8b1ac: Merge "Remove unused, obsolete debug code" into jb-dev
* commit '46a8b1acdbbaa9bcbd0127b4f4580b5a8ec38119':
  Remove unused, obsolete debug code
2012-05-21 13:43:02 -07:00
Romain Guy
46a8b1acdb Merge "Remove unused, obsolete debug code" into jb-dev 2012-05-21 13:40:41 -07:00
Daniel Sandler
7a999b8204 am 2926948d: Merge "Add RemoteViews.setViewPadding()." into jb-dev
* commit '2926948d2092fcf6e38328d690dd60510fe9bf1f':
  Add RemoteViews.setViewPadding().
2012-05-21 13:39:42 -07:00
Daniel Sandler
2926948d20 Merge "Add RemoteViews.setViewPadding()." into jb-dev 2012-05-21 13:37:16 -07:00
Romain Guy
13b907353f Remove unused, obsolete debug code
All these features have either been abandonned and left un-maintained
for years or can be replaced by systrace.

Change-Id: I42e4579a8078744047e5fe08a7a15254970b09bc
2012-05-21 13:29:06 -07:00
Daniel Sandler
99d1f74864 Add RemoteViews.setViewPadding().
Bug: 6519374
Change-Id: I29ad738d741153a9d9e74c9e2ac110a8b97f046b
2012-05-21 16:15:06 -04:00
Daniel Sandler
97ccf4a852 am 90497c18: Merge "Remotable view method for TextView.setTextSize(int, float)." into jb-dev
* commit '90497c18f72cf3d7ea2fd611502d0da2c9c69879':
  Remotable view method for TextView.setTextSize(int, float).
2012-05-21 12:14:05 -07:00
Daniel Sandler
90497c18f7 Merge "Remotable view method for TextView.setTextSize(int, float)." into jb-dev 2012-05-21 12:12:13 -07:00
Daniel Sandler
7264f71399 Remotable view method for TextView.setTextSize(int, float).
The only remotable method on TextView is setTextSize(float)
which assumes "sp" dimensions, making it tricky to get exact
text sizes.

Bug: 6519374
Change-Id: I961bbdd607ca6786c0630ff1ce19186f54f6f31f
2012-05-21 14:51:51 -04:00
Philip Milne
464c4e9879 am bfa3d50b: Merge "Doc changes for GridLayout." into jb-dev
* commit 'bfa3d50b49a93a7d02f93c9ac54a74c40c6f2046':
  Doc changes for GridLayout.
2012-05-21 11:36:05 -07:00
Philip Milne
bfa3d50b49 Merge "Doc changes for GridLayout." into jb-dev 2012-05-21 11:33:21 -07:00
Romain Guy
169ff0199b am d7e4ae48: Merge "Update AsyncTask documentation" into jb-dev
* commit 'd7e4ae48c576d5aaef75754b29a8b87c1f0d6427':
  Update AsyncTask documentation
2012-05-21 10:49:24 -07:00
Philip Milne
b65408fc0f Doc changes for GridLayout.
Add some javadoc to explain orientation property properly.

Change-Id: I1e2092f32fe2f524eda7d1c46c6daad571733c1f
2012-05-21 10:46:56 -07:00