76250 Commits

Author SHA1 Message Date
Chet Haase
4bbcae7eb8 Merge "Fix issue where scale-animating text would jump temporarily a few pixels" into jb-dev 2012-05-07 13:20:00 -07:00
Craig Mautner
d8efe42496 Merge "Change DimAnimator to reflect rotations." into jb-dev 2012-05-07 13:10:08 -07:00
Eric Fischer
b9f0cf1c73 Import translations. DO NOT MERGE
Change-Id: Icee68860c27c90d2ef41c0e29660fcda35ec658d
2012-05-07 13:07:46 -07:00
Eric Fischer
2f851a4bce Import translations. DO NOT MERGE
Change-Id: Id186acbe0e1b24f840ca3fdeb73c94d0c3d2aaa6
2012-05-07 12:51:17 -07:00
Robert Greenwalt
198bc11d09 Bring up the ethernet interface when detected
We don't get link status info if it's down.  If the device has been configured
for ethernet and we see the interface appear, we should make it active.

bug:6444395
Change-Id: Ibc233ab12942b069d7db9c0671936798c5161659
2012-05-07 12:34:26 -07:00
Chet Haase
d3efd6920e Fix issue where scale-animating text would jump temporarily a few pixels
Some logic in the native matrix code would determine that a matrix was
'pureTranslate' based on the scale values of a matrix being close-enough to 1,
which was within a very small epsilon. This works in general, because screen space
coordinates make that epsilon value irrelevant, so close-enough really is close-enough.

However, TextView, when centering text, works in a coordinate system that is quite
huge, with left/right values about 500,000. These numbers multiplied times that small
epsilon value would give a result that was significant, and would cause a miscalculation
of up to 4-5 pixels, causing the snap that we'd see for a couple of frames as the
scale got "close enough" to 1.

The fix is to remove the optimization of "close enough". What we really need the matrix to
do is to identify itself as being translate-only when no scale as been set (which is the
default). For the purposes of that check, it is good enough to simply check the values against
1 directly. Similarly, the bounds-check logic needs to check against 0 and 1 directly.

Issue #6452687: Glitch when changing scale of a view containing text

Change-Id: I167fb45d02201fb879deea0e5a7ca95e38128e17
2012-05-07 12:18:19 -07:00
Marco Nelissen
b3482ffbee Merge "Fix crash when decoding bitmap" into jb-dev 2012-05-07 12:09:02 -07:00
Victoria Lease
bd1844d272 Add Droid Devanagari/Tamil fonts.
These fonts are replacements for the Lohit Devanagari/Tamil fonts.
We need to fit Devanagari onto all builds, so we only provide a single,
regular-weight font there, but Tamil is omitted for SMALLER_FONT_FOOTPRINT
builds and gets UI/non-UI and Regular/Bold weight versions. The UI versions
of the fonts are used for UI/system display, and the non-UI versions are
used only by WebView.

Bug: 6318791
Change-Id: I50ff6ec4bb428c0ac30049273f03a94de05b0c4f
2012-05-07 11:50:13 -07:00
Philip Milne
7bb66c9cae Hide optical bounds feature for JB.
Change-Id: I1fe38e9c64515acd550baa930ebc0af4c139bf40
2012-05-07 11:42:57 -07:00
Amith Yamasani
44e3f88f2f Merge "Javadoc improvements in SearchView per API review." into jb-dev 2012-05-07 11:33:16 -07:00
John Reck
a09b06efff Merge "Remove heldMotionless disabling native scroll mode" into jb-dev 2012-05-07 11:33:13 -07:00
Marco Nelissen
b2fe3be4ff Fix crash when decoding bitmap
Externally reported crash when decoding corrupted .wmf file.
b/5048623

Change-Id: I1df0861cd36983cb4d1460caa221c54d3fc240af
2012-05-07 11:24:13 -07:00
Craig Mautner
3a67f35f5e Change DimAnimator to reflect rotations.
Enlarge DimAnimator to cover corners when frozen surface rotates.
Update DimAnimator size following rotation to reflect new dimensions.

Fixes bug 6449788.
Fixes bug 6449035.

Change-Id: I217d7c96af940e6affc395b79dc665d00318b18c
2012-05-07 11:21:33 -07:00
Gilles Debunne
0caf421e3a Merge "Final fix in SpannableStringBuilder." into jb-dev 2012-05-07 11:17:38 -07:00
Jeff Sharkey
fb0caad423 Merge "Ack, wrap advisePersistThreshold() in lock." into jb-dev 2012-05-07 11:16:01 -07:00
Jeff Sharkey
5801597a90 Ack, wrap advisePersistThreshold() in lock.
Bug: 6449725
Change-Id: I702dc2ff9d4b237c46d89bcae41289bc3e9ef2f8
2012-05-07 11:08:49 -07:00
Glenn Kasten
ed853fc4e0 Add audio tag to systrace
Change-Id: I3c5af7c5d166ff24ef57918a4dbda6327b03cc1f
2012-05-07 11:05:55 -07:00
Matthew Xie
b12d6bc3a5 When turning off, broadcast STATE_OFF in the last HotOff state
This is because we do HotOff -> PowerOff -> HotOff for USER_TURN_OFF
Donot do poweroff for perprocess turn off.
Add small time delays for calls into stack to reset dbus timing.
bug 6438556

Change-Id: Iae8bdd24e41824ed4bc34aca96d082f9284f169c
2012-05-07 11:01:23 -07:00
Selim Gurun
ee00b31a54 Merge "Use private key context when necessary" into jb-dev 2012-05-07 10:54:24 -07:00
Daisuke Miyakawa
cacba45993 Merge "Use callable-filter capability when updating call log" into jb-dev 2012-05-07 10:46:26 -07:00
Romain Guy
9d7bbcb89a Merge "Log more frame data when profiling GL apps" into jb-dev 2012-05-07 10:23:14 -07:00
Romain Guy
a21f877434 Log more frame data when profiling GL apps
Change-Id: Ib7377c22a2258aa6510677d80df34bb7e73dc714
2012-05-07 10:20:52 -07:00
John Reck
ff0e8cd8b6 Merge "Drain any pending touch events immediately if possible" into jb-dev 2012-05-07 10:05:00 -07:00
Daniel Sandler
9ff6378916 Visual refresh of notification panel header.
CLOCK - 2 LINE DATE - ROTATION LOCK - SETTINGS ---- CLEAR ALL

Bug: 6418617
Change-Id: I477b59d83aaefc6943ed3cfd5bb4e3f4072a8471

Conflicts:

	packages/SystemUI/res/values/strings.xml
2012-05-07 09:04:53 -04:00
Daniel Sandler
908c7dcf82 Merge "Restore do-not-disturb mode on tablets." into jb-dev 2012-05-07 05:59:30 -07:00
Daniel Sandler
20cfb6066a Merge "Close notification blame popups when the panel disappears." into jb-dev 2012-05-07 05:59:05 -07:00
Daniel Sandler
fafce1f9f5 Merge "Add number back to legacy notifications." into jb-dev 2012-05-07 05:58:55 -07:00
satok
c33208fe72 Spell check the first word of the sentence
Change-Id: I7803d92de8f4ea399cef5c2d1ddf5396d59ef2cf
2012-05-07 20:19:18 +09:00
satok
50956b2dc4 Merge "DO NOT MERGE. Backport If36b8a69e7fa22e837c99d Fix the issue that the spell check doesn't start when the user changes the cursor position by touch" into jb-dev 2012-05-07 02:33:09 -07:00
satok
8589474d26 DO NOT MERGE. Backport If36b8a69e7fa22e837c99d Fix the issue that the spell check doesn't start when the user changes the cursor position by touch
Change-Id: I1535eae23efc42660b9d1e6dbfba6c800b0302b2
2012-05-07 18:30:17 +09: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
dad52e1500 Merge "Better screen size adaptation for ResolverActivity" into jb-dev 2012-05-06 20:59:11 -07:00
Adam Powell
589e6f960d Better screen size adaptation for ResolverActivity
Change-Id: I2c982c0b7c722ca7cad46cc23ac8d161bee3a1ff
2012-05-06 20:53:07 -07:00
Romain Guy
8fb62329fc Merge "Increase the Message pool size" into jb-dev 2012-05-06 20:11:30 -07:00
Adam Powell
9762102794 Merge "Limit item heights in split action bars" into jb-dev 2012-05-06 20:04:23 -07:00
Adam Powell
367ee32605 Limit item heights in split action bars
Bug 6449422

Overzealous action views should not be able to cause action bars to
take up a huge amount of space.

Fixed text alignment on action buttons

Change-Id: Ic28d6dacdb6933c63b323f5ed6a6cab5d3726938
2012-05-06 19:54:46 -07:00
Insun Kang
be0ea968bf Fix: Missed parcel recycling in MediaPlayer.
Change-Id: I2c99f771b33bf627af10e8baea455181558360e6
related-to-bug: 6405934
2012-05-07 11:31:18 +09:00
Daisuke Miyakawa
e23362a54d Use callable-filter capability when updating call log
CallerInfo#phoneNumber has a formatted phone number even when contacts
database itself has an unformatted one, so just using Phone.CONTENT_URI
may not be enough to find the relevant contact.

Bug: 6291905
Change-Id: Ie6e40529eb1f9cf98de861601669dbccb718541c
2012-05-06 19:02:51 -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
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
464676bcb4 Merge "Showing default activity in activity chooser view only if enough space." into jb-dev 2012-05-06 17:17:34 -07:00
John Reck
3ea7f216d9 Remove heldMotionless disabling native scroll mode
Bug: 6448030

Change-Id: I9c673208eb2302ea772931e15266e02cb0129ce5
2012-05-06 16:27:32 -07:00
Romain Guy
a2ad656924 Increase the Message pool size
Change-Id: If609c9ffbea800ff6409b0096a82f0b899f29343
2012-05-06 16:10:34 -07:00
Xia Wang
81341fee6d Fix Wifi test
bug: http://b/issue?id=6446248
Change-Id: I22783ed3de37bf51aed7cee9617017868f524f0d
2012-05-06 16:03:34 -07:00
Michael Jurka
b37854ce59 Merge "Make recents thumbnails look a bit better on Nakasi" into jb-dev 2012-05-06 16:03:10 -07:00
Craig Mautner
051ecfaf46 Merge "Force BlackSurface to be a black surface." into jb-dev 2012-05-06 16:01:00 -07:00