84965 Commits

Author SHA1 Message Date
Christopher Tate
ee370ae1f6 am 4e2eb658: Merge "Update airplane-mode manipulation for the new Settings namespace" into jb-mr1-dev
* commit '4e2eb6581f8ee91166cbfd80b531f628dedab89a':
  Update airplane-mode manipulation for the new Settings namespace
2012-09-10 17:18:37 -07:00
Christopher Tate
4e2eb6581f Merge "Update airplane-mode manipulation for the new Settings namespace" into jb-mr1-dev 2012-09-10 17:16:17 -07:00
Jeff Brown
db70fe8331 am 53d13ecd: Merge "Fix adb am display-size." into jb-mr1-dev
* commit '53d13ecd9a5e4de183e463faba832863f6b95103':
  Fix adb am display-size.
2012-09-10 17:12:05 -07:00
Jeff Brown
3c2b8c74ee am 3c5dab46: Merge "Make input system aware of multiple displays." into jb-mr1-dev
* commit '3c5dab46a73a178dd8e12ee269aae1ac9dfa64de':
  Make input system aware of multiple displays.
2012-09-10 17:09:26 -07:00
Jeff Brown
53d13ecd9a Merge "Fix adb am display-size." into jb-mr1-dev 2012-09-10 17:08:36 -07:00
Kenny Root
4ff58510c0 am 2e7d0cb5: Merge "Move native libraries to /data/app-lib" into jb-mr1-dev
* commit '2e7d0cb592381e2efd9b86d5ee38d8ec657b6a1a':
  Move native libraries to /data/app-lib
2012-09-10 17:07:42 -07:00
Jeff Brown
3c5dab46a7 Merge "Make input system aware of multiple displays." into jb-mr1-dev 2012-09-10 17:07:17 -07:00
Kenny Root
2e7d0cb592 Merge "Move native libraries to /data/app-lib" into jb-mr1-dev 2012-09-10 17:05:47 -07:00
Christopher Tate
c09cdce1b0 Update airplane-mode manipulation for the new Settings namespace
Quick Settings and global actions (aka longpress-Power) toggles are
included in this CL.  The Settings app manipulations are updated in
a different CL because that's a different git package.

Bug 7132230

Change-Id: I50838f5e8d7b25a750d2bcae90bf384b09816dbb
2012-09-10 16:50:57 -07:00
Svetoslav Ganov
58d58fd098 am 66253895: Scaling in viewport moving state locks into a magnified state.
* commit '662538957f12a7b7c534382a6a4f306d5777375b':
  Scaling in viewport moving state locks into a magnified state.
2012-09-10 16:47:01 -07:00
Svetoslav Ganov
662538957f Scaling in viewport moving state locks into a magnified state.
1. If the user changes the magnification level while moving the
   viewport the magnification is locked. The gesture handle has
   to put device back into a viewport moving state if this was
   the last state.

bug:7139363

Change-Id: I24992b973bb15624580114353b004efdb35c2faa
2012-09-10 16:41:07 -07:00
John Reck
814b9a6cc1 am bdf8fa0c: Merge "Fix some destroy bugs" into jb-mr1-dev
* commit 'bdf8fa0c1b762d82b056fa8d929ceaff47ae241b':
  Fix some destroy bugs
2012-09-10 16:32:48 -07:00
Scott Main
c9e3ba903c am 4899d6f7: am cd3ec7a2: am e9e40b43: Merge "add link to device dock lesson" into jb-dev
* commit '4899d6f7cc45268a4f8d734639fb3f03d39d9d4a':
  add link to device dock lesson
2012-09-10 16:31:00 -07:00
John Reck
bdf8fa0c1b Merge "Fix some destroy bugs" into jb-mr1-dev 2012-09-10 16:30:19 -07:00
Katie McCormick
757e5600d5 am a25526ae: am 51740d6d: am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
* commit 'a25526ae400641ae414d2dbf03495f54a0c46d2d':
  Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
2012-09-10 16:29:16 -07:00
Scott Main
4899d6f7cc am cd3ec7a2: am e9e40b43: Merge "add link to device dock lesson" into jb-dev
* commit 'cd3ec7a251443db258008f913b856c05b2232478':
  add link to device dock lesson
2012-09-10 16:29:04 -07:00
Scott Main
cd3ec7a251 am e9e40b43: Merge "add link to device dock lesson" into jb-dev
* commit 'e9e40b438e0a9c30df5834cf7f8f069b20789c76':
  add link to device dock lesson
2012-09-10 16:27:58 -07:00
Katie McCormick
a25526ae40 am 51740d6d: am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
* commit '51740d6d786bf583cd46d12beb8515aa00d84bee':
  Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
2012-09-10 16:27:20 -07:00
Scott Main
e9e40b438e Merge "add link to device dock lesson" into jb-dev 2012-09-10 16:26:47 -07:00
Katie McCormick
51740d6d78 am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
* commit '0e9f34bffdfc476122337d077453f722fc22038f':
  Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
2012-09-10 16:25:17 -07:00
Katie McCormick
0e9f34bffd Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
Change-Id: I62def95b138282eba4f2e70fd4ab4de35aa03e89
2012-09-10 16:20:20 -07:00
Scott Main
c73d67f3f1 add link to device dock lesson
Change-Id: I7af36f89204d49f2a0a23c33376f2f343f3b1593
2012-09-10 16:20:08 -07:00
John Reck
095e8aa02b Fix some destroy bugs
Bug: 6961494
 Don't call clearHelpers in destroy(). It is already called
 in onDetach, which is where it needs to be. It can't be
 called by the finalizer

 Switch onCancel listener to onDismiss listener. Fixes an issue
 where destroying can live the webcore thread hung because onCancel
 won't be called, but onDismiss is

Change-Id: I669c389c8c9a81d92c27f88d83bcb711c6c0a5ee
2012-09-10 16:07:04 -07:00
Svetoslav Ganov
fd7b874435 am e35c54eb: Merge "Allow simultaneous scale and pan in magnified state." into jb-mr1-dev
* commit 'e35c54eb14baee2401efd525b5594f0211971d12':
  Allow simultaneous scale and pan in magnified state.
2012-09-10 16:05:33 -07:00
Svetoslav Ganov
e35c54eb14 Merge "Allow simultaneous scale and pan in magnified state." into jb-mr1-dev 2012-09-10 16:03:11 -07:00
Siva Velusamy
5b5d482c0c am bc91c5f8: Merge "Report the user id of every app to ddms." into jb-mr1-dev
* commit 'bc91c5f8b175c20f7e63ee245bd70c7e7bba2ba5':
  Report the user id of every app to ddms.
2012-09-10 16:01:53 -07:00
Jeff Brown
e215f26f74 Fix adb am display-size.
There were several problems resulting from the use of
mDefaultDisplay before displayReady() was called.
As it happens, we don't need mDefaultDisplay becase we
can get the information from the default display content.

Also modified the Configuration calculations to never
choose a SQUARE orientation.  The constant is deprecated
and documented as no longer used, so we should make that
be the case.

Change-Id: I326ed7100030a81e24411e898e5243f28895ea22
2012-09-10 16:01:14 -07:00
Siva Velusamy
bc91c5f8b1 Merge "Report the user id of every app to ddms." into jb-mr1-dev 2012-09-10 15:59:36 -07:00
Svetoslav Ganov
6d04712d15 Allow simultaneous scale and pan in magnified state.
1. Before in magnified state the user was able to only scale or
   pan. Based on user input this change allows performing pan
   or scale or both. If the user scales more than a threshold
   we are performing a scale and independently of that if the
   use pans more than a threshold we are performing a pan.

bug:7138928

Change-Id: Ic1511500ba3369091dcfd070669d3e4f0286fbe5
2012-09-10 15:57:13 -07:00
Dianne Hackborn
31c95b93c6 am 009ea5a0: Merge "USER_CURRENT_OR_SELF had the same int as USER_CURRENT!" into jb-mr1-dev
* commit '009ea5a04c38dd209b73d28cb867f05e63ec89cc':
  USER_CURRENT_OR_SELF had the same int as USER_CURRENT!
2012-09-10 15:51:08 -07:00
Dianne Hackborn
009ea5a04c Merge "USER_CURRENT_OR_SELF had the same int as USER_CURRENT!" into jb-mr1-dev 2012-09-10 15:49:59 -07:00
Jeff Brown
83d616a9c7 Make input system aware of multiple displays.
The input system needs to know about the window that has
focus, even if it is on a secondary display.  So now we
send it the list of all windows and indicate which display
they are on.  We filter the list of windows as necessary
when delivering touch events.

To keep things simple, monitor input channels and input
filters are not supported except on the main display.
We also do not pass the display id to applications; it is
only used inside the input system for now.

Properly scale touch coordinates based on the viewport.
This will be needed to ensure that touch works on external
display as well as when the internal display is being used
to simulate a different resolution.

Change-Id: I1815579a52fcc852c519b5391fc7ab8767c2dc59
2012-09-10 15:48:47 -07:00
Dianne Hackborn
206aa76cdc am 4573e29f: Merge "Flesh out multi-user in am commands." into jb-mr1-dev
* commit '4573e29faf40983f9d1df99bb0f506d77a868e05':
  Flesh out multi-user in am commands.
2012-09-10 15:41:18 -07:00
Dianne Hackborn
4573e29faf Merge "Flesh out multi-user in am commands." into jb-mr1-dev 2012-09-10 15:39:02 -07:00
Dianne Hackborn
8a9f5d42a5 USER_CURRENT_OR_SELF had the same int as USER_CURRENT!
Change-Id: I0f2b0fa4fb82d1f871450b509a7a4d13e9817320
2012-09-10 15:37:53 -07:00
Dianne Hackborn
1676c856d6 Flesh out multi-user in am commands.
Now we default to the current user instead of user 0 for most commands
(except where we can do the command for all users).

Many more commands take a user argument: force-stop, kill, profile,
dumpheap.

Improved help text.

Change-Id: I719a13b4d31b668f57ca21e51d7043ac3e0d4e1b
2012-09-10 14:52:30 -07:00
Siva Velusamy
d693dfa75b Report the user id of every app to ddms.
This CL extends the HELO and APNM packets to include the user id
of the application. This allows ddms users to differentiate between
the same app running for multiple users.

Bug 7110696.

Change-Id: I490d0e3781b8fb9db65cf81188677a0955650511
2012-09-10 14:44:38 -07:00
Victoria Lease
64a5c4cf2f am d7f5a51b: Merge "IME support for trackball and generic motion events" into jb-mr1-dev
* commit 'd7f5a51baf2c46436dc5bac3807fb0d46cbff304':
  IME support for trackball and generic motion events
2012-09-10 14:15:43 -07:00
Victoria Lease
d7f5a51baf Merge "IME support for trackball and generic motion events" into jb-mr1-dev 2012-09-10 14:12:48 -07:00
Victoria Lease
b38070caa5 IME support for trackball and generic motion events
Trackball and generic motion events now pass through the IME in case
it would like to handle them before passing them on to the view
hierarchy.

While I was at it, I also...
...fixed the documentation on InputMethodService.onKeyUp()
...added documentation to InputMethodService.onTrackballEvent()
...added trackball and generic motion events to the "input" command
...fixed input consistency verification involving ACTION_OUTSIDE

Bug: 7050005
Change-Id: I40ab68df4a9542af6df25de6ec2ec500e4c02902
2012-09-10 14:01:42 -07:00
Chet Haase
d8f680601d am e11dc0dd: Merge "Fix clone() for Animators with just a \'to\' value" into jb-mr1-dev
* commit 'e11dc0ddab438d3b6545bc5d1582e1deddb5d465':
  Fix clone() for Animators with just a 'to' value
2012-09-10 13:59:22 -07:00
Chet Haase
e11dc0ddab Merge "Fix clone() for Animators with just a 'to' value" into jb-mr1-dev 2012-09-10 13:56:47 -07:00
Chet Haase
00177e483d Fix clone() for Animators with just a 'to' value
Previously, clone() on an Animator with only one value would mistakenly
think that the clone had a real starting value (which would end up being 0 in the
int and float cases). Fix is to set the 'mHasFirstValue' flag appropriately for the
clone, based on the state of the cloned animator.

Issue #7106442 ObjectAnimator.clone() does not work properly for single parameter

Change-Id: I08bf03b7687a65eb613c1671a58e4cbfae66a30e
2012-09-10 13:42:07 -07:00
Jamie Gennis
515c34f22e am cae2e388: Merge "SurfaceTexture: add updateTexImage synchronization" into jb-mr1-dev
* commit 'cae2e3887d826f1c50e2bdc621b824def7ab855e':
  SurfaceTexture: add updateTexImage synchronization
2012-09-10 13:34:47 -07:00
Jamie Gennis
cae2e3887d Merge "SurfaceTexture: add updateTexImage synchronization" into jb-mr1-dev 2012-09-10 13:31:39 -07:00
Kenny Root
ddbe50df2c Move native libraries to /data/app-lib
Instead of unpacking libraries into /data/data/<appname>/lib, unpack
them into /data/app-lib so that multi-user applications can use the same
libraries.

Change-Id: I636dafb5a9eea8cf5a41f1360698e7695455f385
2012-09-10 11:54:36 -07:00
Andreas Huber
a639d58c0d am dcc036c5: Merge "Fix port logic in WifiDisplayController." into jb-mr1-dev
* commit 'dcc036c54457943afeadf40922a9dacfe29f30e1':
  Fix port logic in WifiDisplayController.
2012-09-10 11:43:43 -07:00
Andreas Huber
dcc036c544 Merge "Fix port logic in WifiDisplayController." into jb-mr1-dev 2012-09-10 11:41:23 -07:00
Andreas Huber
5e0cc0d7ab Fix port logic in WifiDisplayController.
It's not the port advertised in the sink's wfd IE, it's the one our
source broadcasts in its wfd IE. In addition some dongles ignore the
broadcast port and have to be special cased.

Change-Id: Id5d279652e336391ba34dfc30bba700043d49b1d
2012-09-10 11:35:15 -07:00
Svetoslav Ganov
ef94c988a2 am 1434e29a: Merge "Check for null ViewRootImpl when saving accessibility focus in ListView." into jb-mr1-dev
* commit '1434e29ac6a157130c9882606ca577567c91ddc4':
  Check for null ViewRootImpl when saving accessibility focus in ListView.
2012-09-10 11:33:28 -07:00