Commit Graph

8048 Commits

Author SHA1 Message Date
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
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
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
Yohei Yukawa
e470fcfeb0 Merge "Fix a remaining View leak in InputMethodManager." into nyc-dev 2016-04-05 17:22:47 +00:00
Chris Craik
cfa6dade73 Fix software layer alpha
Fixes: 27429404

Software layers must combine layerpaint alpha, if present, with view
alpha.

Change-Id: If9c7dcb53ab8754b4e123cf9cc332a566fd792c4
2016-04-05 10:15:11 -07:00
Adam Lesinski
e818bb782c Merge "Fix issue with overridden configuration in onConfigurationChanged" into nyc-dev am: a149c42
am: ea0186c

* commit 'ea0186c2c1d4184f2469f87ac94a851c7828818c':
  Fix issue with overridden configuration in onConfigurationChanged

Change-Id: I8dff44a0a0f986446d92c4791aa757c66cd97473
2016-04-05 02:30:45 +00:00
Adam Lesinski
ea0186c2c1 Merge "Fix issue with overridden configuration in onConfigurationChanged" into nyc-dev
am: a149c42

* commit 'a149c42071197a7759a652accb399bc58ed62bcd':
  Fix issue with overridden configuration in onConfigurationChanged

Change-Id: I034e9ad42bf8e94ca97fd536ba1498fe19f01118
2016-04-05 02:28:26 +00:00
Adam Lesinski
a149c42071 Merge "Fix issue with overridden configuration in onConfigurationChanged" into nyc-dev 2016-04-05 02:22:52 +00:00
Phil Weaver
72fde85f7f Remove unusable a11y APIs for ClickableSpans.
This change essentially backs out ag/683646, which added an API to click
on ClickableSpans within a TextView. This API has the flaw, however,
that ClickableSpans are not parcelable, so they are not in general
reported to AccessibilityServices. That means that services will have no
idea what they are activating.

Since the API is not usable end-to-end, I'm backing it out before the
API is final.

Bug: 17726921
Change-Id: I541c6218f2899ff67a6b32a13fd9ae6f3b53b3c4
2016-04-04 18:37:32 -07:00
Yohei Yukawa
a620f855c4 Merge "Unhide View#dispatch{Start,Finish}TemporaryDetach()" into nyc-dev am: 807c3a8
am: acbcf0c

* commit 'acbcf0c6879ff960e48c5cc4333ebe9f2881aca9':
  Unhide View#dispatch{Start,Finish}TemporaryDetach()

Change-Id: I12a0b2f513f6d622956e5ad4d769e20d20d5a978
2016-04-05 00:15:59 +00:00
Yohei Yukawa
acbcf0c687 Merge "Unhide View#dispatch{Start,Finish}TemporaryDetach()" into nyc-dev
am: 807c3a8

* commit '807c3a828b97e6d619f2dfdfde2f97efc873f6fe':
  Unhide View#dispatch{Start,Finish}TemporaryDetach()

Change-Id: I1e34c5dd1ce5d942def740224df56db35e0c7d95
2016-04-05 00:13:24 +00:00
Yohei Yukawa
a4ed0cfcb6 Don't give IME focus to temporarily detached View.
The root cause of Bug 18920212 is that when AutoCompleteTextView tries
to show completion window upon text input,
InputMethodManager#focusInLocked() can be called with a View that is
temporarily detached, which should be ignored.

Bug: 18920212
Change-Id: Ia79bbd8468f768d546354382b47b39dd31ef7bb5
2016-04-05 00:05:26 +00:00
Yohei Yukawa
807c3a828b Merge "Unhide View#dispatch{Start,Finish}TemporaryDetach()" into nyc-dev 2016-04-05 00:05:09 +00:00
Adam Powell
6bea390c36 Merge "Tweaks for ScaleGestureDetector" into nyc-dev am: 13af984
am: 379dbfe

* commit '379dbfe274442bf0ef1cfc72f4edfc0d6c60e6ea':
  Tweaks for ScaleGestureDetector

Change-Id: I4df918ed89e9365d2521b388190f58f6eb851255
2016-04-04 23:18:11 +00:00
Adam Powell
379dbfe274 Merge "Tweaks for ScaleGestureDetector" into nyc-dev
am: 13af984

* commit '13af9845d4d6598dd64c4c8c99af93f92e7b56af':
  Tweaks for ScaleGestureDetector

Change-Id: I1bc8c19f1f64b3deda28538dfc81a2ef691ce656
2016-04-04 23:15:42 +00:00