84881 Commits

Author SHA1 Message Date
Chet Haase
b92d8f7979 Optimize glyph cache texture uploads
Only upload the changed area of the glyph cache, not the entire
bitmap. Note that we can't do the full-on optimization here of copying a sub-rect
of the bitmap because of GL ES 2 limitations, but we can at least copy the
horizontal stripe containing the dirty rect, which can still be a big
savings over uploading the entire bitmap.

Issue #7158326 Bad framerates on MR1 (Mako, Manta, Prime)

Change-Id: Iab38d53202650f757ead4658cf4287bdad2b3cb9
2012-09-23 12:16:02 -07:00
Baligh Uddin
7b770b0ec4 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-23 09:32:24 -07:00
Wu-cheng Li
29f5230dc6 Merge "Unhide android.provider.MediaStore.ACTION_IMAGE_CAPTURE_SECURE" into jb-mr1-dev 2012-09-23 02:21:17 -07:00
Winson Chung
c4b16f1acb Merge "Fixing various QuickSettings issues (Bug 7210343, Bug 7174839, Bug 7174738)" into jb-mr1-dev 2012-09-22 14:37:02 -07:00
Baligh Uddin
4e1c866cc6 Import translations. DO NOT MERGE
Change-Id: Iaf8ab463bb0de67a3b6ee0f903d00d6b12a89dfc
Auto-generated-cl: translation import
2012-09-22 12:50:22 -07:00
Jim Miller
1cd5522fcc Merge "Send USER_PRESENT for keyguard choice "None"" into jb-mr1-dev 2012-09-21 20:07:46 -07:00
Jim Miller
3fd47af32d Send USER_PRESENT for keyguard choice "None"
This enables sending ACTION_USER_PRESENT when the user has
selected "None" for their keyguard screen. When this happens,
we delegate sending the event to onScreenTurnedOn().

Tested:
- None -> sends broadcast in onSystemReady() the first time after boot
and in onScreenTurnedOn() there after.
- Slide -> sends broadcast only once when screen is dismissed
- Pattern -> sends broadcast only once when screen is dismissed

Fixes bug 7029707

Change-Id: I785c3255b15e2ee598a10d7d3580ba5c03dd0068
2012-09-21 20:06:50 -07:00
Romain Guy
8e586f61dd Merge "Add support for a new developer setting: overdraw debugging" into jb-mr1-dev 2012-09-21 19:28:06 -07:00
Romain Guy
7c450aaa3c Add support for a new developer setting: overdraw debugging
Change-Id: I350ba4486577c3289f82c20938f7a35138778727
2012-09-21 19:15:00 -07:00
Dianne Hackborn
88923c973e Merge "Fix issue #7214462: Some recent thumbnails are black." into jb-mr1-dev 2012-09-21 18:47:18 -07:00
Dianne Hackborn
6a864959e0 Fix issue #7214462: Some recent thumbnails are black.
Change-Id: I9a2704c95a8701c9fb6755662fb47d4743099bf9
2012-09-21 18:46:11 -07:00
Svetoslav Ganov
9f12373b57 Merge "Fixing a regression in the UI test automation." into jb-mr1-dev 2012-09-21 18:26:52 -07:00
Svetoslav Ganov
9371a0a0c0 Fixing a regression in the UI test automation.
bug:6967373

Change-Id: I28f01a2bfe44febcb1a519028dab82fb1da9753e
2012-09-21 18:20:42 -07:00
Adam Cohen
993c3d79a3 Merge "Fixing typos" into jb-mr1-dev 2012-09-21 18:19:06 -07:00
Amith Yamasani
77e95d3d71 Merge "Show lockscreen widgets for the current user." into jb-mr1-dev 2012-09-21 18:16:49 -07:00
Adam Cohen
db38d8a4ff Fixing typos
Change-Id: I3d470a18bd14a4040dffb0b0d8a11e282546057e
2012-09-21 18:14:58 -07:00
Jason Sams
82c8cdabc4 Merge "Add run all button to image processing test." into jb-mr1-dev 2012-09-21 18:13:16 -07:00
Amith Yamasani
8fd96ec2dc Show lockscreen widgets for the current user.
Also shows the owner info and next alarm for the current user.
AppWidgetService now assumes that any widgets running in the system process are for the
current user, so that lockscreen shows widgets for the current user

Bug: 7211754
Bug: 7212421

Change-Id: Iaf0edc60e49af0afe42625c0b2dcf100c9ecc178
2012-09-21 18:10:34 -07:00
Jason Sams
7546b5ff16 Merge "Add Mandelbrot test to ImageProcessing." into jb-mr1-dev 2012-09-21 18:02:14 -07:00
Eino-Ville Talvala
c9108b1856 Merge "Add hardware feature android.hardware.camera.any." into jb-mr1-dev 2012-09-21 17:57:03 -07:00
Jason Sams
b94d69a226 Add run all button to image processing test.
Change-Id: I11b4f803151ee7dc1e4b86f402196c1b856bd950
2012-09-21 17:42:13 -07:00
Jim Miller
6eeff850b2 Merge "Remove UID checks from LockPatternUtils" into jb-mr1-dev 2012-09-21 17:31:09 -07:00
Winson Chung
34563e2dc5 Fixing various QuickSettings issues (Bug 7210343, Bug 7174839, Bug 7174738)
- Using startActivityFromUser() for multiuser settings intents
- Show Wifi/Bluetooth Off labels when they are off
- Removing quotes from SSID name
- Only showing the IME tile under the same conditions that the notification is showing
- Making tile labels uppercase

Change-Id: Ic4a085cda600da019eab259b22c9041d1a0b5d29
2012-09-21 17:22:30 -07:00
Svetoslav Ganov
0a5c5567f2 Merge "Multi-user support for the accessibility layer." into jb-mr1-dev 2012-09-21 17:21:45 -07:00
Chet Haase
dbb261455b Merge "Optimize shaders for dithered gradients" into jb-mr1-dev 2012-09-21 17:12:48 -07:00
Adam Cohen
172cb76964 Merge "Fixing onRestoreInstanceState crash in Launcher" into jb-mr1-dev 2012-09-21 17:11:38 -07:00
Dianne Hackborn
c9e94ea645 Merge "Fix issue #7213113: Remove old intent resolver" into jb-mr1-dev 2012-09-21 17:05:47 -07:00
Dianne Hackborn
52c62344c5 Fix issue #7213113: Remove old intent resolver
Also make the query package restart broadcast protected like the
documentation says it should be.

Change-Id: I445166111318a02f2f2b1ab0dff9c641a441c20b
2012-09-21 17:04:16 -07:00
Adam Cohen
6ccf4e2791 Fixing onRestoreInstanceState crash in Launcher
-> Issue 7084152

Change-Id: Ic91074adfff5918e6471c861313a51d0a179ad08
2012-09-21 16:56:51 -07:00
Adam Cohen
8562cb5982 Merge "Changing public method to @hide, doesn't have to be public" into jb-mr1-dev 2012-09-21 16:56:31 -07:00
Svetoslav Ganov
38533ea514 Merge "NPE in AcitivtyChooserModel." into jb-mr1-dev 2012-09-21 16:55:29 -07:00
Adam Cohen
bd1e0076c6 Changing public method to @hide, doesn't have to be public
Change-Id: I4c87b154fd99376a0337f9fc65024e13ddb74da5
2012-09-21 16:51:50 -07:00
Svetoslav Ganov
58d37b55bd Multi-user support for the accessibility layer.
1. This change converts the accessibility manager service to
   maintain a state per user. When the user changes the services
   for the user that is going away are disconnected, the local
   accessibility managers in the processes for this user are
   disabled, the state is swapped with the new user's one, and
   the new user state is refreshed.

   This change updates all calls into the system to use their
   user specific versions when applicable. For example, regisetring
   content observers, package monitors, calls into other system
   services, etc.

   There are some components that are shared across users such
   as UI created by the system process and the SystemUI package.
   Such components are managed as a global state shared across
   all users and are updated accordingly on a user switch. Since
   the SystemUI is running in a normal app process this change
   adds hidden APIs on the local window manager to allow the
   SystemUI to notify the accessibility layer that it will run
   accross users.

   Calls to AccessibiltyManager's isEnabled(), isTouchExplorationEnabled()
   and sendAccessibilityEvent return false or a are a nop for a
   background user sice he should not send accessibility events,
   and should not perform touch exploration.

   Update the internal accessibility tests due to changes in the
   AccessibilityManager.

   This change also fixes several issues that were encountered
   such as calling out the accessibility manager service with a
   lock held.

   Removed some incorrect debugging code from the TouchExplorer
   that was leading to a system crash.

bug:6967373

Change-Id: I2cf32ffdee1d827a8197ae4ce717dc0ff798b259
2012-09-21 16:48:07 -07:00
Svetoslav Ganov
08681adda0 Merge "Day numbers in CalendarView have incorrect size." into jb-mr1-dev 2012-09-21 16:32:02 -07:00
Victoria Lease
b77b3cfe41 Merge "Get your own cursor Drawables, WebViewClassic!" into jb-mr1-dev 2012-09-21 16:29:43 -07:00
Jason Sams
7b3132d97a Merge "Add Blend intrinsic." into jb-mr1-dev 2012-09-21 16:24:07 -07:00
Chet Haase
a1d12dd619 Optimize shaders for dithered gradients
It's faster to compute a dither calculation in the vertex shader and use
a varying (letting the GPU interpolate the fragment values) than to perform
that calculation in the fragment shader as part of a texture lookup.

Issue #7207600 Prime mr1 shader performance issues
Issue #7158326 Bad framerates on MR1 (Mako, Manta, Prime)

Change-Id: I15789582a6e9e2d8b9dd22aa5b0f72f0ba1cce7f
2012-09-21 16:20:57 -07:00
Jason Sams
f70bb04346 Add Blend intrinsic.
Change-Id: I6f679c910fc23fe7441e17ad66bcf5f3dd7425a0
2012-09-21 16:10:49 -07:00
Eino-Ville Talvala
5ce25d7170 Merge "NEW_API: Add android.hardware.Camera.CameraInfo#canDisableShutterSound" into jb-mr1-dev 2012-09-21 16:05:59 -07:00
Scott Main
ec501466ea am 2e642866: am be676b6c: am 4a5425db: fix layout bug
* commit '2e6428668c97826e169e51ac5d0a7c6e8ba3bd79':
  fix layout bug
2012-09-21 16:03:39 -07:00
Scott Main
2e6428668c am be676b6c: am 4a5425db: fix layout bug
* commit 'be676b6cc4a2a594dcb1fb233539cf927f0b49e5':
  fix layout bug
2012-09-21 16:00:51 -07:00
Scott Main
be676b6cc4 am 4a5425db: fix layout bug
* commit '4a5425dbd29329aaffbab3bb83c33bd437958237':
  fix layout bug
2012-09-21 15:59:04 -07:00
Scott Main
4a5425dbd2 fix layout bug
Change-Id: Ibf3f04d6c2077c77b75076c02312d3b2dea394eb
2012-09-21 15:55:15 -07:00
Jeff Brown
3ca5971339 Merge "Support HDMI hotplug." into jb-mr1-dev 2012-09-21 15:51:41 -07:00
Baligh Uddin
063d15ff48 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-21 15:43:54 -07:00
Jeff Brown
e87bf03076 Support HDMI hotplug.
Bug: 7206678
Change-Id: Ia5212b16658a5f5a2ccf8528eca7bebd45ca857a
2012-09-21 15:34:32 -07:00
Baligh Uddin
691b68b0d5 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-21 15:32:51 -07:00
Jim Miller
7478cf86ce Merge "Tweak keyguard security flip animation timing." into jb-mr1-dev 2012-09-21 15:23:34 -07:00
Jim Miller
1ed9fa10de Merge "Make DPM API for disabling keyguard widgets more generic" into jb-mr1-dev 2012-09-21 15:21:33 -07:00
Romain Guy
059aedf808 Merge "Finish this bit before I forget." into jb-mr1-dev 2012-09-21 15:08:12 -07:00