76688 Commits

Author SHA1 Message Date
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
Makoto Onuki
35c29cfce7 Remove SocialContract, which was never used.
Bug 6148750

Change-Id: I3061b427ea20c35de826e6c0c7bb8cbe5fa1f04d
2012-05-03 16:39:40 -07:00
Elliott Hughes
89269cf98d libnativehelper is implicitly available.
(And is moving for the PDK.)

Bug: 6369821
Change-Id: I9e082ef294cfb2d70384255eb06d97d8cb92b382
2012-05-03 16:39:22 -07:00
Chet Haase
cb150fe9e6 Minor doc fixes for animation- and view-related things
Issue #6016341 Add info about properties and ViewPropertyAnimator to View reference docs
Issue #6441062 Misleading docs in ViewPropertyAnimator

Change-Id: Ica7c026c770fe2e57013fe443ede5428cd6b6604
2012-05-03 16:30:16 -07:00
John Reck
972e8bc09a am fd84f173: am 84fa241f: Fix tap highlight annoyingness
* commit 'fd84f173a021b8c492bbd1479a5a75690c89c17a':
  Fix tap highlight annoyingness
2012-05-03 16:21:09 -07:00
John Reck
fd84f173a0 am 84fa241f: Fix tap highlight annoyingness
* commit '84fa241f6c6f8b9f72371dd540515ba8041dd6b7':
  Fix tap highlight annoyingness
2012-05-03 16:18:31 -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
5eea7b89a7 am dbad40ac: am f7ee988e: Merge "Better error logs for faulty ObjectAnimators" into jb-dev
* commit 'dbad40ac7255016b4cb17c1145346425f933504d':
  Better error logs for faulty ObjectAnimators
2012-05-03 16:03:29 -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
dbad40ac72 am f7ee988e: Merge "Better error logs for faulty ObjectAnimators" into jb-dev
* commit 'f7ee988e55c6f6934cbb9e47feea65e62a3a2f21':
  Better error logs for faulty ObjectAnimators
2012-05-03 16:00:23 -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
Christopher Tate
b89ce43499 Add streamlined config-based path for no volume key sounds
This lets us avoid a Binder roundtrip to the system process during
volume changes.  Previously volume change would be staged at key-down,
then applied at key up in tandem with playback of the sonic feedback
about volume key presses.  The reason for this two-stage handling was
to defer playback of the sound [at the target volume] while the volume
key was being held for repeat.

On some devices volume is always sent as key down/up pairs rather than
down-repeat-up sequences. On these devices it is more efficient to
apply the new volume immediately during down handling, and have the
up handling be a no-op.  This CL adds a configuration resource item
selecting this new fast path.

Bug 6433943

Change-Id: Icffa56e958243b841d514e2fe4609ba3a7b20f14
2012-05-03 15:41:34 -07:00
Eric Fischer
42a8b4a3b6 am 905134f1: (-s ours) am 7b7281ed: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '905134f12f781cff5e9d6bf31e932343fe2fd589':
  Import translations. DO NOT MERGE
2012-05-03 15:23:09 -07:00
Eric Fischer
905134f12f am 7b7281ed: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '7b7281edc1f328caefe97822666b6eb9ba27ef09':
  Import translations. DO NOT MERGE
2012-05-03 15:19:59 -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
Jean-Michel Trivi
8269b76d05 am 10e7c858: am c9198161: Merge "Make AudioService aware of device orientation changes" into jb-dev
* commit '10e7c858b2d85477550467ac061647a730566f95':
  Make AudioService aware of device orientation changes
2012-05-03 15:18:32 -07:00
Eric Fischer
04cf5adeff Merge "Import translations. DO NOT MERGE" 2012-05-03 15:17:04 -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
10e7c858b2 am c9198161: Merge "Make AudioService aware of device orientation changes" into jb-dev
* commit 'c919816155f18e2cf395abc31fc3e1c3923bde76':
  Make AudioService aware of device orientation changes
2012-05-03 15:15:13 -07:00
Jean-Baptiste Queru
cd9adbcea0 am 00f94e88: Merge "Enable chromium http stack for x86"
* commit '00f94e88f96ed87c95ea65563396609c61e72dca':
  Enable chromium http stack for x86
2012-05-03 15:14:56 -07:00
Brian Colonna
b528c53e1f am ad8af546: am 9b4dc0f7: Merge "Fix 6396479: Made FUL unlock layout look good on nakasi" into jb-dev
* commit 'ad8af5463fe5aa064c9aa4e0e5320eeb53f13983':
  Fix 6396479: Made FUL unlock layout look good on nakasi
2012-05-03 15:13:45 -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
ad8af5463f am 9b4dc0f7: Merge "Fix 6396479: Made FUL unlock layout look good on nakasi" into jb-dev
* commit '9b4dc0f70194c2e1c24ecc146f4f0c74970cf347':
  Fix 6396479: Made FUL unlock layout look good on nakasi
2012-05-03 15:11:35 -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
57ea37f28d Import translations. DO NOT MERGE
Change-Id: I5bc2398ba221cfd4e5ca7fedf5cdb9e2d0cfc209
2012-05-03 14:40:47 -07:00
Eric Fischer
ac786550d1 Import translations. DO NOT MERGE
Change-Id: Iba7e238df292ae2cbf948db84bfcbe1d82bc6ccb
2012-05-03 14:36:10 -07:00
Ruei-sung Lin
eb9ce361b0 am 1aa8f577: am c292355f: Merge "Fix b/5974573 Please increase intensity of film grain effect" into jb-dev
* commit '1aa8f577c6969d5760cf591b8e846fac12edda12':
  Fix b/5974573 Please increase intensity of film grain effect
2012-05-03 14:28:24 -07:00
Ruei-sung Lin
1aa8f577c6 am c292355f: Merge "Fix b/5974573 Please increase intensity of film grain effect" into jb-dev
* commit 'c292355f84a01ca96b6e8aba53110679d0eab90d':
  Fix b/5974573 Please increase intensity of film grain effect
2012-05-03 14:25:44 -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
92718ecace am b239d1a9: am 163a3ae7: Merge "Update docs for YV12 format and camera preview callbacks." into jb-dev
* commit 'b239d1a974c9fafef5dd905f51d657a9efe42f27':
  Update docs for YV12 format and camera preview callbacks.
2012-05-03 13:55:42 -07:00
Eino-Ville Talvala
b239d1a974 am 163a3ae7: Merge "Update docs for YV12 format and camera preview callbacks." into jb-dev
* commit '163a3ae770c290f87347e5b413ec8ff9f128a311':
  Update docs for YV12 format and camera preview callbacks.
2012-05-03 13:51:39 -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
7289f2617c am 83ceaae2: am e06747c7: Merge "Rename isTimeZoneFixNeeded to shouldFixTimeZoneNow." into jb-dev
* commit '83ceaae2b5c123fc3bd0c2a85b5fda05c08cac12':
  Rename isTimeZoneFixNeeded to shouldFixTimeZoneNow.
2012-05-03 12:24:51 -07:00
Wink Saville
83ceaae2b5 am e06747c7: Merge "Rename isTimeZoneFixNeeded to shouldFixTimeZoneNow." into jb-dev
* commit 'e06747c727c9edc05c1d32f389a2347a11f653d5':
  Rename isTimeZoneFixNeeded to shouldFixTimeZoneNow.
2012-05-03 12:22:46 -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
01f7f4f6d7 am d8c573de: am 2c6200da: Merge "hasVibrator() should only report presence of built-in vibrator." into jb-dev
* commit 'd8c573de1855f84950c754792d5a2232d52f2fff':
  hasVibrator() should only report presence of built-in vibrator.
2012-05-03 12:01:15 -07:00
Jeff Brown
3025afded3 am d4daf521: am e19dbd9f: Merge "Separate the internal and external display rotations." into jb-dev
* commit 'd4daf5212ebee0886ad02ceb6301a829cb1674a1':
  Separate the internal and external display rotations.
2012-05-03 12:01:13 -07:00
Jeff Brown
d8c573de18 am 2c6200da: Merge "hasVibrator() should only report presence of built-in vibrator." into jb-dev
* commit '2c6200dac2cae3a378e7d0f309e1770f9f158b48':
  hasVibrator() should only report presence of built-in vibrator.
2012-05-03 11:59:07 -07:00
Jeff Brown
d4daf5212e am e19dbd9f: Merge "Separate the internal and external display rotations." into jb-dev
* commit 'e19dbd9f9d0fea5959d8384d5d9d577d25cc8963':
  Separate the internal and external display rotations.
2012-05-03 11:59:05 -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
ec11cdb710 am 23cd918a: am 23746be0: Merge "Reorganizing permissions into groups oriented around user-understandable concepts." into jb-dev
* commit '23cd918aa32cb257559e5092e648011a422f9ca1':
  Reorganizing permissions into groups oriented around user-understandable concepts.
2012-05-03 11:22:44 -07:00
Adrian Ludwig
23cd918aa3 am 23746be0: Merge "Reorganizing permissions into groups oriented around user-understandable concepts." into jb-dev
* commit '23746be026ae2e9854b33c0e8872463c6191a734':
  Reorganizing permissions into groups oriented around user-understandable concepts.
2012-05-03 11:20:20 -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