84421 Commits

Author SHA1 Message Date
Chet Haase
451da77972 Merge "Add getter for animateFirstView property of ViewAnimator" into jb-mr1-dev 2012-08-30 10:30:28 -07:00
Jeff Sharkey
e671ccec0f Merge "Shared OBB storage across users." into jb-mr1-dev 2012-08-30 10:28:52 -07:00
Jim Miller
07cb030c4e Fix keyguard layout on tablet
Bug:7084961
Change-Id: I6415aa736bf9e2b71a288716e3125429be2b663c
2012-08-30 10:24:40 -07:00
Chet Haase
201501f11e Add getter for animateFirstView property of ViewAnimator
Tooling for xml properties is easier/better if we can properly reflect the
xml properties at the Java language API level as well. We had setters/getters
for the other properties of ViewAnimator, but only a setter for the
animateFirstView property.

Issue #6104327 Inconsistency between XML API and Java API for widgets - ViewAnimator

Change-Id: Iede7231fa433ce14f7a8299da4cedd4720370bc8
2012-08-30 09:51:08 -07:00
Chet Haase
7985cec0e5 am c0c1c94e: Merge "Avoid thrashing the glyph cache during the precache phase" into jb-mr1-dev
* commit 'c0c1c94e2df33ca8b85bb25fa89bf8379f9a6415':
  Avoid thrashing the glyph cache during the precache phase
2012-08-30 09:31:59 -07:00
Chet Haase
c0c1c94e2d Merge "Avoid thrashing the glyph cache during the precache phase" into jb-mr1-dev 2012-08-30 09:29:37 -07:00
Chet Haase
f942cf10e0 Avoid thrashing the glyph cache during the precache phase
It is unlikely, but possible, to draw so many glyphs in a frame
(especially of the glyphs are quite large) that the cache starts flushing
itself to fit the later glyphs in. This causes unnecessary thrashing, because
when we actually draw the frame, we will again need to flush to fit the
earlier glyphs in, and then flush again to fit the later ones in.

It is better to avoid thrashing the cache at the precache phase, and wait
until we actually draw the glyphs that do not fit to do any eviction of
the earlier glyphs.

This change simply notes when we are in the preaching phase, and avoids flushing
the cache when a glyph does not fit.

Issue #7081725 avoid thrashing cache during DisplayList recording

Change-Id: I230410ab5b478091b1032fa99dc1752acf868bbe
2012-08-30 09:14:44 -07:00
Chet Haase
b2545a4d05 am 63f2fcae: Merge "Fix bug with Fbo layer clipping" into jb-mr1-dev
* commit '63f2fcae3e7089ce0e27837a5152392d503f41eb':
  Fix bug with Fbo layer clipping
2012-08-30 07:24:36 -07:00
Chet Haase
63f2fcae3e Merge "Fix bug with Fbo layer clipping" into jb-mr1-dev 2012-08-30 07:22:37 -07:00
rikard dahlman
9211b13c32 Watchdog: Improvement of debuggability
If the watchdog detects a problem the system server process
is killed, that is followed by a crash. Because the crash is
done after the system server process is killed, the crash
don't contain info about the system server.
This improvement will make sure that the system is crashed
before the system server process is killed.
Behavior is only changed for eng and userdebug builds.

Change-Id: I9f1c8fd8b03d0114032ed44fb582705ad0b49733
2012-08-30 12:27:50 +02:00
Johan Redestig
8655e9085c onSavePassword dialog can leak when WebViewClassic is destroyed.
The AlertDialog creates in onSavePassword method leaks if
WebViewClassic is destroyed when the dialog is shown.

Change-Id: I81f20e1dd138467a6413766c0a081b389b334ae0
2012-08-30 10:13:41 +02:00
Jeff Sharkey
2db290edc2 am 428f5393: Merge "Locking when clearing VPN source rules." into jb-mr1-dev
* commit '428f53937efdc362b60d01592bd01c568691f70e':
  Locking when clearing VPN source rules.
2012-08-29 22:36:40 -07:00
Jeff Sharkey
428f53937e Merge "Locking when clearing VPN source rules." into jb-mr1-dev 2012-08-29 22:33:45 -07:00
Jeff Sharkey
580dd31a68 Locking when clearing VPN source rules.
Otherwise lockdown VPN reset is racy and can bring down system_server.

Change-Id: Ib8eecde1d0857a1669c3ca5506a46198c71b1b51
2012-08-29 22:31:58 -07:00
Jeff Sharkey
f80de4cac8 am a99e4caa: Merge "Bind to screenshot service for current user." into jb-mr1-dev
* commit 'a99e4caa94ed3261d11c650e778c7c9b26b3e590':
  Bind to screenshot service for current user.
2012-08-29 22:31:27 -07:00
Jeff Sharkey
a99e4caa94 Merge "Bind to screenshot service for current user." into jb-mr1-dev 2012-08-29 22:29:43 -07:00
Romain Guy
e70f4b77a8 am 7808581c: Merge "Pre-multiply color components for 2-stop gradients Bug #7033344" into jb-mr1-dev
* commit '7808581ca3b462fb187aed6b0d1b86fb83a8a215':
  Pre-multiply color components for 2-stop gradients Bug #7033344
2012-08-29 21:59:11 -07:00
Romain Guy
7808581ca3 Merge "Pre-multiply color components for 2-stop gradients Bug #7033344" into jb-mr1-dev 2012-08-29 21:56:44 -07:00
Romain Guy
d679b57ef2 Pre-multiply color components for 2-stop gradients
Bug #7033344

Change-Id: Ia168501f1dc56ba7a1bb0c55078320432309a66a
2012-08-29 21:56:18 -07:00
Adam Powell
05a1e1f64e Use focal point for scrolling in GestureDetector
Remove workaround for obsolete touchscreen hardware. Provide a better
focal point for scroll events.

Change-Id: I879acb4cfd23bd3762d0332e4df2203d913ae869
2012-08-29 20:35:10 -07:00
Daniel Sandler
4615695e49 am 8601e8b3: Merge "Expand the navbar dead zone briefly after touches elsewhere." into jb-mr1-dev
* commit '8601e8b3ab3b166166543baaab663224b787d68f':
  Expand the navbar dead zone briefly after touches elsewhere.
2012-08-29 20:32:21 -07:00
Daniel Sandler
8601e8b3ab Merge "Expand the navbar dead zone briefly after touches elsewhere." into jb-mr1-dev 2012-08-29 20:29:28 -07:00
Jim Miller
07fb8e8a81 am 5b81de4d: Merge "Fix Camera and GoogleNow launching in keyguard" into jb-mr1-dev
* commit '5b81de4de741f736889fd86e1dd324ad88136ebe':
  Fix Camera and GoogleNow launching in keyguard
2012-08-29 20:10:54 -07:00
Jim Miller
5b81de4de7 Merge "Fix Camera and GoogleNow launching in keyguard" into jb-mr1-dev 2012-08-29 20:07:56 -07:00
Jim Miller
5f75aa15d7 Fix Camera and GoogleNow launching in keyguard
This change allows keyguard to launch the secure camera when the device
is in a secure mode.  It also allows launching delayed actions after the
user has entered their security, such as that required for GoogleNow.

Change-Id: I54975001728ced3c339f86eafc3a38cea606082b
2012-08-29 20:06:47 -07:00
Adam Cohen
cd37ece71b am b07e89f6: Merge "Integrate overscroll into KeyguardWidgetView." into jb-mr1-dev
* commit 'b07e89f6fdbf85d2f436dc67074793444462abf9':
  Integrate overscroll into KeyguardWidgetView.
2012-08-29 19:51:19 -07:00
Adam Cohen
b07e89f6fd Merge "Integrate overscroll into KeyguardWidgetView." into jb-mr1-dev 2012-08-29 19:49:02 -07:00
Baligh Uddin
8b9df6cccd Import translations. DO NOT MERGE
Change-Id: Id3259e8368d2ab53d1f8b16d756806b4ca520c39
Auto-generated-cl: translation import
2012-08-29 19:04:43 -07:00
Amith Yamasani
9e8d101aa4 am 694121c4: Merge "Fix an NPE in PackageManager when getting the AppInfo for an app" into jb-mr1-dev
* commit '694121c4004e80deec71736481cfb03bd50e38f5':
  Fix an NPE in PackageManager when getting the AppInfo for an app
2012-08-29 18:54:23 -07:00
Amith Yamasani
694121c400 Merge "Fix an NPE in PackageManager when getting the AppInfo for an app" into jb-mr1-dev 2012-08-29 18:52:14 -07:00
Amith Yamasani
317046a087 Fix an NPE in PackageManager when getting the AppInfo for an app
Bug: 7072043
Change-Id: I37378b13820152434e7b3249e13c27001fe4ae5a
2012-08-29 18:48:08 -07:00
Jeff Brown
d0dd63dcae Tweak overlay display adapter scaling.
Change-Id: I330fc019c5b3f4e03369e6f1c1a839a33f6ce0e3
2012-08-29 18:45:32 -07:00
Jim Miller
f2dfc351de Integrate overscroll into KeyguardWidgetView.
This integrates overscroll behavior into keyguard.

Change-Id: I19c0f70c85a4ebb0ddd3f433b6f88a992f40919b
2012-08-29 18:42:21 -07:00
Jake Hamby
223d699d24 am c452a40e: am 044a9b97: resolved conflicts for merge of b35e4d77 to jb-dev-plus-aosp
* commit 'c452a40eea5a8bc23b05201e70a9ca740ee9ceec':
  Fix CDMA decoding of multipart UTF-16 SMS messages.
2012-08-29 18:21:20 -07:00
Jake Hamby
c452a40eea am 044a9b97: resolved conflicts for merge of b35e4d77 to jb-dev-plus-aosp
* commit '044a9b97b01a934e6cd9ef2f2914d401c4fa145b':
  Fix CDMA decoding of multipart UTF-16 SMS messages.
2012-08-29 18:19:04 -07:00
Dianne Hackborn
0322498e05 am 12631ec3: Merge "Start implementing concept of "running" users." into jb-mr1-dev
* commit '12631ec35eafc466e0deef315daa5fdfb5066372':
  Start implementing concept of "running" users.
2012-08-29 18:17:41 -07:00
Dianne Hackborn
12631ec35e Merge "Start implementing concept of "running" users." into jb-mr1-dev 2012-08-29 18:15:07 -07:00
Jake Hamby
044a9b97b0 resolved conflicts for merge of b35e4d77 to jb-dev-plus-aosp
Change-Id: Idec590dbd9e051a3faeded1af9eb4a78216f0496
2012-08-29 18:09:29 -07:00
Chet Haase
d48885a6c8 Fix bug with Fbo layer clipping
Rendering views with alpha causes the creation of Fbo layers. These layers
are created at the size of the view, clipped by the current clip rect.
However, if the view lies completely outside the current clip rect, the
Fbo layer is created at the full size of the view and copied into place
outside of its container, causing artifacts like notification items showing
up outside the notification panel.

Fix is to note when the intersect() operation fails and to set an empty bounds
on the layer.

Issue #7069881 Bottom notification sometimes shows below bottom of notification panel shade

Change-Id: Ib52f7c4e503bbe9204cb808755ab269195aa94c1
2012-08-29 17:41:49 -07:00
Daniel Sandler
c26185bb7b Expand the navbar dead zone briefly after touches elsewhere.
For now, each time the dead zone captures a touch, it will
flash to let you know that's what happened. We should
probably turn this off before shipping.

Note also that this currently only expands the navbar on
ACTION_DOWN elsewhere in the UI (because this is the only
time ACTION_OUTSIDE is generated); this isn't perfect and
we'll need to do some mucking about with the input system to
get information about ongoing drags or additional pointers
down, but this CL is a good start and introduces the general
mechanism for expanding and contracting the dead zone.

Change-Id: I43e63aed1e541fd07d83fde4d66bcb5be89b69d2
2012-08-29 20:11:21 -04:00
Benoit Goby
4c0087ff61 am ffc45b7d: Merge "UsbDebuggingManager: Fix restart when toggling USB debugging" into jb-mr1-dev
* commit 'ffc45b7d5708e706aeb19454c5172136761d214b':
  UsbDebuggingManager: Fix restart when toggling USB debugging
2012-08-29 17:08:00 -07:00
Benoit Goby
ffc45b7d57 Merge "UsbDebuggingManager: Fix restart when toggling USB debugging" into jb-mr1-dev 2012-08-29 17:05:26 -07:00
Jeff Brown
ae9eb7c05c am f404d102: Merge "Fix build for some javac compilers." into jb-mr1-dev
* commit 'f404d10225a2df60eb118089f8f0e72ab5845d48':
  Fix build for some javac compilers.
2012-08-29 17:03:14 -07:00
Jim Miller
4faf923397 am 5a05f2bf: Merge "Fix MENU key in keyguard." into jb-mr1-dev
* commit '5a05f2bf22954fdbd294bca8adc2b8ef0e8c5e00':
  Fix MENU key in keyguard.
2012-08-29 17:01:39 -07:00
Jeff Brown
f404d10225 Merge "Fix build for some javac compilers." into jb-mr1-dev 2012-08-29 17:00:30 -07:00
Jeff Brown
29d8d267dd Fix build for some javac compilers.
It seems some compiler versions don't like trailing
commas in attribute lists.  Weird.

Change-Id: I3a05f49a2e94f63fe1662d14c1d8a7ee249d8a16
2012-08-29 16:59:27 -07:00
Jim Miller
5a05f2bf22 Merge "Fix MENU key in keyguard." into jb-mr1-dev 2012-08-29 16:58:35 -07:00
Jim Miller
95b005c196 Fix MENU key in keyguard.
This re-enables the MENU key in keyguard so that automation tests still work.

Change-Id: I3d2fbf9240e12dc4a243354fa09e5d639304be6e
2012-08-29 16:45:54 -07:00
Jake Hamby
b35e4d778a Fix CDMA decoding of multipart UTF-16 SMS messages.
Recent changes to support CMAS over CDMA introduced a bug causing
an exception to be thrown when decoding multipart UTF-16 encoded
messages. This change fixes the exception by correctly subtracting
the header size from the number of bytes to decode. It also adds
more robust error handling to try to decode the maximum length
possible instead of throwing an exception if the length is still
larger than the user data length after subtracting the header.

This also fixes a bug in the encoder, which was padding the
UTF-16 user data to 16-bit alignment, which is incorrect (should
be padded to an 8-bit boundary). The code happened to work because
we always generated a UDH that was an even number of bytes
(including length) so the padding was a no-op. The decoder works
correctly.

Bug: 6939151
Change-Id: Iba9e7156bd7df94e972963959a7ce1c78464f7f5
2012-08-29 16:36:22 -07:00
Matthew Xie
ba118c25fb am 9e3045c7: Merge "Turn off verbose debug message in BluetoothAdapter Change-Id: I30245ab911b5428f7af38f195b941db02d36b18f" into jb-mr1-dev
* commit '9e3045c75c80d859dd16087e69f5bfbe15ca8bf4':
  Turn off verbose debug message in BluetoothAdapter Change-Id: I30245ab911b5428f7af38f195b941db02d36b18f
2012-08-29 16:32:21 -07:00