Commit Graph

7205 Commits

Author SHA1 Message Date
Yohei Yukawa
b400938058 am aefe8e4d: am 93ed9858: am 63c4a718: Merge "Reland "Fixed constant window switching on lock screen..."" into mnc-dev
* commit 'aefe8e4d75415df97b2937684c06c2bb6310cd98':
  Reland "Fixed constant window switching on lock screen..."
2015-07-01 01:24:42 +00:00
Yohei Yukawa
aefe8e4d75 am 93ed9858: am 63c4a718: Merge "Reland "Fixed constant window switching on lock screen..."" into mnc-dev
* commit '93ed98580c151ec28952ec4d72010b24b55a3583':
  Reland "Fixed constant window switching on lock screen..."
2015-07-01 01:06:47 +00:00
Yohei Yukawa
63c4a7185c Merge "Reland "Fixed constant window switching on lock screen..."" into mnc-dev 2015-07-01 00:51:36 +00:00
Yohei Yukawa
d1a092218b Reland "Fixed constant window switching on lock screen..."
This is a manual reland of I3680256d41793f62def42fda00e26db1dcc9,
which was certainly merged into lmp-mr1-dev then auto-merged into
master but silently lost there for unknown reasons when
I8c42a1e6091b0fe1253e90265ac248087e was auto-merged into master.

Changes in WindowAnimator.java was already covered by
I2933eaf0ab55fe31cb382c46c411033e33a756e0 so this CL does not
include that change.

Bug: 18021493
Bug: 22158649
Change-Id: Ib1bf9f5bef44d0400230afc32231f7d1f3a1c98b
2015-06-30 16:22:05 -07:00
Chet Haase
cf5db1fa76 am 1ee7dc93: am 58517a20: am 081ddbe2: Merge "Invalidate parent when scrolling child view back onto screen" into mnc-dev
* commit '1ee7dc939fc01d118b104d439384b96d312cca16':
  Invalidate parent when scrolling child view back onto screen
2015-06-30 23:20:54 +00:00
Chet Haase
1ee7dc939f am 58517a20: am 081ddbe2: Merge "Invalidate parent when scrolling child view back onto screen" into mnc-dev
* commit '58517a20011dfe777d75e2c16f6d47230e0a67b3':
  Invalidate parent when scrolling child view back onto screen
2015-06-30 23:05:36 +00:00
Chet Haase
081ddbe296 Merge "Invalidate parent when scrolling child view back onto screen" into mnc-dev 2015-06-30 22:46:44 +00:00
Chet Haase
1b7f8f99c3 Invalidate parent when scrolling child view back onto screen
This bug caused views which used to be quick-rejected to continue to not
be drawn because the parent's DisplayList no longer contained them. The
fix is to notice when offsetting a view puts it back on screen and invalidates
the parent appropriately.

Issue #21413554  offsetTopAndBottom requires invalidating parent when view becomes visible again

Change-Id: I0f5d2cc48e3da912a41635712d9c37fb30e70c86
2015-06-30 15:33:30 -07:00
Chris Craik
2c378a22b2 am bfb3afca: am 20d54457: am ca985b54: Merge "Don\'t display layout bounds of GONE views" into mnc-dev
* commit 'bfb3afcad96fe38bb0f2e3cf2af2dc993ed663d8':
  Don't display layout bounds of GONE views
2015-06-30 21:55:04 +00:00
Chris Craik
bfb3afcad9 am 20d54457: am ca985b54: Merge "Don\'t display layout bounds of GONE views" into mnc-dev
* commit '20d544571168cad62db4d86c91b3dfde7c13a342':
  Don't display layout bounds of GONE views
2015-06-30 21:40:51 +00:00
Chris Craik
ca985b54c8 Merge "Don't display layout bounds of GONE views" into mnc-dev 2015-06-30 21:22:26 +00:00
Chris Craik
a1dab8bb0f Don't display layout bounds of GONE views
bug:22126532

Change-Id: Ib7816346e0f6ff54fcf7b180bf4042ce113728b9
2015-06-30 13:51:26 -07:00
Jorim Jaggi
d3e57ba2a5 am 5d574062: am 1d4419e3: am e85da2ba: Add accessibility event for assist disclosure
* commit '5d5740626b907aaa85049c2ac95e823d81d3262a':
  Add accessibility event for assist disclosure
2015-06-30 01:05:02 +00:00
Jorim Jaggi
5d5740626b am 1d4419e3: am e85da2ba: Add accessibility event for assist disclosure
* commit '1d4419e3c2067151baa9010f8bda98653c43cfc8':
  Add accessibility event for assist disclosure
2015-06-30 00:49:35 +00:00
Jorim Jaggi
e85da2bad5 Add accessibility event for assist disclosure
Bug: 21568059
Change-Id: Ib51d4236fcc87acd54cb5d191197b9b2c6cc54ea
2015-06-30 00:27:14 +00:00
Adam Powell
2e42bd9f02 am 6b37bc50: am 45cb8b12: am 6356d3b2: Merge "Improve docs for View#addChildrenForAccessibility" into mnc-dev
* commit '6b37bc507d45dd2052cbfe77ce3d4b1af637be99':
  Improve docs for View#addChildrenForAccessibility
2015-06-26 21:05:17 +00:00
Adam Powell
6b37bc507d am 45cb8b12: am 6356d3b2: Merge "Improve docs for View#addChildrenForAccessibility" into mnc-dev
* commit '45cb8b12add577d7d8518f7382c370be9bc67d4f':
  Improve docs for View#addChildrenForAccessibility
2015-06-26 20:50:52 +00:00
Adam Powell
6356d3b250 Merge "Improve docs for View#addChildrenForAccessibility" into mnc-dev 2015-06-26 20:35:37 +00:00
Dianne Hackborn
d0393181f6 am 3850b7c2: am 8785d214: am ff81025a: Merge "Fix issue #22013372: Assist should take translationX and friends..." into mnc-dev
* commit '3850b7c2e4ef841b154a3f1fe88493a663b550a5':
  Fix issue #22013372: Assist should take translationX and friends...
2015-06-26 18:01:40 +00:00
Dianne Hackborn
3850b7c2e4 am 8785d214: am ff81025a: Merge "Fix issue #22013372: Assist should take translationX and friends..." into mnc-dev
* commit '8785d21453b1928c0bc4e5b5ef1eba93378ea849':
  Fix issue #22013372: Assist should take translationX and friends...
2015-06-26 17:46:56 +00:00
Dianne Hackborn
70d8be7616 Fix issue #22013372: Assist should take translationX and friends...
...into account when calculating the position information

Actually what we need here is the full transformation matrix, if it
is available.  And that means actually computing the location of
views on the screen requires doing this all through transformations,
so the AssistVisualizer has been changed to do this (while still
also keeping the old mechanism for comparison to verify that things
are working correctly).

Also added new properties for elevation and alpha.

And optimized the parcelling of AssistStructure to not write things
that aren't needed; this reduces the parcelled size by about half.

Change-Id: I50b0dd2e6599c74701a5d188617a3eff64b07d03
2015-06-25 20:24:34 -07:00
Adam Powell
cf392d143e Improve docs for View#addChildrenForAccessibility
Clarify the role of the list parameter and associated method
documentation.

Bug 22053511

Change-Id: Id0200bba8e60242caee2547bce30764dcabe02fd
2015-06-25 14:48:45 -07:00
Narayan Kamath
fd836c2922 am c279a835: am 37c68894: am a78c0e0b: Merge "Fixed Javadoc typos"
* commit 'c279a835d5dcb16ac5b4b5311940de5b4fbd72aa':
  Fixed Javadoc typos
2015-06-25 10:12:41 +00:00
Narayan Kamath
c279a835d5 am 37c68894: am a78c0e0b: Merge "Fixed Javadoc typos"
* commit '37c688948d4464d636cd64c537b98697cb4b795d':
  Fixed Javadoc typos
2015-06-25 10:02:08 +00:00
Philipp Hasper
802aa0f8a2 Fixed Javadoc typos
Simple single character typos

Change-Id: I17660dbb3b7ee6597637e8d76770f434ebf202ea
2015-06-25 08:09:43 +00:00
Dave Langemak
1173b14c1d am b1b5117f: am 63b59d3f: am ecff75a1: Merge "Revert "Throw IAE on invalid measure spec size"" into mnc-dev
* commit 'b1b5117f9cb602a7579c91e130ba7252cd60cc5b':
  Revert "Throw IAE on invalid measure spec size"
2015-06-25 01:58:09 +00:00
Dave Langemak
b1b5117f9c am 63b59d3f: am ecff75a1: Merge "Revert "Throw IAE on invalid measure spec size"" into mnc-dev
* commit '63b59d3fd814224e6b17a81ab23bc706492f75e6':
  Revert "Throw IAE on invalid measure spec size"
2015-06-25 01:44:32 +00:00
Alan Viverette
648086eefb am 1fd667a2: am e6c01d05: am c2a30713: Merge "Duplicate description on AccessibilityEvent"
* commit '1fd667a2c8ad78933aac5f2bf2a6c6a63ac3bb37':
  Duplicate description on AccessibilityEvent
2015-06-25 01:26:06 +00:00
Dave Langemak
ecff75a158 Merge "Revert "Throw IAE on invalid measure spec size"" into mnc-dev 2015-06-25 01:18:00 +00:00
Dave Langemak
afaed06cda Revert "Throw IAE on invalid measure spec size"
This reverts commit ac6cfb32fe.

Change-Id: Ie60b48eac5f732071a5039b9b6bc7b18eb694d5b
2015-06-25 01:14:26 +00:00
Alan Viverette
1fd667a2c8 am e6c01d05: am c2a30713: Merge "Duplicate description on AccessibilityEvent"
* commit 'e6c01d05b4eb2de67bad60991cb2952fb34c3fea':
  Duplicate description on AccessibilityEvent
2015-06-25 01:12:27 +00:00
Alan Viverette
c2a3071379 Merge "Duplicate description on AccessibilityEvent" 2015-06-24 22:47:03 +00:00
Anthony Hugh
9d826681a5 Introduce stem keycodes for Wear
This change adds four new stem keycodes for Android Wear. These
keycodes are intended to represent the various hardware buttons
around the watch.  There is one primary stem key that will be used
for power/settings and three generic stem keys that will be
customizable.

BUG: 21903503
Change-Id: I8835cfdba3a8819aae61b47d018c0794ba5f772e
2015-06-24 13:22:46 -07:00
Michael Wright
0c83048b8c am bc12a725: am 02791a78: am 5edd0e06: Merge "Add new SOURCE_BLUETOOTH_STYLUS." into mnc-dev
* commit 'bc12a725e706ad077c1785c8328af0a569448d0c':
  Add new SOURCE_BLUETOOTH_STYLUS.
2015-06-24 16:48:01 +00:00
Michael Wright
5edd0e06d5 Merge "Add new SOURCE_BLUETOOTH_STYLUS." into mnc-dev 2015-06-24 16:12:22 +00:00
Alan Viverette
2ad250c405 am 33ec793e: am 0ca02512: am b1825fea: Merge "Throw IAE on invalid measure spec size" into mnc-dev
* commit '33ec793e6aceadb5f5a5f507b84b9c8568dbc2a4':
  Throw IAE on invalid measure spec size
2015-06-24 00:12:58 +00:00
Dianne Hackborn
f81d956aa6 am 16649d96: am 1e7b818d: am fcaed606: Merge "Fix issue #20654534: API Review: android.app.assist" into mnc-dev
* commit '16649d96cbc65b6e8198f1ab12ef09d7d7ed52e5':
  Fix issue #20654534: API Review: android.app.assist
2015-06-24 00:12:50 +00:00
Alan Viverette
b1825feac0 Merge "Throw IAE on invalid measure spec size" into mnc-dev 2015-06-23 23:41:03 +00:00
Alan Viverette
ac6cfb32fe Throw IAE on invalid measure spec size
Crash immediately so that we can track down the cause. If we let it
through, we'll hit an ISE later in dispatchVsync() and never know why.

Bug: 21948478
Change-Id: I84edf93cdf09d755419e18a7606b7b6cbd059956
2015-06-23 16:23:49 -07:00
Dianne Hackborn
2d021f8abf am 3eb5480b: am 4401943e: am a6fb1e70: Merge "Fix issue #20654534: API Review: android.app.assist" into mnc-dev
* commit '3eb5480b3464e7a29c0940a07cb094d24bc923f7':
  Fix issue #20654534: API Review: android.app.assist
2015-06-23 21:30:40 +00:00
Maxim Bogatov
af87c70547 am d6bdd65a: am 9d919a23: am e5a4a91c: Merge "Transfer a11y node with a11y event" into mnc-dev
* commit 'd6bdd65aa47457740cbaeba162c864e48c14f83d':
  Transfer a11y node with a11y event
2015-06-23 21:30:33 +00:00
Dianne Hackborn
8ecf16d186 Fix issue #20654534: API Review: android.app.assist
Remove the old ViewAssistStructure class.

Change-Id: I5eca7bc7af93cda5f654c9094a3aa07fe4958da2
2015-06-23 13:09:21 -07:00
Dianne Hackborn
a6fb1e70ff Merge "Fix issue #20654534: API Review: android.app.assist" into mnc-dev 2015-06-23 19:33:04 +00:00
Wale Ogunwale
b71ac8eccf am 59ab4b33: am 90cee497: am dd7705bb: Merge "Update surfaces secure flag on screen capture setting change" into mnc-dev
* commit '59ab4b336e392d769df4e27a2ac760510e0449fe':
  Update surfaces secure flag on screen capture setting change
2015-06-23 18:23:18 +00:00
Maxim Bogatov
2f55a3f0b8 Transfer a11y node with a11y event
b/19870218

Change-Id: I29519d029cb7a154de09627afab7a0307abe85bd
2015-06-23 10:23:43 -07:00
Wale Ogunwale
f5ad42f432 Update surfaces secure flag on screen capture setting change
Also, added 'wm screen-capture [userId] [true|false]'
command.

Bug: 20934462
Change-Id: I14711003d7691fc4495428c12c9ff3457cd3773c
2015-06-23 09:08:29 -07:00
Michael Wright
f18920ba31 Add new SOURCE_BLUETOOTH_STYLUS.
Bug: 21531826
Change-Id: Ib3448230d542a2aadb0f697db33451f69e089612
2015-06-23 14:50:36 +01:00
Michael Wright
ab28eef80b am 91c8f208: am 611136c1: am 805fc82e: Merge "Add method to set action button on MotionEvent" into mnc-dev
* commit '91c8f2086f3ed2de85391d99e7ffaf98041f105e':
  Add method to set action button on MotionEvent
2015-06-23 13:20:38 +00:00
Michael Wright
805fc82ea9 Merge "Add method to set action button on MotionEvent" into mnc-dev 2015-06-23 12:48:56 +00:00
Dianne Hackborn
16036f2684 Fix issue #20654534: API Review: android.app.assist
Remove the old classes.

Change-Id: I949350cadc5fc304e2651d7db0ffd38e45db9b6e
2015-06-22 15:14:17 -07:00