Commit Graph

8060 Commits

Author SHA1 Message Date
Phil Weaver
44881fb8b2 Merge "Reduce unnecessary accessibility cache clearing." into nyc-dev am: af93306
am: 618fda2

* commit '618fda27082bd184ee031f9a2b9945b7f4aa1cfc':
  Reduce unnecessary accessibility cache clearing.

Change-Id: Ic5ed49358f6dadcbce6fc9bb16b63ec55e8a9b60
2016-04-09 05:57:17 +00:00
Tenghui Zhu
01752ed85b Merge "Update the documentation on createCircularReveal" into nyc-dev am: 3cb5ba7
am: 49de023

* commit '49de023f1bdefc4a1bb604c9ce1665abc9cf0719':
  Update the documentation on createCircularReveal

Change-Id: I3209064f0c2b1614c27e00cf3c454de74385eab6
2016-04-09 05:56:50 +00:00
Phil Weaver
c0abe7795f Merge "Eliminate side effects of a11y window title." into nyc-dev am: ab4d5ff
am: 9a37547

* commit '9a375470d4e3f3fde29ea5925454f49c6dc84274':
  Eliminate side effects of a11y window title.

Change-Id: I3af7aa51c888a0405a171d81869b9749a6056e33
2016-04-09 05:48:21 +00:00
Phil Weaver
618fda2708 Merge "Reduce unnecessary accessibility cache clearing." into nyc-dev
am: af93306

* commit 'af93306a3db9c0a04d74809901cc297834bbba87':
  Reduce unnecessary accessibility cache clearing.

Change-Id: Iea1ed7e894d8e4416e5d9c64feb226343036e8f8
2016-04-09 00:43:23 +00:00
Teng-Hui Zhu
49de023f1b Merge "Update the documentation on createCircularReveal" into nyc-dev
am: 3cb5ba7

* commit '3cb5ba75b76dedc7a468d324e7875e805555827f':
  Update the documentation on createCircularReveal

Change-Id: I6048e88341b908c1cefc36e424c2182521116a69
2016-04-09 00:43:15 +00:00
Phil Weaver
9a375470d4 Merge "Eliminate side effects of a11y window title." into nyc-dev
am: ab4d5ff

* commit 'ab4d5ffd123433d434a8c4e1f3bf2674d99a5fb3':
  Eliminate side effects of a11y window title.

Change-Id: I388abfd86355bc90df4ee3b788bda0a6cd494f81
2016-04-09 00:39:20 +00:00
Phil Weaver
af93306a3d Merge "Reduce unnecessary accessibility cache clearing." into nyc-dev 2016-04-08 22:33:33 +00:00
Tenghui Zhu
3cb5ba75b7 Merge "Update the documentation on createCircularReveal" into nyc-dev 2016-04-08 21:24:04 +00:00
Phil Weaver
e37cfab6c6 Reduce unnecessary accessibility cache clearing.
Tracking if accessibility focus is being cleared because it is being
set to another view in the same window. In this case, leave
accessibility focus on the window.

This change greatly reduces the amount of cache re-indexing.
Previously we flushed the cache every time accessibility focus moved.

Bug: 28077283
Change-Id: If80899d36e7f58b22635f844bdd4ea37a55b875e
2016-04-08 13:06:44 -07:00
Phil Weaver
ab4d5ffd12 Merge "Eliminate side effects of a11y window title." into nyc-dev 2016-04-08 18:22:02 +00:00
John Reck
7c2a570035 Merge "Make stopped state a first-class thing" into nyc-dev am: c724dcf
am: 620a86e

* commit '620a86e464d585c796e51a16dad419d46d3837e4':
  Make stopped state a first-class thing

Change-Id: Idd258fd34c68ec214e41ceb90f1d911901535802
2016-04-08 15:21:28 +00:00
John Reck
620a86e464 Merge "Make stopped state a first-class thing" into nyc-dev
am: c724dcf

* commit 'c724dcf23c5e2ebd22c042a8a6f2424b7e9d5029':
  Make stopped state a first-class thing

Change-Id: Idfa3cc5d8fa5b07c742c2700b38441ff7d692f42
2016-04-08 15:17:03 +00:00
John Reck
c724dcf23c Merge "Make stopped state a first-class thing" into nyc-dev 2016-04-08 15:09:42 +00:00
John Reck
4e2838ead6 Merge "Fix some edge cases" into nyc-dev am: 4a62eff
am: c01a9b6

* commit 'c01a9b6a9ba2662fafa6f4152ca9986faacd2d66':
  Fix some edge cases

Change-Id: I52d65ed7c5da33b33a4f98953800c1dedea2bf09
2016-04-07 23:15:52 +00:00
Teng-Hui Zhu
9b3be58403 Update the documentation on createCircularReveal
fix:25250431

Change-Id: I9fc76ad69b495c36a03c875a529f755a029fae96
2016-04-07 16:13:27 -07:00
John Reck
c01a9b6a9b Merge "Fix some edge cases" into nyc-dev
am: 4a62eff

* commit '4a62effbfe8ad9a0eb7049c2f52a57d39bb64e29':
  Fix some edge cases

Change-Id: I35a99c3164bf3bf91f609ce8bec01d15ca8b7c0d
2016-04-07 23:12:14 +00:00
John Reck
4a62effbfe Merge "Fix some edge cases" into nyc-dev 2016-04-07 23:08:10 +00:00
John Reck
945961f78a Make stopped state a first-class thing
Bug: 27286867

WindowManager has committed to stopped state
controlling the lifecycle of the Surface, so
make that a first-class thing in HWUI as well.

This makes it more resistent to things like
a rogue updateSurface() happening while mStopped=true,
leading to bad things down the line. Instead let
the surface be changed/updated as often as desired,
and just block any attempt to draw on that surface.

Also removes some unnecessary makeCurrent()s, as
EglManager ensures that we *always* have a valid
GL context now (using a pbuffer surface if there is
no window surface set)

Change-Id: Iead78ddebc7997e8fdb0c9534836352f5e54b9bd
2016-04-07 16:02:33 -07:00
Phil Weaver
9be3c7bdc7 Eliminate side effects of a11y window title.
ag/898112 added passing the window title to accessibility. To do that,
it also updated copy of the title in WindowManager.LayoutParams. That
was a behavior change, and the change broke cts tests that enforce that
the title in LayoutParams matches its expected format.

This change restores the previous behavior and adds a separate field to
LayoutParams to old an up-to-date title to pass to accessibility.

Bug: 28002185
Change-Id: Ia5b549113600b7c4fcc80b76c3f3a944dddaf483
2016-04-07 15:15:41 -07:00
John Reck
51f2d606dc Fix some edge cases
Bug: 27709981

This desperately needs a refactor, but to keep
the current (really needed & nice) behavior of
dispatching after sync finishes would be difficult
to handle cleanly without lots of ripping so... #yolo

Change-Id: I831a06c6ae7412a062720d68ecbe3085190f0258
2016-04-07 14:10:43 -07:00
Vladislav Kaznacheev
45699f1d95 Merge "Rename View.DragShadowBuilder#onProvideShadowMetrics parameters" into nyc-dev am: 78740ad
am: 1dac79b

* commit '1dac79b2ba1d0e3aa95aa9b89c643e98d40f447f':
  Rename View.DragShadowBuilder#onProvideShadowMetrics parameters

Change-Id: Ifd83bbf5d5055a477363465e9c380055c1f07fe0
2016-04-07 20:50:36 +00:00
Vladislav Kaznacheev
1dac79b2ba Merge "Rename View.DragShadowBuilder#onProvideShadowMetrics parameters" into nyc-dev
am: 78740ad

* commit '78740add9b0bce8bf001fa6f1a064bbc1151c355':
  Rename View.DragShadowBuilder#onProvideShadowMetrics parameters

Change-Id: If96b5ebb8658d68b0f058216d23037a0f20a25f1
2016-04-07 20:47:09 +00:00
Vladislav Kaznacheev
78740add9b Merge "Rename View.DragShadowBuilder#onProvideShadowMetrics parameters" into nyc-dev 2016-04-07 20:41:54 +00:00
Andrii Kulian
6d1a8c6edc Merge "Caps Lock toggle with Meta + Alt (2/2)" into nyc-dev am: 48143f7
am: 943adfd

* commit '943adfd073812d0b71f6cc5706e64d345cee99ac':
  Caps Lock toggle with Meta + Alt (2/2)

Change-Id: Ia25ffb49e13ed3ce623fcbc5bb8e5bce022a5a5d
2016-04-07 01:53:48 +00:00
Andrii Kulian
943adfd073 Merge "Caps Lock toggle with Meta + Alt (2/2)" into nyc-dev
am: 48143f7

* commit '48143f7ec58f2793e236566e0d25d3b731858996':
  Caps Lock toggle with Meta + Alt (2/2)

Change-Id: I0015cf2138c3830e2d8e043759efd4ed15cd7701
2016-04-07 01:51:00 +00:00
Andrii Kulian
48143f7ec5 Merge "Caps Lock toggle with Meta + Alt (2/2)" into nyc-dev 2016-04-07 01:43:03 +00:00
Andreas Gampe
1de67c4dc1 Merge "Frameworks/base: Move Animation.USE_CLOSEGUARD to inner class" into nyc-dev am: 12a722e
am: 1fdbd81

* commit '1fdbd81b4114bd886f4a01c06a316e24ac173f91':
  Frameworks/base: Move Animation.USE_CLOSEGUARD to inner class

Change-Id: I48a810edda0c84292b2d641ceb20aba4fa7993e5
2016-04-06 22:52:24 +00:00
Andreas Gampe
1fdbd81b41 Merge "Frameworks/base: Move Animation.USE_CLOSEGUARD to inner class" into nyc-dev
am: 12a722e

* commit '12a722e56936853c880a20026057020d2a4252dc':
  Frameworks/base: Move Animation.USE_CLOSEGUARD to inner class

Change-Id: If7e9b2c84c4d49a565bda3abe308df6b43f64acd
2016-04-06 22:49:46 +00:00
Andreas Gampe
12a722e569 Merge "Frameworks/base: Move Animation.USE_CLOSEGUARD to inner class" into nyc-dev 2016-04-06 22:45:36 +00:00
Selim Cinek
4b47ff616e Merge "Deprecated the contentinfo and the number" into nyc-dev am: 82404bc
am: ac51be5

* commit 'ac51be5b1cd048397ed9e4e0e7d6bac5b3610394':
  Deprecated the contentinfo and the number

Change-Id: I6acb57542bba80a9d4e8fadfbd480c3b3102ff3b
2016-04-06 20:56:42 +00:00
Selim Cinek
ac51be5b1c Merge "Deprecated the contentinfo and the number" into nyc-dev
am: 82404bc

* commit '82404bc0689aceb328a29fe17c277091ce793fa8':
  Deprecated the contentinfo and the number

Change-Id: I4ab5ddb1fa42221377d5603e89dfea84425344fe
2016-04-06 20:51:42 +00:00
Selim Cinek
82404bc068 Merge "Deprecated the contentinfo and the number" into nyc-dev 2016-04-06 20:45:56 +00:00
Jorim Jaggi
30ca02523c Merge "Dynamic density change handling" into nyc-dev am: ed01756
am: ff4cbb9

* commit 'ff4cbb9dd5251a31dc074e8a93734feafe804727':
  Dynamic density change handling

Change-Id: I80c441ddeb370f1616f90bcc1622f7ad740e1bfc
2016-04-06 20:28:37 +00:00
Jorim Jaggi
ff4cbb9dd5 Merge "Dynamic density change handling" into nyc-dev
am: ed01756

* commit 'ed017560009ad1fea924b1a7dea9689bc0b14a31':
  Dynamic density change handling

Change-Id: I436ea2f72f3df932e8ea03b9673e9f1ff2b900ae
2016-04-06 20:26:12 +00:00
Andreas Gampe
56c560a9dd Frameworks/base: Move Animation.USE_CLOSEGUARD to inner class
Move flag to inner class to isolate Animation. This allows compile-
time initialization of Animation and subclasses.

Bug: 27265238
Change-Id: I3d95ab77e87de0c033f97545609461bdc9bd5d61
2016-04-06 13:03:02 -07:00
Andrii Kulian
112d05678b Caps Lock toggle with Meta + Alt (2/2)
Caps Lock implementation in frameworks/base

Bug: 27482276
Change-Id: Ie0d8145c049197d4591e012832a710e4f751d2ac
2016-04-06 12:36:33 -07:00
Selim Cinek
0f9dd1e2f5 Deprecated the contentinfo and the number
It was mainly adding noise to the notification
rather than useful information.

Bug: 27431551
Change-Id: Ie22c9935d60eeac1cca5d9ce97239aadfac9b3cf
2016-04-06 12:18:31 -07:00
Jorim Jaggi
11c62e17af Dynamic density change handling
- In PWM, make sure to read the height values after the new
configuration has been applied.
- Reset all navigation bar button icons when density changes.
- Adjust height of notification bar.
- Reload divider height values in SysUI and WM.
- Snap divider handle to a new position after loading the
new configuration, as the snap points change.

Bug: 26844819
Bug: 27450471
Bug: 27921696
Change-Id: I9e28f0c49f6367c5fcfac010e7a6e98a42e85996
2016-04-06 19:12:24 +00:00
Svetoslav Ganov
99017ede1d Merge "Remove unusable a11y APIs for ClickableSpans." into nyc-dev am: f13f14e
am: 30457a1

* commit '30457a1dcebacac639326cbbf8960934c980afe1':
  Remove unusable a11y APIs for ClickableSpans.

Change-Id: I819d8bc38f6a7fe33fbb1a8550d4beacac7f2f30
2016-04-06 02:17:57 +00:00
Phil Weaver
30457a1dce Merge "Remove unusable a11y APIs for ClickableSpans." into nyc-dev
am: f13f14e

* commit 'f13f14ef30a147681854223871c1352d154d9d7a':
  Remove unusable a11y APIs for ClickableSpans.

Change-Id: I26a1ef96962058694ecf0c92e9a75e196c2ada99
2016-04-06 02:14:33 +00:00
Svetoslav Ganov
f13f14ef30 Merge "Remove unusable a11y APIs for ClickableSpans." into nyc-dev 2016-04-06 02:05:42 +00:00
Vladislav Kaznacheev
82fdb2e9d1 Rename View.DragShadowBuilder#onProvideShadowMetrics parameters
Added 'out' prefix to the two out parameters of this method.

Bug: 27810738
Change-Id: I2825cc90c2d2a1786578be31aff250ea6673ff9f
2016-04-05 17:06:44 -07:00
Yohei Yukawa
306cb9ccb5 Merge "Don\'t give IME focus to temporarily detached View." into nyc-dev am: 1bc62ce
am: 26c8cca

* commit '26c8cca1096d9901cc4c7c9261f5f6e045620c9f':
  Don't give IME focus to temporarily detached View.

Change-Id: I74a4e6014f240274033083fb91d6ec95debfac5e
2016-04-05 21:30:02 +00:00
Yohei Yukawa
26c8cca109 Merge "Don\'t give IME focus to temporarily detached View." into nyc-dev
am: 1bc62ce

* commit '1bc62ce8468f1e3a8ac41b6e759f145623879ba5':
  Don't give IME focus to temporarily detached View.

Change-Id: I76ec7c37ba58dfaa9398edee05ea0d8dbe174f06
2016-04-05 21:26:47 +00:00
Yohei Yukawa
1bc62ce846 Merge "Don't give IME focus to temporarily detached View." into nyc-dev 2016-04-05 21:21:09 +00:00
Chris Craik
e038368eb4 Merge "Fix software layer alpha" into nyc-dev am: cd6ea77d
am: 3844aff

* commit '3844affcef076c72a1990540babc885f67580050':
  Fix software layer alpha

Change-Id: I93829f1d888c04a9f3b120eea8810b1453024c47
2016-04-05 19:01:06 +00:00
Chris Craik
3844affcef Merge "Fix software layer alpha" into nyc-dev
am: cd6ea77d

* commit 'cd6ea77d07204d2ff5e1a0264dc24db215de8614':
  Fix software layer alpha

Change-Id: Ic0e8d3d5fa9e290f036d8e4fc59ee460b03020c9
2016-04-05 18:57:56 +00:00
Chris Craik
cd6ea77d07 Merge "Fix software layer alpha" into nyc-dev 2016-04-05 18:50:26 +00:00
Yohei Yukawa
3b30e66d8a Merge "Fix a remaining View leak in InputMethodManager." into nyc-dev am: e470fcf
am: eadb88f

* commit 'eadb88fe37825d3f39400c68f2cdc950aec4e30e':
  Fix a remaining View leak in InputMethodManager.

Change-Id: I0c53b76b279c625c79ecdfa22a031ad9eac3e317
2016-04-05 17:31:44 +00:00
Yohei Yukawa
eadb88fe37 Merge "Fix a remaining View leak in InputMethodManager." into nyc-dev
am: e470fcf

* commit 'e470fcfeb001d52c4add58f8420709cb6db7e7c4':
  Fix a remaining View leak in InputMethodManager.

Change-Id: I9f83e4de49c527d629091ffc6cf13297bdd6df3b
2016-04-05 17:28:32 +00:00