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
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
Romain Guy
09528f96f4
am c8c4ced8: Merge "Call invalidate() immediately when a frame is available" into jb-dev
...
* commit 'c8c4ced83872f3eeabd93da34d8376903c42a00b':
Call invalidate() immediately when a frame is available
2012-05-17 19:06:31 -07:00
Romain Guy
c8c4ced838
Merge "Call invalidate() immediately when a frame is available" into jb-dev
2012-05-17 19:04:51 -07:00
Romain Guy
52c145ff5c
Call invalidate() immediately when a frame is available
...
This change ensures that applications producing surface texture updates
at a steady rate will display the updates on screen at the same rate,
v-synced.
Change-Id: I663685b34d12809fbf8945c44851e30a2052ce74
2012-05-17 18:06:23 -07:00
Svetoslav Ganov
65e8ecf37b
am a1daf827: Merge "Fix paragraph iterator." into jb-dev
...
* commit 'a1daf82732c8529bcf9258f42e2cc22be9fa684b':
Fix paragraph iterator.
2012-05-17 17:25:44 -07:00
Adam Powell
3cd72d442b
am f53952a9: am 648337b3: Merge "Fix a bug where late-invalidating views with animations would be held for too long by ViewRootImpl" into jb-dev
...
* commit 'f53952a9a7aa5ed8af4867b9efcc765c7910b038':
Fix a bug where late-invalidating views with animations would be held for too long by ViewRootImpl
2012-05-17 17:18:15 -07:00
Jeff Brown
148e0b7a1d
am 7ce7fe3b: am 33ebe8c8: Merge "Add systrace method tags for measure and layout." into jb-dev
...
* commit '7ce7fe3b6170c5765a8045a78a272e13f1064d6a':
Add systrace method tags for measure and layout.
2012-05-17 17:18:05 -07:00
Jeff Brown
9b48e8063d
am 046c8619: am 0d28cdf1: Merge "Fix a possible starvation issue related to vsync." into jb-dev
...
* commit '046c86191653ef3ba49c1397cb2242562a410ae4':
Fix a possible starvation issue related to vsync.
2012-05-17 15:33:50 -07:00
Svetoslav Ganov
88b2b90e7d
am c2f64117: am c5fb5805: Merge "Accessiblity focus not following input focus and text nav broken." into jb-dev
...
* commit 'c2f6411741949924d42e2c4aaefc33e6312cdd68':
Accessiblity focus not following input focus and text nav broken.
2012-05-17 15:32:42 -07:00
alanv
9768832da8
Fix paragraph iterator.
...
Bug: 6509239
Change-Id: I628d7fd07cda24c66a0fa3f456e0141786e768a5
2012-05-17 13:54:30 -07:00
Craig Mautner
a978d9bfef
am d51a68b3: Merge "Eliminate deferred surface destruction." into jb-dev
...
* commit 'd51a68b3d2d347be989b53af1777454f97ad9b46':
Eliminate deferred surface destruction.
2012-05-17 13:13:56 -07:00
Craig Mautner
d51a68b3d2
Merge "Eliminate deferred surface destruction." into jb-dev
2012-05-17 13:11:50 -07:00
Craig Mautner
bf08af3323
Eliminate deferred surface destruction.
...
Removing the code that delays a surface destruction when
WindowManager.FLAG_KEEP_SURFACE_WHILE_ANIMATING is set. The lock
screen that continued to animate after destroySurfaceLocked is no
longer used and this code was causing problems.
Also mDrawState was being set to NO_SURFACE in destroySurfaceLocked
even if the surface ended up not being destroyed. Later when it was
reused the false value of mDrawState was messing things up.
The screen lock bug referenced below no longer levaes the user stuck
with a black lockscreen. However it occasionally powers back up in the
launcher screen rather than the lock screen.
Fixes bug 6485955.
Change-Id: I684104c7e7c39c161a5118aa890889fbae92e635
2012-05-16 20:07:22 -07:00
Dianne Hackborn
cefbeb6834
am 20c0cdbb: Merge "Have the stable layout take into account the window\'s fullscreen flag." into jb-dev
...
* commit '20c0cdbbf79cef18e59514e0f53dfbcac0bef600':
Have the stable layout take into account the window's fullscreen flag.
2012-05-16 19:43:37 -07:00
Dianne Hackborn
20c0cdbbf7
Merge "Have the stable layout take into account the window's fullscreen flag." into jb-dev
2012-05-16 19:41:09 -07:00
Svetoslav Ganov
cefd97c854
am e54c5f13: Merge "Exposing some accessiblity actions only for enabled views." into jb-dev
...
* commit 'e54c5f13652166c5896ccfa55f047301a6c8b876':
Exposing some accessiblity actions only for enabled views.
2012-05-16 18:45:31 -07:00
Svetoslav Ganov
e54c5f1365
Merge "Exposing some accessiblity actions only for enabled views." into jb-dev
2012-05-16 18:43:31 -07:00
Svetoslav Ganov
fb1e80a247
Exposing some accessiblity actions only for enabled views.
...
1. Some accessibility actions should not be performed on disabled
views. For example, scrolling should not be permitted while
accessibility focus should be. Made a quick pass over the
actions we expose now.
Change-Id: I36626dfbc0d2f480309a910f58f1de64e9e05675
2012-05-16 17:51:52 -07:00
Adam Powell
f53952a9a7
am 648337b3: Merge "Fix a bug where late-invalidating views with animations would be held for too long by ViewRootImpl" into jb-dev
...
* commit '648337b3a8024b22a77977024cdf171f83999d56':
Fix a bug where late-invalidating views with animations would be held for too long by ViewRootImpl
2012-05-16 17:50:47 -07:00
Adam Powell
648337b3a8
Merge "Fix a bug where late-invalidating views with animations would be held for too long by ViewRootImpl" into jb-dev
2012-05-16 17:46:10 -07:00
Jeff Brown
7ce7fe3b61
am 33ebe8c8: Merge "Add systrace method tags for measure and layout." into jb-dev
...
* commit '33ebe8c8c2179af371514b9c7a7d88faf531b18b':
Add systrace method tags for measure and layout.
2012-05-16 17:43:37 -07:00
Adam Powell
3e3c4ee047
Fix a bug where late-invalidating views with animations would be held
...
for too long by ViewRootImpl
Change-Id: I1e32bf2683b50f8834f215a753f881b5d4b8dbc9
2012-05-16 17:34:21 -07:00
Jeff Brown
c8d2668bc4
Add systrace method tags for measure and layout.
...
Change-Id: I739f6384b390d1b34b09b622ca0f752de1dd7304
2012-05-16 17:27:24 -07:00
Dianne Hackborn
5b5cc4d536
Have the stable layout take into account the window's fullscreen flag.
...
When using stable layouts, you are typically expected to hide and
show the status bar through the system UI fullscreen flag. This hides
both the status bar and the action bar. The stable layout assumed
that when not hiding the status bar through the system UI flags, that
the status bar would be visible.
This change makes things a little smarter, also looking at the
window's fullscreen flag (which only hides the status bar). If this
flag is set on the window, then the stable layout now assumes that
the status bar will never be shown. This allows us to position the
action bar correctly in the situation where the application has set
the window to fullscreen and requested a stable layout, instead of
always leaving room for the status bar above it.
Change-Id: I757072ae99cd3741753af7210dbf51afe94d3db5
2012-05-16 17:24:11 -07:00
Jeff Brown
046c861916
am 0d28cdf1: Merge "Fix a possible starvation issue related to vsync." into jb-dev
...
* commit '0d28cdf1c870ade242250ec1a82c710885982b4b':
Fix a possible starvation issue related to vsync.
2012-05-16 16:27:03 -07:00
Jeff Brown
0d28cdf1c8
Merge "Fix a possible starvation issue related to vsync." into jb-dev
2012-05-16 16:25:05 -07:00
Svetoslav Ganov
c2f6411741
am c5fb5805: Merge "Accessiblity focus not following input focus and text nav broken." into jb-dev
...
* commit 'c5fb5805c92429b08ca715df37e949f31591466a':
Accessiblity focus not following input focus and text nav broken.
2012-05-16 13:30:22 -07:00
Svetoslav Ganov
c5fb5805c9
Merge "Accessiblity focus not following input focus and text nav broken." into jb-dev
2012-05-16 13:26:54 -07:00
Jeff Brown
b080660dfd
Fix a possible starvation issue related to vsync.
...
This makes a noticeable improvement in cases where applications
post messages that need to be processed between animation frames.
Bug: 6418353
Change-Id: If225742e37aeaf3f0ca9710f9bf43dbb03bcde12
2012-05-16 12:50:41 -07: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
Romain Guy
dd36336ce9
am 9e981d83: am d44a1686: Merge "Don\'t draw onto a hw surface using the software renderer Bug #6485955 " into jb-dev
...
* commit '9e981d83f1b8a1f1f88b67c32b1459a23455d3fe':
Don't draw onto a hw surface using the software renderer Bug #6485955
2012-05-15 20:35:43 -07:00