Commit Graph

19470 Commits

Author SHA1 Message Date
Mangesh Ghiware
cd49352f19 am 69957172: Merge "Update fix to restore view and text wrap scales." into ics-mr1
* commit '69957172fa8336e01a9ff07ab34deca2c553f0b4':
  Update fix to restore view and text wrap scales.
2011-11-03 22:37:05 +00:00
Mangesh Ghiware
69957172fa Merge "Update fix to restore view and text wrap scales." into ics-mr1 2011-11-03 15:35:23 -07:00
Kenny Root
44eed9f6a9 am e24ac4b2: Merge "Update GET_UNINSTALLED_PACKAGES flag documentation" into ics-mr1
* commit 'e24ac4b219a582f1a99465551b1fd76345553b22':
  Update GET_UNINSTALLED_PACKAGES flag documentation
2011-11-03 21:48:51 +00:00
Kenny Root
e24ac4b219 Merge "Update GET_UNINSTALLED_PACKAGES flag documentation" into ics-mr1 2011-11-03 14:47:07 -07:00
Mangesh Ghiware
e59e301ca0 Update fix to restore view and text wrap scales.
Fixes bug 5544556: All email content is wrapped prematurely.

Previous change (I5a22dd20) didn't take a few other cases of
mViewScale>0 into account.

Change-Id: I4f9578f3558f026c472492ac07d19004416dc228
2011-11-03 13:21:18 -07:00
Doug Zongker
d4ccc92018 Merge "store the hw addr in the extraInfo field of ethernet NetworkInfos" into ics-aah 2011-11-03 13:17:33 -07:00
Doug Zongker
fe30a1ef60 store the hw addr in the extraInfo field of ethernet NetworkInfos
Change-Id: Ic645396e81d1481d84061945eb9721f0eeb151eb
2011-11-03 12:45:42 -07:00
Teng-Hui Zhu
b258b07954 am 76b06759: Merge "Create GL texture when it is missing for video layer" into ics-mr1
* commit '76b067590b2e9dc403c9edac58e414468c5e1104':
  Create GL texture when it is missing for video layer
2011-11-03 18:45:22 +00:00
Teng-Hui Zhu
76b067590b Merge "Create GL texture when it is missing for video layer" into ics-mr1 2011-11-03 11:43:16 -07:00
Kenny Root
685f490eff Update GET_UNINSTALLED_PACKAGES flag documentation
Change-Id: I483b84f07836e6ad96c75e7dd3a86633cb29db22
2011-11-03 10:13:29 -07:00
satok
ae8f846151 am cb1001b2: Merge "Fix a memory leak of a Binder in SpellCheckerService" into ics-mr1
* commit 'cb1001b2829f7da86f66f2634bd40cbc51ba4998':
  Fix a memory leak of a Binder in SpellCheckerService
2011-11-03 09:11:41 +00:00
satok
cb1001b282 Merge "Fix a memory leak of a Binder in SpellCheckerService" into ics-mr1 2011-11-03 02:09:32 -07:00
Jeff Sharkey
e5e0db8f3b am 808ee95d: Merge "Correct proc file reader, optimizations." into ics-mr1
* commit '808ee95dd4244da6ae767d3ddd003ed7b48937d0':
  Correct proc file reader, optimizations.
2011-11-03 07:34:13 +00:00
Jeff Sharkey
808ee95dd4 Merge "Correct proc file reader, optimizations." into ics-mr1 2011-11-03 00:32:22 -07:00
Teng-Hui Zhu
1f54673381 Create GL texture when it is missing for video layer
In any case that the HTMLVideoView is recreated with no GL texture, we should
recreate the GL texture to make sure we always have a valid texture ID.

bug:5530006
Change-Id: I703a987a7530dbeef74e502f3c9ff329beca8c4e
2011-11-02 15:59:25 -07:00
Adam Powell
9dc8a42638 am b41d9f8a: Merge "Fix bug 5557267 - [ViewPager] non-primary fragments unnecessary stopped if "defer start" is enabled" into ics-mr1
* commit 'b41d9f8a84a325241440b6e950dea6d240134823':
  Fix bug 5557267 - [ViewPager] non-primary fragments unnecessary stopped if "defer start" is enabled
2011-11-02 22:45:57 +00:00
Adam Powell
b41d9f8a84 Merge "Fix bug 5557267 - [ViewPager] non-primary fragments unnecessary stopped if "defer start" is enabled" into ics-mr1 2011-11-02 15:44:31 -07:00
Jeff Sharkey
163e6443f2 Correct proc file reader, optimizations.
Moved away from BufferedReader, which only reads the first 8KB of
some proc files because it aggresively fills its buffer.  Optimized
proc parsing, now double the speed.  Tests to cover.

Log when NetworkStats counters roll backwards when subtracting, and
optimizations around findIndex().  When system removes UID, also
remove from last stats snapshot to avoid xt counters from rolling
backwards.

Bug: 5472949, 5458380
Change-Id: I07c08fe5233156fac2b84450f6291868bf9bfaf2
2011-11-02 15:14:11 -07:00
Adam Powell
2db4e4bd1b Fix bug 5557267 - [ViewPager] non-primary fragments unnecessary
stopped if "defer start" is enabled

Only revise the target state in moveToState if it would cross the
stopped/started boundary.

Change-Id: I8f6e400331157eac9343261117cf633611fc1e4d
2011-11-02 14:30:47 -07:00
Svetoslav Ganov
93517dc3ea am 1997fe14: Merge "Update KeyBoardView to reflect the interaction model in Latin IME" into ics-mr1
* commit '1997fe1482ecf1ca920c7729a1ad9df5340565f3':
  Update KeyBoardView to reflect the interaction model in Latin IME
2011-11-02 18:53:52 +00:00
Svetoslav Ganov
1997fe1482 Merge "Update KeyBoardView to reflect the interaction model in Latin IME" into ics-mr1 2011-11-02 11:51:58 -07:00
Amith Yamasani
5cbac4c12e am dab15d14: Merge "Don\'t expand the SearchView if already expanded." into ics-mr1
* commit 'dab15d14ca2ce9c3a614e97869824c6337e76d51':
  Don't expand the SearchView if already expanded.
2011-11-02 18:45:38 +00: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
7939246dc0 am 7a5a50c1: Merge "Bug 5513073 - IllegalArgumentException: View not attached to window manager" into ics-mr1
* commit '7a5a50c12f6a6e094d1e8aa7514df37f1176354a':
  Bug 5513073 - IllegalArgumentException: View not attached to window manager
2011-11-02 17:50:13 +00: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
3a0d4d7cbf am e5d0f199: Merge "CalendarView title incorrectly updated for different languages." into ics-mr1
* commit 'e5d0f19953189fdd0e2661ebb7f0ea925f14ea13':
  CalendarView title incorrectly updated for different languages.
2011-11-02 17:17:32 +00:00
Svetoslav Ganov
d5a077b89e am 6e42470f: Merge "Accessibility window query APIs should respect root name space." into ics-mr1
* commit '6e42470f928bbf60c9fd3d17a2a69a4b96cec170':
  Accessibility window query APIs should respect root name space.
2011-11-02 17:17:30 +00:00
Svetoslav Ganov
d55e4cca62 am 7f0c850b: Merge "Updating NumberPicker, TimePicker, DatePicker to fit different screen and font sizes." into ics-mr1
* commit '7f0c850b7a4a2b8a135a110a33d053f4d6689559':
  Updating NumberPicker, TimePicker, DatePicker to fit different screen and font sizes.
2011-11-02 17:15:09 +00: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
satok
74061ff904 Fix a memory leak of a Binder in SpellCheckerService
Bug: 5499490

Change-Id: I167a3e9dfdd6edd06c6ad993fbff3a535c81b09c
2011-11-03 01:22:20 +09:00
Dianne Hackborn
f30880d154 am 39cec406: Merge "Add new OOM adjustment for the "previous" process." into ics-mr1
* commit '39cec40697ab3d1d106e0c0c21458b2085c96f00':
  Add new OOM adjustment for the "previous" process.
2011-11-02 04:12:26 +00: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
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
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
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
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
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
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
Dianne Hackborn
88175571f2 am f136aa34: Merge "Various performance and other work." into ics-mr1
* commit 'f136aa341abaaf7fd6f7632d41a30b2989d93985':
  Various performance and other work.
2011-11-01 17:44:04 +00:00
Dianne Hackborn
f136aa341a Merge "Various performance and other work." into ics-mr1 2011-11-01 10:42:54 -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