77569 Commits

Author SHA1 Message Date
Kenny Root
e4fd3d50c7 am 42a419b4: am 718af32a: Merge "Use long instead of int for file offsets" into jb-dev
* commit '42a419b4c0e7d16145e336ceec709dcefbdcf894':
  Use long instead of int for file offsets
2012-05-10 15:00:32 -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
4a7eb3e1b5 am fdcab08f: am 7d45704d: Merge "Fix some apn settings issues." into jb-dev
* commit 'fdcab08f40ea02df494f1bf07037a4a64d494115':
  Fix some apn settings issues.
2012-05-10 14:42:04 -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
Svetoslav Ganov
3dfcccca2d Merge "Updating the APIs to fix the build." 2012-05-10 14:20:57 -07:00
Svetoslav Ganov
c69daa92bb Updating the APIs to fix the build.
Change-Id: I272fba007079fb67e0a37a89042e7b6e7fc5fbb6
2012-05-10 14:19:24 -07:00
Chet Haase
afd5c3ee60 Clear animations in DisplayLists when done
The matrix calculated by Animations is pushed down to the native
DisplayList object, and is then used when the DL is issued to the
GL renderer. This works while the animation is running, but the end
of animations is not handled correctly. In particular, we never clear the
animation, so whatever the last frame of the animation calculated will
persist on that DisplayList object until it is recreated.

The fix is to note when we used to be animating and are no longer
doing so, taking that opportunity to push the cleared state down
to the DisplayList.

Issue #6448993 action bar -- including settings menu -- disappears on Nakasi

Change-Id: I73cdadaef40d87ccbc1beb02599c4d70506ea42b
2012-05-10 14:16:44 -07:00
Christopher Tate
ee4cdb81fc am a8f78db6: am 798006e4: (-s ours) am ad3f86a5: Merge "Fixed x86 GCC 4.6 compilation error about unused variable"
* commit 'a8f78db6edbcbc42bad662e6b459e4e8275e6600':
  Fixed x86 GCC 4.6 compilation error about unused variable
2012-05-10 13:54:05 -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
ead6929d3b Import translations. DO NOT MERGE
Change-Id: I74c43d4d93e0775c6baac39845bf57a9242dca62
2012-05-10 13:35:31 -07:00
Eric Fischer
19988c39b1 Import translations. DO NOT MERGE
Change-Id: I2d2f9e65ba6aa186fe3688d47159ba81fdd8a4da
2012-05-10 13:33:47 -07:00
Eric Fischer
672bc82659 Import translations. DO NOT MERGE
Change-Id: I6b3e647b2dc591a9bc79e16037d35cca93c3b08f
2012-05-10 13:21:47 -07:00
Eric Fischer
815afff5ec Import translations. DO NOT MERGE
Change-Id: I4b0db0e4396c02467af678e5a298109ac12e00c2
2012-05-10 13:17:17 -07:00
Svetoslav Ganov
2eb975bf1a am 31b24191: am 0891a897: Merge "Polish the NumberPicker, TimePicker, and DatePicker based on UX request." into jb-dev
* commit '31b241919bbae4dd76789d7adc043d477cf38e25':
  Polish the NumberPicker, TimePicker, and DatePicker based on UX request.
2012-05-10 13:04:52 -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
Svetoslav Ganov
3ec2e1b94a Remove activation gestures form reported and add a touch explore requesting flag.
1. Delegating activation gestures has several issues that we should
   decide how to handle if possible before allowing an accessibility
   service to take over them:

   A) It is needed that every view than can be clicked or long pressed on
      reacts to such as a response to calling performClick and performLongPress
      which is not necessary true since the view may watch the touch
      events and do its own click long click detection. As a result it may
      be possible that there are view a user cannot interact with in
      touch exploration mode but can if not in that mode.

   B) Clicking or long pressing on a different location in a view may yield
      different results, for example NumberPicker. Ideally such views have
      to implement AccessibilityNodeProvide which provider handles correctly
      the request for click long press on virtual nodes. Some apps however
      just fire different hover accessibility events when the user is over
      a specific semantic portion of the view but do not provide virtual
      nodes. Hence, a user will not be able to interact with such semantic
      regions but the system can achieve that by sending the click/long click
      at the precise location in the view that was last touch explored.

2. Adding a flag on accessibility service info to request explore by touch
   mode. There is no need to put the device in this mode if node of the currently
   enabled accessibility services supports it. Now the problem is inverted and
   the service has to explicitly state its capability.

3. Fixing a bug where includeImportantViews was ignored for automation
   services.

Change-Id: I3b29a19f24ab5e26ee29f974bbac2197614c9e2a

Conflicts:

	api/current.txt
2012-05-10 12:57:46 -07:00
Jesse Wilson
bb0018d060 am 36b6999b: am 822b72ef: Merge "Rename Uri.normalize() to Uri.normalizeScheme()." into jb-dev
* commit '36b6999bf12866679b80b03ada1f20f516b35904':
  Rename Uri.normalize() to Uri.normalizeScheme().
2012-05-10 12:46:00 -07:00
Svetoslav Ganov
86ba4aaa71 am 37fd7976: am a1dc761c: Adding scroll actions to accessibility node info.
* commit '37fd797699eb8e481d69f7f5a19cd05b8a5b7170':
  Adding scroll actions to accessibility node info.
2012-05-10 12:43:12 -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
Andreas Huber
15ad6fe94d am b2725f7c: am 1bc1b8a5: Merge "Make sure crop rect information is visible from java." into jb-dev
* commit 'b2725f7c7e30dd547a81a8d057bbeab75f35616e':
  Make sure crop rect information is visible from java.
2012-05-10 11:58:22 -07:00
Craig Mautner
a515097d2c am 3c52b43f: am 4fe5ebcc: Merge "Update DimAnimator layer when its window changes." into jb-dev
* commit '3c52b43f4f3b3ed0302a1a194e9d3e8b07a78e1a':
  Update DimAnimator layer when its window changes.
2012-05-10 11:58:15 -07:00
Pannag Sanketi
745e7f25c1 am b53bc725: am 1870c696: Merge "Adding disconnect call to the SurfaceTextureTarget" into jb-dev
* commit 'b53bc725655056ac275e745bfeeffeaf1479ea38':
  Adding disconnect call to the SurfaceTextureTarget
2012-05-10 11:58:09 -07:00
Mike Lockwood
402cc125a2 am 378d05a9: am b86bc105: Merge "UsbService: Fix problem detecting audio accessory mode when connected at boot" into jb-dev
* commit '378d05a9182a2011f1d387b5597d83c415383757':
  UsbService: Fix problem detecting audio accessory mode when connected at boot
2012-05-10 11:58:03 -07:00
Daniel Sandler
ba32499a68 am d634b77b: am a4487e1b: Merge "Clean up API docs for Notification." into jb-dev
* commit 'd634b77bbf838e92716d03879e77f203c86c2fc6':
  Clean up API docs for Notification.
2012-05-10 11:57:59 -07:00
Chet Haase
cc52dc688f am b43c85fe: am 6b16286f: Merge "Notify windows when window animations complete" into jb-dev
* commit 'b43c85fef1d03e4237fd67b3de7ae83ca9328e02':
  Notify windows when window animations complete
2012-05-10 11:57:51 -07:00
Chris Wren
80c41c461e am 661769d0: am 230e86a1: Merge "Auto-expand the top notification." into jb-dev
* commit '661769d02c9bbe6a135731bb91f24b4b4710d8d4':
  Auto-expand the top notification.
2012-05-10 11:57:47 -07:00
Chris Wren
23e8f7b9c1 am 1f5644d5: am 0a6a1234: Merge "Pull up updateNotification to BaseStatusBar in preparation for modifying update behvior." into jb-dev
* commit '1f5644d57d7b245d3f6b701318361359f3caff21':
  Pull up updateNotification to BaseStatusBar in preparation for modifying update behvior.
2012-05-10 11:57:44 -07:00
Tom Taylor
fe9185a11d am 79c93524: am 747eeb4c: Merge "Thread with no recipients getting created" into jb-dev
* commit '79c93524f7b323e35fd37ad1c4dcb3b3519026aa':
  Thread with no recipients getting created
2012-05-10 11:57:40 -07:00
Jeff Sharkey
6474dc987a am 0af3e957: am ca90d6da: Merge "Avoid updating thresholds during shutdown." into jb-dev
* commit '0af3e95717a659c578a89570ae3225ff49ddfce5':
  Avoid updating thresholds during shutdown.
2012-05-10 11:57:36 -07:00
Michael Jurka
e5c511a1cc am bf1b5fa9: am 421dceb0: Merge "Making transition out of recents look better" into jb-dev
* commit 'bf1b5fa944158044a595706924b935b5577ec0f0':
  Making transition out of recents look better
2012-05-10 11:57:33 -07:00
Daniel Sandler
800421ba61 am 2c51f2b9: am dc442534: Merge "Ice cream is SO over." into jb-dev
* commit '2c51f2b949d7b07d1f349dad7b90ce7bb1314c1b':
  Ice cream is SO over.
2012-05-10 11:57:30 -07:00
Ruei-sung Lin
a2172c4403 am af9eb5a0: am c2e393f8: Merge "pseudo random number generator in shader with limited precisions" into jb-dev
* commit 'af9eb5a05b7770fb5fb0901f0a1289951e24664e':
  pseudo random number generator in shader with limited precisions
2012-05-10 11:57:27 -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
Daniel Sandler
cb1830cf96 am 5a062e61: am a25079e6: Show the ADB icon in the status bar again.
* commit '5a062e6107973dad91a2747c8782b7aa893ce6ac':
  Show the ADB icon in the status bar again.
2012-05-10 11:39:25 -07:00
Daniel Sandler
c323d9ec3a am 8046724d: am e95658c9: New backgrounds for notifications.
* commit '8046724da39735d03a4659c268d9154f82f4d31a':
  New backgrounds for notifications.
2012-05-10 11:39:22 -07:00
Dianne Hackborn
5545e7b1c4 am a0c24917: am f4299bd1: Whoops forgot to add current.txt. :(
* commit 'a0c2491751949170884651c445c74a2e9946c973':
  Whoops forgot to add current.txt. :(
2012-05-10 11:39:18 -07:00
Dianne Hackborn
d41bf1a287 am 014afea3: am a482d366: Merge "Fixed typo in findAccessibilityFocus API." into jb-dev
* commit '014afea3cec7ff93d195753103478826796c310f':
  Fixed typo in findAccessibilityFocus API.
2012-05-10 11:39:14 -07:00
Kenny Root
84a8f2bc66 am c4cbbb13: am 8c3906d9: Merge "Use the right flag types when creating InstallArgs" into jb-dev
* commit 'c4cbbb131ff419100a4901a856edf3469efef74b':
  Use the right flag types when creating InstallArgs
2012-05-10 11:39:03 -07:00
Dianne Hackborn
d293b4b339 am 1ccc8953: am e2c7e2ad: Merge "Add compression level key for FLAC encoding" into jb-dev
* commit '1ccc8953a0ef17076fc2f8088159556c70fbb9c5':
  Add compression level key for FLAC encoding
2012-05-10 11:38:59 -07:00