25725 Commits

Author SHA1 Message Date
Kenny Root
b313a9990f am f5490997: am af95137a: Merge "Whoops, this version number wasn\'t updated when JB was introduced!" into jb-dev
* commit 'f549099705d0e55410072db89926f1cb95a3e7b5':
  Whoops, this version number wasn't updated when JB was introduced!
2012-06-08 09:58:18 -07:00
Kenny Root
f549099705 am af95137a: Merge "Whoops, this version number wasn\'t updated when JB was introduced!" into jb-dev
* commit 'af95137a9f48710d8356c5f33334b9ce60f2fb68':
  Whoops, this version number wasn't updated when JB was introduced!
2012-06-08 09:53:49 -07:00
Kenny Root
af95137a9f Merge "Whoops, this version number wasn't updated when JB was introduced!" into jb-dev 2012-06-08 09:51:04 -07:00
Dianne Hackborn
1db36528b1 Whoops, this version number wasn't updated when JB was introduced!
Change-Id: I9c9cd658cc1cba99b84059c8873c22b21b9f3c19
2012-06-07 18:20:55 -07:00
John Reck
8d79d27275 am b4760127: am 839fd414: Merge "Eliminate gap between finalize() and destroy()" into jb-dev
* commit 'b47601279f8d5170d2beaaf7c1e8c9a713a972da':
  Eliminate gap between finalize() and destroy()
2012-06-07 17:21:42 -07:00
John Reck
5c25762bcf am 13b9d282: am 0e0ce11e: Merge "Stay in layer scroll if nothing to scroll" into jb-dev
* commit '13b9d28268d76b886be0a8cbd15a1d059c276d6b':
  Stay in layer scroll if nothing to scroll
2012-06-07 17:21:35 -07:00
John Reck
b47601279f am 839fd414: Merge "Eliminate gap between finalize() and destroy()" into jb-dev
* commit '839fd4144e369a9bde4fff4a5a2b6cc9e078cef8':
  Eliminate gap between finalize() and destroy()
2012-06-07 16:34:34 -07:00
John Reck
13b9d28268 am 0e0ce11e: Merge "Stay in layer scroll if nothing to scroll" into jb-dev
* commit '0e0ce11e57a9506ad4429269732f3b7144875a84':
  Stay in layer scroll if nothing to scroll
2012-06-07 16:34:30 -07:00
John Reck
839fd4144e Merge "Eliminate gap between finalize() and destroy()" into jb-dev 2012-06-07 15:57:56 -07:00
John Reck
0e0ce11e57 Merge "Stay in layer scroll if nothing to scroll" into jb-dev 2012-06-07 15:29:46 -07:00
John Reck
919c89e204 Stay in layer scroll if nothing to scroll
Bug: 6628376
 The issue here is that contentX & contentY can both be 0 if we are scrolling
 slowly enough as they are adjusted by the page's scale and can thus round down.
 However, this would result in us falling out of layer drag mode even though
 we haven't tried to scroll past the edge of the layer. Detect this case, and
 stay in layer scroll mode.

Change-Id: I3c655d0d03e8f89887abbe718bd24699c133ee1a
2012-06-07 14:45:34 -07:00
Gilles Debunne
3eaf181f96 am 11c15cfb: am 78c6aeef: Merge "Fixed cast exception with selectable text." into jb-dev
* commit '11c15cfb4e48c53bcaf648c82de12707d6e479ba':
  Fixed cast exception with selectable text.
2012-06-07 14:22:39 -07:00
Gilles Debunne
11c15cfb4e am 78c6aeef: Merge "Fixed cast exception with selectable text." into jb-dev
* commit '78c6aeeffac7b665a0e1d822e88c92ef2b5ef353':
  Fixed cast exception with selectable text.
2012-06-07 14:18:44 -07:00
Gilles Debunne
78c6aeeffa Merge "Fixed cast exception with selectable text." into jb-dev 2012-06-07 14:15:40 -07:00
Svetoslav Ganov
4210a6f08b am 8114f439: am ddbcce81: Merge "Cannot interact with dialogs when IME is up and on not touch explored popups." into jb-dev
* commit '8114f439fe8b409a00ac704b37128922690e2186':
  Cannot interact with dialogs when IME is up and on not touch explored popups.
2012-06-07 14:00:29 -07:00
Svetoslav Ganov
8114f439fe am ddbcce81: Merge "Cannot interact with dialogs when IME is up and on not touch explored popups." into jb-dev
* commit 'ddbcce81acaa744d35c727d9a530b04255fab5af':
  Cannot interact with dialogs when IME is up and on not touch explored popups.
2012-06-07 13:53:39 -07:00
Svetoslav Ganov
ddbcce81ac Merge "Cannot interact with dialogs when IME is up and on not touch explored popups." into jb-dev 2012-06-07 13:50:58 -07:00
John Reck
d5e2937933 Eliminate gap between finalize() and destroy()
Bug: 6569073
 Only nativeDestroy and nativeStopGL need to be called on the UI thread,
 so split up destroyImpl into 3 functions, and only have the native
 destroy be pushed to the UI thread if necessary. Also make the work that
 is delayed be static without references to the finalizing WebView to allow
 it to be fully deleted immediately after finalization.

Change-Id: I4e424051e69df0bc409af95ca3f3d2b9e58a6b75
2012-06-07 13:14:57 -07:00
Adam Powell
f6e03e5540 am 72329952: am 4c38fe36: Merge "Protect against bogus input for ListViews" into jb-dev
* commit '72329952168fd86b911109602882b92494e9ccc5':
  Protect against bogus input for ListViews
2012-06-07 12:17:48 -07:00
Adam Powell
7232995216 am 4c38fe36: Merge "Protect against bogus input for ListViews" into jb-dev
* commit '4c38fe369fee76b8d4fca5a7b0b8d81a96f0219f':
  Protect against bogus input for ListViews
2012-06-07 12:14:21 -07:00
Adam Powell
4c38fe369f Merge "Protect against bogus input for ListViews" into jb-dev 2012-06-07 12:12:00 -07:00
Svetoslav Ganov
86783474fd Cannot interact with dialogs when IME is up and on not touch explored popups.
1. If the last touch explored location is within the active window we
   used to click on exact location if it is within the accessibility
   focus otherwise in the accessibility focus center. If the last touch
   explored location is not within the active window we used to just
   click there. This breaks in the case were one has touch explored
   at a given place in the current window and now a dialog opens *not*
   covering the touch explored location. If one uses swipes to move
   accessibility focus i.e. to traverse the dialog without touching
   it one cannot activate anything because the touch explorer is using
   the last touch explored location that is outside of the active
   window e.g the dialog.

   The solution is to clear the last touch explored location when a
   window opens or accessibility focus moves. If the last touch
   explored location is null we are clicking in the accessibility
   focus location.

bug:6620911

2. There is a bug in the window manager that does not notify a
   window that its location has changed (bug:6623031). This breaks
   accessibility interaction with dialogs that have input because
   when the IME is up the dialog is moved but not notified. Now
   the accessibility layer gets incorrect location for the
   accessibility focus and the window bounds.

   The soluion is when the accessibility manager service calls
   into the remove thress to obtain some accessibility node infos
   it passes the window left and top which it gets from the
   window manager. These values are used to update the attach info
   window left and top so all accessibility node infos emitted
   from that window had correct bounds in screen coordinates.

bug:6620796

Change-Id: I18914f2095c55cfc826acf5277bd94b776bda0c8
2012-06-07 12:02:16 -07:00
Chet Haase
9dc7d19309 am b4b0a7fe: am a1723d18: Merge "Revert "Remove ViewTreeObserver allocations"" into jb-dev
* commit 'b4b0a7fea8735dc7de4bdcfe5e7f065a39ee8e2d':
  Revert "Remove ViewTreeObserver allocations"
2012-06-07 11:34:52 -07:00
Chet Haase
b4b0a7fea8 am a1723d18: Merge "Revert "Remove ViewTreeObserver allocations"" into jb-dev
* commit 'a1723d18662d1316f931a6b4b3ee6ddc42743ee4':
  Revert "Remove ViewTreeObserver allocations"
2012-06-07 11:30:00 -07:00
Chet Haase
a1723d1866 Merge "Revert "Remove ViewTreeObserver allocations"" into jb-dev 2012-06-07 11:27:26 -07:00
Gilles Debunne
857c341dfe Fixed cast exception with selectable text.
Bug 6550358

The EditText constructor now calls setTextIsSelectable, which uses
getText where the cast exception happens because the EditText is not
yet fully built and its text does not have the right type.

Fixed by using mText directly instead of getText().

Change-Id: I52a2720ae99475881f210ac74464728cab92147e
2012-06-07 10:51:06 -07:00
Martijn Coenen
218eb9c03b am 57486f95: am fefd4896: Merge "Small NFC API docs addition." into jb-dev
* commit '57486f9535ed3100a9b694e651ffe44ba0028544':
  Small NFC API docs addition.
2012-06-07 10:41:15 -07:00
Martijn Coenen
57486f9535 am fefd4896: Merge "Small NFC API docs addition." into jb-dev
* commit 'fefd48965c5f521f21c10aad86586cf68ae48f71':
  Small NFC API docs addition.
2012-06-07 10:37:24 -07:00
Martijn Coenen
fefd48965c Merge "Small NFC API docs addition." into jb-dev 2012-06-07 10:35:15 -07:00
Chet Haase
89b8838496 am ca43c961: am 44b2fe3f: Track canvas clearing for swap buffers logic.
* commit 'ca43c96127e9f7cdab8ee70638a2445347eebd08':
  Track canvas clearing for swap buffers logic.
2012-06-07 09:51:07 -07:00
Chet Haase
ca43c96127 am 44b2fe3f: Track canvas clearing for swap buffers logic.
* commit '44b2fe3fc114ee5f7273c6b0fee2cc999bf244a2':
  Track canvas clearing for swap buffers logic.
2012-06-07 09:45:16 -07:00
Chet Haase
0f8ffd8374 Revert "Remove ViewTreeObserver allocations"
This reverts commit b999cc118fe430699e9a67d5dab355125b873abb.

There was an assumption in this earlier change that observer dispatching could not be
recursive - we could only ever have one iteration on the observer listener list. This
assumption broke down in a specific app, and maybe in more, so reverting the change for now.
We should probably find a way to accomplish the same allocation-minimizing goal without
causing exceptions when violating our assumptions.

Issue #6620795 [Application compatibility] Lufthansa app crashes

Change-Id: I1c1f9ad329c14398feb0e74ce77e1a07111f7d1f
2012-06-07 08:00:49 -07:00
Chet Haase
44b2fe3fc1 Track canvas clearing for swap buffers logic.
A previous fix made it necessary for a frame to render something to GL
in order to cause a call to eglSwapBuffers(). Besides the calls being
tracked as part of issuing a DisplayList, there is also a potential call
to clear the canvas (via glClear()) on non-opaque surfaces. This call is also
good to track, since a surface that gets cleared without any other drawing operations
is worth flipping to the screen (to erase old contents on that surface).

This fix tracks the status of the pre-draw operations to find out whether
glClear() was called and then sets the drawing status appropriately.

Issue #6606422 QuickContact dismissal is janky again (Tracking)

Change-Id: I5fcaccfdc9293dd46b83f2fc279730a5d2740ebf
2012-06-07 06:25:04 -07:00
Adam Powell
28048d011c Protect against bogus input for ListViews
Guard against cases where ListView might receive touch events while
detached.

Update ListMenuPresenter to dispatch a data set change when the
backing menu is changed.

Bug 6543282

Change-Id: If2fb9b6aa3cf4a1b7070a7cd0de0edf0fc2f4cca
2012-06-06 22:47:56 -07:00
Fabrice Di Meglio
e4beeb8e3c Merge "Make Spinner widget aware of layout direction" 2012-06-06 18:27:35 -07:00
Fabrice Di Meglio
38d64c5a95 Make Spinner widget aware of layout direction
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I6ebeee67e3e34271897e14f73b7364b1ae83145a
2012-06-06 18:19:51 -07:00
Martijn Coenen
3b6ecf0ec1 Small NFC API docs addition.
Indicate that if the device does not support Bluetooth or WiFI,
calling the API is a no-op.

Bug: 6620788
Change-Id: Ib261e0e7855d0914e97803b3b808015b72f3a186
2012-06-06 17:05:37 -07:00
Chris Craik
d2ce0bc723 am 0df6d579: am 37e0c368: Merge "Revert "Add temporary functor detach logging"" into jb-dev
* commit '0df6d579dbe509c2d520c6f163ff2bafbd801208':
  Revert "Add temporary functor detach logging"
2012-06-06 17:05:13 -07:00
Chris Craik
0df6d579db am 37e0c368: Merge "Revert "Add temporary functor detach logging"" into jb-dev
* commit '37e0c3681ef403e5a43a4f3dbca954ec8a4bfb5d':
  Revert "Add temporary functor detach logging"
2012-06-06 17:01:27 -07:00
Chris Craik
37e0c3681e Merge "Revert "Add temporary functor detach logging"" into jb-dev 2012-06-06 16:59:01 -07:00
Chris Craik
4e772cb938 am 6d99a024: am 8f1f714f: Merge "Revert "Add more temporary logging for investigating detachFunctor"" into jb-dev
* commit '6d99a024647ff845179311d611dcf031965ba96d':
  Revert "Add more temporary logging for investigating detachFunctor"
2012-06-06 16:52:16 -07:00
Chris Craik
6d99a02464 am 8f1f714f: Merge "Revert "Add more temporary logging for investigating detachFunctor"" into jb-dev
* commit '8f1f714f831bf8bf10f94211c42e36ef2851810d':
  Revert "Add more temporary logging for investigating detachFunctor"
2012-06-06 16:47:57 -07:00
Chris Craik
aa3b7d88ef Revert "Add temporary functor detach logging"
bug:6608646

This reverts commit f98851ab37c07b243c485168cca201b07a22e6c7
2012-06-06 16:45:53 -07:00
Chris Craik
8f1f714f83 Merge "Revert "Add more temporary logging for investigating detachFunctor"" into jb-dev 2012-06-06 16:45:04 -07:00
George Mount
6b1e614f70 Merge "Fix scrolling behavior for text input and textarea." 2012-06-06 16:32:40 -07:00
Fabrice Di Meglio
a26ddfacd7 Merge "Remove dead code in Switch" 2012-06-06 15:56:36 -07:00
George Mount
c6c83ce475 Fix scrolling behavior for text input and textarea.
Bug 6614784

Change-Id: I562a20e4cb07250794fc017e6d8b3885f7e8d6b8
2012-06-06 14:57:01 -07:00
Dianne Hackborn
9a8eed3a4d am 18aa041a: am 6cd19e02: Merge "Fix some divide by zero errors that could crash the system." into jb-dev
* commit '18aa041a62d36b9f2d4ead8ca0945ec87af582b4':
  Fix some divide by zero errors that could crash the system.
2012-06-06 14:22:43 -07:00
Dianne Hackborn
18aa041a62 am 6cd19e02: Merge "Fix some divide by zero errors that could crash the system." into jb-dev
* commit '6cd19e0266b3f4277f13dab7e9a86ebdd9905ee9':
  Fix some divide by zero errors that could crash the system.
2012-06-06 14:17:54 -07:00
Dianne Hackborn
6cd19e0266 Merge "Fix some divide by zero errors that could crash the system." into jb-dev 2012-06-06 14:16:05 -07:00