3138 Commits

Author SHA1 Message Date
Daniel Sandler
650ff92dc5 am 4d3190a8: am f6a34124: Move lots of layout-port/ resources to layout/ .
* commit '4d3190a849306a5f3be9ccfde5fca2a78c9e0ee8':
  Move lots of layout-port/ resources to layout/ .
2012-08-06 12:35:55 -07:00
Daniel Sandler
f6a341248d Move lots of layout-port/ resources to layout/ .
The framework is no longer letting us skate by without a
default (unqualified) for of each resource; in particular,
the land/port aspect of the configuration appears to be
binding much later than it used to.

Bug: 6937365
Change-Id: I6bf72c76e707548168fefa9466dc196ffde33ab3
2012-08-06 15:29:09 -04:00
Wink Saville
bd2ebfb377 am 3d62c325: am bb01fd01: am 1971df5d: am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"
* commit '3d62c325fefbfc6d810ed30db4fd000b35332c50':
  show 3G icon for CDMA/1xRTT
2012-08-04 08:17:21 -07:00
Wink Saville
bb01fd0111 am 1971df5d: am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"
* commit '1971df5d4296f077cccff704201057a32b733235':
  show 3G icon for CDMA/1xRTT
2012-08-04 08:12:48 -07:00
Wink Saville
1971df5d42 am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"
* commit 'e20a19cb541f8621f04be0f3d3501f2fc51a0e82':
  show 3G icon for CDMA/1xRTT
2012-08-04 08:07:49 -07:00
Chris Wren
af5209ce4e am 62e30723: am 5345c310: Merge "Don\'t allow the status bar to collapse things we\'re touching." into jb-mr1-dev
* commit '62e30723fb2589b3d1a693c66332307d00c64f19':
  Don't allow the status bar to collapse things we're touching.
2012-08-03 10:10:13 -07:00
Chris Wren
5345c310af Merge "Don't allow the status bar to collapse things we're touching." into jb-mr1-dev 2012-08-03 09:52:09 -07:00
Madan Ankapura
68cad3a0fa show 3G icon for CDMA/1xRTT
when config_showMin3G is enabled to true in a CDMA device

Change-Id: I79a4fa200dc406fc7f9f4527165046541961ef69
Signed-off-by: Madan Ankapura <mankapur@sta.samsung.com>
2012-08-02 19:10:22 -07:00
Svetoslav Ganov
b16c018ca3 am c171d515: am 25dd892c: am e1c47324: am 9a59f6e0: Merge "Notification panel on tablet does not handle back and home key events." into jb-dev
* commit 'c171d515b3b2d31d0bc58dcf0563b7daf1116fc7':
  Notification panel on tablet does not handle back and home key events.
2012-08-02 16:13:46 -07:00
Svetoslav Ganov
25dd892ce9 am e1c47324: am 9a59f6e0: Merge "Notification panel on tablet does not handle back and home key events." into jb-dev
* commit 'e1c47324fc22f86f378cb6ccc51e4554eec5156b':
  Notification panel on tablet does not handle back and home key events.
2012-08-02 16:07:35 -07:00
Svetoslav Ganov
e1c47324fc am 9a59f6e0: Merge "Notification panel on tablet does not handle back and home key events." into jb-dev
* commit '9a59f6e02fdcabbf2debd5b836b01f7b22a4b21a':
  Notification panel on tablet does not handle back and home key events.
2012-08-02 15:19:03 -07:00
Chris Wren
453eb4fc54 am c0e102cf: am dfa6c268: Merge "Venetian blinds policy for one-finger notification expansion." into jb-mr1-dev
* commit 'c0e102cf3b2155d10c6333e23a464e2c2249c77e':
  Venetian blinds policy for one-finger notification expansion.
2012-08-02 15:10:24 -07:00
Chris Wren
3ddab0dcc1 Don't allow the status bar to collapse things we're touching.
Bug: 6538918
Change-Id: Ie4e79aa593ac2097d0e6402f84816df934160687
2012-08-02 16:55:08 -04:00
Svetoslav Ganov
73b9c29b8b Notification panel on tablet does not handle back and home key events.
1. Notification panel on tablet does not handle back and home key events and
   as a result the notification panel stays open. Hence, after opening the
   notifications panel, pressing the back key on a keyboard will move back
   in the app instead closing the panel. Same happens for the home key.
   The expected behavior is if the panel is open the back button will dismiss
   it and the key should be consumed by the panel. The home key should hide
   the panel and the key should not be consumed by the panel so the system
   can do the right thing.

bug:6902903

Change-Id: I06e8ceea1f51b998e6703d70dcb3a24128d5a581
2012-08-02 13:44:30 -07:00
Chris Wren
86d00fb40a Venetian blinds policy for one-finger notification expansion.
Bug: 6538918
Change-Id: I8a6f860684b2477571f69eb4a79a5c106251b1a8
2012-08-02 10:30:51 -07:00
Ying Wang
53eb7a0744 Merge "Import translations. DO NOT MERGE" 2012-08-01 15:15:43 -07:00
Ying Wang
a854bd28df Import translations. DO NOT MERGE
Change-Id: I4036c81a0a932e366969e9e333bbe3c5d46a9cd8
Auto-generated-cl: translation import
2012-08-01 13:08:43 -07:00
Ying Wang
d8e7a0fa54 Import translations. DO NOT MERGE
Change-Id: I0cd6bb14922544cff686ffd46ee3e82ccb894caa
Auto-generated-cl: translation import
2012-08-01 13:08:14 -07:00
Ying Wang
fdfb676df6 Merge "Import translations. DO NOT MERGE" 2012-07-30 15:02:54 -07:00
Winson Chung
21dd5622a4 Merge "Fixing issue where screenshot error message is clipped and share action is missing subject. (Bug 6800151, Bug 6721459)" 2012-07-30 13:20:14 -07:00
Ying Wang
b53f727eea Import translations. DO NOT MERGE
Change-Id: I87b7ad85d5d21f304a48d4d13af7ed0533b2ff72
Auto-generated-cl: translation import
2012-07-30 12:29:12 -07:00
Daniel Sandler
fbf3089665 am 5cb62df6: am dd4ef49f: Persistent \'emergency calls\' banner in the notification panel.
* commit '5cb62df6bdac4aaab7a1c1b1ef849ec213ff028b':
  Persistent 'emergency calls' banner in the notification panel.
2012-07-27 15:51:31 -07:00
Daniel Sandler
5cb62df6bd am dd4ef49f: Persistent \'emergency calls\' banner in the notification panel.
* commit 'dd4ef49f4545dad2a6503d29e129472aba5392fc':
  Persistent 'emergency calls' banner in the notification panel.
2012-07-27 15:46:20 -07:00
Daniel Sandler
dd4ef49f45 Persistent 'emergency calls' banner in the notification panel.
While carrier info (or SSID for devices without mobile data)
will still be shown in a floating text view at the bottom of
the notification shade, emergency-calls-only mode will now
be shown in the notification panel header so that it cannot
be obscured by notifications.

Change-Id: I714b6801be2b9b631b86b51d229440445eff5e76
2012-07-27 11:19:54 -04:00
Daniel Sandler
1fbfd263ad am 08b7e785: am 7da1ad69: am c524ca27: Merge "Fix NPE on some phones at startup." into jb-dev
* commit '08b7e78597b06b3801d909c9e9ca1538ed9fc355':
  Fix NPE on some phones at startup.
2012-07-25 22:13:44 -07:00
Daniel Sandler
a7a83cef85 am 19351d5e: am f5221a86: am cb1aec34: Remove old unused DreamsDockLauncher.
* commit '19351d5e7a4b3bc95424f4ca5dded79b9826bd63':
  Remove old unused DreamsDockLauncher.
2012-07-25 22:13:25 -07:00
Daniel Sandler
08b7e78597 am 7da1ad69: am c524ca27: Merge "Fix NPE on some phones at startup." into jb-dev
* commit '7da1ad699989db8417ce54eb26697eae4a30f634':
  Fix NPE on some phones at startup.
2012-07-25 15:05:35 -07:00
Daniel Sandler
19351d5e7a am f5221a86: am cb1aec34: Remove old unused DreamsDockLauncher.
* commit 'f5221a86c4a7e0e0454732f6a4b95a33bbf334f2':
  Remove old unused DreamsDockLauncher.
2012-07-25 15:05:04 -07:00
Jeff Brown
a8b9defade Stop using raw display size except in window manager.
We don't actually need the raw size in these places.
The logical size is good enough.

Starting to move dependencies on surface flinger
and window manager out of the Display class.

Change-Id: I2065bee8e5bf7f42c5a452dd1e8479e40ebb0d37
2012-07-25 11:38:48 -07:00
Daniel Sandler
7da1ad6999 am c524ca27: Merge "Fix NPE on some phones at startup." into jb-dev
* commit 'c524ca275add1c84ef4e1e5c105058f44cac5efb':
  Fix NPE on some phones at startup.
2012-07-25 11:34:52 -07:00
Daniel Sandler
c524ca275a Merge "Fix NPE on some phones at startup." into jb-dev 2012-07-25 11:32:38 -07:00
Daniel Sandler
75fcac4eeb Fix NPE.
Bug: 6878563
Change-Id: I9a2afed6e2b517c2d6b54cea3d812fb84835fb00
2012-07-25 13:51:44 -04:00
Daniel Sandler
f5221a86c4 am cb1aec34: Remove old unused DreamsDockLauncher.
* commit 'cb1aec3403115467d1298fcabd45137eb483a1fe':
  Remove old unused DreamsDockLauncher.
2012-07-25 10:51:36 -07:00
Daniel Sandler
9af376e57a Fix NPE on some phones at startup.
Bug: 6877589
Change-Id: I65ff37b4cf6b59a72a7aa665f252f5fb34f3b183
2012-07-25 12:33:50 -04:00
Daniel Sandler
cb1aec3403 Remove old unused DreamsDockLauncher.
Bug: 6802065
Change-Id: I403b02ca7c78bb90eed712b3b6f846a4a6d68f8b
2012-07-25 11:00:49 -04:00
Daniel Sandler
9014345dda am 7d1ef0ce: am 3ee47ae7: Merge "Fix 6804479: "Emergency calls only" in notification shade" into jb-dev
* commit '7d1ef0cee7c61dea18216a80a00d437109b698d5':
  Fix 6804479: "Emergency calls only" in notification shade
2012-07-24 22:16:20 -07:00
Daniel Sandler
7d1ef0cee7 am 3ee47ae7: Merge "Fix 6804479: "Emergency calls only" in notification shade" into jb-dev
* commit '3ee47ae7ee0d0afc0a2bbe71636c31483b5502cd':
  Fix 6804479: "Emergency calls only" in notification shade
2012-07-24 22:13:56 -07:00
Daniel Sandler
0ae29275b8 Fix 6804479: "Emergency calls only" in notification shade
Add an additional codepath to the "no connectivity" logic in
NetworkController to allow the PLMN bubble up from the
GsmServiceStateTracker, where R.string.emergency_calls_only
is returned if we're in emergency call mode.

Bug: 6804479
Change-Id: I0a77261e4393cc0dc32bae3e631ef196b2342f06
2012-07-24 20:41:31 -04:00
Jim Miller
f33efd9c06 Merge "Fix 6847667: remove custom layout for 720dp device" 2012-07-24 17:21:56 -07:00
Jim Miller
76ae16be0c Fix 6847667: remove custom layout for 720dp device
The navigation buttons for the old 720dp device used to be left-justified.
They're now centered.  This change removes the 720dp configuration and
restores it to the original 600dp behavior, which is centered.

Change-Id: I98a2905bd015e12df74ab1f91551da0b0aecf805
2012-07-24 15:06:19 -07:00
Daniel Sandler
780d668bee Pressure info in captured gestures.
Change-Id: If72f8d5ea0cb748f60357441153d5fb8ac1b8143
2012-07-24 12:43:03 -04:00
Daniel Sandler
3380534a62 Collecting some data on notification panel gestures.
Look for it in /sdcard/statusbar_gestures.dat, in "JSON
lines" format: one list of gestures per line; each gesture
is itself a list of objects representing motion events and
tags (annotations).

Exploded example:

  [ // list of gestures
    [ // this starts a gesture
      {"type":"motion",
       "time":1347697,  // in SystemClock.uptimeMillis() base,
                        // like MotionEvents
       "action":"down", // down, up, move, cancel, else numeric
       "x":277.61,
       "y":1.00
      },
      {"type":"tag",
       "time":1347701,
       "tag":"tracking", // "tracking" or "fling"
       "info":"collapsed" // extra stuff
      },
      ... // more events
    ],
    ... // more gestures
  ]
  // newline
  [ // another list of gestures
    ...
  ]
  ...

Change-Id: Ifacbf03749c879cd82fb899289fb79a4bdd4fc3b
2012-07-24 12:43:02 -04:00
Ying Wang
7056cefb17 Import translations. DO NOT MERGE
Change-Id: I0d23965b0c760e9d0970c4a404ae3b8ae1921054
Auto-generated-cl: translation import
2012-07-23 11:58:31 -07:00
Ying Wang
2ff06437ae Import translations. DO NOT MERGE
Change-Id: I0f6f872984c04033f03960aec8312f86b0451fd0
Auto-generated-cl: translation import
2012-07-20 12:01:04 -07:00
Adam Powell
0fc5b2bea0 Fun with Up navigation
For activities with a null taskAffinity, simply finish the current task.
(They probably shouldn't have specified a parentActivityName anyway.)

When launching into app info from ResolverActivity, launch the app info
page in the current task with FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET. Back
will return to the resolver, and Up will jump to Settings.

When launching into app info from RecentsPanelView or BaseStatusBar,
since this is a system affordance akin to notifications or widgets,
build the full task stack for the app info activity with
TaskStackBuilder and launch it as a new task.

Change-Id: I73b1941d0f52bd8b30382b5e17edd8ceb058c70d
2012-07-19 11:24:47 -07:00
Daniel Sandler
d290c9d1a4 am f22beb3f: am 0038ec11: Merge "Fix stuck status bars." into jb-dev
* commit 'f22beb3f2fae39568d1576254e4733c089da16f3':
  Fix stuck status bars.
2012-07-18 20:18:27 -07:00
Daniel Sandler
f22beb3f2f am 0038ec11: Merge "Fix stuck status bars." into jb-dev
* commit '0038ec1107baf179a54a2f10b6643f918b1e7059':
  Fix stuck status bars.
2012-07-18 20:14:33 -07:00
Winson Chung
224848f9ba Fixing issue where screenshot error message is clipped and share action is missing subject. (Bug 6800151, Bug 6721459)
Change-Id: Ie0ef654d660706607276069ae9b93b61ad94b2be
2012-07-18 16:48:51 -07:00
Daniel Sandler
0038ec1107 Merge "Fix stuck status bars." into jb-dev 2012-07-18 10:30:46 -07:00
John Spurlock
69b34dc1aa Fix systemui crash on Xoom startup
Make new bugdroid drawable available to non-hdpi device builds.
(moved to no-dpi for now)

It was getting optimized out during the build process.

Bug: 6828023
Change-Id: I31ac6ce2f50edc7f65d37b4b0f7513dd33a8b22d
2012-07-18 10:05:03 -04:00