111 Commits

Author SHA1 Message Date
Dianne Hackborn
b378530714 AI 143896: Fix issue #1748954 and #1737952:
#1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden.  To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big...  actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
  #1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix.  This involved a few things to clean up hiding/showing the status bar:
  - We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window.  This required tweaking the layout API so the policy can request a second layout pass if needed.
  - When doing layout, we are now much more aggressive about skipping the layout of windows.  Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen.  The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
  BUG=1748954,1737952

Automated import of CL 143896
2009-03-31 17:58:46 -07:00
Brett Chabot
a1d701ef2f AI 143869: Change InstrumentationTestRunner so all tests in the application are run when no other arguments are supplied, instead of running only tests in the app's package.
BUG=1749513

Automated import of CL 143869
2009-03-31 17:03:46 -07:00
Romain Guy
d65addb4c9 AI 143758: Fixes #1749387. When a client of VelocityTracker obtains an instance from the pool, actually remove the object from the pool. Otherwise, several clients can share the same VelocityTracker which can lead to really weird side effects (including concurrency and UI issues.)
BUG=1749387

Automated import of CL 143758
2009-03-31 12:57:35 -07:00
Dianne Hackborn
65c8e11a31 AI 143748: Fix issue #1743326 (More battery stats)
Adds stats for:
  - Number of raw user events that have happened in the system.
  - Number of times user activity has been reported, dividied by UID and type of activity.
  - Duration of screen brightness levels in 4 buckets.
  - Per-UID tracking of who has turned on Wifi and how long we can attribute it being on because of them.
  BUG=1743326

Automated import of CL 143748
2009-03-31 12:11:48 -07:00
Nick Pelly
3f46f0a0cd AI 143740: Don't clear supported profiles in settings app if getRemoteClass returns error.
Also clean up the error codes returned by the framework, so that the settings app can properly detect an error.
  BUG=1748881

Automated import of CL 143740
2009-03-31 12:05:46 -07:00
Sridhar Gurivireddy
41ac221de7 AI 143727: Make the test runner and results assets of DumpRendertree. This is done so that we could have
1) Lab machines can run layout tests without having build environment setup
  2) We could have different set of pass/fail results per branch
  Also added a simple python script which runs run_layout_tests.py

Automated import of CL 143727
2009-03-31 10:57:18 -07:00
Eric Laurent
08defa0354 AI 143620: Attempt for fixing crash in AudioFlinger::MixerThread::dumpTracks() seen in bug report for issue 1747119.
AudioFlinger::MixerThread::dumpTracks() was reading mTracks[] vector instead of mActiveTracks[] when dumping active tracks.
  BUG=1747119

Automated import of CL 143620
2009-03-31 09:38:57 -07:00
Evan Millar
ac7df3fdfb AI 143615: -Add more stats:
-total network sent/received
  -total full/partial wakelock times.
  -Format the network sent/received amounts to be more easily readable.
  BUG=1743333

Automated import of CL 143615
2009-03-31 08:56:16 -07:00
Dirk Dougherty
836330f26a AI 143576: SDK doc change: Fix links from SDK upgrading docs to migration and diff info.
BUG=1744782

Automated import of CL 143576
2009-03-30 18:32:45 -07:00
Eric Fischer
631cf99982 AI 143547: Import revised translations.
BUG=1738388

Automated import of CL 143547
2009-03-30 15:52:26 -07:00
Eric Fischer
15095be060 AI 143540: Try not to start TextView lines with non-starter characters.
TextView was previously following the "relaxed" line breaking
  convention and would allow a line break between any two
  ideographic characters.  Tighten that up and do not allow
  line breaks before non-starter characters (sound and iteration
  marks and small Hiragana and Katakana).
  BUG=1735619

Automated import of CL 143540
2009-03-30 15:38:38 -07:00
Eric Fischer
8e13d66b8d AI 143495: Add more accented letters to the character picker.
The hardware keyboard doesn't have all the accents needed for
  Czech and Polish, so round out the selection.
  BUG=1742856

Automated import of CL 143495
2009-03-30 12:01:15 -07:00
Dave Sparks
ba9844ee12 AI 143127: Media recorder service requires android.permission.CAMERA to record video
BUG=1742392

Automated import of CL 143127
2009-03-27 12:57:40 -07:00
Eric Shienbrood
50108e9282 AI 143124: Fix bug #1731826, in which auto-connect to remembered networks does not
take place.
  This has the same underlying cause as bug #1739874, so this fixes that
  bug as well. The problem was that if the supplicant was in the DORMANT
  state at the time a scan-only Wi-Fi lock was released, the command to
  stop the Wi-Fi driver would never be issued. This had two main results:
  first, the driver would stay awake when the screen was blank and it was
  supposed to be sleeping, leading to excessive battery drain, and second,
  when the screen was turned back on, there would be no DRIVER-STARTED
  event generated (because the driver was already running). The
  DRIVER-STARTED event is the trigger for the framework to issue a
  RECONNECT command to the supplicant to cause it leave the DORMANT state
  and look for available remembered networks.
  To assist in tracking down this problem, and any such problems in the
  future, I added four counters to keep track of how many times full and
  scan-only Wi-Fi locks are acquired and released. The counter values
  are output in the dump() method of WifiService. While doing this, I
  noticed that because of missing "break" statements, the battery stats
  that keep track of how much time Wi-Fi locks are held were including
  the time for full locks in the time reported for scan-only locks.
  BUG=1731826,1739874

Automated import of CL 143124
2009-03-27 12:21:17 -07:00
Dianne Hackborn
499e098f0c AI 143101: Fix issue # 1741546 (Put back private resources used by maps.)
BUG=1741546

Automated import of CL 143101
2009-03-27 09:53:15 -07:00
Karl Rosaen
3f2fd987b2 Automated import from //branches/cupcake/...@143046,143046 2009-03-26 19:20:36 -07:00
Dianne Hackborn
2b4d828e1d Automated import from //branches/cupcake/...@143009,143009 2009-03-26 16:28:25 -07:00
Mike Lockwood
d4d70d95ea Automated import from //branches/cupcake/...@143001,143001 2009-03-26 15:59:52 -07:00
Evan Millar
2323bf7181 Automated import from //branches/cupcake/...@142996,142996 2009-03-26 15:33:04 -07:00
Dianne Hackborn
f473433e4d Automated import from //branches/cupcake/...@142986,142986 2009-03-26 14:39:43 -07:00
Satoshi Kataoka
4194592b9c Automated import from //branches/cupcake/...@142964,142964 2009-03-26 12:42:10 -07:00
Nicolas Roard
33b7987c5c Automated import from //branches/cupcake/...@142930,142930 2009-03-26 10:00:25 -07:00
John Wang
2fe6fe1f5f Automated import from //branches/cupcake/...@142924,142924 2009-03-26 09:27:16 -07:00
Eric Laurent
eeea922213 Automated import from //branches/cupcake/...@142889,142889 2009-03-26 01:57:59 -07:00
Dianne Hackborn
cc95667b9c Automated import from //branches/cupcake/...@142879,142879 2009-03-26 00:04:52 -07:00
Mathias Agopian
3a186c7c2e Automated import from //branches/cupcake/...@142875,142875 2009-03-25 23:26:39 -07:00
Mathias Agopian
c75c4364ea Automated import from //branches/cupcake/...@142873,142873 2009-03-25 23:18:56 -07:00
Dianne Hackborn
02771bcb5d Automated import from //branches/cupcake/...@142870,142870 2009-03-25 22:39:21 -07:00
Eric Fischer
ffacbe5d36 Automated import from //branches/cupcake/...@142861,142861 2009-03-25 21:53:33 -07:00
Suchi Amalapurapu
a110047298 Automated import from //branches/cupcake/...@142858,142858 2009-03-25 21:48:28 -07:00
Mathias Agopian
d2f34e5fd6 Automated import from //branches/cupcake/...@142856,142856 2009-03-25 21:42:35 -07:00
Jeffrey Sharkey
5104518fd7 Automated import from //branches/cupcake/...@142855,142855 2009-03-25 21:37:10 -07:00
Dianne Hackborn
73fbd70263 Automated import from //branches/cupcake/...@142829,142829 2009-03-25 18:37:33 -07:00
Joe Onorato
1ee5792d0d Automated import from //branches/cupcake/...@142827,142827 2009-03-25 18:19:11 -07:00
Jim Miller
7e4ad35590 Automated import from //branches/cupcake/...@142825,142825 2009-03-25 18:16:41 -07:00
Romain Guy
d6ab043da8 Automated import from //branches/cupcake/...@142818,142818 2009-03-25 17:57:49 -07:00
Andreas Huber
b3b366a7a5 Automated import from //branches/cupcake/...@142799,142799 2009-03-25 16:45:05 -07:00
Romain Guy
3661101005 Automated import from //branches/cupcake/...@142788,142788 2009-03-25 16:28:37 -07:00
Amith Yamasani
2d548b56cd Automated import from //branches/cupcake/...@142786,142786 2009-03-25 16:26:35 -07:00
Chris Tate
0f8fc102b9 Automated import from //branches/cupcake/...@142783,142783 2009-03-25 16:22:54 -07:00
Nick Pelly
289befd72b Automated import from //branches/cupcake/...@142761,142761 2009-03-25 15:43:42 -07:00
Dianne Hackborn
19f06fefc0 Automated import from //branches/cupcake/...@142663,142663 2009-03-25 15:32:28 -07:00
Dianne Hackborn
2f847b9e05 Automated import from //branches/cupcake/...@142651,142651 2009-03-25 15:25:33 -07:00
Eric Fischer
b784f21c2b Automated import from //branches/cupcake/...@142643,142643 2009-03-25 15:22:43 -07:00
Mark Womack
ecacd2f6a3 Automated import from //branches/cupcake/...@142633,142633 2009-03-25 15:18:27 -07:00
Chris Tate
76eef491e1 Automated import from //branches/cupcake/...@142614,142614 2009-03-25 15:12:25 -07:00
Raphael Moll
038ab06d64 Automated import from //branches/cupcake/...@142588,142588 2009-03-25 15:06:08 -07:00
Eric Fischer
d5e6a90c75 Automated import from //branches/cupcake/...@142564,142564 2009-03-25 10:14:01 -07:00
Karl Rosaen
25e6bb073e Automated import from //branches/cupcake/...@142558,142558 2009-03-25 09:46:56 -07:00
Dave Sparks
4d661b6022 Automated import from //branches/cupcake/...@142548,142548 2009-03-25 08:57:28 -07:00