4544 Commits

Author SHA1 Message Date
Winson Chung
6168317f31 resolved conflicts for merge of 7b2ad857 to master
Change-Id: I72472e56b2303aa6ccabd784fadc7da4eabcb0e8
2013-04-19 14:25:58 -07:00
Baligh Uddin
88fc557664 Merge "Import translations. DO NOT MERGE" 2013-04-18 16:45:27 +00:00
Benoit Goby
95be338f9b am aa313948: am d02b00dd: Merge "Fix UsbDebuggingActivity not shown in adb tcpip mode" into jb-mr2-dev
* commit 'aa313948752a427281aa8d22066fc2d71e369cb7':
  Fix UsbDebuggingActivity not shown in adb tcpip mode
2013-04-17 18:59:02 -07:00
Benoit Goby
aa31394875 am d02b00dd: Merge "Fix UsbDebuggingActivity not shown in adb tcpip mode" into jb-mr2-dev
* commit 'd02b00dd6efd3841708cd72ae08e5d548b8cd07b':
  Fix UsbDebuggingActivity not shown in adb tcpip mode
2013-04-17 18:56:10 -07:00
Benoit Goby
29a4b7277e Fix UsbDebuggingActivity not shown in adb tcpip mode
Bug: 8646772
Change-Id: If34c756bece903a0a452070bbc94ebc71d325bf6
2013-04-17 17:34:30 -07:00
Jim Miller
3569e9e50c resolved conflicts for merge of 2f6a2526 to master
Change-Id: Ie51d3a63f4d4d5bad7ef16ad84ef6ad5acdaa64a
2013-04-17 14:18:56 -07:00
Baligh Uddin
1f53f5bb4e Import translations. DO NOT MERGE
Change-Id: Ifab4d7366d3359eee3f5e4adad7ec05c00d9b0d6
Auto-generated-cl: translation import
2013-04-17 09:15:39 -07:00
Baligh Uddin
9f7fd99c94 Import translations. DO NOT MERGE
Change-Id: I912a433cb92359b877eaee39eae0a9da6679eb8f
Auto-generated-cl: translation import
2013-04-17 08:52:28 -07:00
Daniel Sandler
1aec006be7 am 21f492b7: am cfd48d77: Merge "Rebuild quick settings tile layouts." into jb-mr2-dev
* commit '21f492b76a019828a3ff9785641c92dd548fed98':
  Rebuild quick settings tile layouts.
2013-04-16 11:38:01 -07:00
Daniel Sandler
21f492b76a am cfd48d77: Merge "Rebuild quick settings tile layouts." into jb-mr2-dev
* commit 'cfd48d77a2d11324ce8641a9cc178fb9f12500a3':
  Rebuild quick settings tile layouts.
2013-04-16 11:35:48 -07:00
John Spurlock
32beb2c6b1 Hideybars part I - Overlay status bar via an intent.
Implement new mode for status bar, allowing it to overlay
windows that use WM.LP.FLAG_FULLSCREEN, and introduce
transparency.

No gesture is implemented yet, for now the auto-hiding
status bar can be shown using a debugging intent.
  android.intent.action.HIDEYBARS

The auto-hiding status bar hides 3 seconds after shown,
or 3 seconds after last user-interaction with the shade.

Change-Id: Ie4bd625b9cbcddea8f818154719c7a6075972f2a
2013-04-16 11:03:40 -04:00
Daniel Sandler
b5538e6421 Rebuild quick settings tile layouts.
The chief motivation here is to allow two lines of text when
necessary. So much refactoring over so small a thing, but
the result is satisfying: most quick settings tiles do not
need their own layouts. Additionally, tiles with odd-shaped
icons (I'm looking at you, alien potato mode) no longer fall
off the grid.

It should be possible to further reduce the complexity of
quick settings, but for now this will suffice.

Bug: 7216734 // vertical alignment issues
Bug: 7216868 // wrap text in QS tiles
Bug: 7365911 // NPE in some tiles
Change-Id: I0c6ef275e44f745dfac52c2a7303072ae48e3873
2013-04-15 22:09:55 -04:00
Brian Colonna
647e4b82fe am df6db6ad: am 3f1375e5: Merge "Enabling Face Unlock for user switching (bug 8495282)" into jb-mr2-dev
* commit 'df6db6adc2fd09da77a028539e802e69d0a8d6a1':
  Enabling Face Unlock for user switching (bug 8495282)
2013-04-15 14:27:40 -07:00
Baligh Uddin
7ced495670 Merge "Import translations. DO NOT MERGE" 2013-04-15 19:27:22 +00:00
Daniel Sandler
f3e6e184b1 am 492c67a8: am bd573049: Merge "Putting the gesture debugging back in the box." into jb-mr2-dev
* commit '492c67a8b12ce154e41dc48102ae99e0c0e5210d':
  Putting the gesture debugging back in the box.
2013-04-15 11:10:32 -07:00
Daniel Sandler
492c67a8b1 am bd573049: Merge "Putting the gesture debugging back in the box." into jb-mr2-dev
* commit 'bd573049ec5a0c0d73b4835a2308c6737dfff2f3':
  Putting the gesture debugging back in the box.
2013-04-15 11:06:55 -07:00
Daniel Sandler
bd573049ec Merge "Putting the gesture debugging back in the box." into jb-mr2-dev 2013-04-15 18:02:52 +00:00
Baligh Uddin
a1a67eb23d Import translations. DO NOT MERGE
Change-Id: Ifb0c975361e9e00feb3957139cf2c15a463a5319
Auto-generated-cl: translation import
2013-04-15 09:19:05 -07:00
Daniel Sandler
fa027f5d91 Putting the gesture debugging back in the box.
Bug: 7164602
Change-Id: I93f716cd7cc9f1462fbfefb485250729411ede35
2013-04-11 22:01:47 -04:00
Dianne Hackborn
042a5b0a59 am bc708d8b: am c309ca46: Merge "Fix issue #8582003: Evernote Camera Capture Failure" into jb-mr2-dev
* commit 'bc708d8b9d8ac4d1a9a02c3d547364364114ddad':
  Fix issue #8582003: Evernote Camera Capture Failure
2013-04-11 18:05:17 -07:00
Dianne Hackborn
bc708d8b9d am c309ca46: Merge "Fix issue #8582003: Evernote Camera Capture Failure" into jb-mr2-dev
* commit 'c309ca4622833bf47b57366ae038500023de1668':
  Fix issue #8582003: Evernote Camera Capture Failure
2013-04-11 18:01:30 -07:00
Dianne Hackborn
b57a50bd16 Fix issue #8582003: Evernote Camera Capture Failure
ActivityThread.currentPackageName() was actually returning
the process name.  Change this to return the package name, and
fix the one spot using it I could find that was actually wanting
the process name.

Change-Id: I323b9c5987106b5a090968e545281fc0ba55b6b8
2013-04-11 17:29:32 -07:00
Jim Miller
c8c0d0964e am cce961c1: am 22626107: Merge "Fix bug where transport shows all the time in keyguard" into jb-mr2-dev
* commit 'cce961c13417eeafba78fd5f785984b54997d897':
  Fix bug where transport shows all the time in keyguard
2013-04-11 15:43:49 -07:00
Jim Miller
3f4e82b190 am 3ef8f64d: am 5c58a916: Merge "Fix missing clock in keyguard" into jb-mr2-dev
* commit '3ef8f64d3faac1b110c737e69472be710d07d158':
  Fix missing clock in keyguard
2013-04-10 17:25:11 -07:00
Baligh Uddin
2ea3c41c60 Import translations. DO NOT MERGE
Change-Id: I82b577fe2ce4219c5afdce07b539238fde0de090
Auto-generated-cl: translation import
2013-04-10 09:30:09 -07:00
Ying Wang
28af35e8cd resolved conflicts for merge of a976bddd to master
Change-Id: I64e1cbfb0eee891ce4d1eee40eefdcedcc501f7f
2013-04-09 23:21:42 -07:00
Ying Wang
a976bddd9c am d8b26d6c: Merge "Add liblog" into jb-mr2-dev
* commit 'd8b26d6c424741dd09cf70ee88fd237807aaf301':
  Add liblog
2013-04-09 22:28:51 -07:00
Ying Wang
d685894212 Add liblog
Bug: 8580410
Change-Id: I746aa8258866508c3a725d0773faf4518096548f
2013-04-09 21:54:12 -07:00
Michael Jurka
d2c6dd012d am 7449844f: am 104ca45a: Merge "Fix janky icon fade-in animation in Recents" into jb-mr2-dev
* commit '7449844f692baa1aa461c5174e09a1e4eff55217':
  Fix janky icon fade-in animation in Recents
2013-04-08 23:13:21 -07:00
Michael Jurka
7449844f69 am 104ca45a: Merge "Fix janky icon fade-in animation in Recents" into jb-mr2-dev
* commit '104ca45a046cf6f056d84799f6a161c8befe7522':
  Fix janky icon fade-in animation in Recents
2013-04-08 23:10:14 -07:00
Michael Jurka
104ca45a04 Merge "Fix janky icon fade-in animation in Recents" into jb-mr2-dev 2013-04-09 06:04:36 +00:00
Jeff Brown
b437a79b05 resolved conflicts for merge of 21dffd5d to master
Change-Id: I37c48dee471c9d43f19c1fe4a01f70db53e2441f
2013-04-08 19:05:15 -07:00
Michael Jurka
e0523f7c80 Fix janky icon fade-in animation in Recents
Change-Id: I15d2274add8903820dac3da0fa47c9e54f6ec97d
2013-04-08 18:20:20 -07:00
Jeff Brown
21dffd5d11 am 3a2854bc: Merge "Queues, queues, queues and input." into jb-mr2-dev
* commit '3a2854bcee08e3af3ca1b042c1fef6ca68f8c70a':
  Queues, queues, queues and input.
2013-04-08 17:03:20 -07:00
Jeff Brown
3a2854bcee Merge "Queues, queues, queues and input." into jb-mr2-dev 2013-04-08 23:59:24 +00:00
Jeff Brown
f9e989d5f0 Queues, queues, queues and input.
Redesigned how ViewRootImpl delivers input events to views,
the IME and to native activities to fix several issues.

The prior change to make IME input event delegation use
InputChannels failed to take into account that InputMethodManager
is a singleton attached to the main looper whereas UI may be
attached to any looper.  Consequently interactions with the
InputChannel might occur on the wrong thread.  Fixed this
problem by checking the current thread and posting input
events or callbacks to the correct looper when necessary.

NativeActivity has also been broken for a while because the
default event handling logic for joysticks and touch navigation
was unable to dispatch events back into the native activity.
In particular, this meant that DPad synthesis from touch navigation
would not work in any native activity.  The plan is to fix
this problem by passing all events through ViewRootImpl as usual
then forwarding them to native activity as needed.  This should
greatly simplify IME pre-dispatch and system key handling
and make everything more robust overall.

Fixed issues related to when input events are synthesized.
In particular, added a more robust mechanism to ensure that
synthetic events are canceled appropriately when we discover
that events are no longer being resynthesized (because the
application or IME is handling or dropping them).

The new design is structured as a pipeline with a chain of
responsibility consisting of InputStage objects.  Each InputStage
is responsible for some part of handling each input event
such as dispatching to the view hierarchy or to the IME.
As a stage processes an input event, it has the option of
finishing the event, forwarding the event to the next stage
or handling the event asynchronously.  Some queueing logic
takes care to ensure that events are forwarded downstream in
the correct order even if they are handled out of order
by a given stage.

Cleaned up the InputMethodManager singleton initialization logic
to make it clearer that it must be attached to the main looper.
We don't actually need to pass this looper around.

Deleted the LatencyTimer class since no one uses it and we have
better ways of measuring latency these days using systrace.

Added a hidden helper to Looper to determine whether the current
thread is the indicated Looper thread.

Note: NativeActivity's IME dispatch is broken by this patch.
This will be fixed later in another patch.

Bug: 8473020
Change-Id: Iac2a1277545195a7a0137bbbdf04514c29165c60
2013-04-08 15:31:47 -07:00
John Spurlock
c6ff35c76f am fc9b371e: am 04c83357: Merge "Awaken dreams on home + recents." into jb-mr2-dev
* commit 'fc9b371e90545c9be46730a9d3ab555edfa7da39':
  Awaken dreams on home + recents.
2013-04-08 13:13:51 -07:00
John Spurlock
fc9b371e90 am 04c83357: Merge "Awaken dreams on home + recents." into jb-mr2-dev
* commit '04c83357c3dee87f08e63a11e67e89d78df81938':
  Awaken dreams on home + recents.
2013-04-08 13:09:35 -07:00
John Spurlock
c8b46ca575 Awaken dreams on home + recents.
Fixes the KEYCODE_HOME case, awakes when home is
started for any reason.

Also awaken when toggling recents (and not locked).

Bug:8557212
Change-Id: I6578ae3971740a03c27596b838d27a5ab9b03752
2013-04-08 19:18:59 +00:00
John Spurlock
8740cb1da6 resolved conflicts for merge of 29211d3a to master
Change-Id: I9691f41b12fbf52d0ef35a9bf5223edef7afdfd2
2013-04-05 16:18:59 -04:00
Daniel Sandler
29211d3a16 am 5feceebb: New NotificationListenerService.
* commit '5feceebb892d4cb5777cea3c6174b206705d456b':
  New NotificationListenerService.
2013-04-05 12:58:43 -07:00
Daniel Sandler
5feceebb89 New NotificationListenerService.
This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
2013-04-05 19:54:44 +00:00
Baligh Uddin
206a36d226 Import translations. DO NOT MERGE
Change-Id: I54f852f5d08f3a64b0bb1f95b620374bb81472e4
Auto-generated-cl: translation import
2013-04-05 08:48:56 -07:00
Jeff Brown
357974e243 am ca5ecdc2: am 9658de2d: Merge "Add new physical keyboard layouts."
* commit 'ca5ecdc2fee56037ca8565db8750d7ebafe44d51':
  Add new physical keyboard layouts.
2013-04-05 03:32:05 -07:00
Jeff Brown
ca5ecdc2fe am 9658de2d: Merge "Add new physical keyboard layouts."
* commit '9658de2df79f6472dd0728d50074e27a3553637d':
  Add new physical keyboard layouts.
2013-04-05 03:28:02 -07:00
Jean-Michel Trivi
314b25d0fd resolved conflicts for merge of ca762bee to master
Change-Id: Ib57124c30352b4f6ed66f384b386eb6f49b505c1
2013-04-03 14:58:48 -07:00
Baligh Uddin
8b2e3189bd Import translations. DO NOT MERGE
Change-Id: I708e495e579be3f02ea6a53445b9a6288d4bb237
Auto-generated-cl: translation import
2013-04-03 09:25:45 -07:00
Jim Miller
f0426c6a44 am e884f6b8: am dbd9c337: Merge "Change time format for default clock in keyguard" into jb-mr2-dev
* commit 'e884f6b8505520f6f745cc51358154bf5d89f101':
  Change time format for default clock in keyguard
2013-04-02 19:25:17 -07:00
Brian Colonna
c849fbcf3d resolved conflicts for merge of 5856ee4b to master
Change-Id: I60ba85bc246b9cf25d467b2099535aad47f82ca7
2013-04-02 17:16:55 -04:00
Winson Chung
f11638b950 am 0853ec15: am 3a5a7749: Fixing NPE on screenshot error. (Bug 8328886)
* commit '0853ec1598e454647a79353aaa98a12c7b8bd09a':
  Fixing NPE on screenshot error. (Bug 8328886)
2013-04-02 11:03:00 -07:00