77028 Commits

Author SHA1 Message Date
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
Mike Lockwood
378d05a918 am b86bc105: Merge "UsbService: Fix problem detecting audio accessory mode when connected at boot" into jb-dev
* commit 'b86bc1058b8b9bce045ae94f7cd703d4bfecccb3':
  UsbService: Fix problem detecting audio accessory mode when connected at boot
2012-05-10 11:04:28 -07:00
Mike Lockwood
b86bc1058b Merge "UsbService: Fix problem detecting audio accessory mode when connected at boot" into jb-dev 2012-05-10 11:02:20 -07:00
Daniel Sandler
d634b77bbf am a4487e1b: Merge "Clean up API docs for Notification." into jb-dev
* commit 'a4487e1b4be823e6e90b25442f663a9424ac90e0':
  Clean up API docs for Notification.
2012-05-10 10:58:37 -07:00
Daniel Sandler
a4487e1b4b Merge "Clean up API docs for Notification." into jb-dev 2012-05-10 10:57:02 -07:00
Chet Haase
b43c85fef1 am 6b16286f: Merge "Notify windows when window animations complete" into jb-dev
* commit '6b16286f653f9f8a1c17a8dffebbe6cee4e5afca':
  Notify windows when window animations complete
2012-05-10 10:52:54 -07:00
Chris Wren
661769d02c am 230e86a1: Merge "Auto-expand the top notification." into jb-dev
* commit '230e86a1cf31d2f2233a444e4abb0a334576477b':
  Auto-expand the top notification.
2012-05-10 10:52:52 -07:00
Chris Wren
1f5644d57d am 0a6a1234: Merge "Pull up updateNotification to BaseStatusBar in preparation for modifying update behvior." into jb-dev
* commit '0a6a1234c2ee5c6b810c875389016ce89022cee1':
  Pull up updateNotification to BaseStatusBar in preparation for modifying update behvior.
2012-05-10 10:52:50 -07:00
Chet Haase
6b16286f65 Merge "Notify windows when window animations complete" into jb-dev 2012-05-10 10:50:29 -07:00
Chris Wren
230e86a1cf Merge "Auto-expand the top notification." into jb-dev 2012-05-10 10:50:17 -07:00
Chris Wren
0a6a1234c2 Merge "Pull up updateNotification to BaseStatusBar in preparation for modifying update behvior." into jb-dev 2012-05-10 10:50:05 -07:00
Tom Taylor
79c93524f7 am 747eeb4c: Merge "Thread with no recipients getting created" into jb-dev
* commit '747eeb4c4e48950e1107337b59cca83166e625b6':
  Thread with no recipients getting created
2012-05-10 10:45:34 -07:00
Jeff Sharkey
0af3e95717 am ca90d6da: Merge "Avoid updating thresholds during shutdown." into jb-dev
* commit 'ca90d6dad572c6aaad3b0a314df200d1762c23af':
  Avoid updating thresholds during shutdown.
2012-05-10 10:45:32 -07:00
Michael Jurka
bf1b5fa944 am 421dceb0: Merge "Making transition out of recents look better" into jb-dev
* commit '421dceb0a4fd8f20349a0de277f82b56e71cb90b':
  Making transition out of recents look better
2012-05-10 10:45:30 -07:00
Daniel Sandler
2c51f2b949 am dc442534: Merge "Ice cream is SO over." into jb-dev
* commit 'dc442534070aa8ff4c07cae16fc5207ba6821651':
  Ice cream is SO over.
2012-05-10 10:45:28 -07:00
Ruei-sung Lin
af9eb5a05b am c2e393f8: Merge "pseudo random number generator in shader with limited precisions" into jb-dev
* commit 'c2e393f86c39e710a06a1d452a410014295fb6e4':
  pseudo random number generator in shader with limited precisions
2012-05-10 10:45:21 -07:00
Craig Mautner
acafd19c5e Update DimAnimator layer when its window changes.
Prior to this fix once dimming had been turned on it stayed at the
same layer and associated with the same window until it was turned
off. Now the DimAnimator layer is updated if either the window layer
changes or the dimming window changes.

Fixes bug 6467865.

Change-Id: I3e1765b92b51be26e3718c8a87e2583041a36af9
2012-05-10 10:41:02 -07:00
Chris Wren
8fd12657e3 Auto-expand the top notification.
Bug: 6455789
Change-Id: Ia455f204544ad0c41ace77ea3ece6e0d3d3110d9
2012-05-10 13:40:19 -04:00
Tom Taylor
747eeb4c4e Merge "Thread with no recipients getting created" into jb-dev 2012-05-10 10:39:50 -07:00
Jeff Sharkey
ca90d6dad5 Merge "Avoid updating thresholds during shutdown." into jb-dev 2012-05-10 10:35:45 -07:00
Michael Jurka
421dceb0a4 Merge "Making transition out of recents look better" into jb-dev 2012-05-10 10:35:19 -07:00
Daniel Sandler
dc44253407 Merge "Ice cream is SO over." into jb-dev 2012-05-10 10:33:05 -07:00
Chris Wren
0c8275b392 Pull up updateNotification to BaseStatusBar in preparation for modifying update behvior.
Bug: 6455789
Change-Id: I09fbf4d31643813cb4dfecaa496327d9625a15af
2012-05-10 13:25:27 -04:00
Daniel Sandler
d33b803b6b Clean up API docs for Notification.
Bug: 6427241
Bug: 6427245
Bug: 6427814
Change-Id: I91d741513e3b345d2b9f28ad0a1bf11b0a898076
2012-05-10 13:15:37 -04:00
Mike Lockwood
bf91046872 UsbService: Fix problem detecting audio accessory mode when connected at boot
Change-Id: Ie0e23b8ec88f1dd29bb956bc1d21c241f3545059
Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-05-10 10:09:12 -07:00
Ruei-sung Lin
c2e393f86c Merge "pseudo random number generator in shader with limited precisions" into jb-dev 2012-05-10 10:02:44 -07:00
Chet Haase
198e564c9a Notify windows when window animations complete
Drawing in windows is suppressed during window animations, to make window
animations smoother. This means that drawing activities that the activity
requested are dropped on the floor. There is no call at the end of window
animations to tell the windows that they may now draw, which leaves the windows
and activities in an uncertain state, especially with respect to some of the
dirty flags that we use internally to know when we have requested (and satisfied)
invalidations on views.

The fix is to notice, on the WindowManager side, when we've finished window
animations and to schedule a traversal on the WindowManager, which will then send
out appropriate messages to the affected windows.

Issue #6461113 EventInfo is stuck in day view

Change-Id: I364c9c472531c467d44801698cfb453970173bb3
2012-05-10 09:55:15 -07:00
Daniel Sandler
5a062e6107 am a25079e6: Show the ADB icon in the status bar again.
* commit 'a25079e6bafcfd77135a852f0e838738d80606ef':
  Show the ADB icon in the status bar again.
2012-05-10 09:26:44 -07:00
Daniel Sandler
8046724da3 am e95658c9: New backgrounds for notifications.
* commit 'e95658c98e4154a2daf0ed70d15d24f8bf3153f0':
  New backgrounds for notifications.
2012-05-10 09:26:40 -07:00
Dianne Hackborn
a0c2491751 am f4299bd1: Whoops forgot to add current.txt. :(
* commit 'f4299bd1858a44b3d5c9342752ba2d2459a50230':
  Whoops forgot to add current.txt. :(
2012-05-10 09:26:20 -07:00
Dianne Hackborn
014afea3ce am a482d366: Merge "Fixed typo in findAccessibilityFocus API." into jb-dev
* commit 'a482d36635cbfbbfb4aee9fc79d55514bf6b7464':
  Fixed typo in findAccessibilityFocus API.
2012-05-10 09:26:15 -07:00
Kenny Root
c4cbbb131f am 8c3906d9: Merge "Use the right flag types when creating InstallArgs" into jb-dev
* commit '8c3906d920f55ec0d42252ef8f460e6066b1d4b6':
  Use the right flag types when creating InstallArgs
2012-05-10 09:26:13 -07:00
Dianne Hackborn
1ccc8953a0 am e2c7e2ad: Merge "Add compression level key for FLAC encoding" into jb-dev
* commit 'e2c7e2adc06d813d64bb557944eb16e3fa9a7e57':
  Add compression level key for FLAC encoding
2012-05-10 09:26:11 -07:00
Dianne Hackborn
7ab1675111 am 2c2864f6: Merge "Add new API to find total RAM." into jb-dev
* commit '2c2864f65c5cec6aebcb1b5612331f3946893042':
  Add new API to find total RAM.
2012-05-10 09:26:09 -07:00
Dianne Hackborn
e2e0391389 am dd79ae6b: Merge "Add infrastructure for accessing "unstable" content providers." into jb-dev
* commit 'dd79ae6b7201b68dbe2a223d2f371ea1a473f6c4':
  Add infrastructure for accessing "unstable" content providers.
2012-05-10 09:26:03 -07:00
Jeff Brown
dfca63f374 am 4cbb2c41: Merge "Fix reference to moved class." into jb-dev
* commit '4cbb2c41ce5d9188be6badd8fa51b921467b221c':
  Fix reference to moved class.
2012-05-10 09:25:58 -07:00
Craig Mautner
e649909727 am b4ffa66d: Merge "Fix wallpaper glitch and moving window animation." into jb-dev
* commit 'b4ffa66d6e696bdc773b64802b1cf6d20097c6a3':
  Fix wallpaper glitch and moving window animation.
2012-05-10 09:25:54 -07:00
Dianne Hackborn
e6f6cd69ff am 78fd4a14: Merge "Remove auto-brightness adjustment knob." into jb-dev
* commit '78fd4a14dd2a1e2d9ab4be024861c0d9119cce7f':
  Remove auto-brightness adjustment knob.
2012-05-10 09:25:50 -07:00
Jeff Brown
d55392c9e8 am 8bd8d896: Merge "Fix possible leak in bitmap decoding." into jb-dev
* commit '8bd8d8969380e24fadca64b6977dc20b1cf4d569':
  Fix possible leak in bitmap decoding.
2012-05-10 09:25:47 -07:00
Jeff Brown
90bbf585f4 am 995cb973: Merge "Empower the \'input\' command with keycode labels." into jb-dev
* commit '995cb9739a04e7fe20c0a86c400db706b12cb221':
  Empower the 'input' command with keycode labels.
2012-05-10 09:25:42 -07:00