16992 Commits

Author SHA1 Message Date
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
Bjorn Bringert
f5f7510486 Fix issue #3224616: TimeUtils.formatDuration() can drop 0s.
Integrated from master.

Change-Id: Ie12dd25cce03c06fafb7df1335266322df43b038
2010-12-20 15:23:02 -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
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
Vasu Nori
d3f9c1eeb3 Merge "bug:2448371 cursorwindow size moved to resource xml file." 2010-12-20 13:10:26 -08:00
Vasu Nori
2594bae1f5 bug:2448371 cursorwindow size moved to resource xml file.
let cursor window size be set per device in device resources file.
default is 1MB.
for SR, it is 2MB.
it can be set to any value (in kB) in the device resource
strings.xml file

Change-Id: I67b1d04a5c9fc18b0cd4da6184d0b814b64d89e9
2010-12-20 13:08:08 -08:00
Mike LeBeau
19e353e722 am 0655b31d: am 12b82c8d: Merge "Unhide RecognizerResultsIntent. This API was reviewed for Froyo, but we didn\'t want to make it public then because it wasn\'t until our first Market release of Voice Search that the APIs would be in use by our app." into gingerbread
* commit '0655b31d758ce8fe054c98c6d288e424f2d273e2':
  Unhide RecognizerResultsIntent. This API was reviewed for Froyo, but we didn't want to make it public then because it wasn't until our first Market release of Voice Search that the APIs would be in use by our app.
2010-12-20 12:00:06 -08:00
Mike LeBeau
0655b31d75 am 12b82c8d: Merge "Unhide RecognizerResultsIntent. This API was reviewed for Froyo, but we didn\'t want to make it public then because it wasn\'t until our first Market release of Voice Search that the APIs would be in use by our app." into gingerbread
* commit '12b82c8da7bc477e591b12d8b7e469a9ba6dd574':
  Unhide RecognizerResultsIntent. This API was reviewed for Froyo, but we didn't want to make it public then because it wasn't until our first Market release of Voice Search that the APIs would be in use by our app.
2010-12-20 11:58:01 -08:00
Martijn Coenen
0f0f10c85a am 07249236: am ab82a5b9: Clean up and polish Mifare Classic tech.
* commit '07249236fcef7ef0603b9978ec3b420f247b51cb':
  Clean up and polish Mifare Classic tech.
2010-12-20 11:33:32 -08:00
Nick Pelly
198a9452c1 am 623baf8e: am 29f9ee97: Merge "Need to check ndef before writing ndef." into gingerbread
* commit '623baf8edb5301ee412a428a5b25ea38d7b39f91':
  Need to check ndef before writing ndef.
2010-12-20 11:33:13 -08:00
Martijn Coenen
07249236fc am ab82a5b9: Clean up and polish Mifare Classic tech.
* commit 'ab82a5b9a841cf052310e8500224932b9f5e3cad':
  Clean up and polish Mifare Classic tech.
2010-12-20 11:30:12 -08:00
Nick Pelly
623baf8edb am 29f9ee97: Merge "Need to check ndef before writing ndef." into gingerbread
* commit '29f9ee973eefea3c68382ed38e69db1f1a396f3f':
  Need to check ndef before writing ndef.
2010-12-20 11:29:40 -08:00
Glenn Kasten
85d9dfef62 Merge "Fix documentation errors" 2010-12-20 10:17:02 -08:00
Kristian Monsen
ea8f4e0d66 Merge "Send proxy changes on the webcore thread to WebKit" 2010-12-20 10:14:52 -08:00
Kristian Monsen
64a2f6bd06 Send proxy changes on the webcore thread to WebKit
Change-Id: I16995b4595e931715b064702ae570c387cf453f3
2010-12-20 17:46:20 +00:00
Glenn Kasten
334031cd07 Fix documentation errors
Fix typos.
Fix javadoc error.
Fix wrong instructions about new returning null.

Change-Id: I76bca22e386839007fc99667b07649a4ced4180f
2010-12-20 09:22:01 -08:00
Vasu Nori
fd4dda8d77 Merge "if a download dir doesn't exist, create it or fail fast" 2010-12-20 09:20:18 -08:00
Mike LeBeau
52af3a4f9a Unhide RecognizerResultsIntent. This API was
reviewed for Froyo, but we didn't want to make it
public then because it wasn't until our first
Market release of Voice Search that the APIs would
be in use by our app.

http://b/3135351

Change-Id: I49053717cac08e3976c22e3a105139b6755aadb8
2010-12-20 10:50:31 -05:00
Kristian Monsen
c4d251bbe1 Merge "Remove WebView leak" 2010-12-20 06:04:51 -08:00
Kristian Monsen
4190aab1c9 Remove WebView leak
We were leaking the first WebView created since we kept a reference
in a static variable. Using the new way of sending messages in a
static method to avoid this.

Change-Id: Ibb665e32c22c16c17176cd69bf8f7e83fd94894f
2010-12-20 12:26:00 +00:00
Vasu Nori
6916b03e02 if a download dir doesn't exist, create it or fail fast
in HC, using DownloadManager public API, download directories
named by the constants Environment.DOWNLOAD_*
may ot exist. theyneed to be created or
the download request should fail ASAP.
bug:3297328

Change-Id: Ic87023d8fe98bd240744f66607a5400b7825e17e
2010-12-19 20:33:54 -08:00
Daisuke Miyakawa
2b133574bb Let callers replace layout for LocalePicker adapter.
Bug: 3298275
Change-Id: I9be5f4677ba553bfd2f35348d14d99e68fdd60f1
2010-12-19 19:02:45 -08:00
Adam Powell
dcc9dce073 Fix bug 3273104 - Fix SeekBar holo style
Change-Id: I2050757ce008f9546792ebb7ca51d7a227d8565e
2010-12-19 19:01:46 -08:00
Adam Powell
1700ae0aef Fix bug 3295495 - Wrong menu item selection in PopupMenu
Change-Id: I17ec55f09dbed9797cb702a7252f6c89e861cc6a
2010-12-19 17:11:07 -08:00
Adam Powell
50f784cf2d Measure spinner items for sizing the dropdown view.
Only a limited window of items will be measured around the currently
selected item.

Change-Id: Ie0431948fdd564fa4bbeb82dede9e2abebbaee55
2010-12-19 16:16:43 -08:00
Adam Powell
6ecf3d1690 Fix bug 3292288 - Make Action Bar trap taps
Change-Id: I517855fb6cc50171dc247ede4537ed8ec58d7c91
2010-12-19 14:05:54 -08:00
Dianne Hackborn
4c7cc34127 Demo hack!
To make a 800 tall screen run like a 720:

adb shell setprop persist.demo.screensizehack 800=720

Note this is a persistent property, so it will (intentionally) remain across boots.

Change-Id: I8a8a9f937399327444e8fb154b91f0e642db116e
2010-12-18 16:25:29 -08:00
Adam Cohen
fb1b2317ab Merge "Fixing leak in StackView" 2010-12-17 19:46:46 -08:00
Adam Cohen
c0b53be0c9 Fixing leak in StackView
Change-Id: I2a5f340906c38f87a4b280bedcd47624351da467
2010-12-17 19:32:43 -08:00
Jeff Brown
4e6319b73c Add initial support for TAB navigation.
Bug: 3286652
Change-Id: I813a0318b3b8d9c9bc791ea6a2427be11c08de00
2010-12-17 18:51:04 -08:00
Carl Shapiro
12d81c49a0 Fix a constructor declaration to match its definition.
The second argument of the JavaPixelAllocator constructor was
eliminated by an earlier change but the class definition was not
updated to match that edit.

Change-Id: I27af0cc52c748cfdec02eb4edcf512dd13f72567
2010-12-17 18:36:52 -08:00
Carl Shapiro
d5e27e3215 Merge "Eliminate tracked allocations and the inNativeAlloc option." 2010-12-17 18:18:06 -08:00
Jim Miller
ae115191cb Merge "Fix 3148496: Update LockScreen clock to use new font." 2010-12-17 18:04:48 -08:00
Carl Shapiro
2118b25ad4 Eliminate tracked allocations and the inNativeAlloc option.
Change-Id: Ic10b2b41a26925d799e5d1e50be77fc480ec0f17
2010-12-17 18:03:38 -08:00
Jim Miller
4e659135fd Fix 3148496: Update LockScreen clock to use new font.
Change-Id: I8a4133f633bd3927de75010099e29ad847f3f671
2010-12-17 17:53:02 -08:00
Gilles Debunne
202ef9e851 Merge "AutoLink identified spans are selected when long pressed." 2010-12-17 17:42:32 -08:00
Dianne Hackborn
8c972f2ce2 Merge "Some fixes to the new loader management." 2010-12-17 17:11:54 -08:00
Dianne Hackborn
f73c75ca20 Some fixes to the new loader management.
Change-Id: Ib882be5762b0ebeed9b027754159f401232718e9
2010-12-17 16:54:05 -08:00
Svetoslav Ganov
6bd08c56b1 Merge "Updating NumberPicker resources and DatePicker selector color for the Light Holo theme" 2010-12-17 16:41:17 -08:00
Svetoslav Ganov
01ce2c708f Updating NumberPicker resources and DatePicker selector color for the Light Holo theme
Change-Id: Id1bb07a82f44fe56e1a9917c3fe8d49b3363852d
2010-12-17 16:38:07 -08:00
Gilles Debunne
4dfe08632f AutoLink identified spans are selected when long pressed.
Do not rely on standard word detection for these (which does not work because
of / or . in URL or - in phone numbers).

Various other bug fixes for text selection with autolinks.

Change-Id: I482e99efa980281086ce761b27b3a36579e7cf76
2010-12-17 16:32:19 -08:00
Svetoslav Ganov
9e780c66e9 Merge "Bug 3191746. atePicker TimePicker: Dark theme is used in a Light theme app" 2010-12-17 16:32:07 -08:00