5005 Commits

Author SHA1 Message Date
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
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
Michael Jurka
1590822134 am 47468ec8: am 8b2e37e5: Improve recents on sw600dp devices
* commit '47468ec89279385cd72354d3c11ebb339ce7a534':
  Improve recents on sw600dp devices
2012-05-10 09:33:24 -07:00
Daniel Sandler
1a0c9145dc Ice cream is SO over.
Change-Id: I4039b7fe41dc4a498d53e21dbcafb2bc2ac15b92
2012-05-10 11:25:34 -04:00
Daniel Sandler
e95658c98e New backgrounds for notifications.
Note that PRIORITY_MIN notifications have a special
background treatment.

Bug: 6418617
Change-Id: I5f96330fcc53ac39e80a025baa0c134bd1e971b8
2012-05-10 04:52:18 -07:00
Eric Fischer
aaee2e7725 Merge "Import translations. DO NOT MERGE" 2012-05-09 16:24:33 -07:00
Eric Fischer
78ad92ab35 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-09 16:24:20 -07:00
Svetoslav Ganov
e4abc512aa 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
2012-05-09 16:17:20 -07:00
Michael Jurka
8b2e37e5a0 Improve recents on sw600dp devices
Bug: 6405276

- Make thumbnails bigger
- Make thumbnails higher-res
- In landscape, start the thumbnails on the right
- Fix issue where you'd sometimes see "No recent 
apps" flash before the thumbnails appeared
- Fix issue where the first time recents was run
you'd see double the amount of thumbnails

Change-Id: I878caf57a955cb6a0c1b4f0a72b5b993609047f2
2012-05-09 14:43:33 -07:00
Eric Fischer
45f110fb0d Import translations. DO NOT MERGE
Change-Id: Ifbfd8ca86839071e50cc841907a8945847ea82f0
2012-05-09 12:24:52 -07:00
Eric Fischer
0022e1eb2c Import translations. DO NOT MERGE
Change-Id: I57a86231283cbe04171cf895c2a9bac6b1851904
2012-05-09 12:20:18 -07:00
Adam Powell
40b903726f am cb533917: am 1705b2a5: Merge "Fix some oddities in ResolverActivity" into jb-dev
* commit 'cb533917fa759848c6e93cb7dba8f4ab39ac1dff':
  Fix some oddities in ResolverActivity
2012-05-09 10:09:26 -07:00
Amith Yamasani
e00b1a66fa am 07bd29ba: am 369d78f1: Merge "Switch 7 inch tablets to single-pane preferences, like phones." into jb-dev
* commit '07bd29ba7bbb6a91cc44c0d26bf3f5ffa3ef9cc9':
  Switch 7 inch tablets to single-pane preferences, like phones.
2012-05-09 10:09:12 -07:00
Chris Wren
48c3650c8e am 49d3a80e: am 407f2fdc: Merge "Don\'t allow actions to intrude into the notification area." into jb-dev
* commit '49d3a80e823d7a4c6b731c997ec766d51a14476b':
  Don't allow actions to intrude into the notification area.
2012-05-09 10:08:45 -07:00
Jeff Brown
7a8c867d09 am 05f5976a: am 9cc5e767: Merge "Hide SET_KEYBOARD_LAYOUT permissions." into jb-dev
* commit '05f5976abe6c13f47e1923503814bdc0cac76aed':
  Hide SET_KEYBOARD_LAYOUT permissions.
2012-05-09 10:08:35 -07:00
Gilles Debunne
b2b36eaf8d am 733980bd: am f4c77df0: Merge "Fixed PIN display, including in Arabic." into jb-dev
* commit '733980bd8c615774bb1d0d12f4b23b8c753a7bdc':
  Fixed PIN display, including in Arabic.
2012-05-09 10:08:00 -07:00
Jim Miller
56f895a2fc am 8676726d: am 06e8d664: Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev
* commit '8676726dcfa54e4fecb0c0676d9945ad49f079c5':
  Fix 6397736: Swipe up to search layout fixes
2012-05-08 11:33:22 -07:00
Adam Powell
1705b2a5da Merge "Fix some oddities in ResolverActivity" into jb-dev 2012-05-08 11:27:27 -07:00
Adam Powell
9bee4664f8 Fix some oddities in ResolverActivity
* Fix layout for small-screen devices in landscape.

* Properly re-enable buttons after restoring instance state.

* Scroll to the currently selected item after restoring instance
  state.

* Smooth scroll to the currently selected item if the user changes
  selection to an item slightly out of view.

* Place grid scroll bar outside the grid's padding.

* Make the current text read a bit more naturally.

Bug 6460135

Change-Id: Ic60330365cdd815e7517f01b36bcdc9d1c857f30
2012-05-08 11:20:27 -07:00
Amith Yamasani
1aba409f2f Switch 7 inch tablets to single-pane preferences, like phones.
Move a bunch of dimensions around so that 7" tablets use phone-style
UI but with different margins to reduce the width.

24dp margin for portrait and 48dp margin for landscape.
Existing sw600dp values moved to sw720dp.
New sw600dp values created.

Bug: 6445803
Change-Id: I835c8f4b0423b295dd453161f4e32406e6267515
2012-05-08 10:21:24 -07:00
Chris Wren
407f2fdcfe Merge "Don't allow actions to intrude into the notification area." into jb-dev 2012-05-08 07:33:59 -07:00
Chris Wren
92c6247962 Don't allow actions to intrude into the notification area.
Bug: 6411597
Change-Id: I7331f378463efe136c2bcb517ca8b4263a04556c
2012-05-08 09:35:16 -04:00
Jeff Brown
9cc5e7678d Merge "Hide SET_KEYBOARD_LAYOUT permissions." into jb-dev 2012-05-07 19:29:55 -07:00
Jeff Brown
507f5586fb Hide SET_KEYBOARD_LAYOUT permissions.
Bug: 6427036
Change-Id: Idbb442ad8071b2ca4acf247b135c7aba0830cf70
2012-05-07 19:06:06 -07:00
Gilles Debunne
f4c77df059 Merge "Fixed PIN display, including in Arabic." into jb-dev 2012-05-07 17:45:47 -07:00
Gilles Debunne
9c30855410 Fixed PIN display, including in Arabic.
Bug 5731093

Replace TextView by EditText to make it cleaner.
Had to force the text color, although the TextAppearance should
handle it. Maybe something is wrong with the theme.

Also added a hint for consistency.

Change-Id: Icd7170a0ef3757d0313e0799873f2dd375b02f2f
2012-05-07 16:55:32 -07:00
Jim Miller
06e8d6647d Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev 2012-05-07 14:34:00 -07:00
Eric Fischer
06cdc5804c Import translations. DO NOT MERGE
Change-Id: Ia7196cf3b90221d52b21865396615e243681850b
2012-05-07 12:55:55 -07:00
Eric Fischer
2f851a4bce Import translations. DO NOT MERGE
Change-Id: Id186acbe0e1b24f840ca3fdeb73c94d0c3d2aaa6
2012-05-07 12:51:17 -07:00
Jim Miller
354619c1cc Fix 6397736: Swipe up to search layout fixes
This fixes several layout issues on phones and tablets with MultiWaveView.

It adds a new background scrim to be shown behind the MultiWaveView
on the navigation bar.

MultiWaveView is updated to handle gravity constraints which makes layouts
much more flexible across devices.

Change-Id: I64068f4eaa81ef6c464247049117d53432fcacbd
2012-05-06 22:39:18 -07:00
Adam Powell
c089b23369 am 1e754e8f: am dad52e15: Merge "Better screen size adaptation for ResolverActivity" into jb-dev
* commit '1e754e8fac68e970128b9b35d2ccf25bdb6f6f3b':
  Better screen size adaptation for ResolverActivity
2012-05-06 21:03:43 -07:00
Adam Powell
589e6f960d Better screen size adaptation for ResolverActivity
Change-Id: I2c982c0b7c722ca7cad46cc23ac8d161bee3a1ff
2012-05-06 20:53:07 -07:00
Dianne Hackborn
a61b1ae67b am a17e3afb: am 58d5ff87: Merge "Fix typo." into jb-dev
* commit 'a17e3afb71f07f824f92dd0d207198804f747a0a':
  Fix typo.
2012-05-06 18:12:23 -07:00
Dianne Hackborn
58d5ff8757 Merge "Fix typo." into jb-dev 2012-05-06 18:07:19 -07:00
Dianne Hackborn
79e0110f9d Fix typo.
Change-Id: I29a270c7499a96718b3d2cad8c2b89783a5607f8
2012-05-06 18:03:24 -07:00
Adam Powell
8228c1414e am f1a15060: am b2269d67: Merge "Revisions to ResolverActivity" into jb-dev
* commit 'f1a15060d0e1016b6287877f074198a66c9b4c9f':
  Revisions to ResolverActivity
2012-05-06 18:00:23 -07:00
Dianne Hackborn
c77218e6b0 am 25fc66b8: am 7bfa1457: Merge "Finish up issue #6249094: Display permissions based on relevance to private data" into jb-dev
* commit '25fc66b898a35796af65ec7e3eb9b1584588e063':
  Finish up issue #6249094: Display permissions based on relevance to private data
2012-05-06 17:55:04 -07:00
Adam Powell
b2269d67c4 Merge "Revisions to ResolverActivity" into jb-dev 2012-05-06 17:54:48 -07:00
Adam Powell
c587861fe8 Revisions to ResolverActivity
Bug 6428812

Change ResolverActivity to use a grid rather than a list, and present
buttons for "Use Always" and "Just Once". Use large launcher icons
when appropriate.

Change-Id: I177360a727cbc4b401ffbcea83d1b3dac1de5744
2012-05-06 17:52:30 -07:00
Dianne Hackborn
7bfa14570e Merge "Finish up issue #6249094: Display permissions based on relevance to private data" into jb-dev 2012-05-06 17:49:53 -07:00
Dianne Hackborn
99222d212f Finish up issue #6249094: Display permissions based on relevance to private data
Added bitmaps for permission group icons.  We had to pick either
icons for a dark or light background, and it had to be light for
settings, so the installer theme has gone back to dark.

Tweaked the permission groups to match the icons.

Redid the group priorities to make them correct (they were written
with higher priorities being less important).

Fixed bug where priority was not being used for system apps.

Change-Id: Ia3d3f0c1614a11b4cfd11682ce9e6c9f87d75c06
2012-05-06 17:45:13 -07:00
Svetoslav Ganov
b75436066d am f9c4734b: am 464676bc: Merge "Showing default activity in activity chooser view only if enough space." into jb-dev
* commit 'f9c4734b307129e52832c2024e916157c71265c4':
  Showing default activity in activity chooser view only if enough space.
2012-05-06 17:22:29 -07:00
Svetoslav Ganov
464676bcb4 Merge "Showing default activity in activity chooser view only if enough space." into jb-dev 2012-05-06 17:17:34 -07:00
Michael Jurka
6276af8f8a am ec7683bd: am b37854ce: Merge "Make recents thumbnails look a bit better on Nakasi" into jb-dev
* commit 'ec7683bdd1ece04dfc1b0bc1b1ec7c344b00eaf3':
  Make recents thumbnails look a bit better on Nakasi
2012-05-06 16:08:51 -07:00
Svetoslav Ganov
340e2611de Showing default activity in activity chooser view only if enough space.
1. While a default target is very convenient, having two targets for the
   widget on a phone takes too much space and the apps do not have room
   to add other essential affordances to the action bar. Making the default
   activity show only of the screen is large enough - the action bar
   accommodates at least four targets i.e. 500dip.

2. Fixed a bug where changing the backing model of an ActivityChooserView
   when the view is not shown did not remove the observer for the old
   model, hence the View can get into a state where it responds to changes
   of two models while presenting only one. Also in such a case the view
   would leak since the singleton model will keep a handle to it.

3. Updated the documentation of share action provider to explain how a
   a developer can change the backing history file and refresh the UI
   based on the historical data in that file.

bug:6447692

Change-Id: Id5c9e54cd5df322ded8574ba028cb680e628243b
2012-05-05 17:49:16 -07:00
Michael Jurka
d7683d748d Make recents thumbnails look a bit better on Nakasi
Bug: 6405276

Change-Id: I9faea28b027de2ef1ee45a65eed2f7a43eee901b
2012-05-04 15:59:20 -07:00
Eric Fischer
669403e538 Merge "Import translations. DO NOT MERGE" 2012-05-04 14:16:51 -07:00
Eric Fischer
c9c199a51a Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-04 14:16:23 -07:00
Fabrice Di Meglio
8396830d8f Merge "Hide RTL related APIs - DO NOT MERGE" into jb-dev 2012-05-04 13:19:41 -07:00
Fabrice Di Meglio
66388dcb09 Hide RTL related APIs - DO NOT MERGE
- fix bug #6441155 API review: @hide RTL layout APIs

Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
2012-05-04 13:15:12 -07:00