35681 Commits

Author SHA1 Message Date
Amith Yamasani
9c2a38ed10 Merge "Fix resource reading for secondary users" into jb-mr1-dev 2012-10-07 22:53:18 -07:00
Jim Miller
245b453733 Properly handle cancel event in GlowPadView
There was a workaround used in a previous release where we effectively
ignored cancel events to work around another bug.  This change removes
the workaround and GlowPadView correctly handles the event.

Bug 6903638

Change-Id: I9b510985c6da346a4e10cf2535267c8d5efa5871
2012-10-07 20:16:54 -07:00
Svetoslav Ganov
f0b8e3adc4 Merge "Adding support to NumberPicker" into jb-mr1-aah-dev 2012-10-07 19:00:02 -07:00
Svetoslav Ganov
5dc21d9b34 Adding support to NumberPicker
Change-Id: I471b995c8d364c2bd5eef3ab0397c17fc77f6ccc
2012-10-07 18:54:42 -07:00
Romain Guy
133fcdf44b Merge "Clear draw flags when updating TextureView's layer Bug #7171323" into jb-mr1-dev 2012-10-07 18:00:41 -07:00
Romain Guy
52b307ebc8 Clear draw flags when updating TextureView's layer
Bug #7171323

Finally!

Change-Id: Iefef8fb9a8ef1fe4b374005067145319312c57cf
2012-10-07 17:57:30 -07:00
Raph Levien
286da7b6f5 Fix for 7301594 Html.toHtml creating potentially invalid html
Generate <p dir="rtl"> instead of <p dir=rtl>. The form with the quotes
is cleaner and will reduce warnings in apps that consume the output.

Change-Id: Ic9879c8c882c42079598b741e897a24415d96374
2012-10-07 16:57:27 -07:00
Amith Yamasani
64442c1155 Fix resource reading for secondary users
Bug: 7086881

Load resources for the correct user.

Also clean up package monitoring and locking.
Added dump method to SearchManagerService.

Sneaking in a change to make crash dialogs visible to current user.

Change-Id: Id56dd15428d66084de995e28be242db27c15fda3
2012-10-07 15:56:34 -07:00
Adam Cohen
5e386b7fd2 am ee1108be: am 5745a676: Merge "Suppress unnecessary calls to update widget size (issue 7287744)" into jb-mr1-dev
* commit 'ee1108be3532d73dfbdb79e497d2dca040b7d094':
  Suppress unnecessary calls to update widget size (issue 7287744)
2012-10-07 12:59:26 -07:00
Adam Cohen
ee1108be35 am 5745a676: Merge "Suppress unnecessary calls to update widget size (issue 7287744)" into jb-mr1-dev
* commit '5745a6763a5647db5b461fbe57a643738fa2fe25':
  Suppress unnecessary calls to update widget size (issue 7287744)
2012-10-07 12:56:33 -07:00
Adam Cohen
5745a6763a Merge "Suppress unnecessary calls to update widget size (issue 7287744)" into jb-mr1-dev 2012-10-07 12:38:33 -07:00
Craig Mautner
337aa27a63 am 8ee7ac22: am 33877e15: Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev
* commit '8ee7ac22e6aec5df5405a3e2130d593c50bc39b2':
  Adds showWhenLocked attribute to Activities.
2012-10-07 11:53:43 -07:00
Craig Mautner
8ee7ac22e6 am 33877e15: Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev
* commit '33877e15b8bfc50bd874027689a4794aa93b923d':
  Adds showWhenLocked attribute to Activities.
2012-10-07 11:50:54 -07:00
Craig Mautner
33877e15b8 Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev 2012-10-07 11:48:50 -07:00
Adam Powell
fee7ddedc9 am f94da061: am 786d1092: Merge "Quick settings user display and switching" into jb-mr1-dev
* commit 'f94da0619c524ec9faf7def068d6888aa5304c96':
  Quick settings user display and switching
2012-10-07 11:37:54 -07:00
Adam Powell
f94da0619c am 786d1092: Merge "Quick settings user display and switching" into jb-mr1-dev
* commit '786d10921b2c525ed22b78ec40ae2554eec85912':
  Quick settings user display and switching
2012-10-07 11:35:34 -07:00
Adam Powell
786d10921b Merge "Quick settings user display and switching" into jb-mr1-dev 2012-10-07 11:33:29 -07:00
Dianne Hackborn
71c66f0dda am 6d5d7fcb: am 52177738: Merge "Fix issue #7296314, issue #7296314." into jb-mr1-dev
* commit '6d5d7fcba944e772041f20022ac275a2ac057eb5':
  Fix issue #7296314, issue #7296314.
2012-10-07 09:06:48 -07:00
Dianne Hackborn
6d5d7fcba9 am 52177738: Merge "Fix issue #7296314, issue #7296314." into jb-mr1-dev
* commit '52177738e8fa38e2f7769db1bcad40e7405baf17':
  Fix issue #7296314, issue #7296314.
2012-10-07 09:02:15 -07:00
Craig Mautner
5962b12bed Adds showWhenLocked attribute to Activities.
The new attribute allows an Activity such as the alarm to appear
on all users screens.

Bug: 7213805 fixed.
Change-Id: If7866b13d88c04af07debc69e0e875d0adc6050a
2012-10-06 13:09:58 -07:00
Dianne Hackborn
52177738e8 Merge "Fix issue #7296314, issue #7296314." into jb-mr1-dev 2012-10-06 11:08:17 -07:00
Adam Powell
6f2a3d2982 Quick settings user display and switching
Load user information for the current user and display in quick
settings tile. Name is pulled from the contacts DB from the "Me"
profile, which will override the raw name on the system user if
needed.

Open the user switcher on the lock screen if this tile is clicked and
there is more than one user registered on the system. If there is only
one user, show the "Me" quick contact card.

Darken the background protection behind the user's name on the QS tile
layout so that it's readable against very light profile pic
backgrounds.

Bug 7175023
Bug 7257997

Change-Id: Ia1e7dd7af72dbd49113a827f9228e0a32e20a0dc
2012-10-05 22:36:13 -07:00
Dianne Hackborn
4c1e3183ba Fix issue #7296314, issue #7296314.
7296314 Crashing dreams are stuck
7296510 Transition from lock screen to dreaming is really bad

The window layer for dreams is now moved down below the keyguard,
so that some of the expected stuff like crash and ANR dialogs can
be seen on top of them.  While doing this, I reorganized how we
define the layers so the constants are just in the switch statement,
so it is much less crazy-making trying to read how things go
together.

We now have some special cases for when a dream is being shown
to turn off its animation if the keyguard is currently shown.
Since we know it will be hiding the keyguard we need it to be
shown immediately so that you don't see whatever is behind it.

Cleaned up some handling of when the lock screen is displayed
while a FLAG_SHOW_WHEN_LOCKED window is displayed, so that the
lockscreen doesn't transiently get shown and mess up the fullscreen
or system UI state.  This also fixes problems with any normal
activity that is doing this.

Hid the methods on DreamService for setting lights out mode.  It
doesn't make sense to have such methods on DreamService, because
you can just as well do that on your own View that is showing the
dream content, and when you can do that you can fully participate
in the (required) interactions about it such as being told when
the mode goes away.

The DreamService method for going fullscreen now uses the window
flag for doing this, which is what you want, because you want this
state to persistent on that window and not get knocked out if
something above the window tickles the system UI state.

Also fixed the problem where dreams that hid the status bar would
have a jerky animation when going away, since they were causing the
activity behind them to be layed out without the lock screen.  This
is a kind-of ugly special case in the window manager right now to
just not layout windows that are behind a dream.  Good enough for MR1.

Change-Id: Ied2ab86ae068b1db0ff5973882f6d17b515edbcd
2012-10-05 20:38:31 -07:00
Svetoslav Ganov
481a0aac1f am 88ae2e2a: am d9c99124: Merge "Incorrect temporary detach of accessibility focused view may lead to a crash." into jb-mr1-dev
* commit '88ae2e2abeda94f3ec1d87ffad35e7e5d716a94f':
  Incorrect temporary detach of accessibility focused view may lead to a crash.
2012-10-05 20:09:12 -07:00
Svetoslav Ganov
88ae2e2abe am d9c99124: Merge "Incorrect temporary detach of accessibility focused view may lead to a crash." into jb-mr1-dev
* commit 'd9c99124d4870361c7c1e28fb78adf245eb1305a':
  Incorrect temporary detach of accessibility focused view may lead to a crash.
2012-10-05 20:06:50 -07:00
Svetoslav Ganov
d9c99124d4 Merge "Incorrect temporary detach of accessibility focused view may lead to a crash." into jb-mr1-dev 2012-10-05 20:04:37 -07:00
Svetoslav Ganov
c886060272 Incorrect temporary detach of accessibility focused view may lead to a crash.
1. If an app naither reattaches nor removes detached view that has
   accessibility focus, an exception in the drawing of accessibility
   focus occurs since we are trying to compute the focused rect by
   offseting the bounds of the focused view in coords of the root
   but the focused one is not attached.

bug:7297191

Change-Id: Ib69d52e474b8ea365754f5311f5e809bd757dd1a
2012-10-05 18:47:13 -07:00
Adam Cohen
a21bf0c6ea Suppress unnecessary calls to update widget size (issue 7287744)
Change-Id: I2cec03a32b42f7a56e0f538dcd5c09de4ce2e076
2012-10-05 18:20:46 -07:00
Svetoslav Ganov
5bfa59b32f am 82d5b6e1: am 020daada: Merge "Accessibility focus not cleared on temporary detach." into jb-mr1-dev
* commit '82d5b6e1dde07fbd0bd6ed1720c92e06b7dadd93':
  Accessibility focus not cleared on temporary detach.
2012-10-05 17:38:27 -07:00
Svetoslav Ganov
82d5b6e1dd am 020daada: Merge "Accessibility focus not cleared on temporary detach." into jb-mr1-dev
* commit '020daada9d5311921fe3185c68f083cf4aac18f8':
  Accessibility focus not cleared on temporary detach.
2012-10-05 17:36:16 -07:00
Svetoslav Ganov
020daada9d Merge "Accessibility focus not cleared on temporary detach." into jb-mr1-dev 2012-10-05 17:33:36 -07:00
Svetoslav Ganov
8d0739da7f Accessibility focus not cleared on temporary detach.
1. There was a path for removing a view without clearing its accessibility focus.
   Then when we try to draw the focused rectangle we get an exception since the
   accessibility focused view is not attached to the view tree when computing
   the location of the rectangel to draw.

bug:7297191

Change-Id: I81e3c35e830e27cf95e73accb665629d0c456afb
2012-10-05 17:26:49 -07:00
Craig Mautner
51e461a985 am f630bd76: am 2874a540: Merge "Add flag for displaying non-user\'s Windows to user." into jb-mr1-dev
* commit 'f630bd762fb4770eaadc02492e32b0aa18d28416':
  Add flag for displaying non-user's Windows to user.
2012-10-05 16:18:43 -07:00
Craig Mautner
f630bd762f am 2874a540: Merge "Add flag for displaying non-user\'s Windows to user." into jb-mr1-dev
* commit '2874a54068af1e7de3c1c046cc0061412daafaf8':
  Add flag for displaying non-user's Windows to user.
2012-10-05 16:16:03 -07:00
Jeff Sharkey
20c634c39a am 8052e88e: am b06ccdfb: Merge "Ellipsize long avatar names in user switcher." into jb-mr1-dev
* commit '8052e88e1bcfe540a4d9c8a75ed1fa682c152395':
  Ellipsize long avatar names in user switcher.
2012-10-05 16:14:25 -07:00
Craig Mautner
2874a54068 Merge "Add flag for displaying non-user's Windows to user." into jb-mr1-dev 2012-10-05 16:14:12 -07:00
Jeff Sharkey
8052e88e1b am b06ccdfb: Merge "Ellipsize long avatar names in user switcher." into jb-mr1-dev
* commit 'b06ccdfbc08119a27fdb3bacaa117914a7863307':
  Ellipsize long avatar names in user switcher.
2012-10-05 16:10:44 -07:00
Jeff Sharkey
b06ccdfbc0 Merge "Ellipsize long avatar names in user switcher." into jb-mr1-dev 2012-10-05 16:08:25 -07:00
Jeff Sharkey
7b83158d8e Ellipsize long avatar names in user switcher.
Bug: 7294380
Change-Id: Id82354172ee9be6b76ca98863e058ab0a58ecb78
2012-10-05 15:50:28 -07:00
Craig Mautner
88400d3a31 Add flag for displaying non-user's Windows to user.
Created a new flag that indicates that a window should be shown
to all users. For the flag to be valid the owner of the window
must have system permissions.

Also separated system window types into those that show to all
users (e.g. StatusBar, Keyguard, ....) and those that appear only
to the owning users (e.g. Drag, ANR, TOAST, ...). Those that appear
only to their owner can override their default behavior using
the new flag (e.g. LowBattery).

Fixes bug 7211965.

Change-Id: I1fdca25d57b7b523f0c7f8bceb819af656c388d4
2012-10-05 15:29:25 -07:00
Romain Guy
b0625ac58d am 4a4e2c1a: am 5075f8e3: Merge "Update TextureView\'s layer on size change Bug #7171323" into jb-mr1-dev
* commit '4a4e2c1a3e2f529ae9c255ea4ffbfaec08cf5e29':
  Update TextureView's layer on size change Bug #7171323
2012-10-05 15:18:19 -07:00
Romain Guy
4a4e2c1a3e am 5075f8e3: Merge "Update TextureView\'s layer on size change Bug #7171323" into jb-mr1-dev
* commit '5075f8e3237cb950104049fd8b5677e6aad0306f':
  Update TextureView's layer on size change Bug #7171323
2012-10-05 15:16:30 -07:00
Romain Guy
5075f8e323 Merge "Update TextureView's layer on size change Bug #7171323" into jb-mr1-dev 2012-10-05 15:14:07 -07:00
Jeff Brown
4bb6d07a8b am 513b8ea1: am 3f1246a2: Merge "Coordinate screen on with the window manager." into jb-mr1-dev
* commit '513b8ea16fdedd7b6debd718798c0220edd61d7f':
  Coordinate screen on with the window manager.
2012-10-05 15:00:47 -07:00
Romain Guy
88801b270f Update TextureView's layer on size change
Bug #7171323

Change-Id: I24bedd7775ebf585ffcbd43b661e9c961f380c29
2012-10-05 14:58:33 -07:00
Jeff Brown
513b8ea16f am 3f1246a2: Merge "Coordinate screen on with the window manager." into jb-mr1-dev
* commit '3f1246a29b58cf78ebe674ec0905ad1795027aac':
  Coordinate screen on with the window manager.
2012-10-05 14:58:01 -07:00
Jeff Brown
3f1246a29b Merge "Coordinate screen on with the window manager." into jb-mr1-dev 2012-10-05 14:55:26 -07:00
Jeff Brown
c38c9be031 Coordinate screen on with the window manager.
Bug: 7267457
Change-Id: Ic2c322253639e1f0b2e4e72a7b145025d0240f93
2012-10-05 14:39:23 -07:00
Baligh Uddin
72d2853b93 Import translations. DO NOT MERGE
Change-Id: Idd0cea4e5c5c1dca92c18ef9caf58d21b83d31e7
Auto-generated-cl: translation import
2012-10-05 14:21:37 -07:00
Baligh Uddin
feb372f1e1 Import translations. DO NOT MERGE
Change-Id: Id3ee1c43122e006752f41e06f6783caf9b8f379d
Auto-generated-cl: translation import
2012-10-05 14:20:05 -07:00