OSDN Git Service

android-x86/frameworks-base.git
13 years agoReconcile with ics-factoryrom-release
The Android Open Source Project [Mon, 19 Sep 2011 15:00:42 +0000 (08:00 -0700)]
Reconcile with ics-factoryrom-release

Change-Id: Ic1b2b256832ba7fc797180de3c0b29380f6355d9

13 years agomerge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Automerger [Mon, 19 Sep 2011 13:28:09 +0000 (06:28 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom

13 years agoMerge "Sample atomic network stats buckets, full poll."
Jeff Sharkey [Mon, 19 Sep 2011 00:03:15 +0000 (17:03 -0700)]
Merge "Sample atomic network stats buckets, full poll."

13 years agoam 31f971b5: Merge "Properly adding scrubber pressed/selected state" into ics-factoryrom
Justin Ho [Sun, 18 Sep 2011 23:58:20 +0000 (16:58 -0700)]
am 31f971b5: Merge "Properly adding scrubber pressed/selected state" into ics-factoryrom

* commit '31f971b57f526e2688241080b30c7e8df33bf62d':
  Properly adding scrubber pressed/selected state

13 years agoMerge "Properly adding scrubber pressed/selected state" into ics-factoryrom
Justin Ho [Sun, 18 Sep 2011 23:56:12 +0000 (16:56 -0700)]
Merge "Properly adding scrubber pressed/selected state" into ics-factoryrom

13 years agoMerge "Fix bug 5279720 - Legacy theme EditText coloring"
Adam Powell [Sun, 18 Sep 2011 23:52:12 +0000 (16:52 -0700)]
Merge "Fix bug 5279720 - Legacy theme EditText coloring"

13 years agoFix bug 5279720 - Legacy theme EditText coloring
Adam Powell [Sun, 18 Sep 2011 23:28:16 +0000 (16:28 -0700)]
Fix bug 5279720 - Legacy theme EditText coloring

Change-Id: Iced9d4d34b48bcf5d060a82fefd6d70a8c921e3f

13 years agoSample atomic network stats buckets, full poll.
Jeff Sharkey [Sun, 18 Sep 2011 20:30:23 +0000 (13:30 -0700)]
Sample atomic network stats buckets, full poll.

When sampling network stats, always use atomic buckets instead of
interpolating.  Always poll iface and UID together so we distribute
into buckets equally.  Move stale bucket trimming to just before
writing stats.

Bug: 5321340
Change-Id: I78a2226778a79c875f3668336e39ea24a7b4d5c4

13 years agoam aaf30173: (-s ours) Merge "DO NOT MERGE: Sample atomic network stats buckets,...
Jeff Sharkey [Sun, 18 Sep 2011 23:21:38 +0000 (16:21 -0700)]
am aaf30173: (-s ours) Merge "DO NOT MERGE: Sample atomic network stats buckets, full poll." into ics-factoryrom

* commit 'aaf301736e923db15918617145069658696be453':
  DO NOT MERGE: Sample atomic network stats buckets, full poll.

13 years agoMerge "DO NOT MERGE: Sample atomic network stats buckets, full poll." into ics-factoryrom
Jeff Sharkey [Sun, 18 Sep 2011 23:20:00 +0000 (16:20 -0700)]
Merge "DO NOT MERGE: Sample atomic network stats buckets, full poll." into ics-factoryrom

13 years agoDO NOT MERGE: Sample atomic network stats buckets, full poll.
Jeff Sharkey [Sun, 18 Sep 2011 20:30:23 +0000 (13:30 -0700)]
DO NOT MERGE: Sample atomic network stats buckets, full poll.

When sampling network stats, always use atomic buckets instead of
interpolating.  Always poll iface and UID together so we distribute
into buckets equally.  Move stale bucket trimming to just before
writing stats.

Bug: 5321340
Change-Id: I78a2226778a79c875f3668336e39ea24a7b4d5c4

13 years agoam 3d1d57dc: Merge "Collect and persist tethering stats." into ics-factoryrom
Jeff Sharkey [Sun, 18 Sep 2011 23:17:39 +0000 (16:17 -0700)]
am 3d1d57dc: Merge "Collect and persist tethering stats." into ics-factoryrom

* commit '3d1d57dcdb02ace6af5810bd4ec3f8fad5fc1799':
  Collect and persist tethering stats.

13 years agoMerge "Collect and persist tethering stats." into ics-factoryrom
Jeff Sharkey [Sun, 18 Sep 2011 23:15:51 +0000 (16:15 -0700)]
Merge "Collect and persist tethering stats." into ics-factoryrom

13 years agoMerge "Fix bug 5333962 - Problems with no action bar/overlay action mode"
Adam Powell [Sun, 18 Sep 2011 22:39:05 +0000 (15:39 -0700)]
Merge "Fix bug 5333962 - Problems with no action bar/overlay action mode"

13 years agoFix bug 5333962 - Problems with no action bar/overlay action mode
Adam Powell [Sun, 18 Sep 2011 21:59:28 +0000 (14:59 -0700)]
Fix bug 5333962 - Problems with no action bar/overlay action mode

Change the standalone action mode window for overlay mode to be of
TYPE_APPLICATION. (This also fixes a bug where overflow menus would
not work properly on these types of action mode bars.)

Set exitFadeDuration on btn_cab_done_holo_* drawables.

Remove no-window-focus override selector states for selectable item
backgrounds to allow proper touch feedback on windows that do not have
focus but that the user can interact with.

Change-Id: Ib504866238708150d21e6183ff7b695869c05d3e

13 years agoFix build.
Dianne Hackborn [Sun, 18 Sep 2011 22:22:24 +0000 (15:22 -0700)]
Fix build.

Change-Id: Ife2b4b207270f8017d3acd80c76eaf1c7a50986d

13 years agoMerge "Fix issue #5242779: Device not responding to touch on unlock screen"
Dianne Hackborn [Sun, 18 Sep 2011 21:53:27 +0000 (14:53 -0700)]
Merge "Fix issue #5242779: Device not responding to touch on unlock screen"

13 years agoFix issue #5242779: Device not responding to touch on unlock screen
Dianne Hackborn [Sun, 18 Sep 2011 21:43:08 +0000 (14:43 -0700)]
Fix issue #5242779: Device not responding to touch on unlock screen

Rework how we decide when it is okay to turn on the screen by having
the policy call back to the power manager when it knows the lock screen
has been drawn.

Change-Id: Ie8f3f72111dcf7f168723e6dce24e0343b4afe5d

13 years agoMerge "Retain DNS information from DHCP request"
Irfan Sheriff [Sun, 18 Sep 2011 20:31:12 +0000 (13:31 -0700)]
Merge "Retain DNS information from DHCP request"

13 years agoMerge "Revert "Fix bug #5332081 TextLayoutCache needs to be able to have more cache...
Fabrice Di Meglio [Sun, 18 Sep 2011 19:58:47 +0000 (12:58 -0700)]
Merge "Revert "Fix bug #5332081 TextLayoutCache needs to be able to have more cache hits""

13 years agoRevert "Fix bug #5332081 TextLayoutCache needs to be able to have more cache hits"
Fabrice Di Meglio [Sun, 18 Sep 2011 19:54:38 +0000 (12:54 -0700)]
Revert "Fix bug #5332081 TextLayoutCache needs to be able to have more cache hits"

This reverts commit d686d76814f18061e06995df0d5de9feb9f70a7e

13 years agomerge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Automerger [Sun, 18 Sep 2011 13:27:55 +0000 (06:27 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom

13 years agoMerge "doc change: fix attr name"
Dirk Dougherty [Sat, 17 Sep 2011 23:10:28 +0000 (16:10 -0700)]
Merge "doc change: fix attr name"

13 years agodoc change: fix attr name
Dirk Dougherty [Sat, 17 Sep 2011 23:08:53 +0000 (16:08 -0700)]
doc change: fix attr name

Change-Id: Ida73a3f94f9abf969ebf3b44b07495bca924de10

13 years agodoc change: fix typo
Dirk Dougherty [Sat, 17 Sep 2011 22:57:55 +0000 (15:57 -0700)]
doc change: fix typo

Change-Id: Ib0e21fb53d3986ebb9f76dadc291ce9dfa42adf7

13 years agoRevert "work around a problem where fp registers get corrupted (DO NOT MERGE)"
The Android Automerger [Sat, 17 Sep 2011 15:25:18 +0000 (08:25 -0700)]
Revert "work around a problem where fp registers get corrupted (DO NOT MERGE)"

This reverts commit cc262b2b7b517a633c2c5936b71c1ab2551d5b2b.

13 years agoam 79aa4030: Merge "Can\'t stop the fling! Bug: 5335420" into ics-factoryrom
Jeff Brown [Sat, 17 Sep 2011 06:30:52 +0000 (23:30 -0700)]
am 79aa4030: Merge "Can\'t stop the fling! Bug: 5335420" into ics-factoryrom

* commit '79aa40302b643ee6c6227ee354a1b1378e721568':
  Can't stop the fling! Bug: 5335420

13 years agoMerge "Can't stop the fling! Bug: 5335420" into ics-factoryrom
Jeff Brown [Sat, 17 Sep 2011 06:29:15 +0000 (23:29 -0700)]
Merge "Can't stop the fling! Bug: 5335420" into ics-factoryrom

13 years agoRetain DNS information from DHCP request
Irfan Sheriff [Sat, 17 Sep 2011 05:03:09 +0000 (22:03 -0700)]
Retain DNS information from DHCP request

DHCP renewal can fail to fill DNS information. In such
a case retain info from DHCP request

Bug: 5314392
Change-Id: I2413f738be7c8c965ef9e7ffbc348e2738aa68b5

13 years agoam 259db3f6: Merge "Have all connections disconnected before turning off radio."...
Wink Saville [Sat, 17 Sep 2011 05:02:31 +0000 (22:02 -0700)]
am 259db3f6: Merge "Have all connections disconnected before turning off radio." into ics-factoryrom

* commit '259db3f66f8cbbf1eadec9c6b76d7e476318486c':
  Have all connections disconnected before turning off radio.

13 years agoMerge "Have all connections disconnected before turning off radio." into ics-factoryrom
Wink Saville [Sat, 17 Sep 2011 05:00:34 +0000 (22:00 -0700)]
Merge "Have all connections disconnected before turning off radio." into ics-factoryrom

13 years agoCan't stop the fling!
Jeff Brown [Sat, 17 Sep 2011 04:40:49 +0000 (21:40 -0700)]
Can't stop the fling!
Bug: 5335420

Fixed a bug in VelocityTracker where the output velocity was
not being set to zero when not available.

Added a condition to ensure that the velocity is at least
the minimum fling velocity before continuing.  If not, then
the user is trying to stop the fling and scroll more precisely.

Change-Id: I36634b0c3f7a9a09cf20c33f71d41163a8e33eed

13 years agoMerge "Revert "Forces AsyncTask to use the main looper Bug #5333924""
Jeff Brown [Sat, 17 Sep 2011 04:03:15 +0000 (21:03 -0700)]
Merge "Revert "Forces AsyncTask to use the main looper Bug #5333924""

13 years agoRevert "Forces AsyncTask to use the main looper Bug #5333924"
Jeff Brown [Sat, 17 Sep 2011 03:44:06 +0000 (20:44 -0700)]
Revert "Forces AsyncTask to use the main looper Bug #5333924"

This reverts commit 6dafefb0f44c4e57384e2ec3e08fefac5cc7e071

This change is breaking the system on startup with an NPE.  Need to fix that first then resubmit.

13 years agoHave all connections disconnected before turning off radio.
Wink Saville [Sat, 17 Sep 2011 00:53:50 +0000 (17:53 -0700)]
Have all connections disconnected before turning off radio.

Bug: 5306201
Change-Id: I8a121e5ed951f286b6f3edc70c468e86ccedfbf0

13 years agoMerge "Force an update before we poll for the data."
Tsu Chiang Chuang [Sat, 17 Sep 2011 00:48:35 +0000 (17:48 -0700)]
Merge "Force an update before we poll for the data."

13 years agoMerge "add upload capabilities to data test."
Tsu Chiang Chuang [Sat, 17 Sep 2011 00:48:17 +0000 (17:48 -0700)]
Merge "add upload capabilities to data test."

13 years agowork around a problem where fp registers get corrupted (DO NOT MERGE)
Mathias Agopian [Fri, 16 Sep 2011 23:59:52 +0000 (16:59 -0700)]
work around a problem where fp registers get corrupted (DO NOT MERGE)

Bug: 5331198
Change-Id: I1f9b4a79d34d63f8adb0555909998664ea2ea9ca

13 years agoam 1afeea0f: (-s ours) Merge "work around a problem where fp registers get corrupted...
Mathias Agopian [Sat, 17 Sep 2011 00:09:33 +0000 (17:09 -0700)]
am 1afeea0f: (-s ours) Merge "work around a problem where fp registers get corrupted (DO NOT MERGE)" into ics-factoryrom

* commit '1afeea0f207f8b8b781f799f5d150b70495abb1a':
  work around a problem where fp registers get corrupted (DO NOT MERGE)

13 years agoMerge "work around a problem where fp registers get corrupted (DO NOT MERGE)" into...
Mathias Agopian [Sat, 17 Sep 2011 00:08:21 +0000 (17:08 -0700)]
Merge "work around a problem where fp registers get corrupted (DO NOT MERGE)" into ics-factoryrom

13 years agoMerge "Fix bug #5332081 TextLayoutCache needs to be able to have more cache hits"
Fabrice Di Meglio [Sat, 17 Sep 2011 00:07:08 +0000 (17:07 -0700)]
Merge "Fix bug #5332081 TextLayoutCache needs to be able to have more cache hits"

13 years agowork around a problem where fp registers get corrupted (DO NOT MERGE)
Mathias Agopian [Fri, 16 Sep 2011 23:59:52 +0000 (16:59 -0700)]
work around a problem where fp registers get corrupted (DO NOT MERGE)

Bug: 5331198
Change-Id: I1f9b4a79d34d63f8adb0555909998664ea2ea9ca

13 years agoMerge "Forces AsyncTask to use the main looper Bug #5333924"
Romain Guy [Fri, 16 Sep 2011 23:50:22 +0000 (16:50 -0700)]
Merge "Forces AsyncTask to use the main looper Bug #5333924"

13 years agoMerge "Clarify documentation of AdapterView.OnItemSelectedListener Bug #5331587"
Romain Guy [Fri, 16 Sep 2011 23:20:17 +0000 (16:20 -0700)]
Merge "Clarify documentation of AdapterView.OnItemSelectedListener Bug #5331587"

13 years agoProperly adding scrubber pressed/selected state
Justin Ho [Fri, 16 Sep 2011 23:19:47 +0000 (16:19 -0700)]
Properly adding scrubber pressed/selected state

Change-Id: Iea2e65bd8c00b56dd2828de03946ee1257547944

13 years agoam a2a960b4: (-s ours) Merge "Import revised translations. DO NOT MERGE" into ics...
Eric Fischer [Fri, 16 Sep 2011 23:19:19 +0000 (16:19 -0700)]
am a2a960b4: (-s ours) Merge "Import revised translations.  DO NOT MERGE" into ics-factoryrom

* commit 'a2a960b4a14f473f7677694973b5b9274eccc516':
  Import revised translations.  DO NOT MERGE

13 years agoMerge "Import revised translations. DO NOT MERGE" into ics-factoryrom
Eric Fischer [Fri, 16 Sep 2011 23:17:45 +0000 (16:17 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into ics-factoryrom

13 years agoClarify documentation of AdapterView.OnItemSelectedListener
Romain Guy [Fri, 16 Sep 2011 23:16:36 +0000 (16:16 -0700)]
Clarify documentation of AdapterView.OnItemSelectedListener
Bug #5331587

Change-Id: Ic3d6aca573639d6cae3abb45bfe821f5fd31f1bc

13 years agoCollect and persist tethering stats.
Jeff Sharkey [Fri, 16 Sep 2011 08:52:49 +0000 (01:52 -0700)]
Collect and persist tethering stats.

Use new "gettetherstats" netd command to retrieve statistics for
active tethering connections.  Keep tethering poll events separate
from UID poll, even though they end up same historical structures.

Bug: 5244846
Change-Id: Ia0c5165f6712c12b51586f86c331a2aad4ad6afb

13 years agoForces AsyncTask to use the main looper
Romain Guy [Fri, 16 Sep 2011 23:00:59 +0000 (16:00 -0700)]
Forces AsyncTask to use the main looper
Bug #5333924

This might break applications trying to use AsyncTask on a looper
that is not the main thread, but such apps would already have
issues (AsyncTask has a single static handler and attempting to
use AsyncTask outside of the main thread would likely result
in weird threading issues in other parts of the app.)

Change-Id: Ibbf480627fc7b91326a27d4f5e5af49e8c5b5115

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 16 Sep 2011 22:18:46 +0000 (15:18 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: Ibae2079f2de6ae74d12a88e3c6f6f52b3010990f

13 years agoMerge "Fix "am profile" when run on system_server."
Jeff Sharkey [Fri, 16 Sep 2011 22:11:06 +0000 (15:11 -0700)]
Merge "Fix "am profile" when run on system_server."

13 years agoam f79ec360: Merge "Fix bug 5327199 Recycle bitmaps in RemoteControlClient" into...
Jean-Michel Trivi [Fri, 16 Sep 2011 22:02:43 +0000 (15:02 -0700)]
am f79ec360: Merge "Fix bug 5327199 Recycle bitmaps in RemoteControlClient" into ics-factoryrom

* commit 'f79ec360984011c49c52b7a19b96cbbc932df4be':
  Fix bug 5327199 Recycle bitmaps in RemoteControlClient

13 years agoMerge "Fix bug 5327199 Recycle bitmaps in RemoteControlClient" into ics-factoryrom
Jean-Michel Trivi [Fri, 16 Sep 2011 22:01:06 +0000 (15:01 -0700)]
Merge "Fix bug 5327199 Recycle bitmaps in RemoteControlClient" into ics-factoryrom

13 years agoam 218148f1: Merge "Revert "Adding selected state for scrubber control"" into ics...
Justin Ho [Fri, 16 Sep 2011 21:49:17 +0000 (14:49 -0700)]
am 218148f1: Merge "Revert "Adding selected state for scrubber control"" into ics-factoryrom

* commit '218148f1ffb574282bdc72a1a4cc97b7129cf043':
  Revert "Adding selected state for scrubber control"

13 years agoMerge "Revert "Adding selected state for scrubber control"" into ics-factoryrom
Justin Ho [Fri, 16 Sep 2011 21:47:54 +0000 (14:47 -0700)]
Merge "Revert "Adding selected state for scrubber control"" into ics-factoryrom

13 years agoRevert "Adding selected state for scrubber control"
Justin Ho [Fri, 16 Sep 2011 21:47:40 +0000 (14:47 -0700)]
Revert "Adding selected state for scrubber control"

This reverts commit a11aeeb36560959db321f9757d4c5eccfdfa7f63

13 years agoMerge "Don't switch to handle drag mode when starting selection"
John Reck [Fri, 16 Sep 2011 21:24:33 +0000 (14:24 -0700)]
Merge "Don't switch to handle drag mode when starting selection"

13 years agoam 5855c0ca: Merge "Adding selected state for scrubber control" into ics-factoryrom
Justin Ho [Fri, 16 Sep 2011 21:16:53 +0000 (14:16 -0700)]
am 5855c0ca: Merge "Adding selected state for scrubber control" into ics-factoryrom

* commit '5855c0ca68de7103e59e4a6e6996fba528cabd9a':
  Adding selected state for scrubber control

13 years agoMerge "Adding selected state for scrubber control" into ics-factoryrom
Justin Ho [Fri, 16 Sep 2011 21:15:04 +0000 (14:15 -0700)]
Merge "Adding selected state for scrubber control" into ics-factoryrom

13 years agoAdding selected state for scrubber control
Justin Ho [Fri, 16 Sep 2011 19:59:05 +0000 (12:59 -0700)]
Adding selected state for scrubber control

Change-Id: I63147c80f7849d28ffe15d97e0b7e3f5c7bea5e1

13 years agoMerge "AudioResampler: use relative instead of absolute labels"
Nick Kralevich [Fri, 16 Sep 2011 20:56:16 +0000 (13:56 -0700)]
Merge "AudioResampler: use relative instead of absolute labels"

13 years agoFix bug #5332081 TextLayoutCache needs to be able to have more cache hits
Fabrice Di Meglio [Wed, 14 Sep 2011 19:10:00 +0000 (12:10 -0700)]
Fix bug #5332081 TextLayoutCache needs to be able to have more cache hits

- makes TextLayoutCache not carring about start/count. Basically he will cache the result for
the full string and gives back the "chunk" corresponding to start/count
- changed the TextLayoutCacheValue API to take start/count parameters
- added the Harfbuzz LogClusters in TextLayoutCacheValue as it is needed for extracting the start/count "chunk"
- fix potential issue of cache key leaking

Change-Id: I9276f9bec744e8de36349acfba8429f7c6f83394

13 years agoam a82f4483: (-s ours) Merge "Make LTE_FLOAT a strict weak order. (DO NOT MERGE)...
Jeff Brown [Fri, 16 Sep 2011 20:44:40 +0000 (13:44 -0700)]
am a82f4483: (-s ours) Merge "Make LTE_FLOAT a strict weak order. (DO NOT MERGE) Bug: 5327776" into ics-factoryrom

* commit 'a82f448373ca0f0e67fb52a2bdc489c4ed0b17ac':
  Make LTE_FLOAT a strict weak order. (DO NOT MERGE) Bug: 5327776

13 years agoMerge "Bug 5244365 - Prevent views from receiving multiple onAttachedToWindow calls."
Adam Powell [Fri, 16 Sep 2011 20:44:35 +0000 (13:44 -0700)]
Merge "Bug 5244365 - Prevent views from receiving multiple onAttachedToWindow calls."

13 years agoMerge ""Fix" issue #5276520: Noise on edges of rotation animation"
Dianne Hackborn [Fri, 16 Sep 2011 20:43:01 +0000 (13:43 -0700)]
Merge ""Fix" issue #5276520: Noise on edges of rotation animation"

13 years agoMerge "Make LTE_FLOAT a strict weak order. (DO NOT MERGE) Bug: 5327776" into ics...
Jeff Brown [Fri, 16 Sep 2011 20:42:46 +0000 (13:42 -0700)]
Merge "Make LTE_FLOAT a strict weak order. (DO NOT MERGE) Bug: 5327776" into ics-factoryrom

13 years agoMake LTE_FLOAT a strict weak order. (DO NOT MERGE)
Jeff Brown [Fri, 16 Sep 2011 19:00:05 +0000 (12:00 -0700)]
Make LTE_FLOAT a strict weak order. (DO NOT MERGE)
Bug: 5327776

Currently LTE_FLOAT isn't even a valid partial order, let alone
a strict weak order as needed by binary search.  Consequently,
KeyedVectors with keys whose types have operator< using LTE_FLOAT
sometimes find the wrong values!

This problem affects several graphics caches including the
TextLayoutCache.

(This is still not a total order because NaNs are not comparable
but hopefully we don't ever search for NaNs this way!)

Change-Id: Ic447a34c7d87f681ee81538f22a0937a039072dd

13 years agoDon't switch to handle drag mode when starting selection
John Reck [Fri, 16 Sep 2011 20:23:43 +0000 (13:23 -0700)]
Don't switch to handle drag mode when starting selection

 Bug: 5327408

Change-Id: Ibda37b1a661d9cdc80a86bc16488178b69fac4a2

13 years agoam 41d6bfb2: (-s ours) Merge "DO NOT MERGE Fix text selection drawing on SW" into...
John Reck [Fri, 16 Sep 2011 20:23:37 +0000 (13:23 -0700)]
am 41d6bfb2: (-s ours) Merge "DO NOT MERGE Fix text selection drawing on SW" into ics-factoryrom

* commit '41d6bfb27909c2f27e41b5aa1d182e00b4c2f631':
  DO NOT MERGE Fix text selection drawing on SW

13 years agoMerge "DO NOT MERGE Fix text selection drawing on SW" into ics-factoryrom
John Reck [Fri, 16 Sep 2011 20:21:31 +0000 (13:21 -0700)]
Merge "DO NOT MERGE Fix text selection drawing on SW" into ics-factoryrom

13 years agoAudioResampler: use relative instead of absolute labels
Nick Kralevich [Fri, 16 Sep 2011 20:14:16 +0000 (13:14 -0700)]
AudioResampler: use relative instead of absolute labels

This change is needed to allow Android to compile with -fPIE
Bug: 5328392

Change-Id: I84d947975776800a7b79c6ac75a881af461a631c

13 years agoMerge "Make LTE_FLOAT a strict weak order. Bug: 5327776"
Jeff Brown [Fri, 16 Sep 2011 20:11:24 +0000 (13:11 -0700)]
Merge "Make LTE_FLOAT a strict weak order. Bug: 5327776"

13 years agoBug 5244365 - Prevent views from receiving multiple onAttachedToWindow
Adam Powell [Fri, 16 Sep 2011 19:59:46 +0000 (12:59 -0700)]
Bug 5244365 - Prevent views from receiving multiple onAttachedToWindow
calls.

If a View is added to a ViewGroup during the ViewGroup's
onAttachedToWindow method, the child can receive two calls to
onAttachedToWindow. Guard against this.

Change-Id: I845d0cb2c9172071eee1eadc6bc2dd282ee0ef43

13 years agoMerge "cleanup: fix typos in logs"
Mathias Agopian [Fri, 16 Sep 2011 19:58:30 +0000 (12:58 -0700)]
Merge "cleanup: fix typos in logs"

13 years agoam 3d5759b5: Merge "Add a generic account chooser/add account flow for apps." into...
Fred Quintana [Fri, 16 Sep 2011 19:14:31 +0000 (12:14 -0700)]
am 3d5759b5: Merge "Add a generic account chooser/add account flow for apps." into ics-factoryrom

* commit '3d5759b527fd0e48cfcc759dfed68fbe5a4dd050':
  Add a generic account chooser/add account flow for apps.

13 years agoMerge "Add a generic account chooser/add account flow for apps." into ics-factoryrom
Fred Quintana [Fri, 16 Sep 2011 19:13:30 +0000 (12:13 -0700)]
Merge "Add a generic account chooser/add account flow for apps." into ics-factoryrom

13 years agoMake LTE_FLOAT a strict weak order.
Jeff Brown [Fri, 16 Sep 2011 19:00:05 +0000 (12:00 -0700)]
Make LTE_FLOAT a strict weak order.
Bug: 5327776

Currently LTE_FLOAT isn't even a valid partial order, let alone
a strict weak order as needed by binary search.  Consequently,
KeyedVectors with keys whose types have operator< using LTE_FLOAT
sometimes find the wrong values!

This problem affects several graphics caches including the
TextLayoutCache.

(This is still not a total order because NaNs are not comparable
but hopefully we don't ever search for NaNs this way!)

Change-Id: Ic447a34c7d87f681ee81538f22a0937a039072dd

13 years agocleanup: fix typos in logs
Mathias Agopian [Fri, 16 Sep 2011 18:56:40 +0000 (11:56 -0700)]
cleanup: fix typos in logs

Change-Id: Ib5744564a873ea2b84100174673dc4d3ae109fcf

13 years agoDO NOT MERGE Fix text selection drawing on SW
John Reck [Thu, 15 Sep 2011 20:51:52 +0000 (13:51 -0700)]
DO NOT MERGE Fix text selection drawing on SW

 Bug: 5312770
 Helps if you actually draw stuff...
 Cherry pick from master

Change-Id: Iae4e7fbd2dc6a5306e8ca8735580e1f2eb50f276

13 years agoFix androidGetThreadPriority for non-pthread configurations.
Andreas Huber [Fri, 16 Sep 2011 18:47:13 +0000 (11:47 -0700)]
Fix androidGetThreadPriority for non-pthread configurations.

related-to-build

Change-Id: Ic865af0865906f96fd615a56a030c8e3adaf13c4

13 years agoFix bug 5327199 Recycle bitmaps in RemoteControlClient
Jean-Michel Trivi [Fri, 16 Sep 2011 17:41:04 +0000 (10:41 -0700)]
Fix bug 5327199 Recycle bitmaps in RemoteControlClient

When applying the new bitmap from the editor to the client,
 recycle the old bitmap, and set the reference to the editor
 bitmap to null.

Change-Id: I7d79e4b8410e5035fa51b20be4b1ada391c84c28

13 years agoam ebdcae73: Merge "Add third video to default system videos." into ics-factoryrom
Eino-Ville Talvala [Fri, 16 Sep 2011 17:53:21 +0000 (10:53 -0700)]
am ebdcae73: Merge "Add third video to default system videos." into ics-factoryrom

* commit 'ebdcae732f648871dd0df6586a5ba57aae015bd4':
  Add third video to default system videos.

13 years agoMerge "Add third video to default system videos." into ics-factoryrom
Eino-Ville Talvala [Fri, 16 Sep 2011 17:52:15 +0000 (10:52 -0700)]
Merge "Add third video to default system videos." into ics-factoryrom

13 years agoMerge "Various improvements to nuplayer playback"
Andreas Huber [Fri, 16 Sep 2011 17:50:51 +0000 (10:50 -0700)]
Merge "Various improvements to nuplayer playback"

13 years agoMerge "A new API "androidGetThreadPriority""
Andreas Huber [Fri, 16 Sep 2011 17:50:43 +0000 (10:50 -0700)]
Merge "A new API "androidGetThreadPriority""

13 years agoVarious improvements to nuplayer playback
Andreas Huber [Thu, 15 Sep 2011 19:25:04 +0000 (12:25 -0700)]
Various improvements to nuplayer playback

- Drastically cut down the number of times we supply the AudioSink with data
by estimating the time until the sink would run out of data and then scheduling
a refill in advance of that.

- Use a dedicated looper for video decoders since they are currently taking
too long to return from OMX_FillThisBuffer (bug 5325201)

- Revise thread priorities for the OMX dispatcher and software codecs, instead
of running them at ANDROID_PRIORITY_AUDIO, they now only run at
ANDROID_PRIORITY_FOREGROUND

- Since threads created by pthread_create inherit all of the parent threads
attributes including thread priority, briefly reset thread priority to
ANDROID_PRIORITY_FOREGROUND before instantiating OMX components and then
restore it.

Change-Id: If9332a3a20dad5485333d68c11de0d2d5d3fffc3

13 years agoMerge "Fix text selection drawing on SW"
John Reck [Fri, 16 Sep 2011 17:39:16 +0000 (10:39 -0700)]
Merge "Fix text selection drawing on SW"

13 years agoA new API "androidGetThreadPriority"
Andreas Huber [Thu, 15 Sep 2011 19:21:40 +0000 (12:21 -0700)]
A new API "androidGetThreadPriority"

Change-Id: I6baeead8c70460863343fd557250635fb1e6a170

13 years agoam 1f9a9288: Merge "Be more forgiving in parsing verifier IDs" into ics-factoryrom
Kenny Root [Fri, 16 Sep 2011 16:09:30 +0000 (09:09 -0700)]
am 1f9a9288: Merge "Be more forgiving in parsing verifier IDs" into ics-factoryrom

* commit '1f9a928864be7cfc76c99b8f69706e739e6a7b08':
  Be more forgiving in parsing verifier IDs

13 years agoMerge "Be more forgiving in parsing verifier IDs" into ics-factoryrom
Kenny Root [Fri, 16 Sep 2011 16:07:52 +0000 (09:07 -0700)]
Merge "Be more forgiving in parsing verifier IDs" into ics-factoryrom

13 years agoam 6a7ea58e: Merge "Updated Clock and Roboto fonts Bug: 5243711" into ics-factoryrom
Justin Ho [Fri, 16 Sep 2011 14:35:43 +0000 (07:35 -0700)]
am 6a7ea58e: Merge "Updated Clock and Roboto fonts Bug: 5243711" into ics-factoryrom

* commit '6a7ea58e826587aad89791affa29fe51d5c2e58b':
  Updated Clock and Roboto fonts Bug: 5243711

13 years agoMerge "Updated Clock and Roboto fonts Bug: 5243711" into ics-factoryrom
Justin Ho [Fri, 16 Sep 2011 14:32:52 +0000 (07:32 -0700)]
Merge "Updated Clock and Roboto fonts Bug: 5243711" into ics-factoryrom

13 years agoUpdated Clock and Roboto fonts
Justin Ho [Fri, 16 Sep 2011 14:28:50 +0000 (07:28 -0700)]
Updated Clock and Roboto fonts
Bug: 5243711

Change-Id: I1c54bab0107edc56fbdf75269a70881031384833

13 years agoMerge "Properly laying out FaceLock on lockscreen"
Brian Colonna [Fri, 16 Sep 2011 13:08:22 +0000 (06:08 -0700)]
Merge "Properly laying out FaceLock on lockscreen"

13 years agoMerge "Fix typo in SearchManager javadoc."
Mark Brophy [Fri, 16 Sep 2011 12:47:49 +0000 (05:47 -0700)]
Merge "Fix typo in SearchManager javadoc."

13 years agoFix typo in SearchManager javadoc.
Mark Brophy [Fri, 16 Sep 2011 11:27:20 +0000 (12:27 +0100)]
Fix typo in SearchManager javadoc.

Change-Id: I40e1879779e51414f9a5b937209b9decbfb11693

13 years ago"Fix" issue #5276520: Noise on edges of rotation animation
Dianne Hackborn [Fri, 16 Sep 2011 08:09:40 +0000 (01:09 -0700)]
"Fix" issue #5276520: Noise on edges of rotation animation

I have no shame.

Change-Id: I9f40df670bba0f848097aad8afb978a29e42f85a

13 years agoBe more forgiving in parsing verifier IDs
Kenny Root [Wed, 14 Sep 2011 16:57:27 +0000 (09:57 -0700)]
Be more forgiving in parsing verifier IDs

RFC 4648's Base32 is made to be forgiving for users doing manual entry
of the digits. For this reason we want to be able to parse lowercase
letters as uppercase and number 0 (zero) as letter O along with number
1 (one) as letter I.

Cherry-pick into ics-factoryrom

Change-Id: I149d8e947ff8b36305c1e61d8a1d80ff0b317cda

13 years agoFix issue #5328235: Wrong values for smallestScreenWidthDp
Dianne Hackborn [Fri, 16 Sep 2011 02:12:01 +0000 (19:12 -0700)]
Fix issue #5328235: Wrong values for smallestScreenWidthDp

Maybe.

Change-Id: I88dfde1626376b3003bdd7a8068c55545255851e