13917 Commits

Author SHA1 Message Date
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
Romain Guy
d9b7d24667 AI 143249: am: CL 142820 am: CL 142818 Fixes #1735278. Deep hierarchies could generate stack overflow exception due to new local variables introduces in Cupcake. This change removes 4 ints from the dispatchDraw/drawChild code path to save a bit of stack on deep hierarchies. This is a stop-gap measure but that's all we can/should do for now.
Original author: romainguy
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143249
2009-03-27 15:40:27 -07:00
The Android Open Source Project
e1861133d5 Merge commit 'korg/cupcake'
Conflicts:
	core/java/android/webkit/WebView.java
	core/java/android/widget/TwoLineListItem.java
	preloaded-classes
2009-03-27 15:38:40 -07:00
Andreas Huber
059c446fbf AI 143244: am: CL 142801 am: CL 142799 Ensure thread exit resets mThread to null (synchronized with sListeners)
If sensors_data_poll failed the sensor thread would exit leaving
  mThread non-null, hence SensorManager would never again attempt
  to start the thread because it assumes that it's still running,
  compromising future sensor notifications.
  Original author: andih
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143244
2009-03-27 15:36:43 -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
Romain Guy
c4a5f87c7a AI 143240: am: CL 142790 am: CL 142788 Fixes #1730741. Marquee text was not always animated in context menus.
The reason for that bug was that the marquee could potentially be stopped/started as part of the layout workflow. Unfortunately TextView was relying on setFrame() being called after onMeasure() which is *not* always the case, especially when the widget is inside of a ListView. This change simply checks for the marquee restart flag in on the onDraw() method in case we skipped the setFrame() step.
  Original author: romainguy
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143240
2009-03-27 15:30:50 -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
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
Evan Millar
2323bf7181 Automated import from //branches/cupcake/...@142996,142996 2009-03-26 15:33:04 -07:00
Romain Guy
6ddfec1b19 Automated import from //branches/donutburger/...@142990,142990 2009-03-26 14:51:52 -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
Amith Yamasani
a565e5e3d0 Automated import from //branches/master/...@142936,142936 2009-03-26 10:19:09 -07:00
Nicolas Roard
33b7987c5c Automated import from //branches/cupcake/...@142930,142930 2009-03-26 10:00:25 -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
Jeffrey Sharkey
5104518fd7 Automated import from //branches/cupcake/...@142855,142855 2009-03-25 21:37:10 -07:00
Grace Kloba
52cf58a2a4 Automated import from //branches/master/...@142846,142846 2009-03-25 20:05:44 -07:00
Dianne Hackborn
73fbd70263 Automated import from //branches/cupcake/...@142829,142829 2009-03-25 18:37:33 -07:00
Jim Miller
303736d17d Automated import from //branches/donutburger/...@142826,142826 2009-03-25 18:18:34 -07:00
Jim Miller
7e4ad35590 Automated import from //branches/cupcake/...@142825,142825 2009-03-25 18:16:41 -07:00
Romain Guy
8f2d94fd77 Automated import from //branches/donutburger/...@142820,142820 2009-03-25 18:04:42 -07:00
Romain Guy
d6ab043da8 Automated import from //branches/cupcake/...@142818,142818 2009-03-25 17:57:49 -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
Eric Fischer
61be3ae696 Automated import from //branches/donutburger/...@142720,142720 2009-03-25 17:04:27 -07:00
Mark Womack
63f49f1c3a Automated import from //branches/donutburger/...@142717,142717 2009-03-25 16:54:49 -07:00
Andreas Huber
b3b366a7a5 Automated import from //branches/cupcake/...@142799,142799 2009-03-25 16:45:05 -07:00
Chris Tate
ce229059e2 Automated import from //branches/donutburger/...@142714,142714 2009-03-25 16:44:52 -07:00
Raphael Moll
3aadcd9ed4 Automated import from //branches/donutburger/...@142710,142710 2009-03-25 16:33:12 -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
Nick Pelly
b8088b9bc9 Automated import from //branches/master/...@142774,142774 2009-03-25 16:25:37 -07:00
Eric Fischer
fea44a0cc2 Automated import from //branches/master/...@142759,142759 2009-03-25 16:13:51 -07:00
Mark Womack
78ef45602a Automated import from //branches/master/...@142755,142755 2009-03-25 16:10:13 -07:00
Eric Fischer
00ba76670f Automated import from //branches/donutburger/...@142700,142700 2009-03-25 16:08:50 -07:00
Chris Tate
a7f7dee1e2 Automated import from //branches/master/...@142751,142751 2009-03-25 16:05:06 -07:00
Karl Rosaen
cf58974d66 Automated import from //branches/donutburger/...@142698,142698 2009-03-25 16:01:38 -07:00
Raphael Moll
0704009786 Automated import from //branches/master/...@142746,142746 2009-03-25 15:58:47 -07:00
Eric Fischer
09691cd15b Automated import from //branches/master/...@142739,142739 2009-03-25 15:51:17 -07:00
Karl Rosaen
c06a594d85 Automated import from //branches/master/...@142737,142737 2009-03-25 15:49:02 -07:00
Nick Pelly
289befd72b Automated import from //branches/cupcake/...@142761,142761 2009-03-25 15:43:42 -07:00
Daisuke Miyakawa
c9a8e0ba6c Automated import from //branches/master/...@142673,142673 2009-03-25 15:23:27 -07:00