OSDN Git Service

android-x86/frameworks-base.git
12 years agoSwitch to v8 (and appropriate llvm-rs-cc stuff).
Stephen Hines [Thu, 16 Aug 2012 01:34:38 +0000 (18:34 -0700)]
Switch to v8 (and appropriate llvm-rs-cc stuff).

Change-Id: Ib3f71442af4aa06a55d5a9f819b52082e23dddd6

12 years agoMerge "Testing java compat lib for RS." into jb-mr1-dev
Jason Sams [Thu, 16 Aug 2012 18:23:40 +0000 (11:23 -0700)]
Merge "Testing java compat lib for RS." into jb-mr1-dev

12 years agoMerge "Fix status bar disabling." into jb-mr1-dev
Daniel Sandler [Thu, 16 Aug 2012 17:55:18 +0000 (10:55 -0700)]
Merge "Fix status bar disabling." into jb-mr1-dev

12 years agoFix status bar disabling.
Daniel Sandler [Thu, 16 Aug 2012 15:37:41 +0000 (11:37 -0400)]
Fix status bar disabling.

Bug: 6998403
Change-Id: I8a47e694f2f3914ef5cf0d180b0309783148c627

12 years agoMerge "Fix alpha value for device orientation" into jb-mr1-dev
Steve Block [Thu, 16 Aug 2012 11:38:01 +0000 (04:38 -0700)]
Merge "Fix alpha value for device orientation" into jb-mr1-dev

12 years agoFix alpha value for device orientation
Steve Block [Wed, 15 Aug 2012 14:52:12 +0000 (15:52 +0100)]
Fix alpha value for device orientation

This seems to have been incorrect since this code was first written for HC. I
can only think that the error was made due to confusion between portrait and
landscape mode as development switched from phones to tablets.

Tested on stingray and prime.

A similar fix will be required for Chrome.

Change-Id: I5da13c489fdb9de340b9e6ea8868c9f1adc15bb2

12 years agoMerge changes I39804ee6,I6a5a7ea2 into jb-mr1-dev
Jeff Brown [Thu, 16 Aug 2012 09:06:39 +0000 (02:06 -0700)]
Merge changes I39804ee6,I6a5a7ea2 into jb-mr1-dev

* changes:
  Use spline interpolation for auto-brightness.
  Add FloatMath.hypot.

12 years agoMerge "Improve auto-brightness debounce." into jb-mr1-dev
Jeff Brown [Thu, 16 Aug 2012 09:06:18 +0000 (02:06 -0700)]
Merge "Improve auto-brightness debounce." into jb-mr1-dev

12 years agoUse spline interpolation for auto-brightness.
Jeff Brown [Thu, 16 Aug 2012 08:31:11 +0000 (01:31 -0700)]
Use spline interpolation for auto-brightness.

Strictly speaking, this is a change in behavior for all products.
Instead of using discrete zones, they will all now use spline
interpolation.  We could make this behavior configurable
but there seems to be little point to it.  The range of brightness
values used will be more or less the same as before, it's just
that what used to be the brightness value for all levels within
a particular zone now becomes the brightness value for the
highest level in that zone and lower values are used for lower
levels within the zone.

Change-Id: I39804ee630ba55f018e1e53c0576b28e7bd27931

12 years agoAdd FloatMath.hypot.
Jeff Brown [Thu, 16 Aug 2012 08:30:22 +0000 (01:30 -0700)]
Add FloatMath.hypot.

Change-Id: I6a5a7ea2254300614dbbf540f40e39dbec2d2900

12 years agoImprove auto-brightness debounce.
Jeff Brown [Thu, 16 Aug 2012 04:10:32 +0000 (21:10 -0700)]
Improve auto-brightness debounce.

Change-Id: I045e2a14cb31ff987a22872733c442fc92ebadbf

12 years agoMerge "Multiuser support for notifications, take 1." into jb-mr1-dev
Daniel Sandler [Thu, 16 Aug 2012 04:03:25 +0000 (21:03 -0700)]
Merge "Multiuser support for notifications, take 1." into jb-mr1-dev

12 years agoMerge "Confine the quick settings trigger to the right third of the status bar."...
Daniel Sandler [Thu, 16 Aug 2012 03:01:30 +0000 (20:01 -0700)]
Merge "Confine the quick settings trigger to the right third of the status bar." into jb-mr1-dev

12 years agoMultiuser support for notifications, take 1.
Daniel Sandler [Tue, 14 Aug 2012 19:08:24 +0000 (15:08 -0400)]
Multiuser support for notifications, take 1.

Notifications for background users are hidden from the
panel and status bar.

Still need to add a concept of "any user" notifications (for
things coming from the system) and notification visibility
controls (for access to icons + possibly masked text of
a background user's notifications).

Change-Id: Iba121f35a6c25c2e1c44db029d776a5a59a6a008

12 years agoConfine the quick settings trigger to the right third of the status bar.
Daniel Sandler [Wed, 15 Aug 2012 20:11:55 +0000 (16:11 -0400)]
Confine the quick settings trigger to the right third of the status bar.

Pulling down anywhere on the status bar when a panel is
already showing will switch to the other panel.

Also adjust gesture recorder output to track the settings
panel and annotate it separately.

Change-Id: I0ca3b395b5f2c6c8767237126bce26d0e8c9b8c0

12 years agoRevert "Merge "Reload page when A11y is on and the JavaScript state changes." into...
Michael Jurka [Thu, 16 Aug 2012 02:39:55 +0000 (19:39 -0700)]
Revert "Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev"

This reverts commit 6d00c724330702c6bfd2bba2b7b2501fa3ab62ff, reversing
changes made to 41bfb75f7c76588239ed5d2d4e38aeb1762ff348.

12 years agoMerge "Fix issue #6955586: No navigation bar in landscape on tablets" into jb-mr1-dev
Dianne Hackborn [Thu, 16 Aug 2012 01:53:33 +0000 (18:53 -0700)]
Merge "Fix issue #6955586: No navigation bar in landscape on tablets" into jb-mr1-dev

12 years agoFix issue #6955586: No navigation bar in landscape on tablets
Dianne Hackborn [Thu, 16 Aug 2012 01:49:23 +0000 (18:49 -0700)]
Fix issue #6955586: No navigation bar in landscape on tablets

The window manager was telling the activity manager to evaluate
the new configuration when first initializing the display, before
actually setting mDisplay, so it failed creating that first config.

Change-Id: I6e94fcf55b0587ccf15a5fd7ecbe2c9a0c201b96

12 years agoMerge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev
Svetoslav Ganov [Thu, 16 Aug 2012 01:30:03 +0000 (18:30 -0700)]
Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev

12 years agoMerge "Only inject accessibility when speaking service enabled." into jb-mr1-dev
Svetoslav Ganov [Thu, 16 Aug 2012 01:29:26 +0000 (18:29 -0700)]
Merge "Only inject accessibility when speaking service enabled." into jb-mr1-dev

12 years agoTesting java compat lib for RS.
Jason Sams [Thu, 16 Aug 2012 00:26:39 +0000 (17:26 -0700)]
Testing java compat lib for RS.

Change-Id: I77a19dea9f6b9513b79ae6b686dfe1803bb4cd98

12 years agoMerge "CTS test for WiFi watchdog - framework support." into jb-mr1-dev
Irfan Sheriff [Wed, 15 Aug 2012 23:28:58 +0000 (16:28 -0700)]
Merge "CTS test for WiFi watchdog - framework support." into jb-mr1-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Wed, 15 Aug 2012 22:40:56 +0000 (15:40 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

12 years agoam 91d08fe5: am 2d9063bc: docs: Add a few links and small edits to a couple layout...
Scott Main [Wed, 15 Aug 2012 22:39:07 +0000 (15:39 -0700)]
am 91d08fe5: am 2d9063bc: docs: Add a few links and small edits to a couple layout guides

* commit '91d08fe51ab43980aed3ba6c89c0611e5319c51d':
  docs: Add a few links and small edits to a couple layout guides

12 years agoam 2d9063bc: docs: Add a few links and small edits to a couple layout guides
Scott Main [Wed, 15 Aug 2012 22:37:39 +0000 (15:37 -0700)]
am 2d9063bc: docs: Add a few links and small edits to a couple layout guides

* commit '2d9063bc705aae7ef4cc90206ece03d4caeefba7':
  docs: Add a few links and small edits to a couple layout guides

12 years agoCTS test for WiFi watchdog - framework support.
Yuhao Zheng [Tue, 14 Aug 2012 21:21:25 +0000 (14:21 -0700)]
CTS test for WiFi watchdog - framework support.

The new WiFi watchdog requires kernel/driver to export some packet loss
counters. This CTS tests whether those counters are correctly exported.

Change-Id: I41999676f8488e86f35f1f8214ce668f1a2b5638

12 years agodocs: Add a few links and small edits to a couple layout guides
Scott Main [Thu, 9 Aug 2012 01:49:28 +0000 (18:49 -0700)]
docs: Add a few links and small edits to a couple layout guides

Change-Id: I4c0c043782524a29f7fb8fcb54cc26d7399c39fc

12 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 15 Aug 2012 22:10:39 +0000 (15:10 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia23016ed0e45aa2e904dbcb0e2cd54ae5cc92477
Auto-generated-cl: translation import

12 years agoam f5d4970a: am 9047e466: Merge "docs: fix markup bug; remove extra </div>" into...
Scott Main [Wed, 15 Aug 2012 21:52:03 +0000 (14:52 -0700)]
am f5d4970a: am 9047e466: Merge "docs: fix markup bug; remove extra </div>" into jb-dev

* commit 'f5d4970a1f71f1368499b79fb027f5e31fd1a389':
  docs: fix markup bug; remove extra </div>

12 years agoam 9047e466: Merge "docs: fix markup bug; remove extra </div>" into jb-dev
Scott Main [Wed, 15 Aug 2012 21:49:33 +0000 (14:49 -0700)]
am 9047e466: Merge "docs: fix markup bug; remove extra </div>" into jb-dev

* commit '9047e46657ad21e73bae5465ef00e29a84ad53a4':
  docs: fix markup bug; remove extra </div>

12 years agoMerge "docs: fix markup bug; remove extra </div>" into jb-dev
Scott Main [Wed, 15 Aug 2012 21:47:30 +0000 (14:47 -0700)]
Merge "docs: fix markup bug; remove extra </div>" into jb-dev

12 years agodocs: fix markup bug; remove extra </div>
Scott Main [Wed, 15 Aug 2012 21:42:48 +0000 (14:42 -0700)]
docs: fix markup bug; remove extra </div>

Change-Id: I9d1fd280b5f077a423f12ce8e226d09e5e9f7b2b

12 years agoMerge "Restore scissor state correctly" into jb-mr1-dev
Chet Haase [Wed, 15 Aug 2012 21:40:36 +0000 (14:40 -0700)]
Merge "Restore scissor state correctly" into jb-mr1-dev

12 years agoMerge "Add more debug info when a container view ID can't be found." into jb-mr1-dev
Dianne Hackborn [Wed, 15 Aug 2012 21:36:53 +0000 (14:36 -0700)]
Merge "Add more debug info when a container view ID can't be found." into jb-mr1-dev

12 years agoAdd more debug info when a container view ID can't be found.
Dianne Hackborn [Wed, 15 Aug 2012 01:35:02 +0000 (18:35 -0700)]
Add more debug info when a container view ID can't be found.

Change-Id: Ibb2afc49747bd2d0ac24605cb3ec390334f8abf8

12 years agoMerge "Glyph cache optimization" into jb-mr1-dev
Chet Haase [Wed, 15 Aug 2012 21:24:50 +0000 (14:24 -0700)]
Merge "Glyph cache optimization" into jb-mr1-dev

12 years agoGlyph cache optimization
Chet Haase [Wed, 15 Aug 2012 20:15:16 +0000 (13:15 -0700)]
Glyph cache optimization

Precaching at startup was not working. One-liner fix to init the caches
so that precaching would kick in earlier, saving time at startup by avoiding
the multiple-upload issue of caching at render time.

Issue #6893691 long app launch time on manta for some apps comparing to nakasi/stingray

Change-Id: Ie5c7f0536ec8ea371c7892e5e09c1db14795531c

12 years agoRestore scissor state correctly
Chet Haase [Wed, 15 Aug 2012 20:46:54 +0000 (13:46 -0700)]
Restore scissor state correctly

Chrome is disabling the scissor, which doesn't play well with our
code that assumes that we know the state of the scissor. This fix
sets up our internal state based on the actual state of the scissor
in the resume() function (which is called after any calls out to the
Chrome or Browser GL functor). This fixes intermittent rendering
artifacts, including a gray address bar (where the gray background
gets painted without the clip that is being applied to the text foreground).

Issue #6886339 Address bar in Chrome turns gray after swiping the tabs / favicons drift outside of tab

Change-Id: I3d8a23f4438b41a367336507845baaea90cccc7e

12 years agoFix situations where the panel wouldn't descend.
Daniel Sandler [Wed, 15 Aug 2012 19:48:16 +0000 (15:48 -0400)]
Fix situations where the panel wouldn't descend.

Change-Id: I41c1d6a973b2693487062f3a5fbf922ff2025897

12 years agoMerge "Turn off chatty logging for everyone." into jb-mr1-dev
Daniel Sandler [Wed, 15 Aug 2012 19:03:57 +0000 (12:03 -0700)]
Merge "Turn off chatty logging for everyone." into jb-mr1-dev

12 years agoMerge "Number and telephone inputs -- use "Go" instead of "Next"" into jb-mr1-dev
George Mount [Wed, 15 Aug 2012 17:44:06 +0000 (10:44 -0700)]
Merge "Number and telephone inputs -- use "Go" instead of "Next"" into jb-mr1-dev

12 years agoMerge "Power manager rewrite." into jb-mr1-dev
Jeff Brown [Wed, 15 Aug 2012 17:26:03 +0000 (10:26 -0700)]
Merge "Power manager rewrite." into jb-mr1-dev

12 years agoam 13f5ed25: am 18c2045b: Merge "revise info on Search button availability... behavio...
Scott Main [Wed, 15 Aug 2012 17:21:53 +0000 (10:21 -0700)]
am 13f5ed25: am 18c2045b: Merge "revise info on Search button availability... behavior not guaranteed either bug: 6966922" into jb-dev

* commit '13f5ed254a96273f6e7c6d5dc017465acd607283':
  revise info on Search button availability... behavior not guaranteed either bug: 6966922

12 years agoNumber and telephone inputs -- use "Go" instead of "Next"
George Mount [Wed, 15 Aug 2012 17:15:01 +0000 (10:15 -0700)]
Number and telephone inputs -- use "Go" instead of "Next"

 Bug 6988736

Change-Id: I36e85832bdd53ea0f7eb422104966b403b8fbcdd

12 years agoMerge "Apply ValueAnimator scale factor immediately in WM." into jb-mr1-dev
Jeff Brown [Wed, 15 Aug 2012 17:04:38 +0000 (10:04 -0700)]
Merge "Apply ValueAnimator scale factor immediately in WM." into jb-mr1-dev

12 years agoam 18c2045b: Merge "revise info on Search button availability... behavior not guarant...
Scott Main [Wed, 15 Aug 2012 16:49:47 +0000 (09:49 -0700)]
am 18c2045b: Merge "revise info on Search button availability... behavior not guaranteed either bug: 6966922" into jb-dev

* commit '18c2045bed1ee4e5615947bdc4539a6b4d4a1d23':
  revise info on Search button availability... behavior not guaranteed either bug: 6966922

12 years agoMerge "revise info on Search button availability... behavior not guaranteed either...
Scott Main [Wed, 15 Aug 2012 16:47:26 +0000 (09:47 -0700)]
Merge "revise info on Search button availability... behavior not guaranteed either bug: 6966922" into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Wed, 15 Aug 2012 16:23:08 +0000 (09:23 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

12 years agoTurn off chatty logging for everyone.
Daniel Sandler [Wed, 15 Aug 2012 14:49:28 +0000 (10:49 -0400)]
Turn off chatty logging for everyone.

Change-Id: I6c6f48012df8a551ae4f2b2a9cd2713184234763

12 years agoMerge "Quick settings come to all Android devices." into jb-mr1-dev
Daniel Sandler [Wed, 15 Aug 2012 13:53:20 +0000 (06:53 -0700)]
Merge "Quick settings come to all Android devices." into jb-mr1-dev

12 years agoQuick settings come to all Android devices.
Daniel Sandler [Wed, 15 Aug 2012 04:09:26 +0000 (00:09 -0400)]
Quick settings come to all Android devices.

I mean, real soon now.

Change-Id: I9a15b49f271e7ae06eb48a402f58270d8adccbf4

12 years agoMerge "Clean up JavaDoc for CookieManager" into jb-mr1-dev
Steve Block [Wed, 15 Aug 2012 11:15:07 +0000 (04:15 -0700)]
Merge "Clean up JavaDoc for CookieManager" into jb-mr1-dev

12 years agoPower manager rewrite.
Jeff Brown [Fri, 27 Jul 2012 22:51:34 +0000 (15:51 -0700)]
Power manager rewrite.

The major goal of this rewrite is to make it easier to implement
power management policies correctly.  According, the new
implementation primarily uses state-based rather than event-based
triggers for applying changes to the current power state.

For example, when an application requests that the proximity
sensor be used to manage the screen state (by way of a wake lock),
the power manager makes note of the fact that the set of
wake locks changed.  Then it executes a common update function
that recalculates the entire state, first looking at wake locks,
then considering user activity, and eventually determining whether
the screen should be turned on or off.  At this point it may
make a request to a component called the DisplayPowerController
to asynchronously update the display's powe state.  Likewise,
DisplayPowerController makes note of the updated power request
and schedules its own update function to figure out what needs
to be changed.

The big benefit of this approach is that it's easy to mutate
multiple properties of the power state simultaneously then
apply their joint effects together all at once.  Transitions
between states are detected and resolved by the update in
a consistent manner.

The new power manager service has is implemented as a set of
loosely coupled components.  For the most part, information
only flows one way through these components (by issuing a
request to that component) although some components support
sending a message back to indicate when the work has been
completed.  For example, the DisplayPowerController posts
a callback runnable asynchronously to tell the PowerManagerService
when the display is ready.  An important feature of this
approach is that each component neatly encapsulates its
state and maintains its own invariants.  Moreover, we do
not need to worry about deadlocks or awkward mutual exclusion
semantics because most of the requests are asynchronous.

The benefits of this design are especially apparent in
the implementation of the screen on / off and brightness
control animations which are able to take advantage of
framework features like properties, ObjectAnimator
and Choreographer.

The screen on / off animation is now the responsibility
of the power manager (instead of surface flinger).  This change
makes it much easier to ensure that the animation is properly
coordinated with other power state changes and eliminates
the cause of race conditions in the older implementation.

The because of the userActivity() function has been changed
so that it never wakes the device from sleep.  This change
removes ambiguity around forcing or disabling user activity
for various purposes.  To wake the device, use wakeUp().
To put it to sleep, use goToSleep().  Simple.

The power manager service interface and API has been significantly
simplified and consolidated.  Also fixed some inconsistencies
related to how the minimum and maximum screen brightness setting
was presented in brightness control widgets and enforced behind
the scenes.

At present the following features are implemented:

- Wake locks.
- User activity.
- Wake up / go to sleep.
- Power state broadcasts.
- Battery stats and event log notifications.
- Dreams.
- Proximity screen off.
- Animated screen on / off transitions.
- Auto-dimming.
- Auto-brightness control for the screen backlight with
  different timeouts for ramping up versus ramping down.
- Auto-on when plugged or unplugged.
- Stay on when plugged.
- Device administration maximum user activity timeout.
- Application controlled brightness via window manager.

The following features are not yet implemented:

- Reduced user activity timeout for the key guard.
- Reduced user activity timeout for the phone application.
- Coordinating screen on barriers with the window manager.
- Preventing auto-rotation during power state changes.
- Auto-brightness adjustment setting (feature was disabled
  in previous version of the power manager service pending
  an improved UI design so leaving it out for now).
- Interpolated brightness control (a proposed new scheme
  for more compactly specifying auto-brightness levels
  in config.xml).
- Button / keyboard backlight control.
- Change window manager to associated WorkSource with
  KEEP_SCREEN_ON_FLAG wake lock instead of talking
  directly to the battery stats service.
- Optionally support animating screen brightness when
  turning on/off instead of playing electron beam animation
  (config_animateScreenLights).

Change-Id: I1d7a52e98f0449f76d70bf421f6a7f245957d1d7

12 years agoApply ValueAnimator scale factor immediately in WM.
Jeff Brown [Wed, 15 Aug 2012 09:05:18 +0000 (02:05 -0700)]
Apply ValueAnimator scale factor immediately in WM.

Normally the ValueAnimator scale factor is applied the first
time a ViewRootImpl window session is created but that may
be too late for animators created by system services that
start early in the boot process.  So set the scale factor
immediately whenever the setting changes.

Also make ValueAnimator.getDurationScale() accessible (but @hide)
for custom animators that want to apply the same scale to
their animations.

Change-Id: I0f5a750ab5b014f63848445435d8dca86f2a7ada

12 years agoMerge "Make all messages in KeyguardViewMediator asynchronous." into jb-mr1-dev
Jeff Brown [Wed, 15 Aug 2012 04:28:52 +0000 (21:28 -0700)]
Merge "Make all messages in KeyguardViewMediator asynchronous." into jb-mr1-dev

12 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 15 Aug 2012 03:46:08 +0000 (20:46 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic6337da8777142f784a849c807e416a09c4c7ae2
Auto-generated-cl: translation import

12 years agoMake all messages in KeyguardViewMediator asynchronous.
Jeff Brown [Wed, 15 Aug 2012 03:41:30 +0000 (20:41 -0700)]
Make all messages in KeyguardViewMediator asynchronous.

We don't want these messages to get blocked by UI traversals.

Added a convenience for creating Handlers that always send
asynchronous messages.

Change-Id: Id568e87fcb8b169e8c52c5fe1dc76a4a5771570b

12 years agoam 977abbb8: am 48de12c5: Merge "Keep keyguard from starting after finished call...
Dianne Hackborn [Wed, 15 Aug 2012 02:34:14 +0000 (19:34 -0700)]
am 977abbb8: am 48de12c5: Merge "Keep keyguard from starting after finished call when screen is on"

* commit '977abbb887cfaf7cd8a0d31235281fbdd639ac19':
  Keep keyguard from starting after finished call when screen is on

12 years agoam 48de12c5: Merge "Keep keyguard from starting after finished call when screen is on"
Dianne Hackborn [Wed, 15 Aug 2012 02:31:55 +0000 (19:31 -0700)]
am 48de12c5: Merge "Keep keyguard from starting after finished call when screen is on"

* commit '48de12c5d1dc8d856724e8a1ec8288d9bfae40cd':
  Keep keyguard from starting after finished call when screen is on

12 years agoMerge "Keep keyguard from starting after finished call when screen is on"
Dianne Hackborn [Wed, 15 Aug 2012 01:50:59 +0000 (18:50 -0700)]
Merge "Keep keyguard from starting after finished call when screen is on"

12 years agoMerge "Add PendingIntent and IntentSender APIs to get user handle." into jb-mr1-dev
Dianne Hackborn [Wed, 15 Aug 2012 01:24:58 +0000 (18:24 -0700)]
Merge "Add PendingIntent and IntentSender APIs to get user handle." into jb-mr1-dev

12 years agoAdd PendingIntent and IntentSender APIs to get user handle.
Dianne Hackborn [Wed, 15 Aug 2012 01:05:05 +0000 (18:05 -0700)]
Add PendingIntent and IntentSender APIs to get user handle.

Also uid.

Change-Id: I0a328d0cc2bbc17dc0a49b7b8b8d515af80f1e15

12 years agoMerge "Add API to create new contexts with custom configurations." into jb-mr1-dev
Dianne Hackborn [Wed, 15 Aug 2012 00:33:01 +0000 (17:33 -0700)]
Merge "Add API to create new contexts with custom configurations." into jb-mr1-dev

12 years agoAdd API to create new contexts with custom configurations.
Dianne Hackborn [Tue, 14 Aug 2012 23:45:30 +0000 (16:45 -0700)]
Add API to create new contexts with custom configurations.

This allows you to, say, make a Context whose configuration
is set to a different density than the actual density of the device.

The main API is Context.createConfigurationContext().  There is
also a new API on ContextThemeWrapper that allows you to apply
an override context before its resources are retrieved, which
addresses some feature requests from developers to be able to
customize the context their app is running in.

Change-Id: I88364986660088521e24b567e2fda22fb7042819

12 years agoMerge "Launch ASSIST intent on the current user" into jb-mr1-dev
Amith Yamasani [Tue, 14 Aug 2012 23:34:47 +0000 (16:34 -0700)]
Merge "Launch ASSIST intent on the current user" into jb-mr1-dev

12 years agoam d54bc800: am 71c4fc81: Merge "docs: change download URLs for design assets. These...
Scott Main [Tue, 14 Aug 2012 21:27:40 +0000 (14:27 -0700)]
am d54bc800: am 71c4fc81: Merge "docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to commondatastorage.googleapis.com/androiddevelopers/ Using this redirect al

* commit 'd54bc8009f745a5f730fa013bb0084c502b18aa9':
  docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to http://commondatastorage.googleapis.com/androiddevelopers/ Using this redirect allows us to change the storage location of the download assets in the future.

12 years agoam 71c4fc81: Merge "docs: change download URLs for design assets. These new URLs...
Scott Main [Tue, 14 Aug 2012 21:26:14 +0000 (14:26 -0700)]
am 71c4fc81: Merge "docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to commondatastorage.googleapis.com/androiddevelopers/ Using this redirect allows us to ch

* commit '71c4fc818dae494f4acdb24bb6d1b899ddc5e07d':
  docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to http://commondatastorage.googleapis.com/androiddevelopers/ Using this redirect allows us to change the storage location of the download assets in the future.

12 years agoMerge "docs: change download URLs for design assets. These new URLs are dummies that...
Scott Main [Tue, 14 Aug 2012 21:23:40 +0000 (14:23 -0700)]
Merge "docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to commondatastorage.googleapis.com/androiddevelopers/ Using this redirect allows us to change the storage location of the download assets in the future." into jb-dev

12 years agoMerge "Intrinsics test" into jb-mr1-dev
Jason Sams [Tue, 14 Aug 2012 21:19:23 +0000 (14:19 -0700)]
Merge "Intrinsics test" into jb-mr1-dev

12 years agoMerge "Fix bug #6908329 TextUtils.ellipsize does not work properly when Locale is...
Fabrice Di Meglio [Tue, 14 Aug 2012 21:03:50 +0000 (14:03 -0700)]
Merge "Fix bug #6908329 TextUtils.ellipsize does not work properly when Locale is changed" into jb-mr1-dev

12 years agoFix bug #6908329 TextUtils.ellipsize does not work properly when Locale is changed
Fabrice Di Meglio [Tue, 31 Jul 2012 20:39:06 +0000 (13:39 -0700)]
Fix bug #6908329 TextUtils.ellipsize does not work properly when Locale is changed

- load the ellipis resources on the fly to get the correct ones depending on the Locale

Change-Id: I42d591e3f5ed715c983f736f94a80143a3897f47

12 years agoMerge "Use a color resource to specify the dim behind panels." into jb-mr1-dev
Daniel Sandler [Tue, 14 Aug 2012 20:22:53 +0000 (13:22 -0700)]
Merge "Use a color resource to specify the dim behind panels." into jb-mr1-dev

12 years agoMerge "Fix bug with swipe-to-dismiss." into jb-mr1-dev
Daniel Sandler [Tue, 14 Aug 2012 20:20:55 +0000 (13:20 -0700)]
Merge "Fix bug with swipe-to-dismiss." into jb-mr1-dev

12 years agorevise info on Search button availability... behavior not guaranteed either
Scott Main [Tue, 14 Aug 2012 01:22:21 +0000 (18:22 -0700)]
revise info on Search button availability... behavior not guaranteed either
bug: 6966922

Change-Id: I4122e6fb99b95da3f53b56333a5f27d2adde6d44

12 years agoFix bug with swipe-to-dismiss.
Daniel Sandler [Tue, 14 Aug 2012 20:08:27 +0000 (16:08 -0400)]
Fix bug with swipe-to-dismiss.

(Clearing all notifications prevents notifications from
being subsequently swiped away.)

Change-Id: Ia15704c390d95f16675e2eea6040379099f44430

12 years agoam bd63fb87: am 6958c161: Merge "docs: misc bug fixes from external issues" into...
Scott Main [Tue, 14 Aug 2012 19:42:12 +0000 (12:42 -0700)]
am bd63fb87: am 6958c161: Merge "docs: misc bug fixes from external issues" into jb-dev

* commit 'bd63fb875c49d69d5969df35ae159bd17cadb730':
  docs: misc bug fixes from external issues

12 years agoam 6958c161: Merge "docs: misc bug fixes from external issues" into jb-dev
Scott Main [Tue, 14 Aug 2012 19:40:41 +0000 (12:40 -0700)]
am 6958c161: Merge "docs: misc bug fixes from external issues" into jb-dev

* commit '6958c161a9f12aaa1db33bdc526040c3691638dc':
  docs: misc bug fixes from external issues

12 years agoLaunch ASSIST intent on the current user
Amith Yamasani [Tue, 14 Aug 2012 16:32:02 +0000 (09:32 -0700)]
Launch ASSIST intent on the current user

Lockscreen and statusbar now launch the intent on the current user.
Make sure that the intent resolution is made to the package manager
for the specific user, as the app could have been disabled for that
user or may have an alternative app installed.

Change-Id: I93b0f972d6c7e8880b146da83dc3d08a68fe7e51

12 years agoMerge "docs: misc bug fixes from external issues" into jb-dev
Scott Main [Tue, 14 Aug 2012 19:38:21 +0000 (12:38 -0700)]
Merge "docs: misc bug fixes from external issues" into jb-dev

12 years agoIntrinsics test
Jason Sams [Fri, 10 Aug 2012 19:09:43 +0000 (12:09 -0700)]
Intrinsics test

Change-Id: I1847ad0c9190100eb84f7e052dd9f3bff81dc447

12 years agodocs: change download URLs for design assets.
Scott Main [Tue, 14 Aug 2012 18:44:09 +0000 (11:44 -0700)]
docs: change download URLs for design assets.
These new URLs are dummies that are handled by a redirect rule for
all /downloads/... paths, that points to http://commondatastorage.googleapis.com/androiddevelopers/
Using this redirect allows us to change the storage location of the download assets in the future.

Change-Id: I0dc6ecc1a6898f1256ba4c9ff90b619366e47629

12 years agoRevert "Add timestamp in scan results"
Iliyan Malchev [Tue, 14 Aug 2012 18:11:49 +0000 (11:11 -0700)]
Revert "Add timestamp in scan results"

Temporarily reverting this until all devices switch to using wpa_supplicant_8.

This reverts commit b31f78f93768fef269617ec788a5c6655a375f80.

Change-Id: I33fcb8415288d95289dcd46fa71e950e0f2b87ec
Signed-off-by: Iliyan Malchev <malchev@google.com>
12 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Tue, 14 Aug 2012 18:05:27 +0000 (11:05 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

12 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 14 Aug 2012 18:05:04 +0000 (11:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic8830e8e351d93506427aabed4f527dfe2f5888f
Auto-generated-cl: translation import

12 years agoMerge "Adding limit and offset query parameters to CallLog." into jb-mr1-dev
Chiao Cheng [Tue, 14 Aug 2012 17:53:19 +0000 (10:53 -0700)]
Merge "Adding limit and offset query parameters to CallLog." into jb-mr1-dev

12 years agoam d660b610: am 116748d0: Merge "show 3G icon for CDMA/1xRTT" into jb-dev
Wink Saville [Tue, 14 Aug 2012 17:44:50 +0000 (10:44 -0700)]
am d660b610: am 116748d0: Merge "show 3G icon for CDMA/1xRTT" into jb-dev

* commit 'd660b610c8b98d23263d3863ae8438a569597a16':
  show 3G icon for CDMA/1xRTT

12 years agoam 116748d0: Merge "show 3G icon for CDMA/1xRTT" into jb-dev
Wink Saville [Tue, 14 Aug 2012 17:42:50 +0000 (10:42 -0700)]
am 116748d0: Merge "show 3G icon for CDMA/1xRTT" into jb-dev

* commit '116748d0d16f8e747fdfdaf2326d9a58bb2317d5':
  show 3G icon for CDMA/1xRTT

12 years agoMerge "show 3G icon for CDMA/1xRTT" into jb-dev
Wink Saville [Tue, 14 Aug 2012 17:40:34 +0000 (10:40 -0700)]
Merge "show 3G icon for CDMA/1xRTT" into jb-dev

12 years agoMerge "Optimize interactions with glyph cache" into jb-mr1-dev
Chet Haase [Tue, 14 Aug 2012 17:38:45 +0000 (10:38 -0700)]
Merge "Optimize interactions with glyph cache" into jb-mr1-dev

12 years agoOptimize interactions with glyph cache
Chet Haase [Thu, 9 Aug 2012 20:39:02 +0000 (13:39 -0700)]
Optimize interactions with glyph cache

There are two fixes here:
- precaching: instead of caching-then-drawing whenever there is a new
glyph, we cache at DisplayList record time. Then when we finally draw that
DisplayList, we just upload the affected texture(s) once, instead of once
per change. This is a huge savings in upload time, especially when there are
larger glyphs being used by the app.
- packing: Previously, glyphs would line up horizontally on each cache line, leaving
potentially tons of space vertically, especially when smaller glyphs got put into cache
lines intended for large glyphs (which can happen when an app uses lots of unique
glyphs, a common case with, for example, chinese/japanese/korean languages). The new
approach packs glyphs vertically as well as horizontally to use the space more efficiently
and provide space for more glyphs in these situations.

Change-Id: I84338aa25db208c7bf13f3f92b4d05ed40c33527

12 years agoshow 3G icon for CDMA/1xRTT
Madan Ankapura [Fri, 3 Aug 2012 02:10:22 +0000 (19:10 -0700)]
show 3G icon for CDMA/1xRTT

when config_showMin3G is enabled to true in a CDMA device

Change-Id: I79a4fa200dc406fc7f9f4527165046541961ef69
Signed-off-by: Madan Ankapura <mankapur@sta.samsung.com>
12 years agoFixes to TextToSpeechService#synthesizeToFile
Narayan Kamath [Fri, 20 Jul 2012 17:01:43 +0000 (18:01 +0100)]
Fixes to TextToSpeechService#synthesizeToFile

- Fixes a strict mode violation, defers file validity checks
  to when the engine starts synthesizing audio.
- Fixes some log spam when done() is called twice.

bug:6215680
bug:5415258
Change-Id: I4001be848b5208422d4091b7398e94ed311c649f

12 years agoFix bug in BlockingAudioTrack.
Narayan Kamath [Sat, 9 Jun 2012 16:31:39 +0000 (17:31 +0100)]
Fix bug in BlockingAudioTrack.

Will be seen when createStreamingAudioTrack() returns null,
which will happen if the audioflinger / audiomanager are unhealthy.

Also removes some confusing synchronization from this class.

bug:6636401
Change-Id: Iaf68a305665b7bc973898145e9cd1563e2569a2b

12 years agoUse a color resource to specify the dim behind panels.
Daniel Sandler [Tue, 14 Aug 2012 15:14:45 +0000 (11:14 -0400)]
Use a color resource to specify the dim behind panels.

Change-Id: I551d9969dc1f4032f26fd94cf9719f07873abb5e

12 years agoMerge "New status bar capable of multiple sliding panels." into jb-mr1-dev
Daniel Sandler [Tue, 14 Aug 2012 14:56:44 +0000 (07:56 -0700)]
Merge "New status bar capable of multiple sliding panels." into jb-mr1-dev

12 years agoClean up JavaDoc for CookieManager
Steve Block [Tue, 14 Aug 2012 13:48:05 +0000 (14:48 +0100)]
Clean up JavaDoc for CookieManager

Bug: 5461416
Change-Id: I0ae09943007cf3866daad97a76f5008e61c471ed

12 years agoClarify JavaDoc for WebView.loadData()
Steve Block [Mon, 23 Jul 2012 09:45:59 +0000 (10:45 +0100)]
Clarify JavaDoc for WebView.loadData()

Bug: 5461416
Change-Id: I3f0955677ea64bb4073c97aabea34096298cd710

12 years agoKeep keyguard from starting after finished call when screen is on
Daniel Hansson [Thu, 29 Mar 2012 09:02:05 +0000 (11:02 +0200)]
Keep keyguard from starting after finished call when screen is on

Previously keyguard would start after a call ended, even though
the screen was on, if the screen had not been turned off since
phone startup.

Change-Id: I03c18a0bb2a58760614645871f4703afb9a0677d

12 years agoMerge "Implement enableNoAutoconnect()" into jb-mr1-dev
Matthew Xie [Tue, 14 Aug 2012 07:37:00 +0000 (00:37 -0700)]
Merge "Implement enableNoAutoconnect()" into jb-mr1-dev

12 years agoImplement enableNoAutoconnect()
Ganesh Ganapathi Batta [Wed, 8 Aug 2012 22:35:49 +0000 (15:35 -0700)]
Implement enableNoAutoconnect()

Adding enableNoAutoconnect() API support in Bluetooth service
 to let BT enable in quiet mode

Change-Id: I546f3ceb298082a9c9a698f406379470e3cc0d4f