OSDN Git Service

android-x86/frameworks-base.git
11 years agoam 5d33e76c: am 65208857: am 2415841c: Merge "EthernetDataTracker: indicate link...
Robert Greenwalt [Tue, 11 Sep 2012 22:09:11 +0000 (15:09 -0700)]
am 5d33e76c: am 65208857: am 2415841c: Merge "EthernetDataTracker: indicate link up based on flags"

* commit '5d33e76cff65245d03f592a3dbcbf2e17a2f1581':
  EthernetDataTracker: indicate link up based on flags

11 years agoam 65208857: am 2415841c: Merge "EthernetDataTracker: indicate link up based on flags"
Robert Greenwalt [Tue, 11 Sep 2012 22:07:01 +0000 (15:07 -0700)]
am 65208857: am 2415841c: Merge "EthernetDataTracker: indicate link up based on flags"

* commit '65208857d35efe39c1dbc1da23f2caf7257232fc':
  EthernetDataTracker: indicate link up based on flags

11 years agoam 2415841c: Merge "EthernetDataTracker: indicate link up based on flags"
Robert Greenwalt [Tue, 11 Sep 2012 22:04:50 +0000 (15:04 -0700)]
am 2415841c: Merge "EthernetDataTracker: indicate link up based on flags"

* commit '2415841c370d855d7f3a3e6a537e641c69a57097':
  EthernetDataTracker: indicate link up based on flags

11 years agoMerge "EthernetDataTracker: indicate link up based on flags"
Robert Greenwalt [Tue, 11 Sep 2012 22:02:23 +0000 (15:02 -0700)]
Merge "EthernetDataTracker: indicate link up based on flags"

11 years agoMerge "Deleting the defunct SearchBox interface." into jb-mr1-dev
Selim Gurun [Tue, 11 Sep 2012 22:01:20 +0000 (15:01 -0700)]
Merge "Deleting the defunct SearchBox interface." into jb-mr1-dev

11 years agoEthernetDataTracker: indicate link up based on flags
Vishal Mahaveer [Tue, 11 Sep 2012 21:41:16 +0000 (16:41 -0500)]
EthernetDataTracker: indicate link up based on flags

Indicate link up state based on flags/interface up, and not on IP address.
This is for ethernet interfaces that already exists.

Change-Id: Ib342d519c483bbb2dfa08cfac2c0c1a288cee7c0
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
11 years agoMerge "core: config: Update the description of the autoBrightnessLevels array." into...
JP Abgrall [Tue, 11 Sep 2012 20:58:07 +0000 (13:58 -0700)]
Merge "core: config: Update the description of the autoBrightnessLevels array." into jb-mr1-dev

11 years agoMerge "This enables the back button in keyguard" into jb-mr1-dev
Jim Miller [Tue, 11 Sep 2012 20:56:52 +0000 (13:56 -0700)]
Merge "This enables the back button in keyguard" into jb-mr1-dev

11 years agoMerge "Fixing build (update-api)" into jb-mr1-dev
Adam Cohen [Tue, 11 Sep 2012 20:56:37 +0000 (13:56 -0700)]
Merge "Fixing build (update-api)" into jb-mr1-dev

11 years agoMerge changes I4ad08873,If0562677,I5fe6ba32 into jb-mr1-dev
Jeff Brown [Tue, 11 Sep 2012 20:56:04 +0000 (13:56 -0700)]
Merge changes I4ad08873,If0562677,I5fe6ba32 into jb-mr1-dev

* changes:
  Don't auto-discover peers until scan requested.
  Use wfdInfo to filter available sinks.
  Allow adb shell am display-size to use bigger sizes.

11 years agoFixing build (update-api)
Adam Cohen [Tue, 11 Sep 2012 20:54:07 +0000 (13:54 -0700)]
Fixing build (update-api)

Change-Id: I78738cc8320dab1fde082bfa9f65d020c6573de7

11 years agocore: config: Update the description of the autoBrightnessLevels array.
JP Abgrall [Tue, 11 Sep 2012 20:41:25 +0000 (13:41 -0700)]
core: config: Update the description of the autoBrightnessLevels array.

Clarify what the control point values are.

Change-Id: I33860c575b13e5216c804c7c76fa5733fcebf8ad

11 years agoDeleting the defunct SearchBox interface.
Selim Gurun [Tue, 11 Sep 2012 19:03:17 +0000 (12:03 -0700)]
Deleting the defunct SearchBox interface.

Change-Id: Iecb698dbe942d3c9680ad1135ba0d604aa211856

11 years agoMerge "Added annotations for injected accessibility objects" into jb-mr1-dev
Selim Gurun [Tue, 11 Sep 2012 20:23:44 +0000 (13:23 -0700)]
Merge "Added annotations for injected accessibility objects" into jb-mr1-dev

11 years agoam 72c06bcf: am 0c99f7e3: am ba3cf72a: Merge "Telephony: Clarify IccCardConstants...
Wink Saville [Tue, 11 Sep 2012 20:21:38 +0000 (13:21 -0700)]
am 72c06bcf: am 0c99f7e3: am ba3cf72a: Merge "Telephony: Clarify IccCardConstants.State enum"

* commit '72c06bcf1970f615f5037b9f63759d06a527cb4e':
  Telephony: Clarify IccCardConstants.State enum

11 years agoam 0c99f7e3: am ba3cf72a: Merge "Telephony: Clarify IccCardConstants.State enum"
Wink Saville [Tue, 11 Sep 2012 20:19:18 +0000 (13:19 -0700)]
am 0c99f7e3: am ba3cf72a: Merge "Telephony: Clarify IccCardConstants.State enum"

* commit '0c99f7e36da7ebc92d0a084f3dc1717a7c31423e':
  Telephony: Clarify IccCardConstants.State enum

11 years agoMerge "Adding notion of keyguard widgets" into jb-mr1-dev
Adam Cohen [Tue, 11 Sep 2012 20:18:13 +0000 (13:18 -0700)]
Merge "Adding notion of keyguard widgets" into jb-mr1-dev

11 years agoam ba3cf72a: Merge "Telephony: Clarify IccCardConstants.State enum"
Wink Saville [Tue, 11 Sep 2012 20:17:17 +0000 (13:17 -0700)]
am ba3cf72a: Merge "Telephony: Clarify IccCardConstants.State enum"

* commit 'ba3cf72a08368ab40556b07b4518536bb59eb2f6':
  Telephony: Clarify IccCardConstants.State enum

11 years agoMerge "Attempt to fix blank keyguard issue" into jb-mr1-dev
Jim Miller [Tue, 11 Sep 2012 20:08:18 +0000 (13:08 -0700)]
Merge "Attempt to fix blank keyguard issue" into jb-mr1-dev

11 years agoMerge "NEW_API: Unhide android.hardware.Camera.Parameters#SCENE_MODE_HDR" into jb...
Eino-Ville Talvala [Tue, 11 Sep 2012 19:41:10 +0000 (12:41 -0700)]
Merge "NEW_API: Unhide android.hardware.Camera.Parameters#SCENE_MODE_HDR" into jb-mr1-dev

11 years agoMerge "Telephony: Clarify IccCardConstants.State enum"
Wink Saville [Tue, 11 Sep 2012 19:24:15 +0000 (12:24 -0700)]
Merge "Telephony: Clarify IccCardConstants.State enum"

11 years agoDon't auto-discover peers until scan requested.
Jeff Brown [Tue, 11 Sep 2012 19:21:55 +0000 (12:21 -0700)]
Don't auto-discover peers until scan requested.

Change-Id: I4ad08873567a5ac86e9bd46abd2375b183e2e95b

11 years agoUse wfdInfo to filter available sinks.
Jeff Brown [Tue, 11 Sep 2012 19:18:15 +0000 (12:18 -0700)]
Use wfdInfo to filter available sinks.

Change-Id: If056267738f70835af645a8c6e7a91c0c5407816

11 years agoMerge "Fixing implementation of View.requestRectangleOnScreen(Rect, boolean)." into...
Svetoslav Ganov [Tue, 11 Sep 2012 19:16:13 +0000 (12:16 -0700)]
Merge "Fixing implementation of View.requestRectangleOnScreen(Rect, boolean)." into jb-mr1-dev

11 years agoNEW_API: Unhide android.hardware.Camera.Parameters#SCENE_MODE_HDR
Eino-Ville Talvala [Tue, 11 Sep 2012 18:25:50 +0000 (11:25 -0700)]
NEW_API: Unhide android.hardware.Camera.Parameters#SCENE_MODE_HDR

Bug: 7054970

Change-Id: I509fa18f1203022bb23cd9ef5c70cb3a3fbb8b77

11 years agoFix build break
Selim Gurun [Tue, 11 Sep 2012 18:32:44 +0000 (11:32 -0700)]
Fix build break

Change-Id: Ib5415bbebb849de23b3ff8533a7c1a98f6ae38f4

11 years agoMerge "Camera: Add SCENE_MODE_HDR." into jb-mr1-dev
Eino-Ville Talvala [Tue, 11 Sep 2012 18:20:08 +0000 (11:20 -0700)]
Merge "Camera: Add SCENE_MODE_HDR." into jb-mr1-dev

11 years agoMerge "Fix bug #7141044 GlobalActions dialog (power off / airplane mode / sound off...
Fabrice Di Meglio [Tue, 11 Sep 2012 18:18:14 +0000 (11:18 -0700)]
Merge "Fix bug #7141044 GlobalActions dialog (power off / airplane mode / sound off) should be RTL aware" into jb-mr1-dev

11 years agoMerge "Remove "unlinklib" command from installd" into jb-mr1-dev
Kenny Root [Tue, 11 Sep 2012 18:13:52 +0000 (11:13 -0700)]
Merge "Remove "unlinklib" command from installd" into jb-mr1-dev

11 years agoMerge "Enforce a user limit" into jb-mr1-dev
Amith Yamasani [Tue, 11 Sep 2012 18:08:37 +0000 (11:08 -0700)]
Merge "Enforce a user limit" into jb-mr1-dev

11 years agoMerge "Camera: Add enableShutterSound method." into jb-mr1-dev
Eino-Ville Talvala [Tue, 11 Sep 2012 18:06:12 +0000 (11:06 -0700)]
Merge "Camera: Add enableShutterSound method." into jb-mr1-dev

11 years agoMerge "Remove defunct searchbox implementation from webview." into jb-mr1-dev
Selim Gurun [Tue, 11 Sep 2012 18:01:31 +0000 (11:01 -0700)]
Merge "Remove defunct searchbox implementation from webview." into jb-mr1-dev

11 years agoMerge "Handle ascii encoded SSID" into jb-mr1-dev
Irfan Sheriff [Tue, 11 Sep 2012 18:00:10 +0000 (11:00 -0700)]
Merge "Handle ascii encoded SSID" into jb-mr1-dev

11 years agoEnforce a user limit
Amith Yamasani [Tue, 11 Sep 2012 17:59:48 +0000 (10:59 -0700)]
Enforce a user limit

By default only 1 user is allowed. Some devices permit more than 1.
Set the real user limit in a device overlay for config.xml

Change-Id: I2e0bffa13393b954fcd20e55b92f20de980c58c0

11 years agoMerge "MtpDatabase: Fix typo affecting parent and format queries" into jb-mr1-dev
Mike Lockwood [Tue, 11 Sep 2012 17:57:41 +0000 (10:57 -0700)]
Merge "MtpDatabase: Fix typo affecting parent and format queries" into jb-mr1-dev

11 years agoRemove "unlinklib" command from installd
Kenny Root [Mon, 10 Sep 2012 18:13:36 +0000 (11:13 -0700)]
Remove "unlinklib" command from installd

unlinklib is no longer necessary since libraries are now either stored
in an ASEC container or in /data/app-lib

Replace lib directory with a symlink to the /data/app-lib directory even
if it's a dangling link. That way developers don't name something "lib"
in their directory which gets blown away during an update.

Change-Id: I142cf13dba9c13aafbaf0ff8d5e9872cbf1cc910

11 years agoAdding notion of keyguard widgets
Adam Cohen [Sat, 8 Sep 2012 00:37:26 +0000 (17:37 -0700)]
Adding notion of keyguard widgets

-> Persisting certain appwidget options
-> Adding ability to specify appwidget options on bind
   so as to avoid AppWidgetProvider update call with no
   options.

Change-Id: I5631039f19f1822b8e123b559b6353c880c0192e

11 years agoam c02b5008: am c0e0d2bf: Merge "docs: update for multi apk doc for ABI support"...
Scott Main [Tue, 11 Sep 2012 17:53:24 +0000 (10:53 -0700)]
am c02b5008: am c0e0d2bf: Merge "docs: update for multi apk doc for ABI support" into jb-dev

* commit 'c02b5008c109f4d3057de1bab8b7ac0478208816':
  docs: update for multi apk doc for ABI support

11 years agoam c0e0d2bf: Merge "docs: update for multi apk doc for ABI support" into jb-dev
Scott Main [Tue, 11 Sep 2012 17:50:40 +0000 (10:50 -0700)]
am c0e0d2bf: Merge "docs: update for multi apk doc for ABI support" into jb-dev

* commit 'c0e0d2bf3db18eaa2b94608654784cad29f96b23':
  docs: update for multi apk doc for ABI support

11 years agoHandle ascii encoded SSID
Irfan Sheriff [Wed, 5 Sep 2012 17:46:24 +0000 (10:46 -0700)]
Handle ascii encoded SSID

Supplicant now passes as an ascii encoded string that allows it to
pass any sequence of bytes for a SSID. see src/utils/common.c in supplicant
for details of the implementation.

We create a SSID structure WifiSsid in framework to store the ssid and handle
the conversion appropriately when required for printing and for an application.

At this point, we still do not handle non-printable octets from an application perspective
for connectivity

Bug: 7110903
Change-Id: I520e5ee23baed4867b8b408bbb3eda5c9e92b6bf

11 years agoMtpDatabase: Fix typo affecting parent and format queries
Mike Lockwood [Tue, 11 Sep 2012 17:49:34 +0000 (10:49 -0700)]
MtpDatabase: Fix typo affecting parent and format queries

Bug: 7114350

Change-Id: I80269cfcebf521ea13cae30c1c9bd477d76adbd1
Signed-off-by: Mike Lockwood <lockwood@google.com>
11 years agoMerge "docs: update for multi apk doc for ABI support" into jb-dev
Scott Main [Tue, 11 Sep 2012 17:48:15 +0000 (10:48 -0700)]
Merge "docs: update for multi apk doc for ABI support" into jb-dev

11 years agoRemove defunct searchbox implementation from webview.
Selim Gurun [Tue, 11 Sep 2012 17:40:28 +0000 (10:40 -0700)]
Remove defunct searchbox implementation from webview.

The search box implementation has not been in use since ICS. This
removes dead code from webview.

Change-Id: I8a28eeeec556619abc4a902a3abec2ac52bad319

11 years agoMerge "Add support for controlling remote submix audio routing" into jb-mr1-dev
Jean-Michel Trivi [Tue, 11 Sep 2012 17:36:53 +0000 (10:36 -0700)]
Merge "Add support for controlling remote submix audio routing" into jb-mr1-dev

11 years agoAdded annotations for injected accessibility objects
Selim Gurun [Tue, 11 Sep 2012 17:22:43 +0000 (10:22 -0700)]
Added annotations for injected accessibility objects

Bug: 7073422

Provided @JavascriptInterface to methods that are accessible from
js.

Change-Id: If3bf8f5aa2b6ff38fe5358aad534ea31f6f546ae

11 years agoMerge "Fixing issue with Airplane Mode. (Bug 7141144)" into jb-mr1-dev
Winson Chung [Tue, 11 Sep 2012 16:59:39 +0000 (09:59 -0700)]
Merge "Fixing issue with Airplane Mode. (Bug 7141144)" into jb-mr1-dev

11 years agoFixing issue with Airplane Mode. (Bug 7141144)
Winson Chung [Tue, 11 Sep 2012 17:00:53 +0000 (10:00 -0700)]
Fixing issue with Airplane Mode. (Bug 7141144)

Change-Id: I83e2bdd5e8b0e0c732e8d46c47f8619daa0c7c02

11 years agoUpdate the dream manager to be multi-user aware.
John Spurlock [Mon, 10 Sep 2012 19:56:16 +0000 (15:56 -0400)]
Update the dream manager to be multi-user aware.

Dream settings are stored per-user, so dream manager operations
must act according to the calling or current user.

Bug:7041514
Change-Id: I4a0bbbd76886e6440b1afd89c61af5f4569b0e18

11 years agoMerge "Animations for user switching." into jb-mr1-dev
Dianne Hackborn [Tue, 11 Sep 2012 04:04:55 +0000 (21:04 -0700)]
Merge "Animations for user switching." into jb-mr1-dev

11 years agoAttempt to fix blank keyguard issue
Jim Miller [Tue, 11 Sep 2012 03:46:36 +0000 (20:46 -0700)]
Attempt to fix blank keyguard issue

This is an attempt to fix bug 7137389. It forces a layout when the screen
comes back on, which should alleviate the issue.

Change-Id: I00a3829f1662a8db99d947856ca11660b4bfb805

11 years agoFix bug #7141044 GlobalActions dialog (power off / airplane mode / sound off) should...
Fabrice Di Meglio [Tue, 11 Sep 2012 03:46:33 +0000 (20:46 -0700)]
Fix bug #7141044 GlobalActions dialog (power off / airplane mode / sound off) should be RTL aware

- add android:supportsRtl="true" to the manifest for system_process

Change-Id: I9794f6880c883d91751d0037646253810b086d46

11 years agoAdding brightness dialog to quick settings.
Winson Chung [Tue, 11 Sep 2012 03:08:01 +0000 (20:08 -0700)]
Adding brightness dialog to quick settings.

Change-Id: I81f640138057c26320d41f70c7f47a518fc1bd4a

11 years agoAdding alarm to quick settings.
Winson Chung [Tue, 11 Sep 2012 00:30:27 +0000 (17:30 -0700)]
Adding alarm to quick settings.

- Cleaning up some code

Change-Id: Iaea2077084ba16b4fb4d47c8b2df5da6983ceb91

11 years agoFixing implementation of View.requestRectangleOnScreen(Rect, boolean).
Svetoslav Ganov [Tue, 11 Sep 2012 02:56:06 +0000 (19:56 -0700)]
Fixing implementation of View.requestRectangleOnScreen(Rect, boolean).

1. The implementation was not taking into account the transformation
   matrices if the views.

2. The rectangle that was passed as an argument to
   ViewParent.requestChildRectangleOnScreen was modified by
   some implementations - now care is taken to prevent it.

3. The scroll of child was used when a rectangle of its coordinate
   system was mapped to one in the parent system. However, the
   scroll shows how much a parent has scrolled its descendants, so
   the scroll of the parent has to be used not the child.

bug:7139556

Change-Id: I5b09eb7f105047e95282f74308968d5465831c84

11 years agoAnimations for user switching.
Dianne Hackborn [Mon, 10 Sep 2012 22:33:52 +0000 (15:33 -0700)]
Animations for user switching.

The window manager now has a facility to provide a full-screen
animation, which the activity manager uses every time a user
switch happens.

The current animation is just a simple dumb slide until we get
a design from UX.

Also some cleanup: moved the portrait task animations to the
default config so we always have an animation for them, and finally
got the java symbol stuff out of public.xml.

Change-Id: I726f77422b2ef5f2d98f961f8da003e045f0ebe8

11 years agoMerge "Miscellaneous fixes for Settings" into jb-mr1-dev
Christopher Tate [Tue, 11 Sep 2012 02:21:52 +0000 (19:21 -0700)]
Merge "Miscellaneous fixes for Settings" into jb-mr1-dev

11 years agoMerge "Screen magnification should disengage on screen off." into jb-mr1-dev
Svetoslav Ganov [Tue, 11 Sep 2012 01:21:12 +0000 (18:21 -0700)]
Merge "Screen magnification should disengage on screen off." into jb-mr1-dev

11 years agoScreen magnification should disengage on screen off.
Svetoslav Ganov [Tue, 11 Sep 2012 01:16:02 +0000 (18:16 -0700)]
Screen magnification should disengage on screen off.

1. When the screen goes off the user will be in a completely
   different context upon turning the screen on. Therefore,
   if magnification auto update is enabled magnification
   will be disengaged on screen off.

bug:7139088

Change-Id: I790cfa5b3cf31d34e95fc9548e6246a84096c37b

11 years agoMerge "Control access to inherited methods of jsinterface objects" into jb-mr1-dev
Selim Gurun [Tue, 11 Sep 2012 01:15:37 +0000 (18:15 -0700)]
Merge "Control access to inherited methods of jsinterface objects" into jb-mr1-dev

11 years agoMerge "Allow pattern to start from outside pattern view" into jb-mr1-dev
Jim Miller [Tue, 11 Sep 2012 01:13:57 +0000 (18:13 -0700)]
Merge "Allow pattern to start from outside pattern view" into jb-mr1-dev

11 years agoMerge "Force keyguard if there are multiple users" into jb-mr1-dev
Amith Yamasani [Tue, 11 Sep 2012 01:12:42 +0000 (18:12 -0700)]
Merge "Force keyguard if there are multiple users" into jb-mr1-dev

11 years agoForce keyguard if there are multiple users
Amith Yamasani [Sat, 8 Sep 2012 01:28:11 +0000 (18:28 -0700)]
Force keyguard if there are multiple users

Otherwise there would be no way to switch users if a user chooses None as lock screen.

Also adjust some layout params for Preference items to align the icons and text.

Change-Id: Ib11bb961edaef90de280bc7137d10b68765aea98

11 years agoAllow adb shell am display-size to use bigger sizes.
Jeff Brown [Tue, 11 Sep 2012 00:36:31 +0000 (17:36 -0700)]
Allow adb shell am display-size to use bigger sizes.

We now support scaling the logical display to fit the
physical display, whatever size it is.  So we can allow
adb shell am display-size to use more or less arbitrary sizes
although we do enforce an upper and lower bound to
protect the user.

Change-Id: I5fe6ba32ad1f9e4fbcd6915f7d36850b987bbcc0

11 years agoMerge "Prevent degenerate 9-patches from drawing out of bounds Bug #7137292" into...
Romain Guy [Tue, 11 Sep 2012 00:43:20 +0000 (17:43 -0700)]
Merge "Prevent degenerate 9-patches from drawing out of bounds Bug #7137292" into jb-mr1-dev

11 years agoMerge "Reducing the click delay while screen magnification is enabled." into jb-mr1-dev
Svetoslav Ganov [Tue, 11 Sep 2012 00:41:28 +0000 (17:41 -0700)]
Merge "Reducing the click delay while screen magnification is enabled." into jb-mr1-dev

11 years agoPrevent degenerate 9-patches from drawing out of bounds
Romain Guy [Tue, 11 Sep 2012 00:40:18 +0000 (17:40 -0700)]
Prevent degenerate 9-patches from drawing out of bounds
Bug #7137292

Change-Id: I371e94899445d2f3c6794d5c0aee8faa514d3c2c

11 years agoReducing the click delay while screen magnification is enabled.
Svetoslav Ganov [Tue, 11 Sep 2012 00:35:32 +0000 (17:35 -0700)]
Reducing the click delay while screen magnification is enabled.

1. If screen magnification is enabled the user has to triple tap
   and lift or triple tap and hold to engage magnification. Hence,
   we delay the touch events until we are sure that it is no longer
   possible for the user to perform a multi-tap to engage
   magnification. While such a delay is unavoidable it feels a
   bit longer than it should be. This change reduces the delay
   between taps to be considered a multi-tap, essentially making
   the click delay shorter.

bug:7139918

Change-Id: I2100945171fff99600766193f0effdaef1f1db8f

11 years agoMiscellaneous fixes for Settings
Christopher Tate [Mon, 10 Sep 2012 22:48:38 +0000 (15:48 -0700)]
Miscellaneous fixes for Settings

(1) It's okay to write literal null as a settings element value
(2) Properly convey the user handle in the put-for-user variant

Bug 7137201
Bug 7139826

Change-Id: I0ed77d65e8377f0e0580a2668f10b7167ad34928

11 years agoMerge "Update airplane-mode manipulation for the new Settings namespace" into jb...
Christopher Tate [Tue, 11 Sep 2012 00:16:17 +0000 (17:16 -0700)]
Merge "Update airplane-mode manipulation for the new Settings namespace" into jb-mr1-dev

11 years agoMerge "Fix adb am display-size." into jb-mr1-dev
Jeff Brown [Tue, 11 Sep 2012 00:07:18 +0000 (17:07 -0700)]
Merge "Fix adb am display-size." into jb-mr1-dev

11 years agoMerge "Make input system aware of multiple displays." into jb-mr1-dev
Jeff Brown [Tue, 11 Sep 2012 00:06:33 +0000 (17:06 -0700)]
Merge "Make input system aware of multiple displays." into jb-mr1-dev

11 years agoMerge "Move native libraries to /data/app-lib" into jb-mr1-dev
Kenny Root [Tue, 11 Sep 2012 00:05:47 +0000 (17:05 -0700)]
Merge "Move native libraries to /data/app-lib" into jb-mr1-dev

11 years agoUpdate airplane-mode manipulation for the new Settings namespace
Christopher Tate [Mon, 10 Sep 2012 23:50:14 +0000 (16:50 -0700)]
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

11 years agoControl access to inherited methods of jsinterface objects
Selim Gurun [Tue, 4 Sep 2012 23:45:53 +0000 (16:45 -0700)]
Control access to inherited methods of jsinterface objects

Bug: 7073422

Create the plumbing to use an annotation to allow access to
inherited methods of jsinterface objects. The default webview
behavior has not changed yet. However internally an a flag is
introduced to restrict javascript access to methods that have an annotation.

Change-Id: I41927248e6bc4b09d17c0707c60fe5e6ab681e66

11 years agoScaling in viewport moving state locks into a magnified state.
Svetoslav Ganov [Mon, 10 Sep 2012 23:34:53 +0000 (16:34 -0700)]
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

11 years agoMerge "Fix some destroy bugs" into jb-mr1-dev
John Reck [Mon, 10 Sep 2012 23:30:19 +0000 (16:30 -0700)]
Merge "Fix some destroy bugs" into jb-mr1-dev

11 years agoam cd3ec7a2: am e9e40b43: Merge "add link to device dock lesson" into jb-dev
Scott Main [Mon, 10 Sep 2012 23:29:04 +0000 (16:29 -0700)]
am cd3ec7a2: am e9e40b43: Merge "add link to device dock lesson" into jb-dev

* commit 'cd3ec7a251443db258008f913b856c05b2232478':
  add link to device dock lesson

11 years agoam e9e40b43: Merge "add link to device dock lesson" into jb-dev
Scott Main [Mon, 10 Sep 2012 23:27:58 +0000 (16:27 -0700)]
am e9e40b43: Merge "add link to device dock lesson" into jb-dev

* commit 'e9e40b438e0a9c30df5834cf7f8f069b20789c76':
  add link to device dock lesson

11 years agoam 51740d6d: am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
Katie McCormick [Mon, 10 Sep 2012 23:27:20 +0000 (16:27 -0700)]
am 51740d6d: am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

* commit '51740d6d786bf583cd46d12beb8515aa00d84bee':
  Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

11 years agoMerge "add link to device dock lesson" into jb-dev
Scott Main [Mon, 10 Sep 2012 23:26:47 +0000 (16:26 -0700)]
Merge "add link to device dock lesson" into jb-dev

11 years agoam 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
Katie McCormick [Mon, 10 Sep 2012 23:25:17 +0000 (16:25 -0700)]
am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

* commit '0e9f34bffdfc476122337d077453f722fc22038f':
  Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

11 years agoDoc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
Katie McCormick [Mon, 10 Sep 2012 22:32:46 +0000 (15:32 -0700)]
Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

Change-Id: I62def95b138282eba4f2e70fd4ab4de35aa03e89

11 years agoadd link to device dock lesson
Scott Main [Mon, 10 Sep 2012 23:20:08 +0000 (16:20 -0700)]
add link to device dock lesson

Change-Id: I7af36f89204d49f2a0a23c33376f2f343f3b1593

11 years agoFix some destroy bugs
John Reck [Mon, 10 Sep 2012 23:07:04 +0000 (16:07 -0700)]
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

11 years agoMerge "Allow simultaneous scale and pan in magnified state." into jb-mr1-dev
Svetoslav Ganov [Mon, 10 Sep 2012 23:03:11 +0000 (16:03 -0700)]
Merge "Allow simultaneous scale and pan in magnified state." into jb-mr1-dev

11 years agoFix adb am display-size.
Jeff Brown [Mon, 10 Sep 2012 23:01:14 +0000 (16:01 -0700)]
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

11 years agoMerge "Report the user id of every app to ddms." into jb-mr1-dev
Siva Velusamy [Mon, 10 Sep 2012 22:59:36 +0000 (15:59 -0700)]
Merge "Report the user id of every app to ddms." into jb-mr1-dev

11 years agoAllow simultaneous scale and pan in magnified state.
Svetoslav Ganov [Mon, 10 Sep 2012 22:57:10 +0000 (15:57 -0700)]
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

11 years agoAllow pattern to start from outside pattern view
Jim Miller [Sun, 9 Sep 2012 22:20:31 +0000 (15:20 -0700)]
Allow pattern to start from outside pattern view

This effectively makes the pattern view slippery, which enables the
user to start their pattern outside the view and cross the view.

Fixes bug 7118762

Change-Id: I085c5ec8f7ccd2fc37a10606a8925078dc44be13

11 years agoMerge "USER_CURRENT_OR_SELF had the same int as USER_CURRENT!" into jb-mr1-dev
Dianne Hackborn [Mon, 10 Sep 2012 22:49:59 +0000 (15:49 -0700)]
Merge "USER_CURRENT_OR_SELF had the same int as USER_CURRENT!" into jb-mr1-dev

11 years agoMake input system aware of multiple displays.
Jeff Brown [Mon, 10 Sep 2012 03:33:43 +0000 (20:33 -0700)]
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

11 years agoMerge "Flesh out multi-user in am commands." into jb-mr1-dev
Dianne Hackborn [Mon, 10 Sep 2012 22:39:02 +0000 (15:39 -0700)]
Merge "Flesh out multi-user in am commands." into jb-mr1-dev

11 years agoUSER_CURRENT_OR_SELF had the same int as USER_CURRENT!
Dianne Hackborn [Mon, 10 Sep 2012 22:37:53 +0000 (15:37 -0700)]
USER_CURRENT_OR_SELF had the same int as USER_CURRENT!

Change-Id: I0f2b0fa4fb82d1f871450b509a7a4d13e9817320

11 years agoFlesh out multi-user in am commands.
Dianne Hackborn [Mon, 10 Sep 2012 21:52:30 +0000 (14:52 -0700)]
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

11 years agoReport the user id of every app to ddms.
Siva Velusamy [Mon, 10 Sep 2012 21:36:58 +0000 (14:36 -0700)]
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

11 years agoMerge "IME support for trackball and generic motion events" into jb-mr1-dev
Victoria Lease [Mon, 10 Sep 2012 21:12:47 +0000 (14:12 -0700)]
Merge "IME support for trackball and generic motion events" into jb-mr1-dev

11 years agoIME support for trackball and generic motion events
Victoria Lease [Fri, 24 Aug 2012 20:46:02 +0000 (13:46 -0700)]
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

11 years agoMerge "Fix clone() for Animators with just a 'to' value" into jb-mr1-dev
Chet Haase [Mon, 10 Sep 2012 20:56:47 +0000 (13:56 -0700)]
Merge "Fix clone() for Animators with just a 'to' value" into jb-mr1-dev

11 years agoFix clone() for Animators with just a 'to' value
Chet Haase [Mon, 10 Sep 2012 20:42:07 +0000 (13:42 -0700)]
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

11 years agoMerge "SurfaceTexture: add updateTexImage synchronization" into jb-mr1-dev
Jamie Gennis [Mon, 10 Sep 2012 20:31:39 +0000 (13:31 -0700)]
Merge "SurfaceTexture: add updateTexImage synchronization" into jb-mr1-dev