86371 Commits

Author SHA1 Message Date
Romain Guy
713e1bb9df Add API to enable mipmaps on Bitmap
Bug #7353771

This API can be used when scaling large images down to a small size
to get nicer looking results.

Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
2012-10-16 18:44:09 -07:00
Romain Guy
d43b22da29 Always use the correct pixel store size
Bug #7357394

When a bitmap is reused it may change configuration which can lead
to a different pixel store alignment. Our current texture cache
implementation assumes this never happens and keeps the old alignment
which can lead to distorted texture (if the bitmap goes from
ARGB8888 to RGB565 for instance.)

Change-Id: Ic57acf2403411ae4d0924e92f221298350612617
2012-10-16 11:25:06 -07:00
Baligh Uddin
4682cf02b4 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-16 09:15:14 -07:00
Justin Ho
0fcc2977d0 Merge "Update alarm sounds and tune some ringtones Bug: 7351672 Bug: 5502770 Bug: 7312457" into jb-mr1-dev 2012-10-16 09:13:48 -07:00
Justin Ho
5d7c089cab Update alarm sounds and tune some ringtones
Bug: 7351672
Bug: 5502770
Bug: 7312457

Change-Id: Iea0d674431b0fabbf7e9c4b30d9f08a6235cdc64
2012-10-16 09:12:19 -07:00
Justin Ho
4add743111 Merge "Revert "Update alarm sounds and tune some ringtones Bug: 7351672 Bug: 5502770 Bug: 7312457"" into jb-mr1-dev 2012-10-16 09:08:22 -07:00
Baligh Uddin
75e861b689 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-16 09:08:22 -07:00
Justin Ho
c1188696b6 Revert "Update alarm sounds and tune some ringtones Bug: 7351672 Bug: 5502770 Bug: 7312457"
This reverts commit 04fe8723e48644bf5e1afc098f2117cbec6ba68d

Change-Id: I28ed23ad75ced96b66cc4dcce0faaf667c2d5d08
2012-10-16 09:07:39 -07:00
Justin Ho
08876d1992 Merge "Update alarm sounds and tune some ringtones Bug: 7351672 Bug: 5502770 Bug: 7312457" into jb-mr1-dev 2012-10-16 08:51:40 -07:00
Daniel Sandler
18ea8f2990 Merge "Flipping quick settings!" into jb-mr1-dev 2012-10-16 07:42:48 -07:00
Daniel Sandler
101784e560 Flipping quick settings!
Bug: 7348917 ╰(°□°╰)
Change-Id: I16923d6d920913a4bd0d78666587ac579ac18da5
2012-10-16 02:34:09 -04:00
Daniel Sandler
1f0752993f Merge "Allow any user to clear a notification targeted at USER_ALL." into jb-mr1-dev 2012-10-15 22:23:29 -07:00
Craig Mautner
f6dbd61b10 Merge "Always layout Keyguard on config change." into jb-mr1-dev 2012-10-15 22:05:55 -07:00
Mathias Agopian
6868d6f349 Revert "Revert "Fix for bug 6050753.""
Emergency revert -- fix reboot loop.

This reverts commit 8e63bcc63fd002231f8391af8982eeb235d096c8.

Change-Id: I4373b867d756de09cdf6aa0aba9e6ff8f47bcdbc
2012-10-15 20:45:01 -07:00
Jamie Gennis
809bb404da Merge "Flag window animation transactions as animations." into jb-mr1-dev 2012-10-15 19:52:05 -07:00
Jamie Gennis
b6ce6e42cc Flag window animation transactions as animations.
This change makes WindowManager use the new eAnimation flag when animating
windows.  This prevents some of the window updates from being combined with
updates from prior animation frames.

Bug: 7353840
Change-Id: I5a9f8fa2c1a2f5f08363a45cd9f28bb97cd77080
2012-10-15 19:19:50 -07:00
Romain Guy
69fbc3c089 Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev 2012-10-15 18:45:03 -07:00
Romain Guy
edefaa25db Merge "Ensure we always request conformant OpenGL ES 2.0 contexts" into jb-mr1-dev 2012-10-15 18:43:59 -07:00
Romain Guy
dec26f2011 Merge "Add missing layout_width/height Bug #7334849" into jb-mr1-dev 2012-10-15 18:43:12 -07:00
Jeff Brown
0e082155ef Merge "Stop dreaming if the battery not charging effectively." into jb-mr1-dev 2012-10-15 18:41:11 -07:00
Jeff Brown
322de60657 Merge "Cleanup some internal documentation." into jb-mr1-dev 2012-10-15 18:40:05 -07:00
Jim Miller
3398752832 Merge "Fix inoperative "Forgot pattern" button when face unlock enabled" into jb-mr1-dev 2012-10-15 18:37:00 -07:00
Jeff Sharkey
7789c9bbfc Merge "Support pm clear as --user." into jb-mr1-dev 2012-10-15 18:24:34 -07:00
Raph Levien
6f8c1bad8a Merge "Fix for bug 7344916 text view flickers when you hit enter" into jb-mr1-dev 2012-10-15 18:19:50 -07:00
Jim Miller
63f9b81795 Fix inoperative "Forgot pattern" button when face unlock enabled
This fixes a bug where the forgot pattern button wasn't working because
the logic for face unlock was interfering with determining the proper
backup to use.

The fix:
- adds a new state to SecurityMode so we have an initial condition
we can check for.
- passes the current mode to SecurityModel.getBackupSecurityMode() so
it relies on the current state.
- prevents face unlock from invoking callbacks that change state
once we're no longer showing face unlock.

Fixes bug 7346989

Change-Id: I4e64515efbbad712f11c820e690b458f352bf46c
2012-10-15 18:16:24 -07:00
Romain Guy
8efca54693 Ensure we always request conformant OpenGL ES 2.0 contexts
Change-Id: I6b9d6f2dace02ad28baef6811007302b8e552a54
2012-10-15 18:09:49 -07:00
Justin Ho
04fe8723e4 Update alarm sounds and tune some ringtones
Bug: 7351672
Bug: 5502770
Bug: 7312457

Change-Id: Icb89cdbadc0e06b4a845b1cad16560f66d5b2bdd
2012-10-15 17:40:57 -07:00
Raph Levien
f5c1a8798f Fix for bug 7344916 text view flickers when you hit enter
The flickering was caused by trying to scroll to the cursor position
while the view was in an inconsistent state (text updated to change the
number of lines, but layout not done yet). This patch defers the actual
setting of the cursor until layout is done, when layout is pending.

Change-Id: I8ed3a402beb8058ac7a7f3935afeb946a23308ab
2012-10-15 17:22:26 -07:00
Jeff Brown
df409231a7 Merge "Update wifi display device name when renamed." into jb-mr1-dev 2012-10-15 17:21:20 -07:00
Svetoslav Ganov
25160a6f35 Merge "Announce changes to the keyguard security message for accessibility." into jb-mr1-dev 2012-10-15 17:15:44 -07:00
Jeff Brown
016ff14f12 Stop dreaming if the battery not charging effectively.
If the user activity timeout expired and the battery appears
to be draining faster than it is charging then stop dreaming
and go to sleep.

Bug: 7312455
Change-Id: I1b9d89e5b2647c72c455d2792e3778a2fe6a4e34
2012-10-15 16:56:20 -07:00
Romain Guy
42b0c70a31 Add missing layout_width/height
Bug #7334849

Change-Id: Ie4bbe5905bec1d410b8b51e0194bb1c8c2b84680
2012-10-15 16:47:16 -07:00
Jean-Michel Trivi
256ab9e9b9 Merge "Use device availability to start WFD audio routing" into jb-mr1-dev 2012-10-15 16:24:56 -07:00
Jeff Sharkey
a3e9ff7deb Support pm clear as --user.
Bug: 7352703
Change-Id: I0e9cc4f2313e5424d234c3cb051004c0321d9dac
2012-10-15 16:16:39 -07:00
Chris Craik
2aa50b6b0f Merge "HW Acceleration support for stroked arcs with BUTT caps" into jb-mr1-dev 2012-10-15 16:08:19 -07:00
Jeff Brown
ab887a09ad Cleanup some internal documentation.
Bug: 7312455
Change-Id: Idefd71f2e9d1abe1b2671dac9702edf7f5fbc118
2012-10-15 16:01:37 -07:00
Victoria Lease
3f840c8c3c Merge "fix crashing apps" into jb-mr1-dev 2012-10-15 15:50:00 -07:00
alanv
f6d1afd141 Announce changes to the keyguard security message for accessibility.
Bug: 7352702
Change-Id: I790d7be08b222ae3cb76459064802f587c3e6f30
2012-10-15 15:37:44 -07:00
Jeff Brown
ee4f029ff4 Update wifi display device name when renamed.
Bug: 7340725
Change-Id: Ia3835a37fa3800371920f863b82f992efe764664
2012-10-15 15:31:59 -07:00
Victoria Lease
da479c5f8c fix crashing apps
Bug: 7349330
Change-Id: Iea61bce23cb197c7a28d574098253823df73a99b
2012-10-15 15:24:16 -07:00
Xavier Ducrohet
477687c1eb Merge "Fix SDK layout rendering in Eclipse." into jb-mr1-dev 2012-10-15 15:15:14 -07:00
Xavier Ducrohet
6dfd0b39a6 Fix SDK layout rendering in Eclipse.
Change-Id: I0e9e85632012c0929b987ee9d0ccf7c25eece322
2012-10-15 15:14:44 -07:00
Adam Cohen
11dea4d710 Merge "Fix issue where pin field doesn't have focus (issue 7348937)" into jb-mr1-dev 2012-10-15 14:41:26 -07:00
Romain Guy
f2e28abb13 Merge "Update javadoc" into jb-mr1-dev 2012-10-15 14:19:29 -07:00
Adam Cohen
ac8a59d3d3 Fix issue where pin field doesn't have focus (issue 7348937)
Change-Id: Ia926765271251248701416c001e2e73131cdf4ad
2012-10-15 14:12:55 -07:00
Jeff Sharkey
532c9c4543 Merge "Protect more service dump() methods." into jb-mr1-dev 2012-10-15 14:01:57 -07:00
Chris Craik
780c12875c HW Acceleration support for stroked arcs with BUTT caps
bug:4419017

Change-Id: I7371bfb36cef460da861a47d4d945218c6d0c3d0
2012-10-15 13:49:58 -07:00
Craig Mautner
a3f4bf531f Always layout Keyguard on config change.
Add Keyguard to list of windows that can't be hidden by keyguard.

Don't assign Configuration to window until layout has had a chance
to compare it to window's existing Configuration.

Bug: 7094175
Change-Id: I99a9fd4af9a31871fe130db7b6bdf49bd51a6092
2012-10-15 13:45:17 -07:00
Romain Guy
8e63bcc63f Revert "Fix for bug 6050753."
This reverts commit c29f031598811486d83f418fd08fbfe1fc41788a.
2012-10-15 13:24:58 -07:00
Romain Guy
edc9005289 Update javadoc
Some View.post*() methods can be invoked from arbitrary thread
independently of whether the View is attached to a window.

Change-Id: I587b5909ab8b06665978d001548d56c8c22043c1
2012-10-15 12:31:57 -07:00