Commit Graph

2808 Commits

Author SHA1 Message Date
Jeff Brown
aa2f9f01fa am 81b7caf0: resolved conflicts for merge of 5214dae4 to klp-dev-plus-aosp
* commit '81b7caf0d12fb56ab40592467d6b1cbcaef8f0b4':
  handle negative temperature
2013-10-29 18:32:29 -07:00
Jeff Brown
81b7caf0d1 resolved conflicts for merge of 5214dae4 to klp-dev-plus-aosp
Change-Id: I769e7acbe207b9c3a60ff1576d11b3ab40b8c66d
2013-10-29 18:28:57 -07:00
Jeff Brown
5214dae44c am 6dbbba4e: Merge "handle negative temperature"
* commit '6dbbba4e9adc3f1c2481698e42f4ffc0c68937f1':
  handle negative temperature
2013-10-29 14:02:34 -07:00
Jeff Brown
6dbbba4e9a Merge "handle negative temperature" 2013-10-29 20:59:38 +00:00
Amith Yamasani
34cafa4b9a am 8e4457b0: am d58317b2: am 368daafc: Merge "Only simulate the first click if "Always use" button is available" into klp-dev
* commit '8e4457b05e854b9dd6f81a8d5b123e810e079749':
  Only simulate the first click if "Always use" button is available
2013-10-24 12:40:14 -07:00
Amith Yamasani
8e4457b05e am d58317b2: am 368daafc: Merge "Only simulate the first click if "Always use" button is available" into klp-dev
* commit 'd58317b2824656727b24f0b4c99e091954d05125':
  Only simulate the first click if "Always use" button is available
2013-10-24 12:35:37 -07:00
Amith Yamasani
34d41e9a85 Only simulate the first click if "Always use" button is available
This prevents Keep from being selected automatically when shown in the Share dialog
if Keep was previously chosen by the user as Always use for a send action.
This was a regression introduced by the new intent disambig behavior.

Bug: 11294904
Change-Id: I6745060a8ee0a6d680e657b55ee46aaec27bbacb
2013-10-23 16:05:29 -07:00
Satoshi Kataoka
b5c2092c4c Merge "Notify commitText event to InputMethodManagerService" 2013-10-23 18:36:14 +00:00
Dianne Hackborn
f4bcc592bf am b3332447: am e6a8ccb3: am 2d76a1a0: Merge "Fix issue #11323037: Android apk incorrectly marked as running in app processes" into klp-dev
* commit 'b3332447964dfe19299f6ba0365ee706daa4494b':
  Fix issue #11323037: Android apk incorrectly marked as running in app processes
2013-10-23 10:52:56 -07:00
Dianne Hackborn
b333244796 am e6a8ccb3: am 2d76a1a0: Merge "Fix issue #11323037: Android apk incorrectly marked as running in app processes" into klp-dev
* commit 'e6a8ccb3d11a3af2a2d9f0077965d05754abcff3':
  Fix issue #11323037: Android apk incorrectly marked as running in app processes
2013-10-23 10:49:52 -07:00
Dianne Hackborn
237cefbcee Fix issue #11323037: Android apk incorrectly marked as running in app processes
The android package is now a special case, not being added to the package list
when creating a multi-process component.  There is no need, since this package
is actually the framework itself which must be loaded in every process.

Also cleaned up some of the procstats dump output to help see what is going
on here.

Change-Id: If65d35ecd562f3154bdebfded69c454af6ce8c96
2013-10-22 19:15:49 -07:00
Satoshi Kataoka
d7443c83ce Notify commitText event to InputMethodManagerService
for the intelligent subtype switching

Bug: 7043015
Change-Id: I11ed9a767588f8080753cd9bce011dac7db579ad
2013-10-23 04:14:43 +09:00
John Spurlock
cb65456fd3 am a5217f09: am 1eeb5ff2: am d4595bd1: Merge "Move the IME navigation guard view up to decor." into klp-dev
* commit 'a5217f09c5438d1954dd71e2f75de95b1d8f6721':
  Move the IME navigation guard view up to decor.
2013-10-19 10:11:08 -07:00
John Spurlock
a5217f09c5 am 1eeb5ff2: am d4595bd1: Merge "Move the IME navigation guard view up to decor." into klp-dev
* commit '1eeb5ff203a4aea5a4cfbe6c9982dc77cabd1f2b':
  Move the IME navigation guard view up to decor.
2013-10-19 10:07:48 -07:00
John Spurlock
ae3349e1c3 Move the IME navigation guard view up to decor.
Although the IME windows are now allowed to extend into
the nav bar, some IMEs were making assumptions about
computed insets based on the height of the content view.

So our navigation bar view (opaque view blocking the nav bar
area to avoid the island effect when transparent) needs to live
above the content view in the hierarchy, making the content view
the same height as it was before.

A surgical spot to put the guard view is up at the root view
(PhoneWindow.DecorView).  fitSystemWindows is always called since
this view is not recreated, and the layout is stable: waiting until
the IME is attached to the window is too late to add a guard view.

This is above the screen_* layouts, so will work without having to
touch all of them.  And it only affects windows of TYPE_INPUT_METHOD.

Bug:11237795
Change-Id: I6a93f30aec83f1cecfb854073046cbc87ab4aa66
2013-10-18 18:41:22 -04:00
Jim Miller
e400a2900d am 53caf875: am 01491271: am 53cb242f: Merge "Fix issue where keyguard adds widgets before the system is ready" into klp-dev
* commit '53caf87531372048d4171626e767eeeb94ec664c':
  Fix issue where keyguard adds widgets before the system is ready
2013-10-17 16:27:02 -07:00
Jim Miller
53caf87531 am 01491271: am 53cb242f: Merge "Fix issue where keyguard adds widgets before the system is ready" into klp-dev
* commit '0149127198f9fc46a3a4f0b7f4e9579b72273b46':
  Fix issue where keyguard adds widgets before the system is ready
2013-10-17 16:23:13 -07:00
Satoshi Kataoka
03e1c70802 Merge "Introduce an API to get the recommended height of the InputMethodWindow" 2013-10-17 05:24:01 +00:00
Jim Miller
e5f910a667 Fix issue where keyguard adds widgets before the system is ready
While under heavy system load,  keyguard was able to create widgets before
before ActivityManagerService was ready.  The result was a race
between keyguard adding widgets and ActivityManagerService being
ready to send broadcasts.

This fix provides keyguard with an additional signal to know when
the system is booted and widgets are safe to load.

Fixes bug b/11217169

Change-Id: I7a714d65b068678f961e52bdde4e1c20f9c287f0
2013-10-16 19:42:34 -07:00
Dianne Hackborn
06d6a7548e am 9aded5ab: am 827c5af0: am e49a107a: Merge "Fix issue #11223335: APR: Lots of failures in procstats due to..." into klp-dev
* commit '9aded5abd65a2c69090abece37a7825a52ca3af0':
  Fix issue #11223335: APR: Lots of failures in procstats due to...
2013-10-15 04:03:09 -07:00
Satoshi Kataoka
658c7b896a Introduce an API to get the recommended height of the InputMethodWindow
Bug: 11035379
Bug: 5137498

Change-Id: I0e920ee79c526c3aea6872b063cf294e2ab081c8
2013-10-15 14:35:18 +09:00
Dianne Hackborn
9aded5abd6 am 827c5af0: am e49a107a: Merge "Fix issue #11223335: APR: Lots of failures in procstats due to..." into klp-dev
* commit '827c5af02de29424ea80f1ccfe525e681d0b74f0':
  Fix issue #11223335: APR: Lots of failures in procstats due to...
2013-10-14 19:01:55 -07:00
Dianne Hackborn
878deb3c7b Fix issue #11223335: APR: Lots of failures in procstats due to...
...bad cleanup of crashing processes

We now have a special path for crashing processes, to silently
clean up their state.

Also some tweaks to Log/Slog.wtf to get better stack crawl
summaries in APR.

Change-Id: Ieced26989907a6e7615b6fa033813fced78d7474
2013-10-14 17:15:40 -07:00
Daniel Sandler
3670316db6 am 58346d21: am 816fdb03: am e00ab019: Merge "Easter egg cleanups." into klp-dev
* commit '58346d212a3b48f4f965e4bf40baad1953330b03':
  Easter egg cleanups.
2013-10-14 10:51:48 -07:00
Daniel Sandler
58346d212a am 816fdb03: am e00ab019: Merge "Easter egg cleanups." into klp-dev
* commit '816fdb032fa66c75f8cf0a7b61efc46d032a8403':
  Easter egg cleanups.
2013-10-13 12:35:44 -07:00
Daniel Sandler
70966ec922 Easter egg cleanups.
Bug: 11171189
Bug: 10240151
Change-Id: Id5a8904bdf6c16302e09f2b48392f99c280a8179
2013-10-13 15:20:52 -04:00
John Spurlock
9012ed4645 am b0c900be: am b8818120: am e2bd7be2: Merge "Ensure fitSystemWindows is called on the IME at least once." into klp-dev
* commit 'b0c900becfec85919a10d5761da235b2153889c2':
  Ensure fitSystemWindows is called on the IME at least once.
2013-10-11 10:35:35 -07:00
John Spurlock
b0c900becf am b8818120: am e2bd7be2: Merge "Ensure fitSystemWindows is called on the IME at least once." into klp-dev
* commit 'b8818120ce58b54c7f4f4a1b42f1513bfda34129':
  Ensure fitSystemWindows is called on the IME at least once.
2013-10-11 10:32:16 -07:00
John Spurlock
3bf26b6f2f Ensure fitSystemWindows is called on the IME at least once.
InputMethodService will recreate the entire layout on config changes.
Until the system insets change again, the new instance will not
hear about the insets.

This change ensures fitSystemWindows is called at least once for all
input method root views that are added to a window.

Bug:11174545
Change-Id: Id0f02f32c0d6e9c2d6b6aeef74a12a13acfbb9e6
2013-10-11 13:16:23 -04:00
Adam Powell
d2d0b5843d am 7b3cdb0f: am 6f090af3: am ebd1dca5: Merge "Re-enable ActionMenuPresenter view recycling" into klp-dev
* commit '7b3cdb0fb7cd7fab647de09e6a64ce59555ed733':
  Re-enable ActionMenuPresenter view recycling
2013-10-10 19:26:52 -07:00
Alan Viverette
9845b38279 am 785cda30: am f8c146a2: am c37db9c0: Merge "Fix layout and invalidate in SubtitleView" into klp-dev
* commit '785cda30c35aefa90fd89adef0e71fa41fd3459c':
  Fix layout and invalidate in SubtitleView
2013-10-10 19:26:42 -07:00
Adam Powell
7b3cdb0fb7 am 6f090af3: am ebd1dca5: Merge "Re-enable ActionMenuPresenter view recycling" into klp-dev
* commit '6f090af305eba51785bb9a6ec08fb9f86a73da98':
  Re-enable ActionMenuPresenter view recycling
2013-10-10 19:20:52 -07:00
Alan Viverette
785cda30c3 am f8c146a2: am c37db9c0: Merge "Fix layout and invalidate in SubtitleView" into klp-dev
* commit 'f8c146a2a2e47da9326ac2ea39b7ae47b97df184':
  Fix layout and invalidate in SubtitleView
2013-10-10 19:20:25 -07:00
Adam Powell
ebd1dca5ea Merge "Re-enable ActionMenuPresenter view recycling" into klp-dev 2013-10-11 01:27:20 +00:00
Adam Powell
c3ca3ea3a9 Re-enable ActionMenuPresenter view recycling
Since action bar transitions are turned off again for now, re-enabling
item view recycling fixes an unfortunate regression with submenus.

If a menu view is invalidated while a submenu is open we need to keep
its anchor consistent. With view recycling active we preserve status
quo and the previous anchor view instance for the popup window remains
in place.

In the future this will need to get more sophisticated;
ActionMenuPresenter will need to re-parent an open submenu against the
proper anchor view by menu item id. But that is a change for another
day.

Bug 11174504

Change-Id: I7e8a444f6996ec95417d20e87938f496e9c3a4dd
2013-10-10 18:07:48 -07:00
Alan Viverette
c37db9c0de Merge "Fix layout and invalidate in SubtitleView" into klp-dev 2013-10-11 00:24:02 +00:00
John Spurlock
aba437d9ba am 107c3fed: am a8c73fbd: am a619afd6: Merge "IME navigation guard implemented as a View." into klp-dev
* commit '107c3fed5c26ce2202b6c9394e14e30e49642c85':
  IME navigation guard implemented as a View.
2013-10-10 11:24:44 -07:00
John Spurlock
107c3fed5c am a8c73fbd: am a619afd6: Merge "IME navigation guard implemented as a View." into klp-dev
* commit 'a8c73fbd5c90a0d4eacc7aaedc0ca30cfcd5f621':
  IME navigation guard implemented as a View.
2013-10-10 11:21:37 -07:00
John Spurlock
57beb3b5b3 IME navigation guard implemented as a View.
Instead of a custom onDraw in order to stay 100% in sync with abrupt
layout changes.

Also use the unrestricted layout bottom to avoid unnecessary
fitSystemWindows churn.

Bug:11162351
Change-Id: If9bb9a52d503e348d642bf1238f75c4a418ad805
2013-10-10 12:54:05 -04:00
John Spurlock
ad8eef9db0 am 4faa694e: am d3758420: am 65e91126: Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev
* commit '4faa694ed28db7961a2a37269e5706c2a49d87c3':
  Allow IMEs to extend below nav bar, remove SystemUI veto.
2013-10-09 15:13:57 -07:00
John Spurlock
4faa694ed2 am d3758420: am 65e91126: Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev
* commit 'd3758420a2ffd702dee914d794764a0615dd6956':
  Allow IMEs to extend below nav bar, remove SystemUI veto.
2013-10-09 15:08:33 -07:00
John Spurlock
65e911261d Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev 2013-10-09 21:57:01 +00:00
John Spurlock
c68d577f29 Allow IMEs to extend below nav bar, remove SystemUI veto.
Layout IMEs below the nav bar, offset by bottom padding and
associated guard rectangle with a black background to ensure
they do not appear as islands during transitions.

This makes it safe to remove the SystemUI forced opaque transition
when showing an IME, making the overall transition less expensive,
quicker and smoother overall.

Bug:11058746
Change-Id: I460912ee7c117480c57b947ed31eca330819f32c
2013-10-09 16:23:15 -04:00
Brian Carlstrom
2172148f15 am 2d0f1d65: am 19c8b395: am 6c3baf12: Preload DexCaches
* commit '2d0f1d655cc96d34e67e4e6efc2587ef1feabfe3':
  Preload DexCaches
2013-10-09 09:14:09 -07:00
Brian Carlstrom
2d0f1d655c am 19c8b395: am 6c3baf12: Preload DexCaches
* commit '19c8b395dc13732d0642041b81507038190546ca':
  Preload DexCaches
2013-10-08 18:42:42 -07:00
Alan Viverette
b8a0057d82 Fix layout and invalidate in SubtitleView
BUG: 11138745
Change-Id: If216dc1c68b6aaef3ad41ae30f488b140d4676d6
2013-10-08 17:24:58 -07:00
Brian Carlstrom
6c3baf12e0 Preload DexCaches
Bug: 11045348
Change-Id: Id27333652d4b3b9ace6c1cdf0566bf39bf0084ed
2013-10-08 17:11:17 -07:00
Alan Viverette
14b875b09b am 6de0ee41: am 8d6730fd: am b89e969c: Merge "Fix font scaling issues in FastScroller and SubtitleView" into klp-dev
* commit '6de0ee41f9a9668180368d82da688793cef9489d':
  Fix font scaling issues in FastScroller and SubtitleView
2013-10-04 17:36:17 -07:00
Alan Viverette
6de0ee41f9 am 8d6730fd: am b89e969c: Merge "Fix font scaling issues in FastScroller and SubtitleView" into klp-dev
* commit '8d6730fd30dd6aa4b186591f210dd5e74d117921':
  Fix font scaling issues in FastScroller and SubtitleView
2013-10-04 15:10:19 -07:00
Alan Viverette
b89e969cef Merge "Fix font scaling issues in FastScroller and SubtitleView" into klp-dev 2013-10-04 22:04:00 +00:00