63569 Commits

Author SHA1 Message Date
Adam Powell
89fc3acd4b Bug 5513073 - IllegalArgumentException: View not attached to window
manager

Remove extra queued dialog dismiss messages when applicable. Log an
error if the app tries to dismiss a dialog when its window has been
destroyed.

Change-Id: Ice8383d4420c052e31fbbd9fcd25051f3bd9b58d
2011-11-01 18:50:39 -07:00
Dianne Hackborn
a3ccf0319c am ad41a94b: Merge "Some optimizations." into ics-mr1
* commit 'ad41a94b298f834e13632ee29b27cefd75f10012':
  Some optimizations.
2011-11-02 01:07:46 +00:00
Dianne Hackborn
ad41a94b29 Merge "Some optimizations." into ics-mr1 2011-11-01 18:02:44 -07:00
Dianne Hackborn
0500b3cfda Some optimizations.
- Don't try to create a thumbnail bitmap on the client side.  This
  wastes 64k, and isn't needed since we are doing screenshots.
- Optimize View to put all of the callback pointers out of line.
  Added a couple new APIs so these don't need to be protected/public.
- Lazily create ViewGroup's cache paint.
- Change FrameworkPerf app to not use HW accel drawing, to give better
  comparison with GB.

Change-Id: Iec56d02459820d74a4cc9c7ec9c1856563c82c7b
2011-11-01 18:01:33 -07:00
Fabrice Di Meglio
bcf05a6909 Fix bug #5553401 TextLayoutCache is too verbose: "computeValuesWithHarfbuzz -- need to force to single run"
- make single run case non verbose

Change-Id: I5c3b87aeb613697233290ddecac3ca00f58f8313
2011-11-01 17:58:00 -07:00
Adam Powell
d521125da0 am 2eca6133: Merge "Fix bug 5528574 - "View not attached to window manager" upon orientation change when there is a dialog with ActionMode on" into ics-mr1
* commit '2eca6133b69db0a649b8429dcef4ed46b209bf41':
  Fix bug 5528574 - "View not attached to window manager" upon orientation change when there is a dialog with ActionMode on
2011-11-02 00:29:41 +00:00
Adam Powell
2eca6133b6 Merge "Fix bug 5528574 - "View not attached to window manager" upon orientation change when there is a dialog with ActionMode on" into ics-mr1 2011-11-01 17:27:26 -07:00
Katie McCormick
50aaaa2d06 am 46a10ee0: am d5b25ecc: Merge "Doc Update: Update list of widget classes" into ics-mr0
* commit '46a10ee08d0e51c97923c8e3c54513d228b42467':
  Doc Update: Update list of widget classes
2011-11-02 00:12:30 +00:00
Katie McCormick
46a10ee08d am d5b25ecc: Merge "Doc Update: Update list of widget classes" into ics-mr0
* commit 'd5b25ecc07efb9d7f725731f29241217266b4c0c':
  Doc Update: Update list of widget classes
2011-11-02 00:11:01 +00:00
Katie McCormick
d5b25ecc07 Merge "Doc Update: Update list of widget classes" into ics-mr0 2011-11-01 17:09:44 -07:00
Katie McCormick
f99c887ae6 Doc Update: Update list of widget classes
Change-Id: I820848b45e991be6e5b7e7bc2f280caf60fb7f7e
2011-11-01 16:49:23 -07:00
Svetoslav Ganov
67578618fb Update KeyBoardView to reflect the interaction model in Latin IME
A new patch checked in Latin IME makes it behave like any other Views. Touch
explore announces the letter under the finger and subsequent tap types in the
letter. Making KeyBoardView consistent with that.

bug:5552217

Change-Id: Ifeb6c3f071a5d64d0a16de584bf04ea40fff62fc
2011-11-01 16:29:50 -07:00
Irfan Sheriff
1667a485d7 Reset IP failure counter on a success
Bug: 5552673
Change-Id: I56c032577be217895b75bf72ecb2c986d2064ab4
2011-11-01 16:28:17 -07:00
Peter Ng
e82949c764 making slide unlock on tablet have a larger radius
-removed assets from zygote because it was caching the incorrect mdpi assets
-increased radius on slide unlock for tablet

Bug: 5514500
Change-Id: I2e4705cb9c372ebb5baec7bb3dd7a34ced4f10ba

Conflicts:

	core/res/res/values-sw600dp/dimens.xml
2011-11-01 15:52:29 -07:00
Jamie Gennis
e4bd0f32a3 SurfaceTexture: various logging improvements
Change-Id: I1f7216276547a1e9f9343c88c6cc1c24efcdcdbc
2011-11-01 15:48:42 -07:00
Irfan Sheriff
2cef1292c2 Specify component name for provisioning
Bug: 5544654
Change-Id: I977cad131f7c4d9776997fc3153f4c0d12063af2
2011-11-01 15:48:23 -07:00
Amith Yamasani
434c73ffd8 Don't expand the SearchView if already expanded.
Change-Id: I0699f9f8fea0b62b4cf6d45e920bd2f515944005
2011-11-01 15:34:48 -07:00
Dima Zavin
c875355272 am a9656df5: am f0ad147f: Merge "BatteryService(jni): properly handle read\'s return value" into ics-mr0
* commit 'a9656df58f75946f3eab4dd660df56c9d878a04e':
  BatteryService(jni): properly handle read's return value
2011-11-01 22:34:18 +00:00
Dima Zavin
a9656df58f am f0ad147f: Merge "BatteryService(jni): properly handle read\'s return value" into ics-mr0
* commit 'f0ad147fc33cf55cd9427010b2cdb3eb89b9eec3':
  BatteryService(jni): properly handle read's return value
2011-11-01 22:32:06 +00:00
Dima Zavin
f0ad147fc3 Merge "BatteryService(jni): properly handle read's return value" into ics-mr0 2011-11-01 15:29:42 -07:00
Adam Powell
cfe9aee728 Fix bug 5528574 - "View not attached to window manager" upon
orientation change when there is a dialog with ActionMode on

Fix a bug closing down active action modes as dialogs are closing.

Change-Id: I0d28e3b3845d5ed50fbb55b180dafa1b11957b81
2011-11-01 15:03:23 -07:00
Svetoslav Ganov
ec1e06a00d Updating NumberPicker, TimePicker, DatePicker to fit different screen and font sizes.
1. Now the NumberPicker has minWidth/minHeight that is the lower bound
   of the correspodning size for which the widget looks well enough to
   be usable. There is also maxWidth/masHeight that is the upper bound
   of the corresponding size for which the widget looks best. The picker
   tries to greedily reach the max dimesions for which it looks best.

2. The NumberPicker was not taking care of the max width of the items
   is shows numbers/strings mapped to numbers. Now if not explicitly
   specified the widget computes the maxWidth at which it looks best
   based on the content it shows.

3. Removed an unnecessary layout for number picker on tablets.

4. Updated the TimePicker/DatePicker to not hard-code width for the
   number pickers it uses, rahter wrap the content.

bug:5417100

Change-Id: I432aa96185961e59a058a2565b15265ba7394818
2011-11-01 14:48:34 -07:00
The Android Open Source Project
e18aead3e0 am a0d5bece: Reconcile with ics-mr0-release
* commit 'a0d5bece38f3b8fb430f3fb996e7baefb78d8602':
2011-11-01 21:32:29 +00:00
The Android Open Source Project
a0d5bece38 Reconcile with ics-mr0-release
Change-Id: I14f9c7648ae8cc7403a6c605d12aba8eec553e80
2011-11-01 14:28:57 -07:00
Mangesh Ghiware
d8a1b3bea0 am 274133df: Merge "Fix setInitialScale() to take display density into account." into ics-mr1
* commit '274133dfef84f93de349fcd34919f4df32279e8a':
  Fix setInitialScale() to take display density into account.
2011-11-01 21:04:13 +00:00
Mangesh Ghiware
274133dfef Merge "Fix setInitialScale() to take display density into account." into ics-mr1 2011-11-01 14:02:05 -07:00
Eric Fischer
a58afca896 am abf75396: Merge "Import revised translations. DO NOT MERGE" into ics-mr1
* commit 'abf7539642a7c3d8d31c1d12d705b54cf155db1a':
  Import revised translations.  DO NOT MERGE
2011-11-01 20:55:37 +00:00
Michael Jurka
e1d1adab72 am 93430b3c: Merge "Fix: never show recents over lock screen" into ics-mr1
* commit '93430b3c6d170bf1db538c21666e0b508e8e48ec':
  Fix: never show recents over lock screen
2011-11-01 20:55:35 +00:00
Eric Fischer
abf7539642 Merge "Import revised translations. DO NOT MERGE" into ics-mr1 2011-11-01 13:53:14 -07:00
Michael Jurka
93430b3c6d Merge "Fix: never show recents over lock screen" into ics-mr1 2011-11-01 13:53:02 -07:00
Peter Ng
77036c8fec am 80c3c87f: Merge "Asset updates for tablet notifications and layout fixes to quicksettings" into ics-mr1
* commit '80c3c87ff08e77c3bcbd14f003e296bed9adba55':
  Asset updates for tablet notifications and layout fixes to quicksettings
2011-11-01 20:47:06 +00:00
Peter Ng
80c3c87ff0 Merge "Asset updates for tablet notifications and layout fixes to quicksettings" into ics-mr1 2011-11-01 13:45:18 -07:00
Eric Fischer
9ac5d49125 Import revised translations. DO NOT MERGE
Change-Id: I43513501e2c0eee9339551d0f20411d14bd5eace
2011-11-01 13:33:04 -07:00
Fabrice Di Meglio
65a466ae46 am 3b8d33b1: Merge "Fix bug #5504346 Hung in native_getTextRunAdvances - DO NOT MERGE" into ics-mr1
* commit '3b8d33b131956f3a1b41c15dbe07b1b2d7f44086':
  Fix bug #5504346 Hung in native_getTextRunAdvances - DO NOT MERGE
2011-11-01 20:32:40 +00:00
Robert Greenwalt
5b189a071a am 852d72b2: am bd9b1528: Merge "Add cdma_rmnet4 to list of monitored interfaces" into ics-mr0
* commit '852d72b28e6d7d0e6372a9b544641817338002e6':
  Add cdma_rmnet4 to list of monitored interfaces
2011-11-01 20:32:38 +00:00
Fabrice Di Meglio
3b8d33b131 Merge "Fix bug #5504346 Hung in native_getTextRunAdvances - DO NOT MERGE" into ics-mr1 2011-11-01 13:30:24 -07:00
Robert Greenwalt
852d72b28e am bd9b1528: Merge "Add cdma_rmnet4 to list of monitored interfaces" into ics-mr0
* commit 'bd9b1528051a1b257768fdbc5077a2d4473b02dd':
  Add cdma_rmnet4 to list of monitored interfaces
2011-11-01 20:29:42 +00:00
Robert Greenwalt
bd9b152805 Merge "Add cdma_rmnet4 to list of monitored interfaces" into ics-mr0 2011-11-01 13:27:56 -07:00
Daniel Sandler
8c8b1c677d am 7775f52e: Merge "Bring timestamps back to notifications." into ics-mr1
* commit '7775f52e4aa7703a5721378f5a1103d9486af895':
  Bring timestamps back to notifications.
2011-11-01 20:07:23 +00:00
Daniel Sandler
7775f52e4a Merge "Bring timestamps back to notifications." into ics-mr1 2011-11-01 13:05:41 -07:00
Fabrice Di Meglio
904221a342 Fix bug #5504346 Hung in native_getTextRunAdvances - DO NOT MERGE
- better check of ICU returned values
- default to single run if ICU is returning errors

Change-Id: I836818bda4fc72a27b2201f01023cd23c5d99ecb
2011-11-01 12:47:51 -07:00
Jim Miller
038590191d am a67217c3: Merge "Fix 5404916: Make layout fit on 480x800 hdpi device" into ics-mr1
* commit 'a67217c35ec43e06598b71feae63ce675fa9cac7':
  Fix 5404916: Make layout fit on 480x800 hdpi device
2011-11-01 19:46:52 +00:00
Jim Miller
a67217c35e Merge "Fix 5404916: Make layout fit on 480x800 hdpi device" into ics-mr1 2011-11-01 12:45:11 -07:00
Fabrice Di Meglio
49fb596023 am deb15704: am 46e327ca: (-s ours) Merge "Fix bug #5504346 Hung in native_getTextRunAdvances - DO NOT MERGE" into ics-mr0
* commit 'deb15704e9abcfc71bb81a358ff3bb239896474d':
  Fix bug #5504346 Hung in native_getTextRunAdvances - DO NOT MERGE
2011-11-01 19:44:41 +00:00
Fabrice Di Meglio
deb15704e9 am 46e327ca: (-s ours) Merge "Fix bug #5504346 Hung in native_getTextRunAdvances - DO NOT MERGE" into ics-mr0
* commit '46e327ca32a29432941ba4487077577b10243aed':
  Fix bug #5504346 Hung in native_getTextRunAdvances - DO NOT MERGE
2011-11-01 19:42:48 +00:00
Fabrice Di Meglio
46e327ca32 Merge "Fix bug #5504346 Hung in native_getTextRunAdvances - DO NOT MERGE" into ics-mr0 2011-11-01 12:41:04 -07:00
Irfan Sheriff
bbe77ca6be Avoid duplicate dialogs leading to NPE
Bug: 5548268
Change-Id: I383d5dba5ed2d77c1623d03990f1139872a65e2a
2011-11-01 12:04:57 -07:00
Robert Greenwalt
57c8ac6e13 Add cdma_rmnet4 to list of monitored interfaces
Lets the data traffic arrows work on LTE device on 1x,
but also lets telephony monitor for hung radios on 1X.

bug:5531630
Change-Id: I9fa25a5223afaa2e37373668c899ac28a95783fa
2011-11-01 11:51:27 -07:00
Mangesh Ghiware
e47f48a142 am 00ef15b9: Merge "Clamp initial scale between minimum and maximum values." into ics-mr1
* commit '00ef15b98ac0579ebd5f81a1753bc18384e88b8b':
  Clamp initial scale between minimum and maximum values.
2011-11-01 18:30:26 +00:00
Mangesh Ghiware
00ef15b98a Merge "Clamp initial scale between minimum and maximum values." into ics-mr1 2011-11-01 11:28:01 -07:00