76862 Commits

Author SHA1 Message Date
Mike Lockwood
f61adad3a7 am 8d8176d4: Merge "AudioService: Fix problem handling USB audio disconnect" into jb-dev
* commit '8d8176d41b8b8f08435e727f03e43e27a542dcc2':
  AudioService: Fix problem handling USB audio disconnect
2012-05-10 18:01:06 -07:00
Mike Lockwood
8d8176d41b Merge "AudioService: Fix problem handling USB audio disconnect" into jb-dev 2012-05-10 17:58:47 -07:00
Mike Lockwood
9841818b9a AudioService: Fix problem handling USB audio disconnect
Also broadcast ACTION_AUDIO_BECOMING_NOISY on USB audio disconnect

Change-Id: I46dfcc744df880066aea6bf651334a081c14af0f
Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-05-10 17:49:30 -07:00
Eric Laurent
d2261486fa am 304521b7: Merge "AudioService: fix various volume issues." into jb-dev
* commit '304521b7cf6f54b4ae6089d0b38eb495376061b1':
  AudioService: fix various volume issues.
2012-05-10 17:43:00 -07:00
Eric Laurent
304521b7cf Merge "AudioService: fix various volume issues." into jb-dev 2012-05-10 17:40:26 -07:00
Eric Laurent
2448201852 AudioService: fix various volume issues.
Fix various issues in adjustStreamVolume() related to stream type aliases
using different ranges.

Always Update last audible index on all streams sharing the same alias.

Add check on setRingerMode() to prevent setting mode to VIBRATE when no
vibrator is present.

Issue 6455831.

Change-Id: Id110e05d2f16e208e1e398922617bf31967b62db
2012-05-10 17:20:26 -07:00
Brandon Keely
9dfce94a29 am 86f23aaa: Merge "fragment transitions" into jb-dev
* commit '86f23aaa7c86f57a381f49147e5a4454b82fc169':
  fragment transitions
2012-05-10 16:48:40 -07:00
Brandon Keely
86f23aaa7c Merge "fragment transitions" into jb-dev 2012-05-10 16:46:40 -07:00
Jim Miller
556d48f5a3 am fef47f42: Merge "Fix 6398209: Improve MultiWaveView animations and interaction" into jb-dev
* commit 'fef47f422aef44a69aa1a417ef671d6934c5ed1f':
  Fix 6398209: Improve MultiWaveView animations and interaction
2012-05-10 16:43:48 -07:00
Jim Miller
fef47f422a Merge "Fix 6398209: Improve MultiWaveView animations and interaction" into jb-dev 2012-05-10 16:41:55 -07:00
Dianne Hackborn
00389a5198 am b1b55e6c: Fix build.
* commit 'b1b55e6c6b079d75c13dcc23ca3ebce847bb42f8':
  Fix build.
2012-05-10 16:30:54 -07:00
Dianne Hackborn
b1b55e6c6b Fix build.
Change-Id: Ie255c93442d0b62032ac25e6de97f2c03e5df3ba
2012-05-10 16:25:54 -07:00
Brandon Keely
963daf28e5 fragment transitions
Change-Id: I8a3078b32b9543dd1b3a79231c3199f842f3cfd1
2012-05-10 16:18:17 -07:00
Jim Miller
10c66afbd0 Fix 6398209: Improve MultiWaveView animations and interaction
TargetDrawables now have a "home" position they can be scaled about.
Added new "focused" state to TargetDrawable.  This is used to distinguish between highlight and selection.
Updated target icons to use new focused state. Currently re-uses "activated" icon.
Change to event handling to allow cancel events when a target is highlighted to cause a selection.
Cleaned up MultiWaveView initialization code.

MultiWaveView animation improvements:
 - new scale animation when center handle is touched.
 - switched to using indices instead of foreach loops in critical path code to avoid creating temporary objects.
 - updated and simplified animation code.

Change-Id: I593c021475f1644c73bdb9f84855e6a9fec7c0ab
2012-05-10 15:59:03 -07:00
Daniel Sandler
6ad1105806 am f54bfcf5: Merge "Restyling action buttons." into jb-dev
* commit 'f54bfcf5a3594d7d8423391be68d9b982ea6c4fa':
  Restyling action buttons.
2012-05-10 15:46:11 -07:00
Daniel Sandler
f54bfcf5a3 Merge "Restyling action buttons." into jb-dev 2012-05-10 15:44:16 -07:00
Eric Fischer
2c914da6db am 4e90bb53: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '4e90bb536ae7430978eeef5c287b11a72ea4c023':
  Import translations. DO NOT MERGE
2012-05-10 15:42:59 -07:00
Eric Fischer
f3abef098a am 6deb7bca: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '6deb7bcad7299bb3265bbe635ebc0805120ec159':
  Import translations. DO NOT MERGE
2012-05-10 15:39:25 -07:00
Eric Fischer
4e90bb536a Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-10 15:39:07 -07:00
Eric Fischer
6deb7bcad7 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-10 15:37:20 -07:00
Dianne Hackborn
de888fec6b am 255d1e15: Merge "Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting..." into jb-dev
* commit '255d1e1540833fb1980791b2e340cad4cb18b3b7':
  Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting...
2012-05-10 15:36:12 -07:00
Dianne Hackborn
255d1e1540 Merge "Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting..." into jb-dev 2012-05-10 15:32:32 -07:00
Eric Laurent
faf233585b am 24938df9: Merge "AudioService: synchronized access to volume index" into jb-dev
* commit '24938df9e44dbed2ea9c72370907fe403674ee00':
  AudioService: synchronized access to volume index
2012-05-10 15:23:17 -07:00
Eric Laurent
24938df9e4 Merge "AudioService: synchronized access to volume index" into jb-dev 2012-05-10 15:20:08 -07:00
Dianne Hackborn
cf67578c7f Fix issue #6475693: OnSystemUiVisibilityChangeListener reporting...
...incorrect visibility when the ActionBar overflow menu is opened

Don't report layout flags in system UI visibility callback.  Update
docs to reflect this.

Change-Id: Icfa411b5537de037cafbcac04991101e8b9138c4
2012-05-10 15:07:24 -07:00
Kenny Root
42a419b4c0 am 718af32a: Merge "Use long instead of int for file offsets" into jb-dev
* commit '718af32a191066822262ad05cdd525a09c66094f':
  Use long instead of int for file offsets
2012-05-10 14:57:34 -07:00
Kenny Root
718af32a19 Merge "Use long instead of int for file offsets" into jb-dev 2012-05-10 14:55:35 -07:00
Eric Laurent
3172d5e3e7 AudioService: synchronized access to volume index
Add synchronization to prevent concurrent accesses to
volume indexes HashMap in VolumeStreamState.

Use ConcurrentHashMap for VolumeStreamState mIndex and
mLastAudibleIndex.

Issue 6421841.

Change-Id: I6dee805a79aa5e2cd0ba4072014a2fcdda4ed507
2012-05-10 14:55:20 -07:00
Robert Greenwalt
fdcab08f40 am 7d45704d: Merge "Fix some apn settings issues." into jb-dev
* commit '7d45704db4c52b371d64c78696b7992d643b418b':
  Fix some apn settings issues.
2012-05-10 14:38:30 -07:00
Robert Greenwalt
7d45704db4 Merge "Fix some apn settings issues." into jb-dev 2012-05-10 14:36:19 -07:00
Christopher Tate
a8f78db6ed am 798006e4: (-s ours) am ad3f86a5: Merge "Fixed x86 GCC 4.6 compilation error about unused variable"
* commit '798006e4705e1a8549ba687585f31c0142c9a09e':
  Fixed x86 GCC 4.6 compilation error about unused variable
2012-05-10 13:50:54 -07:00
Daniel Sandler
e551884b09 Restyling action buttons.
Bug: 6418617
Change-Id: I843352fbd167aeb6cc7beb0172b7416aabd5856a
2012-05-10 16:45:48 -04:00
Eric Fischer
19988c39b1 Import translations. DO NOT MERGE
Change-Id: I2d2f9e65ba6aa186fe3688d47159ba81fdd8a4da
2012-05-10 13:33:47 -07:00
Eric Fischer
815afff5ec Import translations. DO NOT MERGE
Change-Id: I4b0db0e4396c02467af678e5a298109ac12e00c2
2012-05-10 13:17:17 -07:00
Svetoslav Ganov
31b241919b am 0891a897: Merge "Polish the NumberPicker, TimePicker, and DatePicker based on UX request." into jb-dev
* commit '0891a89790777e2f88f413351fafe49dda36714f':
  Polish the NumberPicker, TimePicker, and DatePicker based on UX request.
2012-05-10 13:02:22 -07:00
Svetoslav Ganov
0891a89790 Merge "Polish the NumberPicker, TimePicker, and DatePicker based on UX request." into jb-dev 2012-05-10 13:00:08 -07:00
Jesse Wilson
36b6999bf1 am 822b72ef: Merge "Rename Uri.normalize() to Uri.normalizeScheme()." into jb-dev
* commit '822b72efd8795abe72b95d0ddd45873a5c4b77f8':
  Rename Uri.normalize() to Uri.normalizeScheme().
2012-05-10 12:42:38 -07:00
Svetoslav Ganov
37fd797699 am a1dc761c: Adding scroll actions to accessibility node info.
* commit 'a1dc761c8322355eb1bb71d3d6c9c603c1d1fc0f':
  Adding scroll actions to accessibility node info.
2012-05-10 12:39:55 -07:00
Jesse Wilson
822b72efd8 Merge "Rename Uri.normalize() to Uri.normalizeScheme()." into jb-dev 2012-05-10 12:39:37 -07:00
Svetoslav Ganov
232dd3f335 Polish the NumberPicker, TimePicker, and DatePicker based on UX request.
1. Now the spinners in the time and data picker a wider therefore
   easier to interact with, i.e. harder to miss accidentall.

2. Removed the scroll distance cut off user to distinguish between
   fling and change by one.

3. Added visual feedback when the areas the serve as virtual buttons
   in number picker are poked.

4. Removed the coeffcient that was making drap not to be one-to-one
   with the scrolled distance.

5. Added some margin at the top and bottom of the spinners in
   date and time pickers.

bug:6321432

Change-Id: I311c1733d1951b0563209401faa830ca70ec87cb
2012-05-10 12:35:22 -07:00
Svetoslav Ganov
a1dc761c83 Adding scroll actions to accessibility node info.
1. Scrolling actions are crucial for enabling a gesture based
   traversal of the UI and specifically scrollable containers
   especially lists and anything backed by an adapter. Since
   accessibility focus can land only attached views, it cannot
   visit views for adapter items not shown on the screen.
   Auto scrolling the list as a result of putting access focus
   ot a list item does not work well since the user may get
   trapped in a long list. Adding an accessibility node provider
   to emit virtual views for one view before the first and one
   after the last is complex and suffers the limitation of trapping
   the user. Accessibility service need an explicit scroll actions
   which may be performed upon an explicit user action. Hence,
   the user is informed for the start/end of the visible part of
   the list and he makes a deliberate choice to scroll. This will
   benefit also people developing Braille devices since they can
   scroll the content without telling the user to stop using the
   Braille controller and take the device out of his pocket to scroll
   and go back to the Braille controller.

NOTE: Without these action large portions of the screen will be
    hard to access since users will have to touch and explore to
    find and scroll the list.

Change-Id: Iafcf54d4967893205872b3649025a4e347a299ed
2012-05-10 12:28:04 -07:00
Kenny Root
103d53005e Use long instead of int for file offsets
Use long instead of int so we don't run into a 2GB file limit.

Fix possible overflows in offset and length.

Change-Id: Idb3a34f5600f9c2372b9c89256f21757049fa43b
2012-05-10 11:48:21 -07:00
Andreas Huber
b2725f7c7e am 1bc1b8a5: Merge "Make sure crop rect information is visible from java." into jb-dev
* commit '1bc1b8a5b8a0c5fbcd670d1963235de27a5ccec4':
  Make sure crop rect information is visible from java.
2012-05-10 11:46:23 -07:00
Andreas Huber
1bc1b8a5b8 Merge "Make sure crop rect information is visible from java." into jb-dev 2012-05-10 11:42:15 -07:00
Craig Mautner
3c52b43f4f am 4fe5ebcc: Merge "Update DimAnimator layer when its window changes." into jb-dev
* commit '4fe5ebcc962ad7edb205bf988dd463854dea1044':
  Update DimAnimator layer when its window changes.
2012-05-10 11:35:10 -07:00
Andreas Huber
b842599e51 Make sure crop rect information is visible from java.
Change-Id: Ib914de3d42349efcd7af301d43bec82a21d24ce5
related-to-bug: 6471684
2012-05-10 11:32:15 -07:00
Jesse Wilson
abc43ddd8a Rename Uri.normalize() to Uri.normalizeScheme().
Change-Id: I67839656c7c1c16a5376c9894d699d2bad3c7a5c
2012-05-10 14:31:17 -04:00
Craig Mautner
4fe5ebcc96 Merge "Update DimAnimator layer when its window changes." into jb-dev 2012-05-10 11:30:53 -07:00
Pannag Sanketi
b53bc72565 am 1870c696: Merge "Adding disconnect call to the SurfaceTextureTarget" into jb-dev
* commit '1870c69693d655b101fcc221eb14b1cd7592059d':
  Adding disconnect call to the SurfaceTextureTarget
2012-05-10 11:19:03 -07:00
Pannag Sanketi
1870c69693 Merge "Adding disconnect call to the SurfaceTextureTarget" into jb-dev 2012-05-10 11:16:59 -07:00