81969 Commits

Author SHA1 Message Date
Raph Levien
00755fed35 Merge "Add drop shadow for drawPosText in hwui renderer." 2012-07-20 14:24:20 -07:00
Ying Wang
0cb48705ad Merge "Import translations. DO NOT MERGE" 2012-07-20 13:58:13 -07:00
Ying Wang
f810662ffe Merge "Import translations. DO NOT MERGE" 2012-07-20 13:57:37 -07:00
Teng-Hui Zhu
0e5b160418 add a webview API to support media play without user gesture
bug:6806306

webkit change: https://android-git.corp.google.com/g/#/c/208568/
Change-Id: Ic70e5d3f152a7e8d8fdfa1d6f89f96c8cd3c7075
2012-07-20 13:33:52 -07:00
Raph Levien
416a847633 Add drop shadow for drawPosText in hwui renderer.
This patch adds support for drop shadows (setShadowLayer) for
drawPosText in the hwui renderer. In and of itself, it's not very
important, but it's on the critical path for correct mark positioning,
tracked as bug 5443796.

The change itself is fairly straightforward - it basically just adds an
extra "positions" argument to all draw and measure methods on the code
path for drawing drop shadowed text, as well as to the cache key for
cached shadow textures.

Change-Id: Ic1cb63299ba61ccbef31779459ecb82aa4a5e672
2012-07-20 12:55:30 -07:00
Craig Mautner
495b56cfdf Merge "Add debug to help with b6829431." 2012-07-20 12:42:09 -07:00
Craig Mautner
6d8f30f043 Add debug to help with b6829431.
Change-Id: Id65f5c7c187072f5a5c1418c83e06c4a6767c658
2012-07-20 12:31:52 -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
Ying Wang
366703288c Import translations. DO NOT MERGE
Change-Id: I87298d9adba1eacd2cf04954302ce55cd68fc735
Auto-generated-cl: translation import
2012-07-20 11:55:44 -07:00
Romain Guy
749e452487 Merge "Clamp gradient textures to max GL texture size" 2012-07-20 11:52:57 -07:00
Romain Guy
8dcfd5e836 Clamp gradient textures to max GL texture size
Change-Id: I8ce4e50988f5194fe5ce4bde7945ec01673af3cd
2012-07-20 11:47:57 -07:00
Adam Powell
5f79baa0e3 Merge "Fix condition bug in ResolverActivity" 2012-07-20 11:26:42 -07:00
Adam Powell
bdda4e74d4 Fix condition bug in ResolverActivity
Bug 6854356

Change-Id: I3cd060fb78876e80bdfa311cf80d0ad8a696bfad
2012-07-20 11:22:03 -07:00
Romain Guy
e4c9dd17be Merge "Fix crash with new LookupGammaFontRenderer Bug #6853934" 2012-07-20 11:19:22 -07:00
Romain Guy
0aa87bbfc4 Fix crash with new LookupGammaFontRenderer
Bug #6853934

Change-Id: I15e6ca73bfe00eff1a37c4b9d2f7f709ee018eb6
2012-07-20 11:14:32 -07:00
Nick Pelly
2eeeec248a Improve Location object.
Add getElapsedRealtimeNano():

Currently Location just has getTime() and setTime() based on UTC time.
This is entirely unreliable since it is not guaranteed monotonic.
There is a lot of code that compares fix age based on deltas -
and it is all broken in the case of a system clock change. System
clock can change when switching cellular networks (and in some
cases when switching towers).

Document the meaning of getAccuracy():
It is the horizontal, 95% confidence radius.

Make some fields mandatory if they are reported by a LocationProvider:

All Locations returned by a LocationProvider must include at the
minimum a lat, long, timestamps, and accuracy. This is necessary
to perform fused location. There are no public API's for applications
to feed locations into a location provider so this should not cause
any breakage.

If a LocationProvider does not fill in enough fields on a Location
object then it is dropped, and logged.

Bug: 4305998
Change-Id: I7df77125d8a64e174d7bc8c2708661b4f33461ea
2012-07-20 10:07:07 -07:00
Nick Kralevich
b8acd060d4 am fa6e1ea7: am 2c932143: Merge "s/LOG/ALOG/ in HAVE_SELINUX blocks"
* commit 'fa6e1ea773a74aa6a996a783ff16c495ab3cc822':
  s/LOG/ALOG/ in HAVE_SELINUX blocks
2012-07-20 10:00:45 -07:00
Jake Hamby
a56d273438 am 3d9a5607: am 06d3df9a: Merge "Move SmsUsageMonitorShortCodeTest to frameworks/opt/telephony"
* commit '3d9a5607ba547340841bc965ac77c2589ea40da5':
  Move SmsUsageMonitorShortCodeTest to frameworks/opt/telephony
2012-07-20 10:00:31 -07:00
Xavier Ducrohet
212dfccc74 am be925017: am b71393bd: Merge "Fix aapt -G to properly support class attr in fragment." into jb-dev
* commit 'be925017201ad547a72e8d1e333dbc7eae3fc76f':
  Fix aapt -G to properly support class attr in fragment.
2012-07-20 10:00:11 -07:00
Nick Pelly
95f1158908 Introduce SystemClock#elapsedRealtimeNano.
Change-Id: I47e1b14d45c5321f959d46e1805f86aafd72f5d4
2012-07-20 09:51:09 -07:00
Kurt Partridge
824582dce1 Merge "Documentation cleanup" 2012-07-19 23:51:09 -07:00
Kurt Partridge
b369a141ed Documentation cleanup
Change-Id: Id3d15b643e6ed29c52dc9c9eb02836eb64277dae
2012-07-19 23:41:17 -07:00
Satoshi Kataoka
bc700adbe0 Merge "Fix a crash in InputMethodManager when switching the IME in the system process" 2012-07-19 22:22:59 -07:00
Svetoslav Ganov
3a136fc0e8 Merge "Views with node providers are important for accessibility in auto mode." 2012-07-19 18:27:26 -07:00
Svetoslav Ganov
34caec9940 Views with node providers are important for accessibility in auto mode.
1. If a view's important for accessibility attribute is set to auto the
   framework is responsible to determine if it really is. Views with
   accessibility node providers should be important for accessibilty
   since they are roots of virtual view trees and such trees are
   always important.

bug:6843043

Change-Id: I4b352c59fdefdf9ad220714a43ecb9e01d1c1c1f
2012-07-19 18:24:12 -07:00
John Reck
b49f161d65 Merge "Bump PREVIOUS_VERSION" 2012-07-19 18:04:23 -07:00
John Reck
4635dc23dc Bump PREVIOUS_VERSION
Change-Id: Idf2586a7062726f60d3a6c1b75f75fde8fc9c550
2012-07-19 18:00:07 -07:00
Jeff Sharkey
c5e4125c7d Merge "Migrate VpnProfile definition to framework." 2012-07-19 17:26:39 -07:00
Jason Sams
ff70545212 Merge "Refactor ImageProcessing benchmark and stabilize results." 2012-07-19 17:20:55 -07:00
Nick Kralevich
fa6e1ea773 am 2c932143: Merge "s/LOG/ALOG/ in HAVE_SELINUX blocks"
* commit '2c932143ffe865d49c741e466b425bdbabbd1f2f':
  s/LOG/ALOG/ in HAVE_SELINUX blocks
2012-07-19 17:14:51 -07:00
Jeff Sharkey
971a3cfa51 Migrate VpnProfile definition to framework.
Bug: 5756357
Change-Id: I23c4e391e3b48e9645f872ae0145fe672745adca
2012-07-19 17:13:51 -07:00
Jason Sams
52541816fb Refactor ImageProcessing benchmark and stabilize results.
Change-Id: I3d43bf855515a3ab707089e97cc310b561683f5f
2012-07-19 16:31:47 -07:00
Nick Kralevich
2c932143ff Merge "s/LOG/ALOG/ in HAVE_SELINUX blocks" 2012-07-19 16:25:42 -07:00
Jake Hamby
3d9a5607ba am 06d3df9a: Merge "Move SmsUsageMonitorShortCodeTest to frameworks/opt/telephony"
* commit '06d3df9aa05a0221a4cdc4245ae73f7936616170':
  Move SmsUsageMonitorShortCodeTest to frameworks/opt/telephony
2012-07-19 16:02:26 -07:00
Jake Hamby
06d3df9aa0 Merge "Move SmsUsageMonitorShortCodeTest to frameworks/opt/telephony" 2012-07-19 15:30:02 -07:00
Jeff Brown
84f85dc70a Merge "Fix keyguard wake-up issue." 2012-07-19 15:05:50 -07:00
Jeff Brown
ff1baef86c Fix keyguard wake-up issue.
Bug: 6835809
Change-Id: I7a23b50286592b4c4b104b0b6429f2d05fb5e01b
2012-07-19 15:01:17 -07:00
Ying Wang
827c182390 Merge "Import translations. DO NOT MERGE" 2012-07-19 14:46:25 -07:00
Xavier Ducrohet
be92501720 am b71393bd: Merge "Fix aapt -G to properly support class attr in fragment." into jb-dev
* commit 'b71393bd34a48eeb622292e78f43b99e374a5e3a':
  Fix aapt -G to properly support class attr in fragment.
2012-07-19 14:30:39 -07:00
Xavier Ducrohet
b71393bd34 Merge "Fix aapt -G to properly support class attr in fragment." into jb-dev 2012-07-19 14:27:59 -07:00
Adam Powell
d81cc4ab5a Easy "Just once" launches from ResolverActivity
Allow a second tap of a selected item in ResolverActivity to launch
the target as "just once" for sloppier/quicker choices.

Change-Id: If05fc7c1ac622195f6253e6ca0868fd87954dd46
2012-07-19 14:14:50 -07:00
Ying Wang
a7c7d759b3 Import translations. DO NOT MERGE
Change-Id: Ibe8cf6252d630b4ff9a36e81677443773bc0e5f0
Auto-generated-cl: translation import
2012-07-19 13:23:59 -07:00
Adam Powell
1825b984b4 Merge "Fun with Up navigation" 2012-07-19 11:49:37 -07:00
Steve Block
60620a2399 Merge "Update JavaDoc for PictureListener after fix to capture layers" 2012-07-19 11:44:08 -07:00
Scott Main
e40f5738ef am 1c7a9b2e: am b949d416: update Google IO announcement on homepage
* commit '1c7a9b2ec9a75fe5975bd35482d74dc3d07e6205':
  update Google IO announcement on homepage
2012-07-19 11:34:48 -07:00
Scott Main
1c7a9b2ec9 am b949d416: update Google IO announcement on homepage
* commit 'b949d41602eb5118df5509a6731e55fcc0316874':
  update Google IO announcement on homepage
2012-07-19 11:31:27 -07:00
John Reck
b077e243ba Merge "Test aggressive throttling" 2012-07-19 11:28:33 -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
Scott Main
b949d41602 update Google IO announcement on homepage
Change-Id: If859991b64492d2b334271038c854342771566e4
2012-07-19 11:23:01 -07:00
Xavier Ducrohet
095cd2e2d1 Fix aapt -G to properly support class attr in fragment.
The code added attributes android:name and class to a
KeyedVector under the same key (fragment) so the 2nd
add (android:name) removed class with was never checked.

This replace the value type in the KeyedVector to be
Vector<NamespaceAttributePair> instead of just
NamespaceAttributePair.

Change-Id: I009b8a8cca878191661c2a63bb14c967d230498d
2012-07-19 09:06:03 -07:00