OSDN Git Service

android-x86/frameworks-base.git
11 years agoDisable statusbar pulldown gesture tracking.
Daniel Sandler [Wed, 3 Oct 2012 02:33:08 +0000 (22:33 -0400)]
Disable statusbar pulldown gesture tracking.

Bug: 7164602
Change-Id: Ie6569a7a8a9f462e844ef3088098c3256653f630

11 years agoMerge "Update keyguard to send userActivity events" into jb-mr1-dev
Jim Miller [Wed, 3 Oct 2012 09:23:52 +0000 (02:23 -0700)]
Merge "Update keyguard to send userActivity events" into jb-mr1-dev

11 years agoam bd26b2fb: am 5958cb0d: am c395f4a3: Doc change: Add core quality and tablet qualit...
Dirk Dougherty [Wed, 3 Oct 2012 08:23:54 +0000 (01:23 -0700)]
am bd26b2fb: am 5958cb0d: am c395f4a3: Doc change: Add core quality and tablet quality docs, tablet developer stories.

* commit 'bd26b2fb753d47c27e181ca821f2fd62252b5ba1':
  Doc change: Add core quality and tablet quality docs, tablet developer stories.

11 years agoam 5958cb0d: am c395f4a3: Doc change: Add core quality and tablet quality docs, table...
Dirk Dougherty [Wed, 3 Oct 2012 08:21:48 +0000 (01:21 -0700)]
am 5958cb0d: am c395f4a3: Doc change: Add core quality and tablet quality docs, tablet developer stories.

* commit '5958cb0d8b619b7a42dcc9fbace3b2b9e088e89c':
  Doc change: Add core quality and tablet quality docs, tablet developer stories.

11 years agoam c395f4a3: Doc change: Add core quality and tablet quality docs, tablet developer...
Dirk Dougherty [Wed, 3 Oct 2012 08:19:45 +0000 (01:19 -0700)]
am c395f4a3: Doc change: Add core quality and tablet quality docs, tablet developer stories.

* commit 'c395f4a39cef3e0c2eaac8318b5e1723eac7d696':
  Doc change: Add core quality and tablet quality docs, tablet developer stories.

11 years agoDoc change: Add core quality and tablet quality docs, tablet developer stories.
Dirk Dougherty [Mon, 20 Aug 2012 18:07:36 +0000 (11:07 -0700)]
Doc change: Add core quality and tablet quality docs, tablet developer stories.

Change-Id: Ia88e66818200fdc20417c0fe20672a5758284028

11 years agoUpdate keyguard to send userActivity events
Jim Miller [Wed, 3 Oct 2012 01:38:09 +0000 (18:38 -0700)]
Update keyguard to send userActivity events

Since the new PowerManager changes are in, keyguard needs to handle
keeping the screen awake.  This change does this in a few places in
addition to the existing security screens:

- when the widget page changes
- when the user interacts with any widget other than the status widget
- when the user taps on the target in the selector screen

Fixes bug 7273646

Change-Id: If4c76a38e9b886dd359ba96cd2aae03652007b66

11 years agoMerge changes Iccea764b,I624b559e into jb-mr1-dev
Jeff Brown [Wed, 3 Oct 2012 06:28:18 +0000 (23:28 -0700)]
Merge changes Iccea764b,I624b559e into jb-mr1-dev

* changes:
  Improve the screen dim duration calculation.
  Implement screen on hack for wireless chargers.

11 years agoMerge "Fix some synchronization issues in BatteryService." into jb-mr1-dev
Jeff Brown [Wed, 3 Oct 2012 06:28:02 +0000 (23:28 -0700)]
Merge "Fix some synchronization issues in BatteryService." into jb-mr1-dev

11 years agoSwitch back to user switcher in keyguard
Jim Miller [Tue, 2 Oct 2012 23:32:04 +0000 (16:32 -0700)]
Switch back to user switcher in keyguard

Change-Id: I9acfb61fd34ad24a299e1f11f792e9e240f2b065

11 years agoKeyguard polish
Adam Cohen [Wed, 3 Oct 2012 04:42:54 +0000 (21:42 -0700)]
Keyguard polish

-> Updated user switcher to be closer to spec (issue 7047393)
-> Drawing keyguard overscroll gradient manually in KeyguardWidgetFrame
   (eliminates need for assets, eliminates banding)
-> Fixed clipping of overscroll on sw600dp using negative margin

Change-Id: I90ec7f820ca7dccebf7e05628a3185e95d41af08

11 years agoImprove the screen dim duration calculation.
Jeff Brown [Wed, 3 Oct 2012 04:18:04 +0000 (21:18 -0700)]
Improve the screen dim duration calculation.

Take into account whether the screen off timeout is very short.
If so, we use a shorter dim timeout.  Don't allow the dim
time to be more than 20% of the total screen on time so that
the screen remains bright at least 80% of the time even when
the timeout is short.

Bug: 7273646
Change-Id: Iccea764b90f0d8b1df7009d26160c6bcf6eabe5b

11 years agoImplement screen on hack for wireless chargers.
Jeff Brown [Wed, 3 Oct 2012 03:57:05 +0000 (20:57 -0700)]
Implement screen on hack for wireless chargers.

We can't accurately detect whether the device is resting
on a wireless charger unless it is actually charging.
So we need to tweak the screen on when plugged / unplugged
policy accordingly to avoid spurious wakeups.

Bug: 7234284
Change-Id: I624b559e2e92b8813b12090bc20eca5f5158997e

11 years agoam 39c78f0a: am b2e7d79f: am ddab47b7: update sidenav structure for localized strings...
Scott Main [Wed, 3 Oct 2012 03:34:42 +0000 (20:34 -0700)]
am 39c78f0a: am b2e7d79f: am ddab47b7: update sidenav structure for localized strings dependent on change Ifcae4fcf716c8bb48f3ff18f17313b3f131c3f73

* commit '39c78f0a1fad81800e692ae117084c52a7e1fcbe':
  update sidenav structure for localized strings dependent on change Ifcae4fcf716c8bb48f3ff18f17313b3f131c3f73

11 years agoam b2e7d79f: am ddab47b7: update sidenav structure for localized strings dependent...
Scott Main [Wed, 3 Oct 2012 03:33:19 +0000 (20:33 -0700)]
am b2e7d79f: am ddab47b7: update sidenav structure for localized strings dependent on change Ifcae4fcf716c8bb48f3ff18f17313b3f131c3f73

* commit 'b2e7d79f12efca50032512b70ddd79aa74dbbc4f':
  update sidenav structure for localized strings dependent on change Ifcae4fcf716c8bb48f3ff18f17313b3f131c3f73

11 years agoam ddab47b7: update sidenav structure for localized strings dependent on change Ifcae...
Scott Main [Wed, 3 Oct 2012 03:31:09 +0000 (20:31 -0700)]
am ddab47b7: update sidenav structure for localized strings dependent on change Ifcae4fcf716c8bb48f3ff18f17313b3f131c3f73

* commit 'ddab47b78ca5dff3b9ca8f79c2af8de0292a8fa4':
  update sidenav structure for localized strings dependent on change Ifcae4fcf716c8bb48f3ff18f17313b3f131c3f73

11 years agoMerge "Further refine touchMajor processing in ScaleGestureDetector" into jb-mr1-dev
Adam Powell [Wed, 3 Oct 2012 02:32:59 +0000 (19:32 -0700)]
Merge "Further refine touchMajor processing in ScaleGestureDetector" into jb-mr1-dev

11 years agoMerge "Fix issue #7274813: A few sticky broadcasts aren't being sent to all users...
Dianne Hackborn [Wed, 3 Oct 2012 02:19:41 +0000 (19:19 -0700)]
Merge "Fix issue #7274813: A few sticky broadcasts aren't being sent to all users" into jb-mr1-dev

11 years agoMerge "Delay setting hidden until after isVisibleNow test." into jb-mr1-dev
Craig Mautner [Wed, 3 Oct 2012 02:13:59 +0000 (19:13 -0700)]
Merge "Delay setting hidden until after isVisibleNow test." into jb-mr1-dev

11 years agoFix some synchronization issues in BatteryService.
Jeff Brown [Wed, 3 Oct 2012 02:11:19 +0000 (19:11 -0700)]
Fix some synchronization issues in BatteryService.

Some of the BatteryService state was being locked
sometimes and it wasn't at all consistent.

Bug: 7158734
Change-Id: I46e75f66fde92c5a577a80a6bd99c9573066f3c1

11 years agoFurther refine touchMajor processing in ScaleGestureDetector
Adam Powell [Tue, 2 Oct 2012 23:25:30 +0000 (16:25 -0700)]
Further refine touchMajor processing in ScaleGestureDetector

On some devices the information coming from the touchscreen is very
noisy or otherwise unreliable. Perform some processing on the data
we have to try to provide a smoother experience.

Bug 7267507

Change-Id: I863125f58577f522de05a1361b81c2e42975fd89

11 years agoMerge "Fix issue #7273573: Need API to find out if activity is destroyed" into jb...
Dianne Hackborn [Wed, 3 Oct 2012 01:58:30 +0000 (18:58 -0700)]
Merge "Fix issue #7273573: Need API to find out if activity is destroyed" into jb-mr1-dev

11 years agoMerge "audio service: fix system volume settings" into jb-mr1-dev
Eric Laurent [Wed, 3 Oct 2012 01:18:48 +0000 (18:18 -0700)]
Merge "audio service: fix system volume settings" into jb-mr1-dev

11 years agoMerge "Make USB services multi-user aware." into jb-mr1-dev
Jeff Sharkey [Wed, 3 Oct 2012 01:11:48 +0000 (18:11 -0700)]
Merge "Make USB services multi-user aware." into jb-mr1-dev

11 years agoDelay setting hidden until after isVisibleNow test.
Craig Mautner [Wed, 3 Oct 2012 01:11:25 +0000 (18:11 -0700)]
Delay setting hidden until after isVisibleNow test.

Setting hidden prior to test guarantees the test will fail. This
then causes the exit animation to not be loaded and consequently
the window is immediately hidden. Then, when the window is removed
later it reappears in order to animate away. The consequent flash
is undesirable.

Bug: 7242373 fixed.
Change-Id: I56966bd9060124be372702090f86b29b4deea8c0

11 years agoMake USB services multi-user aware.
Jeff Sharkey [Tue, 2 Oct 2012 04:45:52 +0000 (21:45 -0700)]
Make USB services multi-user aware.

USB settings are now isolated per-user, since they revolve around
installed packages.  User-specific settings are returned based on
calling user, or referenced by UserHandle passed to SystemUI.  Each
settings Context is wrapped as a specific user, so all broadcasts are
sent correctly.  Upgrades any existing USB settings to OWNER.

Physical events, like new devices, are routed to the currently active
user.  Switch to using AtomicFile when persisting settings.

Bug: 7244888
Change-Id: I8a723ad3d55ac1bff99276c5f3a3f5e8f013432f

11 years agoFix issue #7273573: Need API to find out if activity is destroyed
Dianne Hackborn [Wed, 3 Oct 2012 00:51:13 +0000 (17:51 -0700)]
Fix issue #7273573: Need API to find out if activity is destroyed

Also update 17.txt with all of the recent API additions.

Change-Id: I21fc669267935261a741c19e22b0bf35c3a76b81

11 years agoupdate sidenav structure for localized strings
Scott Main [Wed, 3 Oct 2012 00:48:11 +0000 (17:48 -0700)]
update sidenav structure for localized strings
dependent on change Ifcae4fcf716c8bb48f3ff18f17313b3f131c3f73

Change-Id: I8eaf83c454bb3e4eae4aac11473f371987c29ab1

11 years agoMerge changes I0ed9ba00,Ia8c6d7fe into jb-mr1-dev
Jeff Brown [Wed, 3 Oct 2012 00:07:45 +0000 (17:07 -0700)]
Merge changes I0ed9ba00,Ia8c6d7fe into jb-mr1-dev

* changes:
  Fix bug removing all windows that belong to a display.
  Add some missing debug output.

11 years agoMerge "Accessibility support for the widgets switcher of the lock screen." into jb...
Svetoslav Ganov [Wed, 3 Oct 2012 00:00:21 +0000 (17:00 -0700)]
Merge "Accessibility support for the widgets switcher of the lock screen." into jb-mr1-dev

11 years agoMerge "Add icon for mobile notification" into jb-mr1-dev
Irfan Sheriff [Tue, 2 Oct 2012 23:58:14 +0000 (16:58 -0700)]
Merge "Add icon for mobile notification" into jb-mr1-dev

11 years agoAccessibility support for the widgets switcher of the lock screen.
Svetoslav Ganov [Tue, 2 Oct 2012 23:21:20 +0000 (16:21 -0700)]
Accessibility support for the widgets switcher of the lock screen.

bug:7232727
bug:7229598

Change-Id: Ib76b81b170bed0c4ef10f5141bf70f779ffa1ac4

11 years agoAdd icon for mobile notification
Irfan Sheriff [Tue, 2 Oct 2012 23:12:05 +0000 (16:12 -0700)]
Add icon for mobile notification

Bug: 7087564
Change-Id: If856bdfa28c024fb775fd3f8231bd5a16fef59e6

11 years agoMerge "Add new Display API for secure video capabilities." into jb-mr1-dev
Jeff Brown [Tue, 2 Oct 2012 23:39:07 +0000 (16:39 -0700)]
Merge "Add new Display API for secure video capabilities." into jb-mr1-dev

11 years agoMerge "Send masked soft input mode into method." into jb-mr1-dev
Craig Mautner [Tue, 2 Oct 2012 23:36:27 +0000 (16:36 -0700)]
Merge "Send masked soft input mode into method." into jb-mr1-dev

11 years agoMerge "Up motion event not injected by the touch explorer at the end of a drag."...
Svetoslav Ganov [Tue, 2 Oct 2012 23:27:06 +0000 (16:27 -0700)]
Merge "Up motion event not injected by the touch explorer at the end of a drag." into jb-mr1-dev

11 years agoMerge "Fix bug #7266459 android.widget.cts.TableLayoutTest#testColumnStretchableEffec...
Fabrice Di Meglio [Tue, 2 Oct 2012 23:26:04 +0000 (16:26 -0700)]
Merge "Fix bug #7266459 android.widget.cts.TableLayoutTest#testColumnStretchableEffect failures on JO" into jb-mr1-dev

11 years agoFix bug removing all windows that belong to a display.
Jeff Brown [Tue, 2 Oct 2012 23:35:35 +0000 (16:35 -0700)]
Fix bug removing all windows that belong to a display.

Removing one window causes its subwindows to also be removed.
We have to be careful when traversing the window list
because multiple windows may be removed at a time so we
don't get IndexOutOfBoundsException due to the window
list changing in unexpected ways.

Bug: 7273702
Change-Id: I0ed9ba00c325ad178ab28919ce2e763cb6fd38ba

11 years agoMerge "Fix issue #7272775: Auto Start Apps Not Starting" into jb-mr1-dev
Dianne Hackborn [Tue, 2 Oct 2012 23:25:14 +0000 (16:25 -0700)]
Merge "Fix issue #7272775: Auto Start Apps Not Starting" into jb-mr1-dev

11 years agoMerge "Fix package verification with multi-user" into jb-mr1-dev
rich cannings [Tue, 2 Oct 2012 23:23:09 +0000 (16:23 -0700)]
Merge "Fix package verification with multi-user" into jb-mr1-dev

11 years agoMerge "Attempt to fix missing transport control in keyguard" into jb-mr1-dev
Jim Miller [Tue, 2 Oct 2012 23:21:17 +0000 (16:21 -0700)]
Merge "Attempt to fix missing transport control in keyguard" into jb-mr1-dev

11 years agoAdd new Display API for secure video capabilities.
Jeff Brown [Tue, 2 Oct 2012 04:07:03 +0000 (21:07 -0700)]
Add new Display API for secure video capabilities.

Added a new API to determine whether the display supports
protected buffers so that an application can choose a different
content stream or change how it decodes the content so
that it will be viewable on the display.

At present, wifi display does not fully support protected
buffers although this may be enhanced in the future.

Bug: 6986623
Change-Id: If53a53d72b0ec92753cc4b29f99fcb131e00449b

11 years agoAdd some missing debug output.
Jeff Brown [Tue, 2 Oct 2012 23:17:31 +0000 (16:17 -0700)]
Add some missing debug output.

Bug: 7257579
Change-Id: Ia8c6d7fefe6d4c4e6c37f20722c7ffce4bcfcbae

11 years agoam a142be8e: (-s ours) am 33b8f417: am 11f03b4b: (-s ours) DO NOT MERGE cherrypick...
Scott Main [Tue, 2 Oct 2012 23:23:59 +0000 (16:23 -0700)]
am a142be8e: (-s ours) am 33b8f417: am 11f03b4b: (-s ours) DO NOT MERGE cherrypick from jb-dev Change-Id: I9579a7eb04cb39d3b457dde390b6b2a7b240a429 docs: android training - Data Storage

* commit 'a142be8ea9003442b486e0a0f8558361b1525c93':
  DO NOT MERGE cherrypick from jb-dev Change-Id: I9579a7eb04cb39d3b457dde390b6b2a7b240a429 docs: android training - Data Storage

11 years agoFix issue #7274813: A few sticky broadcasts aren't being sent to all users
Dianne Hackborn [Tue, 2 Oct 2012 23:23:39 +0000 (16:23 -0700)]
Fix issue #7274813: A few sticky broadcasts aren't being sent to all users

Change-Id: I2fc89de36be0709946f562f64002d0f6d223401f

11 years agoam 33b8f417: am 11f03b4b: (-s ours) DO NOT MERGE cherrypick from jb-dev Change-Id...
Scott Main [Tue, 2 Oct 2012 23:20:50 +0000 (16:20 -0700)]
am 33b8f417: am 11f03b4b: (-s ours) DO NOT MERGE cherrypick from jb-dev Change-Id: I9579a7eb04cb39d3b457dde390b6b2a7b240a429 docs: android training - Data Storage

* commit '33b8f4175719b746ee290fd95478fae4643fad42':
  DO NOT MERGE cherrypick from jb-dev Change-Id: I9579a7eb04cb39d3b457dde390b6b2a7b240a429 docs: android training - Data Storage

11 years agoMerge "Call Surface.destroy when Display is removed." into jb-mr1-dev
Craig Mautner [Tue, 2 Oct 2012 23:20:33 +0000 (16:20 -0700)]
Merge "Call Surface.destroy when Display is removed." into jb-mr1-dev

11 years agoMerge "Bring back Netflix progress bar Bug #7274157" into jb-mr1-dev
Romain Guy [Tue, 2 Oct 2012 23:17:07 +0000 (16:17 -0700)]
Merge "Bring back Netflix progress bar Bug #7274157" into jb-mr1-dev

11 years agoam 11f03b4b: (-s ours) DO NOT MERGE cherrypick from jb-dev Change-Id: I9579a7eb04cb39...
Scott Main [Tue, 2 Oct 2012 23:18:19 +0000 (16:18 -0700)]
am 11f03b4b: (-s ours) DO NOT MERGE cherrypick from jb-dev Change-Id: I9579a7eb04cb39d3b457dde390b6b2a7b240a429 docs: android training - Data Storage

* commit '11f03b4b694f506ed5dcb7c12a9984b653f93b42':
  DO NOT MERGE cherrypick from jb-dev Change-Id: I9579a7eb04cb39d3b457dde390b6b2a7b240a429 docs: android training - Data Storage

11 years agoMerge "Fix bug #7274075 Non-functional CheckedTextView on Nexus 7 Jelly Bean 4.1...
Fabrice Di Meglio [Tue, 2 Oct 2012 23:16:38 +0000 (16:16 -0700)]
Merge "Fix bug #7274075 Non-functional CheckedTextView on Nexus 7 Jelly Bean 4.1.1" into jb-mr1-dev

11 years agoDO NOT MERGE
Scott Main [Fri, 7 Sep 2012 22:26:39 +0000 (15:26 -0700)]
DO NOT MERGE
cherrypick from jb-dev Change-Id: I9579a7eb04cb39d3b457dde390b6b2a7b240a429
docs: android training - Data Storage

Change-Id: I62b6d5385355555aa3e184bfd4418a0d2e0c1719

11 years agoBring back Netflix progress bar
Romain Guy [Tue, 2 Oct 2012 23:04:05 +0000 (16:04 -0700)]
Bring back Netflix progress bar
Bug #7274157

Gradients and color filters are multiplied by the paint's color so it
needs to be set to opaque black to have an effect.

Change-Id: Ib5dd1e6185f758f55b57a0f4496dfae98f1a096b

11 years agoFix bug #7274075 Non-functional CheckedTextView on Nexus 7 Jelly Bean 4.1.1
Fabrice Di Meglio [Tue, 2 Oct 2012 22:53:00 +0000 (15:53 -0700)]
Fix bug #7274075 Non-functional CheckedTextView on Nexus 7 Jelly Bean 4.1.1

This regression has been introduced by this Change: Ia846de16bbc54f0729608259aa4b530da9404245

- in CHOICE_MODE_SINGLE you need to clear the checked states before doing anything
- rename variables for better readability too

Change-Id: I89b4390e5ebb192ca280fea2c06f991b537a2870

11 years agoMerge "Re-add default sms_short_codes." into jb-mr1-dev
Robert Greenwalt [Tue, 2 Oct 2012 22:49:57 +0000 (15:49 -0700)]
Merge "Re-add default sms_short_codes." into jb-mr1-dev

11 years agoam b847f0b5: am 04c63a40: docs: android training - Data Storage
Scott Main [Tue, 2 Oct 2012 22:34:12 +0000 (15:34 -0700)]
am b847f0b5: am 04c63a40: docs: android training - Data Storage

* commit 'b847f0b578d861647be4908fc3a8d575ba4d726b':
  docs: android training - Data Storage

11 years agoMerge "Add operator name to network notification" into jb-mr1-dev
Irfan Sheriff [Tue, 2 Oct 2012 22:31:20 +0000 (15:31 -0700)]
Merge "Add operator name to network notification" into jb-mr1-dev

11 years agoam 04c63a40: docs: android training - Data Storage
Scott Main [Tue, 2 Oct 2012 22:31:18 +0000 (15:31 -0700)]
am 04c63a40: docs: android training - Data Storage

* commit '04c63a4098293dd00aeaf561b05a33c04a8d7853':
  docs: android training - Data Storage

11 years agoFix issue #7272775: Auto Start Apps Not Starting
Dianne Hackborn [Tue, 2 Oct 2012 22:29:06 +0000 (15:29 -0700)]
Fix issue #7272775: Auto Start Apps Not Starting

Bad defaults were causing stopped state to be set at each
boot.

Change-Id: I49b04e9c62f6ac391054201b508fddb6c7985615

11 years agoCall Surface.destroy when Display is removed.
Craig Mautner [Tue, 2 Oct 2012 20:49:22 +0000 (13:49 -0700)]
Call Surface.destroy when Display is removed.

Prevents leaked Surfaces.

Bug: 7272421.
Change-Id: I6c87eb11bb0bedcf8de451b04477c70c248f905d

11 years agodocs: android training - Data Storage
Scott Main [Fri, 7 Sep 2012 22:26:39 +0000 (15:26 -0700)]
docs: android training - Data Storage

Change-Id: I9579a7eb04cb39d3b457dde390b6b2a7b240a429

11 years agoFix package verification with multi-user
rich cannings [Tue, 2 Oct 2012 21:53:08 +0000 (14:53 -0700)]
Fix package verification with multi-user

Fixes the porblem of PackageManagerService always sending Intents to user 0.

Bug: 7272549
Change-Id: I25995d8b2b9a24346f4813e6d8d9a84e5d5d2b6b

11 years agoam e81e42d7: (-s ours) Reconcile with jb-release - do not merge
The Android Open Source Project [Tue, 2 Oct 2012 21:49:12 +0000 (14:49 -0700)]
am e81e42d7: (-s ours) Reconcile with jb-release - do not merge

* commit 'e81e42d7a6bb1bc7b29d0a7d475f750b524e3fec':
  Show plmn in emergency call allowed mode.

11 years agoReconcile with jb-release - do not merge
The Android Open Source Project [Tue, 2 Oct 2012 21:47:40 +0000 (14:47 -0700)]
Reconcile with jb-release - do not merge

Change-Id: Ie81134aa556b0deb90dcba3d914d58558f3600a9

11 years agoAttempt to fix missing transport control in keyguard
Jim Miller [Tue, 2 Oct 2012 03:21:02 +0000 (20:21 -0700)]
Attempt to fix missing transport control in keyguard

This attempts to fix a bug where the transport control would sometimes be
inoperative.  The problem is that we had two transport control layouts
on some devices because they were being declared in the layout file.

The fix is to only inflate the layout once when KeyguardHostView
is created.

Also removes redundant KeyguardStatusView.

Fixes bug 7254833

Change-Id: Iab84e8326ff745ee57be5177ab2561114c8dc6f0

11 years agoUp motion event not injected by the touch explorer at the end of a drag.
Svetoslav Ganov [Tue, 2 Oct 2012 21:16:08 +0000 (14:16 -0700)]
Up motion event not injected by the touch explorer at the end of a drag.

1. The up event was not injected when the last pointer went up, i.e.
   at the end of the drag. This patch sends an up event if the dragging
   pointer goes up for both cases, when the dragging pointer goes up
   first and when it goes up second.

bug:7272830

Change-Id: I708a2b93ee2d0a4c46dbeea002841666e919602d

11 years agoMerge "Draw stroked rectangle as meshes instead of textures Bug #7233734" into jb...
Romain Guy [Tue, 2 Oct 2012 21:29:47 +0000 (14:29 -0700)]
Merge "Draw stroked rectangle as meshes instead of textures Bug #7233734" into jb-mr1-dev

11 years agoFix bug #7266459 android.widget.cts.TableLayoutTest#testColumnStretchableEffect failu...
Fabrice Di Meglio [Tue, 2 Oct 2012 21:18:55 +0000 (14:18 -0700)]
Fix bug #7266459 android.widget.cts.TableLayoutTest#testColumnStretchableEffect failures on JO

- do not ask for requestLayout() nor invalidate() in View.onMeasure() when
resolving RTL properties

Change-Id: I7961fcb4c046d96391a4e748350573534481ae2b

11 years agoMerge "Disable quick settings for users until USER_SETUP_COMPLETE." into jb-mr1-dev
John Spurlock [Tue, 2 Oct 2012 21:15:22 +0000 (14:15 -0700)]
Merge "Disable quick settings for users until USER_SETUP_COMPLETE." into jb-mr1-dev

11 years agoAdd operator name to network notification
Irfan Sheriff [Tue, 2 Oct 2012 21:01:28 +0000 (14:01 -0700)]
Add operator name to network notification

Bug: 7087564
Change-Id: Ibe7a09fc6858dfea5f65092777bbd6ca82177043

11 years agoMerge "Fix camera disambiguation in secure keyguard" into jb-mr1-dev
Jim Miller [Tue, 2 Oct 2012 20:58:00 +0000 (13:58 -0700)]
Merge "Fix camera disambiguation in secure keyguard" into jb-mr1-dev

11 years agoMerge "Migrate more System and Secure settings to Global." into jb-mr1-dev
Jeff Sharkey [Tue, 2 Oct 2012 20:57:29 +0000 (13:57 -0700)]
Merge "Migrate more System and Secure settings to Global." into jb-mr1-dev

11 years agoMerge "re-use status bar DateView in QuickSettings." into jb-mr1-dev
Chris Wren [Tue, 2 Oct 2012 20:55:59 +0000 (13:55 -0700)]
Merge "re-use status bar DateView in QuickSettings." into jb-mr1-dev

11 years agoMigrate more System and Secure settings to Global.
Jeff Sharkey [Mon, 1 Oct 2012 20:39:08 +0000 (13:39 -0700)]
Migrate more System and Secure settings to Global.

Includes telephony, WindowManager, PackageManager, and debugging
settings.  Update API to point towards moved values.

Bug: 723176472312527231156
Change-Id: I5828747205708872f19f83a5bc821ed0a801cb79

11 years agoMerge "Fix jump cut when dismissing items in Recents" into jb-mr1-dev
Michael Jurka [Tue, 2 Oct 2012 20:49:56 +0000 (13:49 -0700)]
Merge "Fix jump cut when dismissing items in Recents" into jb-mr1-dev

11 years agoDisable quick settings for users until USER_SETUP_COMPLETE.
John Spurlock [Tue, 2 Oct 2012 20:41:12 +0000 (16:41 -0400)]
Disable quick settings for users until USER_SETUP_COMPLETE.

If the current user has not yet made it through the setup wizard,
disable the quick settings panel entirely.

Use Settings.Secure.USER_SETUP_COMPLETE as the signal.  This is a
per-user setting, so be careful to observe only on the current user's
behalf.

Bug:6712493
Change-Id: I3076a8a550165a9eeccf7fb129d470ef4ddeaed4

11 years agoDraw stroked rectangle as meshes instead of textures
Romain Guy [Tue, 2 Oct 2012 19:32:25 +0000 (12:32 -0700)]
Draw stroked rectangle as meshes instead of textures
Bug #7233734

Stroked rectangles were rendered using software generated textures
which would lead to slightly misaligned results. Instead, let's use
the new convex path rendering code that will do the right thing
(and save a lot of bandwidth.)

Change-Id: Ib95ff581e56c1ecead97e4919298e6fd146ca167

11 years agoMerge "Touch explorer and magnifier do not work well together." into jb-mr1-dev
Svetoslav Ganov [Tue, 2 Oct 2012 20:14:06 +0000 (13:14 -0700)]
Merge "Touch explorer and magnifier do not work well together." into jb-mr1-dev

11 years agoMerge "Fix for bug 7234184 F/TextLayoutCache: Failed to put an entry..." into jb...
Raph Levien [Tue, 2 Oct 2012 20:02:30 +0000 (13:02 -0700)]
Merge "Fix for bug 7234184 F/TextLayoutCache: Failed to put an entry..." into jb-mr1-dev

11 years agoFix for bug 7234184 F/TextLayoutCache: Failed to put an entry...
Raph Levien [Tue, 2 Oct 2012 17:30:41 +0000 (10:30 -0700)]
Fix for bug 7234184 F/TextLayoutCache: Failed to put an entry...

This bug was triggered by user code concurrently mutating the character
array while calling into a drawText method in another thread. When the
value of the array changed, it caused inconsistent state, leading to
assert failures.

This is arguably bad behavior by the user code, but it shouldn't cause a
native crash. The fix is to do a defensive copy of the text into the
key, so the value is guaranteed to remain constant throughout the text
layout process. The change is mostly deletion of code, because there was
an optimization to try to avoid such a copy. That optimization was not
actually effective, however, because the indexOfKey() operation in the
KeyedVector underlying the TextLayoutCache did the copy anyway. Thus,
even though this change looks like it's introducing a copy where there
wasn't one before, the actual performance impact should be nil.

Note that the ability to handle a mutating argument is now part of the
contract for TextLayoutEngine::getValue(), and is now documented. That
contract may change, as the result of future optimization. Also, care
was taken to only use the value after the copy.

Other performance issues with TextLayoutCache are tracked in bug
7271109.

Change-Id: I9c90e8e4d501f3f37e2f22a7851f032808d46fbe

11 years agoFix jump cut when dismissing items in Recents
Michael Jurka [Tue, 2 Oct 2012 12:42:53 +0000 (14:42 +0200)]
Fix jump cut when dismissing items in Recents

(fixing horizontal scroll view in this CL... whoops).

Bug: 7070897
Change-Id: I3a63799ce7f3d9a50869755ee3289e641fa82fa4

11 years agoMerge "Fix bug 7138446: Icon blips in during Recents animation" into jb-mr1-dev
Michael Jurka [Tue, 2 Oct 2012 19:28:37 +0000 (12:28 -0700)]
Merge "Fix bug 7138446: Icon blips in during Recents animation" into jb-mr1-dev

11 years agoMerge "Fix jump cut when dismissing items in Recents" into jb-mr1-dev
Michael Jurka [Tue, 2 Oct 2012 19:22:12 +0000 (12:22 -0700)]
Merge "Fix jump cut when dismissing items in Recents" into jb-mr1-dev

11 years agoFix bug 7138446: Icon blips in during Recents animation
Michael Jurka [Mon, 1 Oct 2012 11:58:29 +0000 (13:58 +0200)]
Fix bug 7138446: Icon blips in during Recents animation

Add animation where icon and description of the
primary activity fades and translates in

Change-Id: Ie21b5302ac9e58ee6af219b7cde98d12a8e82697

11 years agoMerge "Accessibility focus should not scroll automatically." into jb-mr1-dev
Svetoslav Ganov [Tue, 2 Oct 2012 19:05:48 +0000 (12:05 -0700)]
Merge "Accessibility focus should not scroll automatically." into jb-mr1-dev

11 years agoTouch explorer and magnifier do not work well together.
Svetoslav Ganov [Mon, 1 Oct 2012 23:25:08 +0000 (16:25 -0700)]
Touch explorer and magnifier do not work well together.

1. If tocuh exploration and screen magnification are enabled and the screen
   is currently magnified, gesture detection does not work well. The reason
   is because we are transforming the events if the screen is magnified before
   passing them to the touch explorer to compensate for the magnification so
   the user can poke what he thinks he pokes. However, when doing gesture
   detection/velocity computing this compensating shrinks the gestured shape/
   decreases velocity leading to poor gesture reco/incorrect velocity.

   This change adds a onRawMotionEvent method in the event transformation chain
   which will process the raw touch events. In this method of the touch explorer
   we are passing events to the gesture recognized and the velocity tracker.

2. Velocity tracker was not cleared on transitions out of touch exploring state
   which is the only one that uses velocity.

bug:7266617

Change-Id: I7887fe5f3c3bb6cfa203b7866a145c7341098a02

11 years agore-use status bar DateView in QuickSettings.
Chris Wren [Tue, 2 Oct 2012 18:47:16 +0000 (14:47 -0400)]
re-use status bar DateView in QuickSettings.

Bug: 7221083
Change-Id: Ic1cb7118d8e5f83a8e5e1101a609791a1e0fbab1

11 years agoaudio service: fix system volume settings
Eric Laurent [Tue, 2 Oct 2012 02:39:04 +0000 (19:39 -0700)]
audio service: fix system volume settings

STREAM_SYSTEM stream volume is never persisted to settings as
it is always derived from another stream volume (STREAM_RING on phones
and STREAM_MUSIC on tablets). Therefore values stored in settings
are stale from previous releases and should be ignored.

Also fix a problem where a muted stream can be unmuted by
readAudioSettings() even if it is muted by ringer mode.

Bug 7216630.

Change-Id: If23561ddfbc704f89fd0a997faf1b50299a50c2e

11 years agoAccessibility focus should not scroll automatically.
Svetoslav Ganov [Tue, 2 Oct 2012 18:31:14 +0000 (11:31 -0700)]
Accessibility focus should not scroll automatically.

1. We use auto scroll when a view gets accessibility focus.
   Pros: Having magnification and TalkBack enabled together (not a common use case)
         will have the accessibility focused view on the screen (it is auto panned).
   Cons: A blind user can get stuck in a very lock scroll view - not good.

2. We do not auto scroll when a view gets accessibility focus.
   Pros: A blind user cannot get stuck in a long scroll view as he has to explicitly
         scroll.
   Cons: The magnified area will not pan to ensure the accessibility focused view
         is visible.

Option one is the better trade off and this change removes the auto scrolling.

bug:7265773

Change-Id: I209b54ed18acad36c1f35b4c09b980e45ec9bbff

11 years agoMerge "Fixing up keyguard widget pager layouts" into jb-mr1-dev
Adam Cohen [Tue, 2 Oct 2012 18:29:13 +0000 (11:29 -0700)]
Merge "Fixing up keyguard widget pager layouts" into jb-mr1-dev

11 years agoSend masked soft input mode into method.
Craig Mautner [Tue, 2 Oct 2012 18:10:57 +0000 (11:10 -0700)]
Send masked soft input mode into method.

Sending the unmasked soft input mode int setAttachedWindowFrames
included the SOFT_INPUT_STATE bits and guaranteed that the adjust
test would always pass.

Bug 7256294

Change-Id: Iaf5368432c7b350fe70687d08c0a08e814b35e94

11 years agoMerge "Introduce ACTION_QUICK_CLOCK for the QS time tile." into jb-mr1-dev
Daniel Sandler [Tue, 2 Oct 2012 17:52:31 +0000 (10:52 -0700)]
Merge "Introduce ACTION_QUICK_CLOCK for the QS time tile." into jb-mr1-dev

11 years agoMerge "Fix notifications dismiss button." into jb-mr1-dev
Daniel Sandler [Tue, 2 Oct 2012 17:49:36 +0000 (10:49 -0700)]
Merge "Fix notifications dismiss button." into jb-mr1-dev

11 years agoMerge "enable safe media volume according to country" into jb-mr1-dev
Eric Laurent [Tue, 2 Oct 2012 16:58:02 +0000 (09:58 -0700)]
Merge "enable safe media volume according to country" into jb-mr1-dev

11 years agoMerge "Fix framework side of #7132432 com.android.vending:..." into jb-mr1-dev
Dianne Hackborn [Tue, 2 Oct 2012 16:22:11 +0000 (09:22 -0700)]
Merge "Fix framework side of #7132432 com.android.vending:..." into jb-mr1-dev

11 years agoenable safe media volume according to country
Eric Laurent [Sat, 29 Sep 2012 01:01:48 +0000 (18:01 -0700)]
enable safe media volume according to country

Enable safe headphone volume feature for all countries that
do not opt otherwise in their mmc configuration.
Opt out for US.

Bug 7231029.

Change-Id: I2619d627508eb2cd1f73db9242e0cb5efa839a2a

11 years agoMerge "renaming Sleep Mode feature." into jb-mr1-dev
Chris Wren [Tue, 2 Oct 2012 15:40:02 +0000 (08:40 -0700)]
Merge "renaming Sleep Mode feature." into jb-mr1-dev

11 years agoMerge "Update javadocs for DreamService." into jb-mr1-dev
John Spurlock [Tue, 2 Oct 2012 14:56:05 +0000 (07:56 -0700)]
Merge "Update javadocs for DreamService." into jb-mr1-dev

11 years agorenaming Sleep Mode feature.
Chris Wren [Tue, 2 Oct 2012 13:43:53 +0000 (09:43 -0400)]
renaming Sleep Mode feature.

Bug: 7267485
Change-Id: If54495436f0df1c0bf90f9bb77b043e40884bbd7

11 years agoFix notifications dismiss button.
Daniel Sandler [Tue, 2 Oct 2012 05:01:12 +0000 (01:01 -0400)]
Fix notifications dismiss button.

The handle (which is now being drawn by the window and not by itself)
was floating over it.

Bug: 7267529
Change-Id: Ia8902f64ac81616c640bc42400272933063852f4

11 years agoFix jump cut when dismissing items in Recents
Michael Jurka [Tue, 2 Oct 2012 12:42:53 +0000 (14:42 +0200)]
Fix jump cut when dismissing items in Recents

Bug: 7070897