26420 Commits

Author SHA1 Message Date
Peter Ng
c7dbfc640b Merge "making slide unlock on tablet have a larger radius" into ics-mr1 2011-11-02 11:46:32 -07:00
Amith Yamasani
dab15d14ca Merge "Don't expand the SearchView if already expanded." into ics-mr1 2011-11-02 11:43:53 -07:00
Adam Powell
7a5a50c12f Merge "Bug 5513073 - IllegalArgumentException: View not attached to window manager" into ics-mr1 2011-11-02 10:33:52 -07:00
Svetoslav Ganov
e5d0f19953 Merge "CalendarView title incorrectly updated for different languages." into ics-mr1 2011-11-02 10:14:46 -07:00
Svetoslav Ganov
6e42470f92 Merge "Accessibility window query APIs should respect root name space." into ics-mr1 2011-11-02 10:13:55 -07:00
Svetoslav Ganov
7f0c850b7a Merge "Updating NumberPicker, TimePicker, DatePicker to fit different screen and font sizes." into ics-mr1 2011-11-02 10:13:17 -07:00
Irfan Sheriff
f9d8faf7fe am 953005e8: Merge "Specify component name for provisioning" into ics-mr0
* commit '953005e8243e4dc898a00d9a1612ae82772913b9':
  Specify component name for provisioning
2011-11-02 04:18:14 +00:00
Irfan Sheriff
953005e824 Merge "Specify component name for provisioning" into ics-mr0 2011-11-01 21:15:26 -07:00
Dianne Hackborn
39cec40697 Merge "Add new OOM adjustment for the "previous" process." into ics-mr1 2011-11-01 21:11:18 -07:00
Dianne Hackborn
f35fe23669 Add new OOM adjustment for the "previous" process.
This is the process that you had previously been interacting with
in the UI before the current one.  Treating it specially should
allow us to improve the scenario of switching back and forth
between two apps.

Also add API constent for ICS MR1.

Change-Id: Ib3fe4df36b270be11dfd6b7e8d107c9994058a4d
2011-11-01 19:25:20 -07:00
Fabrice Di Meglio
07b4b31453 am bcf05a69: Fix bug #5553401 TextLayoutCache is too verbose: "computeValuesWithHarfbuzz -- need to force to single run"
* commit 'bcf05a69090f342d328f1537d1d83406b883290b':
  Fix bug #5553401 TextLayoutCache is too verbose: "computeValuesWithHarfbuzz -- need to force to single run"
2011-11-02 02:17:48 +00:00
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
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
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
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
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
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
abf7539642 Merge "Import revised translations. DO NOT MERGE" into ics-mr1 2011-11-01 13:53:14 -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
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
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
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
46e327ca32 Merge "Fix bug #5504346 Hung in native_getTextRunAdvances - DO NOT MERGE" into ics-mr0 2011-11-01 12:41:04 -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
00ef15b98a Merge "Clamp initial scale between minimum and maximum values." into ics-mr1 2011-11-01 11:28:01 -07:00
Adam Powell
ca4100da0a Merge "Fix bug 5534667 - Action bar icons need more space on tablet" into ics-mr1 2011-11-01 10:58:58 -07:00
Fabrice Di Meglio
26e9ee28de 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 10:49:44 -07:00
Dianne Hackborn
f136aa341a Merge "Various performance and other work." into ics-mr1 2011-11-01 10:42:54 -07:00
Peter Ng
374e23bd11 Merge "spinner focused states pumped up" into ics-mr1 2011-11-01 10:29:25 -07:00
Mangesh Ghiware
e9841bb45d Fix setInitialScale() to take display density into account.
Reverted changes made to fix bug 4982074 (Book text display is limited
to about half the available screen.) The Books app sets initial scale to
100%, and since display density for Crespo is 1.5, initial scale was
actually being set to a smaller value in Device Independent Pixel units.

The correct fix is to take display density into account. This fixes bug
5477652: webview scale factor wrong on prime in reddit app.

Change-Id: Ie09172629add7fb28ca6b47d0fd8f6450c5df569
2011-11-01 09:55:45 -07:00
Philip Milne
3617933bee Merge " Update to fix for bug 5393156" into ics-mr1 2011-11-01 09:30:21 -07:00
Daniel Sandler
e37233038e Bring timestamps back to notifications.
Bug: 5371747
Change-Id: I3ef52140b37b9926fc9b745e60210a6dd7a036b8
2011-11-01 11:34:34 -04:00
Adam Powell
24340afbab Fix bug 5534667 - Action bar icons need more space on tablet
Set a wider minimum width for the action button style on -sw600dp.

Fix an annoying bug where recycled ActionMenuItemViews would retain a
lingering pressed state, causing an unrelated button to glow briefly.

The home/up affordance should not be focusable when it is disabled.

Change-Id: Ia68f3d09f5d977f50e4e33c354d8133367187973
2011-10-31 22:11:24 -07:00
Chih-Chung Chang
11ba6da460 am 4b6353ea: Merge "Update camera continuous autofocus javadoc." into ics-mr0
* commit '4b6353ea0265bfed52d0637abd1b17596ce25ff0':
  Update camera continuous autofocus javadoc.
2011-11-01 04:05:45 +00:00
Chih-Chung Chang
4b6353ea02 Merge "Update camera continuous autofocus javadoc." into ics-mr0 2011-10-31 21:04:01 -07:00
Svetoslav Ganov
1442da620c CalendarView title incorrectly updated for different languages.
1. The formatting rule was hard-coded.

bug:5517162

Change-Id: I323bf623df3d9b7c0c173dc0f35ebfba070588b2
2011-10-31 18:57:06 -07:00
Adam Powell
b1db20bde5 Merge "Fix bug 5514022 - ListView should not auto-scroll selected item to top when gaining focus" into ics-mr1 2011-10-31 18:18:33 -07:00
Svetoslav Ganov
57f3b566db Accessibility window query APIs should respect root name space.
1. The window query API used to not-respect the root name space
   while traversing the parent relation i.e. a client was able
   to fetch the parent of a root name space node.

2. Children that are root name space were reported but their descendants
   not. Actually such children should not be reported since they are
   the root of a separate logical sub-tree. Such a tree is exposed by
   its root allowing its traversal. The accessibility APIs should be
   able to explore a virtual tree, i.e. one with a descendant which is
   root name space, only if an accessibility event from there was received.

bug:5480096

Change-Id: I4c4d805aa2f6d4edba86eda213b5239bea83eed2
2011-10-31 18:09:28 -07:00
Dianne Hackborn
2c84cfc001 Various performance and other work.
- IME service now switches between visible and perceptible depending on
  whether it is being showm, allowing us to more aggressively free its
  memory when not shown.

- The activity display time is no longer delayed by the activity
  transition animation.

- New -R (repeat) option for launching activities with the am command.

- Improved some documentation on Loader to be clear about some methods
  that apps should not normally call.

- FrameworkPerf test now allows you to select individual tests to run.

Change-Id: Id1f73de66dc93d63212183958a72119ad174318b
2011-10-31 16:52:34 -07:00
Adam Powell
dcce1216b0 Fix bug 5514022 - ListView should not auto-scroll selected item to top
when gaining focus

Change-Id: I9b82cba3d48a211b1d2017d66791bea466938cab
2011-10-31 16:41:21 -07:00
Philip Milne
6b248641fc Update to fix for bug 5393156
Tweak to the logic to take account of margins when gravity = FILL is used and
    there is a measurement dependency between the axes (as in mulit-line text).

Cherry pick ecab1178648670f2c72b47faf250040fcded3d13 to MR1

Change-Id: Ic0c95a4618bdb32acca75219796c66c1fc467610
2011-10-31 16:26:55 -07:00
Martijn Coenen
b288f99334 am 1eca250b: Merge "Fix disableForegroundNdefPush crash." into ics-mr0
* commit '1eca250b9dad45893fead128539f112cbc513496':
  Fix disableForegroundNdefPush crash.
2011-10-31 22:54:43 +00:00
Jim Miller
5750b1ffb7 Fix 5404916: Make layout fit on 480x800 hdpi device
This fixes the layout to work on a 480x800 device.  Change required
not making the font scalable anymore as well as reducing the padding above
and below the clock to reduce the layout by 7 pixels.

Change-Id: I9a18c60bf89873b849069f1f52de1db727de668a
2011-10-31 15:50:13 -07:00