Commit Graph

32400 Commits

Author SHA1 Message Date
Alan Viverette
36f4b08341 Simplify matrix calculations for display adjustment
Removes MatrixUtils, which is now unused.

Change-Id: Ifa809d2aeafa415d3861e59e4c7a8b115e76a2df
2013-10-03 16:46:04 -07:00
Satoshi Kataoka
92a6f3018a Fix InputMethodSubtype#equals corresponding to hashCode
Change-Id: Ic9305a6f0f5d753f0ad674ad6c9ee648cc8a6ce9
2013-10-03 16:35:21 +09:00
Alan Viverette
973d778b27 am f58462f0: am 0d5fe0dd: am 4c6b2900: Merge "Clear accessibility focus from recycled views when needed" into klp-dev
* commit 'f58462f0c03c274ba829d74ecfe4c5e37a647719':
  Clear accessibility focus from recycled views when needed
2013-10-02 14:38:11 -07:00
Alan Viverette
f58462f0c0 am 0d5fe0dd: am 4c6b2900: Merge "Clear accessibility focus from recycled views when needed" into klp-dev
* commit '0d5fe0dd291bd00e066b274aa40d99c34649902e':
  Clear accessibility focus from recycled views when needed
2013-10-02 14:33:15 -07:00
Alan Viverette
4c6b29006f Merge "Clear accessibility focus from recycled views when needed" into klp-dev 2013-10-02 20:51:10 +00:00
Jeff Sharkey
11e9274fc0 am c7ce6985: am 50a8663d: am 437befc1: Merge "Docs change: annotate media intent actions." into klp-dev
* commit 'c7ce69853ad8297ac5cad4a1e91b6f40f0d671d9':
  Docs change: annotate media intent actions.
2013-10-02 10:48:14 -07:00
Jeff Sharkey
c7ce69853a am 50a8663d: am 437befc1: Merge "Docs change: annotate media intent actions." into klp-dev
* commit '50a8663d261a3fd7b26c1a17beac86090e3da4c8':
  Docs change: annotate media intent actions.
2013-10-02 10:45:28 -07:00
Jeff Sharkey
437befc127 Merge "Docs change: annotate media intent actions." into klp-dev 2013-10-02 17:39:18 +00:00
Mindy DelliCarpini
df1487dbd8 am a66c2c29: am e84c87bf: am f5085088: Merge "New, less blue overscroll assets with tuned constants in EdgeEffect class." into klp-dev
* commit 'a66c2c294f0477d55211171a607ea70f88dbeaf7':
  New, less blue overscroll assets with tuned constants in EdgeEffect class.
2013-10-02 10:37:52 -07:00
Mindy DelliCarpini
a66c2c294f am e84c87bf: am f5085088: Merge "New, less blue overscroll assets with tuned constants in EdgeEffect class." into klp-dev
* commit 'e84c87bf796367b5b672783407ca91afb71e4cf0':
  New, less blue overscroll assets with tuned constants in EdgeEffect class.
2013-10-02 10:35:06 -07:00
Mindy DelliCarpini
f50850882d Merge "New, less blue overscroll assets with tuned constants in EdgeEffect class." into klp-dev 2013-10-02 17:26:47 +00:00
Jeff Sharkey
ba0591c9e3 am 21d8e96d: am ef4c3790: am 27d3c0fe: Merge "Isolate calls to each remote DocumentsProvider." into klp-dev
* commit '21d8e96d840be42fae56483a2e291fc10677b2d9':
  Isolate calls to each remote DocumentsProvider.
2013-10-02 10:15:14 -07:00
Jeff Sharkey
32cd2fb596 Docs change: annotate media intent actions.
Bug: 11043141
Change-Id: I66777c5ce25014d8e64da5b4ce3f70334befb0b7
2013-10-02 10:11:25 -07:00
Jeff Sharkey
21d8e96d84 am ef4c3790: am 27d3c0fe: Merge "Isolate calls to each remote DocumentsProvider." into klp-dev
* commit 'ef4c3790e52beab467359f6b5125b66fbe1993ef':
  Isolate calls to each remote DocumentsProvider.
2013-10-02 10:11:18 -07:00
Mike Lockwood
4a8d08285c am 21f13bcb: am 9db72a51: am 68c692df: Revert "Allow L2CAP sockets"
* commit '21f13bcb42506101550367990d3adb4d39365392':
  Revert "Allow L2CAP sockets"
2013-10-02 09:44:38 -07:00
Dianne Hackborn
5d93ad94a3 am 1d536848: am 239dc099: am 164371fb: Fix issue #11005453: [SUW] G+ profile creation for new user broken
* commit '1d536848af1531dd14af52000f5ab505162bf123':
  Fix issue #11005453: [SUW] G+ profile creation for new user broken
2013-10-02 09:44:30 -07:00
Adam Lesinski
49e43291b2 am 234c6c8a: am ff7cba54: am 42e9b631: Merge "Make room for new public flags" into klp-dev
* commit '234c6c8aafa4abc440d5bf38aac058b96ba1434c':
  Make room for new public flags
2013-10-02 09:44:23 -07:00
Zhijun He
5af55d7a07 am 69c30a49: am a5761bd1: am 654314ee: Merge "Camera2: return device list with the only supported device" into klp-dev
* commit '69c30a49ccc9cd5f2b2a901edec73dbdf90b9edc':
  Camera2: return device list with the only supported device
2013-10-02 09:44:04 -07:00
Alan Viverette
67ee6fe019 am 0adaf034: am 6320305a: am f079a6d0: Merge "Set live region property on AccessibilityNodeInfo" into klp-dev
* commit '0adaf034886d9e3dd0ed81aa192f07fcff49c1a5':
  Set live region property on AccessibilityNodeInfo
2013-10-02 09:43:29 -07:00
Alan Viverette
87c9f89412 am e3ba7f24: am c379752a: am 3320ef95: Merge "Add findFocus API for AccessibilityNodeProvider" into klp-dev
* commit 'e3ba7f24dacfc8ef16e2f297fe3eec3c0719bfd1':
  Add findFocus API for AccessibilityNodeProvider
2013-10-02 09:43:25 -07:00
Jeff Sharkey
b6ab3b982b am 7f60e70e: am 666b998b: am 364fc14f: Merge "Detect wedged ContentProviders, treat as ANR." into klp-dev
* commit '7f60e70e815d381035b141843395830407c198d9':
  Detect wedged ContentProviders, treat as ANR.
2013-10-02 09:43:21 -07:00
Igor Murashkin
e9ac2ef758 am 606926ed: am 1b1cb30d: Merge "camera2: Fix CameraMetadata#getKeys" into klp-dev
* commit '606926eddf94745fcf147c1d5643dc2f2071a3ca':
  camera2: Fix CameraMetadata#getKeys
2013-10-02 09:42:52 -07:00
Jeff Sharkey
27d3c0fe37 Merge "Isolate calls to each remote DocumentsProvider." into klp-dev 2013-10-02 16:42:50 +00:00
Mike Lockwood
21f13bcb42 am 9db72a51: am 68c692df: Revert "Allow L2CAP sockets"
* commit '9db72a5121bacc06465b24a2711b4648a7adb289':
  Revert "Allow L2CAP sockets"
2013-10-02 09:37:56 -07:00
Dianne Hackborn
1d536848af am 239dc099: am 164371fb: Fix issue #11005453: [SUW] G+ profile creation for new user broken
* commit '239dc099a0d56eba3c7a537df23ef3c5046b2667':
  Fix issue #11005453: [SUW] G+ profile creation for new user broken
2013-10-02 09:37:26 -07:00
Adam Lesinski
234c6c8aaf am ff7cba54: am 42e9b631: Merge "Make room for new public flags" into klp-dev
* commit 'ff7cba54fc87509c94567d19c672693329868f7e':
  Make room for new public flags
2013-10-02 09:37:13 -07:00
Zhijun He
69c30a49cc am a5761bd1: am 654314ee: Merge "Camera2: return device list with the only supported device" into klp-dev
* commit 'a5761bd1f5166f3fd1c1bf07ce92a2ac443ee3e3':
  Camera2: return device list with the only supported device
2013-10-02 09:36:37 -07:00
Alan Viverette
0adaf03488 am 6320305a: am f079a6d0: Merge "Set live region property on AccessibilityNodeInfo" into klp-dev
* commit '6320305a609d0c4a3b64088fe826c5cebadec985':
  Set live region property on AccessibilityNodeInfo
2013-10-02 09:35:29 -07:00
Alan Viverette
e3ba7f24da am c379752a: am 3320ef95: Merge "Add findFocus API for AccessibilityNodeProvider" into klp-dev
* commit 'c379752a32c7d77fe144e1a6e441ef871001d080':
  Add findFocus API for AccessibilityNodeProvider
2013-10-02 09:35:25 -07:00
Jeff Sharkey
7f60e70e81 am 666b998b: am 364fc14f: Merge "Detect wedged ContentProviders, treat as ANR." into klp-dev
* commit '666b998b67fe7bb6fc11dd6d683a18b5690afd39':
  Detect wedged ContentProviders, treat as ANR.
2013-10-02 09:35:14 -07:00
Igor Murashkin
606926eddf am 1b1cb30d: Merge "camera2: Fix CameraMetadata#getKeys" into klp-dev
* commit '1b1cb30d8e7aefb5466ca20e593f8d8062d36b81':
  camera2: Fix CameraMetadata#getKeys
2013-10-02 09:34:22 -07:00
Jeff Sharkey
d01571e6d4 Isolate calls to each remote DocumentsProvider.
All background work is going through AsyncTasks, which uses a shared
thread pool.  Even with the new ContentProviderClient logic to detect
ANRs, the UI can still appear to be unresponsive for 20 seconds, even
if the user attempted to switch to a different backend.  In the worst
case, a backlog of thumbnail requests would end up wedging Loaders
for a long time, since they all share the same THREAD_POOL_EXECUTOR.

This change isolates calls to each provider onto their own thread,
which they're free to wedge and recover from over time.

It also means we no longer need a dedicated thread pool for recents
loading, and can use a simpler Semaphore instead.

Disables thumbnails in recents on svelte devices.

Bug: 10993301, 11014856
Change-Id: I7f8a5bbb5f64437e006cb2c48b7e854136d5c38c
2013-10-02 08:54:02 -07:00
Mike Lockwood
68c692df5f Revert "Allow L2CAP sockets"
This reverts commit 34b0f92613.
2013-10-02 07:56:46 -07:00
Svetoslav
2caf51b5bf am 8fd521c7: am 95b1bbfe: Merge "Fix the build" into klp-dev
* commit '8fd521c7447a6f95006adb56cfa60ff49e1befab':
  Fix the build
2013-10-01 23:11:00 -07:00
Jeff Brown
d09d5f9e4c am 10478213: am 5e65adaf: Merge "Reset insets when inset computer is removed." into klp-dev
* commit '10478213759a486524000c4164e4176437afa2d7':
  Reset insets when inset computer is removed.
2013-10-01 23:10:56 -07:00
Svetoslav
8fd521c744 am 95b1bbfe: Merge "Fix the build" into klp-dev
* commit '95b1bbfe6c8fe5072d80e027d4b25319ed6f0411':
  Fix the build
2013-10-01 22:22:00 -07:00
Jeff Brown
1047821375 am 5e65adaf: Merge "Reset insets when inset computer is removed." into klp-dev
* commit '5e65adaf4131bb08862fd5eae249a1f713b8ed51':
  Reset insets when inset computer is removed.
2013-10-01 22:21:55 -07:00
Dianne Hackborn
164371fb75 Fix issue #11005453: [SUW] G+ profile creation for new user broken
The main problem here was a mistake when turning a single process
structure to a multi-package-process structure with a common
process.  When we cloned the original process state, if there were
any services already created for the process for that package, they
would be left with their process pointer still referencing the
original now common process instead of the package-specific process,
allowing the active counts to get bad.  Now we switch any of those
processes over to the new package-specific process.

There was also another smaller issue with how ServiceRecord is
associated with a ServiceState -- we could be waiting for an
old ServiceRecord to be destroyed while at the same time creating
a new ServiceRecord for that same service class.  These would share
the same ServiceState, so when the old record finally finished
destroying itself it would trample over whatever the new service
is doing.

This is fixed by changing the model to instead of using an "active"
reference count, we have an object identifying the current owner
of the ServiceState.  Then when the old ServiceRecord is cleaning
up, we know if it is still the owner at that point.

Also some other small things along the way -- new Log.wtfStack()
method that is convenient, new suite of Slog.wtf methods, fixed
some services to use Slog.wtf when catching exceptions being
returned to the caller so that we actually know about them.

Change-Id: I75674ce38050b6423fd3c6f43d1be172b470741f
2013-10-01 20:51:12 -07:00
Adam Lesinski
42e9b63100 Merge "Make room for new public flags" into klp-dev 2013-10-02 01:55:09 +00:00
Alan Viverette
69fdba4c38 am ed2cfdbf: am 6f07cc84: Merge "Rebind transient state views when available" into klp-dev
* commit 'ed2cfdbf42203463cffbbc7184d93af6187c60fc':
  Rebind transient state views when available
2013-10-01 18:50:27 -07:00
Robert Greenwalt
d29724c640 am 2b6b3d9c: am bad5d694: Merge "Use a build-specific wifi country code" into klp-dev
* commit '2b6b3d9c495d3c8332aad6515a1db06e8fde3848':
  Use a build-specific wifi country code
2013-10-01 18:50:20 -07:00
Matthew Xie
3d2a664a42 am 9eb9ebb2: am 0e772b22: Merge "Unhide setPin, setPin, setPairingConfirmation, and relevant intent fields" into klp-dev
* commit '9eb9ebb2fbbe1135919cf685d84eba18cfecdf01':
  Unhide setPin, setPin, setPairingConfirmation, and relevant intent fields
2013-10-01 18:50:10 -07:00
Adam Lesinski
6a591f5859 Make room for new public flags
Moved two hidden flags to private

bug:11033280
Change-Id: Icca867b073aff643eefdaf84df68de86bb6b05ac
2013-10-01 18:48:20 -07:00
Romain Guy
c3e21ba1ce am bb1d4d38: am d6c1870d: am 5fceada3: Merge "Fragement, or Fragment: that is the question"
* commit 'bb1d4d3896b781905bbf3ccbd5d5617da61cc3eb':
  Fragement, or Fragment: that is the question
2013-10-01 18:46:05 -07:00
Svetoslav Ganov
a35df7dacc am 0ed01ab5: Merge "Printers in the list of printers change position." into klp-dev
* commit '0ed01ab57f1277a3889da10daa87733c1af6e0d0':
  Printers in the list of printers change position.
2013-10-01 18:44:58 -07:00
Svetoslav
a4e395057f am c6568719: Merge "Ignore historical printer records for installed services" into klp-dev
* commit 'c6568719671206e726f260fad390680f7fb0ee9e':
  Ignore historical printer records for installed services
2013-10-01 18:44:25 -07:00
Jim Miller
d273cae2c4 resolved conflicts for merge of fb2e3c8d to master
Change-Id: Ic9fe2674e0eb82d071f9b547b6089acacf705576
2013-10-01 15:42:45 -07:00
Zhijun He
654314eedf Merge "Camera2: return device list with the only supported device" into klp-dev 2013-10-01 22:40:11 +00:00
Zhijun He
18fe0ae08d Camera2: return device list with the only supported device
Bug: 10360518
Change-Id: I823f0b6965728ddefc9b70f3df0f50259919cce5
2013-10-01 14:26:40 -07:00
Christian Robertson
2d1acfc9f7 New, less blue overscroll assets with tuned constants in EdgeEffect class.
Glow absorb animation was very slow with high velocity flings. Clamped the velocity
and adjusted constants for start values and duration of absorb animation.

Change-Id: Id2a87814498e05f5f8ceb942dd1d765874461beb
2013-10-01 12:37:17 -07:00