89 Commits

Author SHA1 Message Date
Jeffrey Sharkey
8126ac66b6 AI 143908: am: CL 143907 Make search widget drop-down wider.
Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143908
2009-03-31 18:25:03 -07:00
Dianne Hackborn
958b9adc08 AI 143899: am: CL 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.
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143899
2009-03-31 18:00:36 -07:00
Romain Guy
d928d6837d AI 143890: Fixes #1749387. Improve the pooling of the VelocityTracker class. This introduces a new, hidden, API for pooling objects easily.
BUG=1749387

Automated import of CL 143890
2009-03-31 17:52:16 -07:00
Romain Guy
fb43fea68a AI 143815: am: CL 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.)
Original author: romainguy
  Merged from: //branches/cupcake/...

Automated import of CL 143815
2009-03-31 15:15:47 -07:00
Dianne Hackborn
617f877c06 AI 143800: am: CL 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.
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143800
2009-03-31 15:04:46 -07:00
Nick Pelly
ea600ccfb7 AI 143788: am: CL 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.
  Original author: npelly
  Merged from: //branches/cupcake/...

Automated import of CL 143788
2009-03-31 14:56:26 -07:00
Evan Millar
22ac043ec1 AI 143710: am: CL 143615 -Add more stats:
-total network sent/received
  -total full/partial wakelock times.
  -Format the network sent/received amounts to be more easily readable.
  Original author: emillar
  Merged from: //branches/cupcake/...

Automated import of CL 143710
2009-03-31 11:33:18 -07:00
Eric Fischer
48e2de6b0f AI 143678: am: CL 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).
  Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 143678
2009-03-31 11:08:30 -07:00
Eric Fischer
65b8acad5f AI 143669: am: CL 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.
  Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 143669
2009-03-31 10:59:44 -07:00
Dianne Hackborn
b850427a75 AI 143214: am: CL 143009 More work on issue #1739507 (kila-user build is too big): remove some unused application resources I found.
Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143214
2009-03-27 18:26:13 -07:00
Evan Millar
2a15f38ec2 AI 143207: am: CL 142996 Fix bug in human readable battery stats dumping code which caused the wifi lock times to be off by an order of magnitude.
Original author: emillar
  Merged from: //branches/cupcake/...

Automated import of CL 143207
2009-03-27 18:03:56 -07:00
Nicolas Roard
209d4152b6 AI 143185: am: CL 142930 Adds a straightforward abort() function in addition to interrupt(). Used on the gears C++ side to get rid of the thread leaking introduced with the HttpRequest refactoring.
Original author: nicolasroard
  Merged from: //branches/cupcake/...

Automated import of CL 143185
2009-03-27 16:50:56 -07:00
Mathias Agopian
66b8ec99c5 AI 143171: am: CL 142873 fix [1732012] Only show screen rotation animation when triggered by sensor
Original author: mathias
  Merged from: //branches/cupcake/...

Automated import of CL 143171
2009-03-27 16:10:37 -07:00
Dianne Hackborn
1e880dba10 AI 143169: am: CL 142870 Fix issue #1724917 (Applications (browser, maps, gmail) fail to retain their landscape state after coming out of sleep mode). We now rely on the listeners last known orientation, and make sure to clear it when enabling/disabling.
Also do most of the work for issue #1732012 (Only show screen rotation animation when triggered by sensor).  This just needs to be hooked up to the surface flinger API when that appears.
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143169
2009-03-27 16:04:08 -07:00
Eric Fischer
c2d54f46ac AI 143165: am: CL 142861 Make TextView Emoji scale to match the size of the text.
Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 143165
2009-03-27 15:52:38 -07:00
Suchi Amalapurapu
3b840af148 AI 143162: am: CL 142858 Fix framework orientation issues
Define orientation limits for various cases.
  Values between 235 and 295 are considered landscape,
  0 - 60 are considered portrait.
  0-235 are ignored since we don't support Surfaces for 180 and 270 yet.
  A linear threshold value is calculated for values between 265 and 355 to switch between landscape and portrait.(different for both cases)
  Based on current mode we not only calculate the threshold but also compare accordingly based on increasing or decreasing orientation
  BUG = 1734325
  Original author: asuchitra
  Merged from: //branches/cupcake/...

Automated import of CL 143162
2009-03-27 15:43:35 -07:00
Jeffrey Sharkey
cd1a9ea238 AI 143159: am: CL 142855 Fix SHOW_OR_CREATE intent to correctly handle duplicate E-mail or IM entries for a person.
Added a new WITH_EMAIL_OR_IM_FILTER_URI to find people with a given string as either an E-mail or IM address.  This cleans up the original code, and lets us handle duplicates when there are multiple ContactMethod matches for a single person.  (We don't get GROUP BY through the ContentProvider interface.)
  In ContactsListActivity we don't show possibly-incorrect labels when in MODE_QUERY_PICK_TO_VIEW, as any labels and values would be identical.  (The people appearing in that list are there because their ContactMethod matches the query.)
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143159
2009-03-27 15:32:56 -07:00
Michael Chan
e1e1cbfc41 AI 143150: Fixed the problem where setEnabled(false) has no effect from onResume().
The problem was that the Preference widget was reenabled when its dependency
  was in enabled state. The enabled field was basically overloaded.  The fix was
  to add an additional field to keep track of whether its dependencies were met.
  BUG=1653960

Automated import of CL 143150
2009-03-27 15:06:14 -07:00
Dianne Hackborn
88fb1069bf AI 143147: Manual integration
Automated import of CL 143147
2009-03-27 14:59:22 -07:00
Romain Guy
6ddfec1b19 Automated import from //branches/donutburger/...@142990,142990 2009-03-26 14:51:52 -07:00
Jim Miller
303736d17d Automated import from //branches/donutburger/...@142826,142826 2009-03-25 18:18:34 -07:00
Romain Guy
8f2d94fd77 Automated import from //branches/donutburger/...@142820,142820 2009-03-25 18:04:42 -07:00
Andreas Huber
6dee6243bf Automated import from //branches/donutburger/...@142801,142801 2009-03-25 17:54:39 -07:00
Romain Guy
986003d46a Automated import from //branches/donutburger/...@142790,142790 2009-03-25 17:42:35 -07:00
Amith Yamasani
f0138614ac Automated import from //branches/donutburger/...@142787,142787 2009-03-25 17:39:37 -07:00
Nick Pelly
2d8c060bbc Automated import from //branches/donutburger/...@142766,142766 2009-03-25 17:33:56 -07:00
Mark Womack
63f49f1c3a Automated import from //branches/donutburger/...@142717,142717 2009-03-25 16:54:49 -07:00
Chris Tate
ce229059e2 Automated import from //branches/donutburger/...@142714,142714 2009-03-25 16:44:52 -07:00
Eric Fischer
00ba76670f Automated import from //branches/donutburger/...@142700,142700 2009-03-25 16:08:50 -07:00
Daisuke Miyakawa
52fc2180fa Automated import from //branches/donutburger/...@142509,142509 2009-03-24 22:52:27 -07:00
Romain Guy
870a2b0156 Automated import from //branches/donutburger/...@142470,142470 2009-03-24 22:46:33 -07:00
Romain Guy
97d00b3150 Automated import from //branches/donutburger/...@142465,142465 2009-03-24 22:45:53 -07:00
Dianne Hackborn
627bba736d Automated import from //branches/donutburger/...@142347,142347 2009-03-24 22:32:56 -07:00
Cedric Beust
079c6f64f9 Automated import from //branches/donutburger/...@142318,142318 2009-03-24 22:28:03 -07:00
Joe Onorato
592d0650d5 Automated import from //branches/donutburger/...@142301,142301 2009-03-24 22:25:52 -07:00
Suchi Amalapurapu
543d69d0ea Automated import from //branches/donutburger/...@142291,142291 2009-03-24 22:24:47 -07:00
Romain Guy
b45f124a04 Automated import from //branches/donutburger/...@142129,142129 2009-03-24 21:30:00 -07:00
Ficus Kirkpatrick
59e5ba47dd Automated import from //branches/donutburger/...@141997,141997 2009-03-24 21:16:34 -07:00
Nick Pelly
f9204e5589 Automated import from //branches/donutburger/...@141979,141979 2009-03-24 21:15:00 -07:00
Mike Lockwood
98594c73bf Automated import from //branches/donutburger/...@141909,141909 2009-03-24 21:04:47 -07:00
Romain Guy
bb93d5598d Automated import from //branches/donutburger/...@141885,141885 2009-03-24 21:04:15 -07:00
Jaikumar Ganesh
5903c97794 Automated import from //branches/donutburger/...@141864,141864 2009-03-24 21:02:13 -07:00
Ficus Kirkpatrick
9b16598f70 Automated import from //branches/donutburger/...@141738,141738 2009-03-24 20:49:28 -07:00
Dianne Hackborn
a8f556ee8c Automated import from //branches/donutburger/...@141726,141726 2009-03-24 20:47:50 -07:00
Nick Pelly
997c7612a8 Automated import from //branches/donutburger/...@141696,141696 2009-03-24 20:44:48 -07:00
Chris Tate
8a7dc17790 Automated import from //branches/donutburger/...@141391,141391 2009-03-24 20:11:42 -07:00
Bob Lee
886f3d69b7 Automated import from //branches/donutburger/...@141355,141355 2009-03-24 20:06:51 -07:00
Dianne Hackborn
49a1a9b5a9 Automated import from //branches/donutburger/...@141347,141347 2009-03-24 20:06:11 -07:00
Mark Womack
c2d251a117 Automated import from //branches/donutburger/...@141325,141325 2009-03-24 20:03:11 -07:00
Romain Guy
304eefa6a3 Automated import from //branches/donutburger/...@141314,141314 2009-03-24 20:01:49 -07:00