76049 Commits

Author SHA1 Message Date
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
Andreas Huber
60d610bf10 Various changes to Media* APIs requested by the api council.
Change-Id: Iec2f50c99cf5f00a442737231361334e9ab46340
related-to-bug: 6432753
2012-05-03 16:02:29 -07:00
Chet Haase
f7ee988e55 Merge "Better error logs for faulty ObjectAnimators" into jb-dev 2012-05-03 15:57:32 -07:00
Teng-Hui Zhu
508d7053ff Unify the rect names according to the coordinates
This is a pure refactor, no functional change.
bug:6338456

Change-Id: Ib40af53f4e2ff8ce5c9f82f3472989b2d3f2007c
2012-05-03 15:55:29 -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 Sharkey
ac3fcb1590 Reduce persist threshold for lower warning/limit.
Default is 2MB persist threshold, but even that can be substantial
for devices on 100MB/month plans. This change gradually reduces the
persist threshold up to 8x lower (256kb outstanding) based on lowest
active policy.

Bug: 5382676
Change-Id: Ief4e8cdb169bfb151a3d1b45722a8eaa01926508
2012-05-03 12:12:10 -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
Chet Haase
d34dd71800 Fix hang/crash in native path code
An optimization for paths is to only create a texture for the original native
Path object, and have all copies of that object use that texture. This works in
most cases, but sometimes that original path object may get destroyed (when the
SDK path object is finalized) while we are still referencing and using that object
in the DisplayList code. This causes undefined errors such as crashes and hanging
as we iterate through the operations of a destroyed (and garbage-filled) path object.

The fix is to use the existing ResourceCache to refcount the original path until
we are done with it.

Issue #6414050 Analytics Dogfood App crashes reliably on Jellybean

Change-Id: I5dbec5c069f7d6a1e68c13424f454976a7d188e9
2012-05-03 11:14:50 -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
Wu-cheng Li
f05c1d63d1 Avoid deadlocks when calling autoFocus from onAutoFocus callback.
Applicatons may use different threads for calling autoFocus and
onAutoFocus callback.

bug:6026574

Change-Id: I114a60240e22af15ca469b591e080121367db8e2
2012-05-04 01:01:46 +08: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
satok
5b927c431f Reset the default system ime to the proper one when the system locale is changed
The framework automatically enables only valid system default IMEs and IMEs that have at least one English subtype at the initial boot and system locale changes.

Settings: I9af4065e4b9f933

Bug: 6422666
Bug: 6422390
Change-Id: I0b86ddba692144521f30e0b9086ddd67bfb9a793
2012-05-03 12:38:34 +09:00