38429 Commits

Author SHA1 Message Date
Dianne Hackborn
ed2e45b32f Merge "Rework how recent tasks are added." 2010-12-21 19:07:38 -08:00
Jeff Brown
502f695dd1 Add BaseKeyListener.forwardDelete to API.
Change-Id: I34523a54e2725693ce2c435d34cf336b63ed5680
2010-12-21 18:57:23 -08:00
Dianne Hackborn
88819b276b Rework how recent tasks are added.
Now recents is updated every time an activity is resumed.  This
should ensure the recent list is more consistent, in the face of
pressing back or things crashing.

Change-Id: Ibf59419014e549fac55f18633185edcb5ffcaa3c
2010-12-21 18:18:02 -08:00
Jeff Brown
0099863155 Merge "Add support for forward delete key." 2010-12-21 18:12:33 -08:00
Jeff Brown
14d0ca1473 Add support for forward delete key.
Change-Id: Ib356abddd92db12d6b33e19234136c0d167f0e15
2010-12-21 18:04:26 -08:00
Jeff Brown
67b6ab72ae Add TextView support for Home, End, PageUp, PageDown.
Change-Id: If8aa2a63b5fc33528d54eef68e695082a129acce
2010-12-21 18:03:08 -08:00
Jeff Brown
d1e8e94368 Merge "Support invoking key shortcuts using Control." 2010-12-21 17:41:40 -08:00
Jeff Brown
c1df907e39 Support invoking key shortcuts using Control.
This enables Select All, Cut, Copy and Paste behavior in TextViews
and provides a general pattern for implementing additional keyboard
accelerators based on Control key shortcuts.  The same shortcuts
also apply to menu accelerators.

Bug: 3286262
Change-Id: I7d458ee26abf51e0de1735ce490ce3baf504b471
2010-12-21 17:39:12 -08:00
Jaikumar Ganesh
b9fbc9e92f Fix parameter to Pan Device Call.
Change-Id: I659e47feb56b052c61b7ee5521ffb5be71ce04c2
2010-12-21 17:27:07 -08:00
Jake Hamby
5d71e14008 Merge "Add EXTRA_LOCAL_ROLE to Pan State change intent." 2010-12-21 16:55:04 -08:00
Jaikumar Ganesh
5200c8ab72 Add EXTRA_LOCAL_ROLE to Pan State change intent.
This will help apps distinguish between reverse and normal tethering.

Change-Id: I5327ad75dc2cbf478e4f7c2cd6ef1dbe8fba9e93
2010-12-21 16:53:43 -08:00
Alex Sakhartchouk
19d0cefd00 Merge "API cleanup for renderscript. This will be a multiproject commit." 2010-12-21 16:51:52 -08:00
Gilles Debunne
68e8ed38fe Merge "Links are clickable in TextView when textIsSelectable." 2010-12-21 16:10:20 -08:00
Alex Sakhartchouk
b4d7bb6872 API cleanup for renderscript. This will be a multiproject commit.
Change-Id: Ida62d3a155285a20725be9daa62217faef1c3734
2010-12-21 14:57:04 -08:00
Andreas Huber
1528d8f47c Merge "Better handling of forming absolute https URLs, runtime error on https:// access." 2010-12-21 14:51:44 -08:00
Andreas Huber
c0bfdb257c Better handling of forming absolute https URLs, runtime error on https:// access.
Change-Id: I7f6275520b0bd070e645024dd151a8541b8787b2
2010-12-21 14:36:19 -08:00
Amith Yamasani
25a9ed5331 Merge "No frame and margins for dialog style preference screens." 2010-12-21 14:34:30 -08:00
Amith Yamasani
1d0f0d2ca9 No frame and margins for dialog style preference screens.
Bug: 3246757
2010-12-21 14:33:08 -08:00
Gilles Debunne
f3895edf4b Links are clickable in TextView when textIsSelectable.
Bug 3299410

Change-Id: I921c9eecbfef1d81b0d0e2ad2129400c58f165a1
2010-12-21 13:37:05 -08:00
Xia Wang
b057c3dbe6 Merge "Few changes for Wi-Fi Stress Test" 2010-12-21 13:13:42 -08:00
Jesse Wilson
f48e94005b Remove an obsolete import for performance tests.
Change-Id: Ifc76ef821f71ea7469b4044b15071f5d2a7418fd
2010-12-21 12:58:40 -08:00
Jesse Wilson
63acafec59 Merge "Remove unused performance tests." 2010-12-21 12:22:08 -08:00
Xia Wang
73055f12d7 Few changes for Wi-Fi Stress Test
Add WIFI_IDLE_MS to 1min in Wi-Fi stress test. bug#3284797
Wake up device using PowerManagerService.userActivityWithForce instead
of full wake lock.
Turn screen on when running Wi-Fi tests.

Change-Id: Ib763136cef515eec8b1d25183cf7a84ae1038ef2
2010-12-21 11:31:06 -08:00
Dianne Hackborn
d69313da4c Merge "Fix issue #3301572: onCreateLoader must not be a member class: VolumeMetadataLoader" 2010-12-21 11:15:39 -08:00
Dianne Hackborn
0e3b8f421d Fix issue #3301572: onCreateLoader must not be a member class: VolumeMetadataLoader
Also some various cleanup.

Change-Id: I8e8616a86c50c86817f7ec9bb02a5954c1ccd84f
2010-12-21 11:12:09 -08:00
Xavier Ducrohet
735261f8e6 Merge "LayoutLib: Misc rendering fixes." 2010-12-21 10:48:29 -08:00
Xavier Ducrohet
2363b5faac Merge "LayoutLib: support for Path and BitmapShader using delegates." 2010-12-21 10:47:48 -08:00
Andreas Huber
3f3c58f1ef Merge "Squashed commit of the following:" 2010-12-21 10:47:34 -08:00
James Dong
58e074fca9 Merge "Add more debugging code to track down hang during video recording" 2010-12-21 10:47:17 -08:00
Xavier Ducrohet
63fd87113c LayoutLib: Misc rendering fixes.
- always set up the stroke. Paint may not have the proper
  style when drawing lines. stroke should still be setup.

- Fixed vertical linear gradient. Old code generated
  a gradient ratio of NaN

- Fixed alpha rendering when using shaders. In that
  case the alpha channel from the paint color should be
  used in conjunction with the shader.

- Fixed miter limit. Java expects the value to be multiplied
  by the stroke width

- Fixed support for drawing ALPHA_8 bitmaps. Java2D doesn't
  have bitmaps with only alpha channels, so we keep using
  ARGB bitmaps but when drawing them into a bitmap we erase
  the color information.

Change-Id: I4f04341fc843e3f7dadd1fdbf709b11a4f1e24b9
2010-12-21 10:43:18 -08:00
Xavier Ducrohet
d348b6eaa9 LayoutLib: support for Path and BitmapShader using delegates.
Also created delegates for all missing shader, xfermode
and patheffect classes. Moved the logic of the xfermode,
and patheffects that was in Canvas_Delegate into the
xfermode/patheffect classes, and added support (in all
3 clases) for knowing if the shader/xfermode/patheffect
is actually supported or not. Make use of fidelityWarning
in LayoutLog if they are not.
2010-12-21 10:43:18 -08:00
Xavier Ducrohet
19a021038f LayoutLib: Update layoutlib with revised API.
Change-Id: I78929df621f48e85d9cbefe1f5590f9ce99bbaff
2010-12-21 10:43:17 -08:00
Jesse Wilson
bd1c5da28d Remove unused performance tests.
Change-Id: I5a252e314831716f99ce5fbb32d983c7473ee787
2010-12-21 10:23:28 -08:00
Andreas Huber
41c3f74048 Squashed commit of the following:
commit 63be8ceb8b2354fb997a277c0092abae015ecf10
Author: Andreas Huber <andih@google.com>
Date:   Fri Dec 17 13:45:34 2010 -0800

    Enable handling of discontinuities that involve potential format changes.

    Change-Id: I21848a113db8764abb54bdcf302b0923253eaf4d

commit d18a7f80ec09af382026809263dcbbfa9e7a9ec8
Author: Andreas Huber <andih@google.com>
Date:   Fri Dec 17 13:45:01 2010 -0800

    Signal whether or not a format change occured as part of the discontinuity.

    Change-Id: I06e64f542f4369549c9cebbb892dc612346ae43d

commit c400adbd5fdbd65cfef7aed9ec65bcaace4bb69b
Author: Andreas Huber <andih@google.com>
Date:   Fri Dec 17 13:44:46 2010 -0800

    A little more instrumentation of ACodec

    Change-Id: I07f4aeccbbd15cdd9f80f48c3f92ee984ef6d92b

commit 1d802ee01f47b3cdc5b89502cec7fbb595e197a3
Author: Andreas Huber <andih@google.com>
Date:   Fri Dec 17 13:43:58 2010 -0800

    Only sync audio/video queues if both types of media are actually present.

    Change-Id: Ic88edf9bb1ebd4034c08747cce9877a4e28e0d35

commit e402da39d9a4d8b75653a78f728e20a3ef0fb497
Author: Andreas Huber <andih@google.com>
Date:   Fri Dec 17 13:42:24 2010 -0800

    Disable the random seek for now.

    Change-Id: Iddd597b546e2f229e88214f9bdd6452bb188105e

Change-Id: I27c4d9ba916080be94ce6117dbb095e9022ed62b
2010-12-21 10:22:33 -08:00
James Dong
7455630fff Add more debugging code to track down hang during video recording
bug - 3276561

Change-Id: I1e02590b23031f29bcbfc4a1064f039ed80cb862
2010-12-21 10:17:53 -08:00
Vasu Nori
34884643b6 Merge "resubmitting Change-Id: I67b1d04a5c9fc18b0cd4da6184d0b814b64d89e9" 2010-12-21 10:12:16 -08:00
Vasu Nori
34ad57f0e8 resubmitting Change-Id: I67b1d04a5c9fc18b0cd4da6184d0b814b64d89e9
Change-Id: I67b1d04a5c9fc18b0cd4da6184d0b814b64d89e9 was reverted
due to a bug. fixed the bug and resubmitting it here
2010-12-21 09:32:36 -08:00
Kristian Monsen
41e7e6f933 Retrying sending proxy changes to webkit
Now checking if the ProxyProperties object is null, and if the
string returned by getHost() is null.

Change-Id: I727e26c2a41fe057501c3b610ba6fa221d16da45
2010-12-21 14:32:35 +00:00
satok
16331c8a1d Add a parameter to InputMethodManagerService.getEnabledSubtype for allowing to select subtypes implicitly if no subtype is enabled.
Bug: 3142286

Change-Id: I92d019d0648c552e6d7695c3530aa81ae054d702
2010-12-21 16:14:15 +09:00
Patrick Dubroy
96abab264e Merge "Ensure bitmaps aren't freed while referenced from a display list" 2010-12-20 17:15:31 -08:00
Patrick Dubroy
f890fab5a6 Ensure bitmaps aren't freed while referenced from a display list
Also removes the reference queue finalizers. They aren't necessary
anymore now that Bitmaps are allocated in the heap.
2010-12-20 17:02:15 -08:00
Huahui Wu
4cfcca91ef Merge "Revert "Merge "Send proxy changes on the webcore thread to WebKit""" 2010-12-20 15:03:04 -08:00
Huahui Wu
77788f8153 Revert "Merge "Send proxy changes on the webcore thread to WebKit""
This reverts commit ea8f4e0d667b1da70960e35f16ed371ffb4ad2ed, reversing
changes made to fd4dda8d77231db01b26686f61601a999a2d96f3.
2010-12-20 14:43:10 -08:00
Jason Sams
e688213f6f Merge "Clean up Allocation buffer object api." 2010-12-20 14:28:52 -08:00
Vasu Nori
b89e142949 Merge "Revert "bug:2448371 cursorwindow size moved to resource xml file."" 2010-12-20 14:24:48 -08:00
Vasu Nori
5274e84e88 Revert "bug:2448371 cursorwindow size moved to resource xml file."
This reverts commit 2594bae1f551d758c5c88771310d1ee3dc2c71ac.
2010-12-20 14:23:48 -08:00
Chet Haase
cec4328e63 Merge "Make sure background drawables are correct when View is attached" 2010-12-20 14:22:53 -08:00
Dianne Hackborn
6551a2d065 Merge "More cleanup of Loader APIs." 2010-12-20 14:16:57 -08:00
Dianne Hackborn
a2ea747faa More cleanup of Loader APIs.
- Remove old method names.
- Introduce onXxx() hooks to Loader.
- Improve debugging.

Change-Id: I3fba072a05c7023aa7d2c3eb4e126feb514ab6d8
2010-12-20 14:10:31 -08:00
Chet Haase
a9b61ac69c Make sure background drawables are correct when View is attached
Books had a bug where the search menu item would come back with an
out of date background color. The problem was that the logic to
change the background color was tied into StateListDrawable animations.
These animations were not always completing because the action bar would
remove the associated View and the drawable animations would stop being
scheduled (no handler to post to).
The fix is to always set the drawable state to the current state when
a View is added to the hierarchy.

Change-Id: I0fc8008381f7439b9e49d6449ae618512c8e9dd0
2010-12-20 14:09:37 -08:00