25497 Commits

Author SHA1 Message Date
Adam Powell
932ec7dead Merge "Fix bug 5279720 - Legacy theme EditText coloring" 2011-09-18 16:52:12 -07:00
Adam Powell
ac0f0d5792 Fix bug 5279720 - Legacy theme EditText coloring
Change-Id: Iced9d4d34b48bcf5d060a82fefd6d70a8c921e3f
2011-09-18 16:28:16 -07:00
Jeff Sharkey
34c73acf88 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
2011-09-18 16:27:21 -07:00
Jeff Sharkey
aaf301736e Merge "DO NOT MERGE: Sample atomic network stats buckets, full poll." into ics-factoryrom 2011-09-18 16:20:00 -07:00
Jeff Sharkey
1f0b13b9d6 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
2011-09-18 16:17:51 -07:00
Jeff Sharkey
ff2aff2ac1 am 3d1d57dc: Merge "Collect and persist tethering stats." into ics-factoryrom
* commit '3d1d57dcdb02ace6af5810bd4ec3f8fad5fc1799':
  Collect and persist tethering stats.
2011-09-18 16:17:39 -07:00
Jeff Sharkey
3d1d57dcdb Merge "Collect and persist tethering stats." into ics-factoryrom 2011-09-18 16:15:51 -07:00
Adam Powell
d413eb3861 Merge "Fix bug 5333962 - Problems with no action bar/overlay action mode" 2011-09-18 15:39:05 -07:00
Fabrice Di Meglio
54dc642cc1 Make TextLayoutCache no more dependent on ICU
- move ICU call to TextLayout

Change-Id: Id5a21e7b69e484536cfb5b86fbb0c112fb661dfa
2011-09-18 15:38:08 -07:00
Adam Powell
8ee6d7c20e 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
2011-09-18 15:34:00 -07:00
Dianne Hackborn
2f7d7c9bdb Merge "Fix issue #5242779: Device not responding to touch on unlock screen" 2011-09-18 14:53:27 -07:00
Dianne Hackborn
38e29a61d0 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
2011-09-18 14:52:52 -07:00
Fabrice Di Meglio
e74fef3b55 Fix potential leak in TextLayouCache
- need a copy constructor for the key as the GenerationCache we are using
is actually a KeyedVector<K, sp<Entry<K, V> > >
- use the getText() API to access the text in the cache key

Change-Id: I5b60ebc062b62308ed7ac1284cfe2a9f28e2b8b1
2011-09-18 14:30:21 -07:00
Irfan Sheriff
04e3bb6d32 Merge "Retain DNS information from DHCP request" 2011-09-18 13:31:12 -07:00
Gilles Debunne
1a6be3eb7b Bug 5290461: change voice IME underline span color
Change-Id: I072cc480bfaabe9486261c695c88e845bfcd842e
2011-09-18 13:20:31 -07:00
Philip Milne
f6679c88d1 Fix for http://b/issue?id=5297155
. Make GridLayout dynamic (see below)
. Change access modifiers from private to package private
  (to remove access$XX methods generated by compiler)
. Make private internal classes final (+10% perf)
. Update javadoc and add limitations section
. Improve error diagnostics

The bug above highlights the fact that GridLayout is a static
rather than dynamic layout - i.e. that the structure of the
grid could not be changed once it had been set up. This fix changes
GridLayout to a dynamic layout in which changes to its orientation,
rowCount and columnCount properties may be effected between layout
operations.

This change does not require a change to GridLayout's public API.

Change-Id: If5643574422dcfd3a557ce4db2bb19498dc6ecd8
2011-09-18 13:10:54 -07:00
Fabrice Di Meglio
bfb9a9ae10 Merge "Revert "Fix bug #5332081 TextLayoutCache needs to be able to have more cache hits"" 2011-09-18 12:58:47 -07:00
Fabrice Di Meglio
9c418dbc56 Revert "Fix bug #5332081 TextLayoutCache needs to be able to have more cache hits"
This reverts commit d686d76814f18061e06995df0d5de9feb9f70a7e
2011-09-18 12:54:38 -07:00
Jeff Brown
92061b70be am 79aa4030: Merge "Can\'t stop the fling! Bug: 5335420" into ics-factoryrom
* commit '79aa40302b643ee6c6227ee354a1b1378e721568':
  Can't stop the fling! Bug: 5335420
2011-09-16 23:30:52 -07:00
Fred Quintana
b04fe4e82a Continuation of the unified account chooser flow.
- made the UI match the spec
 - added ability to force the account chooser to appear
 - added ability to pass in a description that will override the stock one
 - added ability to pass in requiredFeatures for addAccount
 - added ability to pass in an authTokenType for addAccount

Bug: 5293377
Change-Id: I243c0fd6598c943b1f65753e1f5d3c86629f64f5
2011-09-16 22:55:08 -07:00
Irfan Sheriff
2c08ede34c 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
2011-09-16 22:03:09 -07:00
Jeff Brown
b0c71eb9f5 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
2011-09-16 21:43:58 -07:00
Jeff Brown
daa98fe9f7 Merge "Revert "Forces AsyncTask to use the main looper Bug #5333924"" 2011-09-16 21:03:15 -07:00
Jeff Brown
99f801da15 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.
2011-09-16 20:44:06 -07:00
Amith Yamasani
284e630a9b Make Volume control non-modal and allow touches underneath to take effect.
Bug: 5308506 "Video" App halts playback when volume slider is present
Change-Id: Ib0672384b9074af73d729d1f64db62e5a8882d80
2011-09-16 18:24:47 -07:00
Tsu Chiang Chuang
e4bbb6ac31 Merge "add upload capabilities to data test." 2011-09-16 17:48:17 -07:00
Fabrice Di Meglio
7bec15a866 Merge "Fix bug #5332081 TextLayoutCache needs to be able to have more cache hits" 2011-09-16 17:07:08 -07:00
Romain Guy
364a92ebb0 Merge "Forces AsyncTask to use the main looper Bug #5333924" 2011-09-16 16:50:22 -07:00
Justin Ho
2357858a1d Properly adding scrubber pressed/selected state
Change-Id: Iea2e65bd8c00b56dd2828de03946ee1257547944
2011-09-16 16:19:47 -07:00
Eric Fischer
a2a960b4a1 Merge "Import revised translations. DO NOT MERGE" into ics-factoryrom 2011-09-16 16:17:45 -07:00
Romain Guy
f18c8ddd0f Clarify documentation of AdapterView.OnItemSelectedListener
Bug #5331587

Change-Id: Ic3d6aca573639d6cae3abb45bfe821f5fd31f1bc
2011-09-16 16:16:36 -07:00
Jeff Sharkey
cdd02c5d76 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
2011-09-16 16:05:51 -07:00
Romain Guy
6dafefb0f4 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
2011-09-16 16:00:59 -07:00
Eric Fischer
db506e7699 Import revised translations. DO NOT MERGE
Change-Id: Ibae2079f2de6ae74d12a88e3c6f6f52b3010990f
2011-09-16 15:18:46 -07:00
Jeff Sharkey
7c96316728 Merge "Fix "am profile" when run on system_server." 2011-09-16 15:11:06 -07:00
Justin Ho
07adee4a55 am 218148f1: Merge "Revert "Adding selected state for scrubber control"" into ics-factoryrom
* commit '218148f1ffb574282bdc72a1a4cc97b7129cf043':
  Revert "Adding selected state for scrubber control"
2011-09-16 14:49:17 -07:00
Justin Ho
218148f1ff Merge "Revert "Adding selected state for scrubber control"" into ics-factoryrom 2011-09-16 14:47:54 -07:00
Justin Ho
783ed0d647 Revert "Adding selected state for scrubber control"
This reverts commit a11aeeb36560959db321f9757d4c5eccfdfa7f63
2011-09-16 14:47:40 -07:00
John Reck
2582890b2b Merge "Don't switch to handle drag mode when starting selection" 2011-09-16 14:24:33 -07:00
Justin Ho
9e1184f2ef am 5855c0ca: Merge "Adding selected state for scrubber control" into ics-factoryrom
* commit '5855c0ca68de7103e59e4a6e6996fba528cabd9a':
  Adding selected state for scrubber control
2011-09-16 14:16:53 -07:00
Justin Ho
5855c0ca68 Merge "Adding selected state for scrubber control" into ics-factoryrom 2011-09-16 14:15:04 -07:00
Justin Ho
a11aeeb365 Adding selected state for scrubber control
Change-Id: I63147c80f7849d28ffe15d97e0b7e3f5c7bea5e1
2011-09-16 14:11:07 -07:00
Fabrice Di Meglio
d686d76814 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
2011-09-16 13:47:34 -07:00
John Reck
c99e447ea7 Don't switch to handle drag mode when starting selection
Bug: 5327408

Change-Id: Ibda37b1a661d9cdc80a86bc16488178b69fac4a2
2011-09-16 13:23:43 -07:00
John Reck
41d6bfb279 Merge "DO NOT MERGE Fix text selection drawing on SW" into ics-factoryrom 2011-09-16 13:21:31 -07:00
Adam Powell
4b86788003 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
2011-09-16 13:01:01 -07:00
Jean-Michel Trivi
f0cff04562 Bug 5300223 RemoteControlClient uses PendingIntent for media button events
Update the implementation of the RemoteControlClient / Display
 feature rely on PendingIntent as provided in the construction
 of the RemoteControlClient instance.
The ComponentName that describes the target of the media button
 events is set as the target of the Intent from which
 a PendingIntent is constructed.
This ComponentName is still saved in the stack for persisting
 the last media button event receiver.

This CL also updates the lockscreen IRemoteControlDisplay
 implementation to use the PendingIntent supplied by the
 application when sending transport control events. A (good)
 side effect of doing this is that intent will be directly
 targeted at the application.

Restoration of the media button event receiver
 after reboot is not fully functional yet.

Change-Id: I2be82f2839e9dee1de02512437b3fb41cc386cde
2011-09-16 12:40:43 -07:00
Fred Quintana
3d5759b527 Merge "Add a generic account chooser/add account flow for apps." into ics-factoryrom 2011-09-16 12:13:30 -07:00
John Reck
e668b03ac7 DO NOT MERGE Fix text selection drawing on SW
Bug: 5312770
 Helps if you actually draw stuff...
 Cherry pick from master

Change-Id: Iae4e7fbd2dc6a5306e8ca8735580e1f2eb50f276
2011-09-16 11:50:11 -07:00
John Reck
5dd1916c24 Merge "Fix text selection drawing on SW" 2011-09-16 10:39:16 -07:00