75631 Commits

Author SHA1 Message Date
Dianne Hackborn
8e6159b821 Merge "Add traces for window manager and activity manager." into jb-dev 2012-04-26 15:24:18 -07:00
Eric Fischer
2be1523ba9 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-26 15:20:58 -07:00
Mike Lockwood
166b05e0ce UsbService: Add support for accessory initiating USB audio support
Change-Id: I0e468f4b841de9e1ca7b75a05fc58299dbc78222
Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-04-26 15:09:35 -07:00
Brian Colonna
6bc7591640 Merge "Changes to biometric sensor interface in lockscreen" into jb-dev 2012-04-26 14:41:18 -07:00
Brian Colonna
ea8441e22a Changes to biometric sensor interface in lockscreen
This cleans up the biometric sensor interface - the interface between
lockscreen and Face Unlock.  Not only does it document the interface,
but it also makes two noteworthy changes to the interface:

1) Instead of calling mBiometricUnlock.start() with a parameter to
tell it whether to suppress itself, lockscreen makes all of the
decisions about whether the biometric unlock should be started or not
and only calls start() if it should be started.  Passing a parmeter to
tell a function to not start itself was strange, but it was a
necessary intermediate step in the process of fixing this interface.

2) Instead of calling mBiometricUnlock.initializeView() with a top
view that the biometric unlock should attach to, lockscreen now
provides the biometric unlock with the actual view it is allowed to
work in.  This keeps lockscreen in control of where the biometric
sensor is allowed to display.

A few things were also cleaned up within the Face Unlock
implementation of the biometric interface:

1) Changes needed to match the requirements of the improved biometric
sensor interface, including moving the functions into an order that
makes more sense.

2) The bind() function was only being called from start(), which has
turned into only a couple of lines of code, so the bind() code has
been just put inline into the start() function, which mirrors the
stop() function which has the unbind() code in it.

3) The showArea() function was really just one line of code with a
check.  It was being called from two places.  The showArea() code is
now just written inline in those two places, which makes the code
much easier to follow.

4) Renamed occurrences of FaceLock to Face Unlock.

Change-Id: Ie95ce21dcc77170381af9ce320f2675dfe249741
2012-04-26 17:31:29 -04:00
Mike Lockwood
9ad1b11326 Merge "Make audio routing Intents protected" into jb-dev 2012-04-26 14:30:31 -07:00
Eric Fischer
130f95b1e0 Import translations. DO NOT MERGE
Change-Id: I8816757eeaf3b8b2b01964ec030ef3ca5f24ff7a
2012-04-26 14:23:36 -07:00
Irfan Sheriff
aeeee6a364 Merge "Fix flag on network state change broadcast" into jb-dev 2012-04-26 14:21:22 -07:00
Dianne Hackborn
a6517ae300 Merge "Update process importance documentation." into jb-dev 2012-04-26 14:19:12 -07:00
Dianne Hackborn
1ded0b1f6a Add traces for window manager and activity manager.
Change-Id: I525d762db328e4c597da27b6b56d9a808e199756
2012-04-26 14:14:50 -07:00
Irfan Sheriff
ea22ddd6bc Fix flag on network state change broadcast
Using FLAG_RECEIVER_REPLACE_PENDING causes broadcasts
to be missed confusing the connectivity service

BUg: 6401167
Change-Id: Id69b2df18b9eb6b3e2195fbf399f36501a8d41df
2012-04-26 14:13:23 -07:00
Romain Guy
8bd12ea800 Merge "Decode common GL error codes when logging frame error status" into jb-dev 2012-04-26 14:06:41 -07:00
Romain Guy
a44a63ac5c Decode common GL error codes when logging frame error status
Change-Id: I38b333eea53aef20340ce48dfcb0dd30a223f7a8
2012-04-26 14:05:02 -07:00
Amith Yamasani
87b16c8039 Merge "Remove power menu on tablets." into jb-dev 2012-04-26 14:02:53 -07:00
Eric Fischer
85a0c7c80c Import translations. DO NOT MERGE
Change-Id: I61893c06aa4696d0349b0afe92940671feec1eb1
2012-04-26 13:57:37 -07:00
Romain Guy
dcb1eab429 Merge "Keep opaque bitmaps opaque after scaling Bug #6293845" into jb-dev 2012-04-26 13:37:11 -07:00
Romain Guy
8f8d9fb52c Keep opaque bitmaps opaque after scaling
Bug #6293845

Change-Id: If9e82993f4c9702244ddedb5667421a6fcc7a0c5
2012-04-26 13:35:36 -07:00
Ying Wang
002f53770a Apply --extra-packages in case --custom-pacakge is also specified.
Cherry-picked from master.

Change-Id: I2d67b8821afdf064f4186ccd8def1b65f9a7dc88
2012-04-26 13:13:08 -07:00
Amith Yamasani
51e8480176 Remove power menu on tablets.
It had been added temporarily for testing, reverting to old behavior.

Change-Id: I1ea3fc41de311ba44949eb7abb7db3057eef1357
2012-04-26 12:54:39 -07:00
Gilles Debunne
64ac862f7b Merge "Basic renaming refactoring in Layout" into jb-dev 2012-04-26 12:51:59 -07:00
John Reck
a75fbc3c76 Merge "On new content, attach functor directly" into jb-dev 2012-04-26 12:27:56 -07:00
Mike Lockwood
8f014059d3 Make audio routing Intents protected
These intents should only be sent by the system:

android.intent.action.HEADSET_PLUG
android.intent.action.ANALOG_AUDIO_DOCK_PLUG
android.intent.action.DIGITAL_AUDIO_DOCK_PLUG
android.intent.action.HDMI_AUDIO_PLUG
android.intent.action.USB_AUDIO_ACCESSORY_PLUG
android.intent.action.USB_AUDIO_DEVICE_PLUG

Change-Id: I7be41892a9c4e619ca3e1c892fad6f1f2714c74f
Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-04-26 11:31:58 -07:00
Teng-Hui Zhu
85973212e9 Merge "DO NOT MERGE:The visiblerect calculation should take view's scaling into consideration" into jb-dev 2012-04-26 11:28:17 -07:00
Adam Powell
9004053c59 Merge "Fix janky programmatic ListView scrolling" into jb-dev 2012-04-26 11:14:02 -07:00
Adam Cohen
5d20064651 Enabling RemoteViews to have a landscape and portrait layout
-> Implmented BitmapCache to ensure no bitmap data is duplicated
   within a RemoteViews hierarchy.

Change-Id: I68f0f5e2882ee2a2a9a110c1642b93c4c7518743
2012-04-26 11:11:17 -07:00
Adam Powell
0b8acd81d5 Fix janky programmatic ListView scrolling
Adjust AbsListView to use a linear interpolator for smooth scrolling
rather than the default scroller behavior. This prevents irregular
motion as the scroll is altered in-flight to account for varying
height list items.

Bug 6397800

Change-Id: I8cc33dfc18903943369e1353930c48e2652b0142
2012-04-26 11:10:27 -07:00
Steve Block
ff35000ce1 Merge "Fix JavaDoc style for several WebView classes" into jb-dev 2012-04-26 11:02:32 -07:00
Ben Murdoch
99c12e8d5f Create WebViewDatabaseClassic from WebViewDatabase.
WebViewDatabase has a getInstance() method, so similarly
to WebStorage, WebIconDatabase etc we refactor it into a
proxy class, and move the current implementation into
WebViewDatabaseClassic.

Also clean up some JavaDoc in touched files.

Bug: 6234236
Change-Id: I71cbd8f78e60f396e96e8546073ad634797cce15
2012-04-26 19:02:15 +01:00
Dave Burke
2996cf03a2 Merge "Unhide new AAC-ELD audio record type." into jb-dev 2012-04-26 10:58:57 -07:00
Dianne Hackborn
c5bf758442 Update process importance documentation.
Also be more direct about some of the wallpaper APIs.

Change-Id: I2112898c0cd4415d6c5fd47923de682d59b8291f
2012-04-26 10:58:37 -07:00
Andreas Huber
129a6ccbb8 Merge "The MediaExtractor can now unselect tracks and has more control over seeking." into jb-dev 2012-04-26 10:56:58 -07:00
Michael Kolb
77974166db Merge "Fix NPE in isPrivateBrowsingEnabled()" into jb-dev 2012-04-26 10:54:58 -07:00
Adrian Ludwig
dc4ff3b499 Update the short strings associatd with permissions to improve readability.
Change-Id: I1f6fe6b7a364aefe3f94f6ce8174a19bd4b38f24
2012-04-26 10:53:37 -07:00
Andreas Huber
f2855b3df5 The MediaExtractor can now unselect tracks and has more control over seeking.
Change-Id: I12c28bf31fe9fb4057352999fa38213ae289a417
related-to-bug: 6276111
2012-04-26 10:43:31 -07:00
Michael Kolb
13d7c03eb8 Fix NPE in isPrivateBrowsingEnabled()
Bug: 6393286

Change-Id: I1fd9c57b7bd68a9c495cbb0df45a406f83b22b5f
2012-04-26 10:43:08 -07:00
Eric Laurent
8037cad6c1 Merge "Fix AudioManager.forceVolumeControlStream()" into jb-dev 2012-04-26 10:22:13 -07:00
Makoto Onuki
f307268cd5 Merge "Clearify javadoc on Phone.NORMALIZED_NUMBER." into jb-dev 2012-04-26 10:15:42 -07:00
satok
9b593a67f1 Merge "Fix the boundary of the sentence level spell check" into jb-dev 2012-04-26 08:12:31 -07:00
Steve Block
4e584df4ce Fix JavaDoc style for several WebView classes
This fixes the JavaDoc style for the following classes ...
- CacheManager.java
- CookieManager.java
- GeolocationPermissions.java
- WebResourceResponse.java
- WebSettings.java
- WebStorage.java
- WebView.java

In particular, this applies the guidelines at
https://wiki.corp.google.com/twiki/bin/view/Main/APIDocumentation

This should help to ensure that future JavaDoc comments use correct style,
rather than using incorrect style for consistency.

Note that this change does not attempt to improve the content of the JavaDoc
comments. This will be done in later changes.

Bug: 5461416
Change-Id: I79e9b15a8cf3597195d58e154a7eb1bcc462944c
2012-04-26 13:59:52 +01:00
Steve Block
e9e260fbc0 Add tests for uncaught exceptions from methods called through the Java Bridge
This is a cherry-pick from master. See
https://android-git.corp.google.com/g/184260

If a method called on a Java object through the Java Bridge throws an uncaught
exception, we throw a JavaScript exception.

See WebKit change https://android-git.corp.google.com/g/184252

Bug: 6386557
Change-Id: Ie2a97a26372fb11782b35db09bc2046fb7eb1f86
2012-04-26 13:59:51 +01:00
Steve Block
8a1da40523 Update DroidNashk to version 1.10
This is the latest drop (ver 1.10) of DroidNaskhShiftAlt.ttf from Monotype.

Bug: 5987379
Change-Id: I68a4dc89e3bb98e9d326eb9de196c1017503635b
2012-04-26 13:59:51 +01:00
satok
24d146b966 Fix the boundary of the sentence level spell check
Bug: 6400290
Change-Id: Ifb3b2f4034a1717369c63206611e5b6c441fded5
2012-04-26 21:41:49 +09:00
Dave Burke
6644a826a1 Unhide new AAC-ELD audio record type.
Change-Id: Ibb9d3cd797c0b14c495776dc172ff7dadf6df7d6
2012-04-25 23:15:22 -07:00
Daniel Sandler
d7e9686656 Lights out improvements.
+ Finally implemented LO in the top status bar.
+ Tightened up LO animations on nav bar (swap icons for dots
  all at once rather than in sequence).

Bug: 6374406 (status bar lights out)
Bug: 5854958 (tighten up)
Change-Id: Id1393cef0b4281e062c1704d916843641da19dc4
2012-04-26 01:24:18 -04:00
Romain Guy
fc8e5eaa03 Merge "Ensure we start every frame in the proper GL state Bug #6345013, #6314960" into jb-dev 2012-04-25 20:05:09 -07:00
Romain Guy
c189ef5322 Ensure we start every frame in the proper GL state
Bug #6345013, #6314960

Change-Id: I6985f7f233eb6a5f9223e9f4be3f323154b5dbf0
2012-04-25 20:02:53 -07:00
Amith Yamasani
344c993e56 Merge "Don't unregister receiver twice." into jb-dev 2012-04-25 18:58:06 -07:00
Amith Yamasani
eca59d39c3 Add some missing getters for XML/Java API consistency.
Bug: 6103517
Change-Id: I46dca62d4d6465a4d0b0d2eafd9013ab4a90fb3c
2012-04-25 18:57:18 -07:00
Gilles Debunne
eca5b7385a Basic renaming refactoring in Layout
Change-Id: I79f5444a097f1e2b2a81ececf1f0a14b6d7d5179
2012-04-25 18:48:42 -07:00
Jeff Brown
57c2e3df7d Merge "Map KEY_SELECT to DPAD_CENTER." into jb-dev 2012-04-25 18:38:55 -07:00