75892 Commits

Author SHA1 Message Date
Colin Cross
51d81f3c3e Use libsuspend to trigger suspend
Calling to libsuspend to trigger suspend instead of letting
the power hal do it.

Change-Id: I3cf51fea4d288f9fc19ce5aae39cdd581e8b44cb
2012-05-03 21:25:41 -07:00
Jeff Sharkey
1c87360918 Merge "Make fixed-width dialogs larger on sw600dp." into jb-dev 2012-05-03 17:36:43 -07:00
Jeff Brown
6098c1f44b Fix status bar animation jank on last frame.
Change-Id: Idd99f37c76038de1c02a8297c6454c357a846294
2012-05-03 17:00:04 -07:00
Jeff Sharkey
cc152567d5 Make fixed-width dialogs larger on sw600dp.
Leaves at existing size for sw720dp devices.

Bug: 6378944
Change-Id: I8be079869c724eb05949cb56e137626e32140afb
2012-05-03 16:55:16 -07:00
Jeff Brown
ed5f45ab8f Animate status bar flings on vsync.
Use the Choreographer for timing animations.  Ideally we would
rewrite this code to use the animation framework instead, but
this change to use the Choreographer directly is easier and less
intrusive for now.

Change-Id: Ibb322de9424d4d109203951d48263766200ed7e8
2012-05-03 16:18:18 -07:00
John Reck
84fa241f6c Fix tap highlight annoyingness
Bug: 6108346
 Highlight now correctly doesn't show up unless it is a click, and
 no longer has any weirdness with sticking around unusually long

Change-Id: I06f6eae45d970085232466f17cbbd9ebaefc4d69
2012-05-03 16:08:55 -07:00
Chet Haase
f7ee988e55 Merge "Better error logs for faulty ObjectAnimators" into jb-dev 2012-05-03 15:57:32 -07:00
Chet Haase
db4101c7d5 Better error logs for faulty ObjectAnimators
Previously, if you set up an ObjectAnimator with the name of a property
which could not be resolved to an existing method (e.g., "foo" becomes "getFoo()"
or "setFoo()"), the errors in the log could be a bit obscure and the animation might
just crash sometime later with an unexplained NPE. This change provides a more
detailed log message detailing the actual method/class involved.

Issue #5990756 NullPointerException on no such property

Change-Id: Ic5bf7069c4879623e00ab8a794b799773cce487c
2012-05-03 15:19:24 -07:00
Eric Fischer
7b7281edc1 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-03 15:16:52 -07:00
Jean-Michel Trivi
c919816155 Merge "Make AudioService aware of device orientation changes" into jb-dev 2012-05-03 15:13:06 -07:00
Brian Colonna
9b4dc0f701 Merge "Fix 6396479: Made FUL unlock layout look good on nakasi" into jb-dev 2012-05-03 15:09:18 -07:00
Eric Fischer
ac786550d1 Import translations. DO NOT MERGE
Change-Id: Iba7e238df292ae2cbf948db84bfcbe1d82bc6ccb
2012-05-03 14:36:10 -07:00
Ruei-sung Lin
c292355f84 Merge "Fix b/5974573 Please increase intensity of film grain effect" into jb-dev 2012-05-03 14:22:25 -07:00
Eino-Ville Talvala
163a3ae770 Merge "Update docs for YV12 format and camera preview callbacks." into jb-dev 2012-05-03 13:49:57 -07:00
Ruei-sung Lin
cc6475e173 Fix b/5974573 Please increase intensity of film grain effect
Change-Id: Ia984aa91bf3ae8aef47e24a0074b1b0f1624c1a0
2012-05-03 13:08:15 -07:00
Wink Saville
e06747c727 Merge "Rename isTimeZoneFixNeeded to shouldFixTimeZoneNow." into jb-dev 2012-05-03 12:19:45 -07:00
Jeff Brown
2c6200dac2 Merge "hasVibrator() should only report presence of built-in vibrator." into jb-dev 2012-05-03 11:56:32 -07:00
Jeff Brown
e19dbd9f9d Merge "Separate the internal and external display rotations." into jb-dev 2012-05-03 11:56:25 -07:00
Adrian Ludwig
23746be026 Merge "Reorganizing permissions into groups oriented around user-understandable concepts." into jb-dev 2012-05-03 11:18:24 -07:00
Eino-Ville Talvala
951516358e Update docs for YV12 format and camera preview callbacks.
- Define stride for YV12 when using it for preview callbacks

- Include equations for calculating stride and start indexes of Y, U,
  and V planes for YV12.

- Add more cross-references so that equations are easier to find.

Bug: 6330501
Change-Id: I85a78757ec767d08173b9fe714adb715835244b4
2012-05-03 11:02:18 -07:00
Adam Powell
43b8fd76c0 Merge "Fix nested cross-scrolling for ScrollView/HorizontalScrollView" into jb-dev 2012-05-03 11:00:53 -07:00
Gilles Debunne
57e6136ce7 Merge "Hide TextDirectionHeuristics" into jb-dev 2012-05-03 11:00:49 -07:00
Adam Powell
f27ba974d5 Merge "JB API cleanup; ActionMode and View docs" into jb-dev 2012-05-03 10:58:48 -07:00
Adam Powell
1f2077c3a0 Merge "Fix AlertDialog positioning for dialogs spawned from DialogWhenLarge activities" into jb-dev 2012-05-03 10:57:22 -07:00
Wink Saville
1d7c1f1117 Rename isTimeZoneFixNeeded to shouldFixTimeZoneNow.
Change-Id: I01c73a0afaa17793f9dea1b78c9fe49fa138f787
2012-05-03 10:34:57 -07:00
Amith Yamasani
c793d62613 Merge "On first boot and NTP lookup, set the time even if it's not off by 5+ secs." into jb-dev 2012-05-03 10:19:40 -07:00
John Reck
eaca069aff Merge "Fix clicking on a fake element (address, phone number, etc..)" into jb-dev 2012-05-03 09:59:46 -07:00
John Reck
9155cbac78 Fix clicking on a fake element (address, phone number, etc..)
Bug: 6426909

Change-Id: Ic45deea2423dbeb2bcb4ecbcaac32ec194f7511e
2012-05-03 09:51:32 -07:00
Irfan Sheriff
531522c7fe Merge "Report open networks without saved networks" into jb-dev 2012-05-03 09:42:06 -07:00
George Mount
aac5066dbf Merge "Add intercept path for UI touch handling." into jb-dev 2012-05-03 09:37:18 -07:00
Wink Saville
9a992450cb Merge "Time can become incorrect when no sim is present or mcc changes." into jb-dev 2012-05-03 09:35:27 -07:00
Wink Saville
f0f43227a7 Time can become incorrect when no sim is present or mcc changes.
bug: 6393147
Change-Id: I07ad74998b03af532ccf704a8a7e4844f5829b14
2012-05-03 09:26:25 -07:00
John Reck
d4796461ee Fix accessibility drawing
Bug: 6407623
 If script injection is disabled, the accessibility injector works
 by modifying the text selection. However, this would cause WebView
 to go into text selection mode, showing the CAB and such, which
 we don't want. Add a flag saying WHY text selection is being changed
 so that we can respond accordingly in WebViewClassic.

Change-Id: Ia509def3fcdb022b93fbbc7ed89bc9558663afd3
2012-05-03 09:07:11 -07:00
George Mount
7a33acf123 Add intercept path for UI touch handling.
Bug 6410164

Change-Id: Ia3907a9a57321d0f25763c88fd0c0a7617d5da48
2012-05-03 09:02:14 -07:00
Daniel Sandler
5380cdc2e1 Merge "Hide icons for low-priority notifications." into jb-dev 2012-05-03 08:28:25 -07:00
Daniel Sandler
58b173b1ca Hide icons for low-priority notifications.
Anything below PRIORITY_LOW will usually be hidden (unless
the NotificationManagerService has a compelling reason to
adjust the priority).

Bug: 6357857
Change-Id: Ic8a806a6db87b0473014a5d006279991272a44ea
2012-05-03 11:25:29 -04:00
Daniel Sandler
c5d76e041a Merge "Move bar panels above the system bar window layer." into jb-dev 2012-05-03 08:02:56 -07:00
Daniel Sandler
4ce64fb364 Move bar panels above the system bar window layer.
We use the new TYPE_NAVIGATION_BAR_PANEL for this instead of
TYPE_STATUS_BAR_PANEL (which is indeed above the status bar,
but far below the navigation bar, which is the window type
used for the system bar now.)

Bug: 6319161 (ticker underneath system bar)
Bug: 6437342 (missing clear all button on system bar)
Change-Id: Ib58c0003c4c81db64edca2c1bbc2d764c3237ed0
2012-05-03 10:53:10 -04:00
Chris Wren
1243b96759 Merge "rework big text to handle gmail use case" into jb-dev 2012-05-03 07:46:00 -07:00
Chris Wren
719646454a Merge "Allow the Notification.Builder to carry around a Style to apply at build" into jb-dev 2012-05-03 07:45:43 -07:00
Daniel Sandler
115f48a222 Merge "Large-screen notification panel size + positioning." into jb-dev 2012-05-03 07:30:50 -07:00
Chris Wren
e4a2a4f142 rework big text to handle gmail use case
Change-Id: I3175e198bd6f39025f4257454b43c459ed1e38f5
2012-05-03 09:40:02 -04:00
Chris Wren
fbd96ba9ba Allow the Notification.Builder to carry around a Style to apply at build
Change-Id: I5e848504b6d0444ee349ecea893ceae571dda796
2012-05-03 09:40:02 -04:00
Mike Cleron
841a37aa5b Merge "Clarify documentation about when Activity#onCreateNavigateUpTaskStack will be called." into jb-dev 2012-05-02 23:56:08 -07:00
Kenny Root
03f22533a7 Merge "Fix some problems with ASECs" into jb-dev 2012-05-02 22:46:55 -07:00
Adam Powell
b3e02c44d5 Fix nested cross-scrolling for ScrollView/HorizontalScrollView
Bug 6429006

Disallow intercepting touch events for parents of
ScrollView/HorizontalScrollView when scrolling begins. Properly
respect touch slop when the child of a ScrollView does not accept
touch events.

Change-Id: I2ce503ad5104d450829ed58cd2748c9163e020d3
2012-05-02 22:14:13 -07:00
Daniel Sandler
21b274e8a0 Large-screen notification panel size + positioning.
On sw600 devices we show the notification panel in a smaller
rectangle, centered in portrait and left-aligned in
landscape.

Also remove a bunch of -large resources that shouldn't be
used anymore.

Bug: 6297838
Change-Id: I8ed3445ccb7df16e30870a4322d89786467c54df
2012-05-03 01:14:07 -04:00
Adam Powell
f019595151 Clarify documentation about when Activity#onCreateNavigateUpTaskStack
will be called.

Bug 6427237

Change-Id: I5c41e4a694b39c03fd642586472838e2f9a0281d
2012-05-02 21:39:31 -07:00
Adam Powell
785c447b2b JB API cleanup; ActionMode and View docs
Bugs 6435315, 6434937

Add ActionMode#getTitleOptionalHint() and extend documentation for
View#hasTransientState/setHasTransientState

Change-Id: I2049fb79864c33b34e3bbd13df32861e308c99ad
2012-05-02 21:27:15 -07:00
Jeff Sharkey
b829f09737 Merge "Allow adding of completed empty files." into jb-dev 2012-05-02 19:37:51 -07:00