Commit Graph

3084 Commits

Author SHA1 Message Date
Jeff Brown
0c1e7d339c am 4535899b: am 1957fd27: Merge "Add public API to Choreographer." into jb-dev
* commit '4535899b9cf07fdf1063848bdd8caaabe36b3cd5':
  Add public API to Choreographer.
2012-05-21 18:39: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
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
8e61c58cf7 am 6ea0fd0f: am 9faa9374: Merge "Changing the interaction model of the touch explorer." into jb-dev
* commit '6ea0fd0f3f54a36a92b4decd746f06497cf825e8':
  Changing the interaction model of the touch explorer.
2012-05-21 17:59:16 -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
207efc59be am 34757fdd: am f4062864: Merge "Accessibility focus and input focus do not sync - part 2" into jb-dev
* commit '34757fdd37c3fba882de7ade1706e4c577b01830':
  Accessibility focus and input focus do not sync - part 2
2012-05-21 17:55:20 -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
9152de9a03 am 09fca0b4: am 493743e0: Merge "Flip TextureView\'s layer after calling setSurfaceTexture() Bug #6531172" into jb-dev
* commit '09fca0b44f13dee64e8cee090576439a2116eff3':
  Flip TextureView's layer after calling setSurfaceTexture() Bug #6531172
2012-05-21 16:42:42 -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
c18cced700 am 5182a5bc: am 4ce106f5: Merge "Fixing some minor issues in accessibility focus." into jb-dev
* commit '5182a5bcf7a975c6183e0925dec0d3ac35071de9':
  Fixing some minor issues in accessibility focus.
2012-05-21 16:02:01 -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
8242b07378 am 7ad04d3f: am af5c0118: Merge "Fix issue #6447773: Pulse does not run in JB (NPE in GestureDetector.onTouchEvent)" into jb-dev
* commit '7ad04d3ff4c1d9d2a26387c4247d8fc75551ea77':
  Fix issue #6447773: Pulse does not run in JB (NPE in GestureDetector.onTouchEvent)
2012-05-21 15:30:55 -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
Romain Guy
fc6fe5206c am 7eac5eca: am d4cc9253: Merge "Remove DEBUG_LATENCY flag" into jb-dev
* commit '7eac5eca431a824777530fb322b8c25015813954':
  Remove DEBUG_LATENCY flag
2012-05-21 15:06: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
abafe372ee am 6fa51de8: am 46a8b1ac: Merge "Remove unused, obsolete debug code" into jb-dev
* commit '6fa51de80bae65a93346ed18628010a0867607cc':
  Remove unused, obsolete debug code
2012-05-21 14:32:43 -07:00
Jeff Brown
534e6488bc am dd8e50f4: am cf39bdf3: Add support for switching between multiple keyboard layouts.
* commit 'dd8e50f4b96578acd402ff4b199ca1649adf25fd':
  Add support for switching between multiple keyboard layouts.
2012-05-21 14:29:33 -07:00
Dianne Hackborn
b1b0058346 am 72669b5f: am 13a0271c: Merge "Add aapt support for generating proguard rules for onClick methods." into jb-dev
* commit '72669b5f4663937b09d33f9d951f0b86a03fa98b':
  Add aapt support for generating proguard rules for onClick methods.
2012-05-21 14:29:14 -07:00
Romain Guy
68373bf484 am 1b61dc2e: am 43a760ba: Merge "Don\'t crash on Surface.unlockAndPost() but log & try again Bug #6482593" into jb-dev
* commit '1b61dc2eb7f738bb49142db14a7d339e2fd90545':
  Don't crash on Surface.unlockAndPost() but log & try again Bug #6482593
2012-05-21 14:12:53 -07:00
Dianne Hackborn
891a844646 am bcb7f04a: am e312c61f: Merge "Improve fitSystemWindows() documentation." into jb-dev
* commit 'bcb7f04a7ca05a606d1b293dbe975f1710135be7':
  Improve fitSystemWindows() documentation.
2012-05-21 14:12:30 -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
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
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
Romain Guy
cc1508d0dc am 09528f96: am c8c4ced8: Merge "Call invalidate() immediately when a frame is available" into jb-dev
* commit '09528f96f4bc5e1d7acb9c00011d232182fb93b2':
  Call invalidate() immediately when a frame is available
2012-05-21 12:43:55 -07:00
Svetoslav Ganov
128f15e2ca am 65e8ecf3: am a1daf827: Merge "Fix paragraph iterator." into jb-dev
* commit '65e8ecf37b5aadf267eb5ff40b53b871f7be32d8':
  Fix paragraph iterator.
2012-05-21 12:43:22 -07:00
Craig Mautner
92302af1ee am a978d9bf: am d51a68b3: Merge "Eliminate deferred surface destruction." into jb-dev
* commit 'a978d9bfefa8f7cb1591a1789effa955d902a9cf':
  Eliminate deferred surface destruction.
2012-05-21 12:41:26 -07:00
Jeff Brown
dd8e50f4b9 am cf39bdf3: Add support for switching between multiple keyboard layouts.
* commit 'cf39bdf3dff5e29447f6ce734b76dc3490385e58':
  Add support for switching between multiple keyboard layouts.
2012-05-20 21:53:34 -07:00
Jeff Brown
cf39bdf3df Add support for switching between multiple keyboard layouts.
Also show a notification when an external keyboard is connected
and does not have a keyboard layout selected yet.

Bug: 6405203
Change-Id: Id0ac6d83b3b381f8a236b2244a04c9acb203db3c
2012-05-20 14:56:22 -07:00
Dianne Hackborn
72669b5f46 am 13a0271c: Merge "Add aapt support for generating proguard rules for onClick methods." into jb-dev
* commit '13a0271cb81d497edbf93f3d6ecf4b9b8da4ee69':
  Add aapt support for generating proguard rules for onClick methods.
2012-05-18 19:41:10 -07:00
Dianne Hackborn
13a0271cb8 Merge "Add aapt support for generating proguard rules for onClick methods." into jb-dev 2012-05-18 19:39:09 -07:00
Dianne Hackborn
9275197d35 Add aapt support for generating proguard rules for onClick methods.
Also fix Activity menu inflater when using the dark on light
theme wrapper to still be able to find onClick listeners.

Change-Id: Ie206db26d1df96041bc477804e476b02ad99dc9d
2012-05-18 19:23:19 -07:00
Romain Guy
1b61dc2eb7 am 43a760ba: Merge "Don\'t crash on Surface.unlockAndPost() but log & try again Bug #6482593" into jb-dev
* commit '43a760ba84a5357bae792a33ad4a0e946f02679c':
  Don't crash on Surface.unlockAndPost() but log & try again Bug #6482593
2012-05-18 16:27:20 -07:00
Romain Guy
43a760ba84 Merge "Don't crash on Surface.unlockAndPost() but log & try again Bug #6482593" into jb-dev 2012-05-18 16:25:41 -07:00
Dianne Hackborn
bcb7f04a7c am e312c61f: Merge "Improve fitSystemWindows() documentation." into jb-dev
* commit 'e312c61f9320c3feb4cfbfcab781a65ee5a417af':
  Improve fitSystemWindows() documentation.
2012-05-18 15:59:48 -07:00
Romain Guy
dddcd22b7e Don't crash on Surface.unlockAndPost() but log & try again
Bug #6482593

Change-Id: Ib477b58e2b7a6cb19a87d05f2aa0448e04d82f7c
2012-05-18 15:33:57 -07:00
Dianne Hackborn
e312c61f93 Merge "Improve fitSystemWindows() documentation." into jb-dev 2012-05-18 12:55:05 -07:00
Dianne Hackborn
d5333f9289 Improve fitSystemWindows() documentation.
Change-Id: I6528f2530e6514344e454510f2fa037b55daebb7
2012-05-18 11:23:32 -07:00
Dianne Hackborn
ba910bc004 am cefbeb68: am 20c0cdbb: Merge "Have the stable layout take into account the window\'s fullscreen flag." into jb-dev
* commit 'cefbeb683416a2bbc20905f280eaeadb349cb9d9':
  Have the stable layout take into account the window's fullscreen flag.
2012-05-17 20:56:51 -07:00
Svetoslav Ganov
72e15ceb85 am cefd97c8: am e54c5f13: Merge "Exposing some accessiblity actions only for enabled views." into jb-dev
* commit 'cefd97c8546d6dca184e8ac9589ab2ff1b795c06':
  Exposing some accessiblity actions only for enabled views.
2012-05-17 20:56:37 -07:00