14646 Commits

Author SHA1 Message Date
Cary Clark
aa7dc92838 Merge "stop GL drawing thread before killing WebCore" into honeycomb 2011-02-03 08:48:24 -08:00
Cary Clark
d9fd857ca9 stop GL drawing thread before killing WebCore
The TexturesGenerator thread references pictures owned by the
WebCore thread, so must be stopped before the WebCore thread
is deleted.

Requires a companion change in external/webkit

bug:3406185
Change-Id: I5b2f8b3b52367b05301c76e5bd22a95fcd0338d5
2011-02-03 05:37:04 -05:00
Romain Guy
ac14db72ca Merge "Fast transform properties setters. Bug #3413510" into honeycomb 2011-02-03 01:11:39 -08:00
Romain Guy
da489796e5 Fast transform properties setters.
Bug #3413510

Change-Id: I2c83e219faff697a48a160fee627f87422a2cd08
2011-02-03 01:05:15 -08:00
Daniel Sandler
a31e4190cb Implement priority ordering in notifications.
Ongoings are the only notifications currently given higher
priority (and it's in an internal data structure, not a
public API, so fear not about abuse---this will be no worse
than on the phone where ongoings floated to the top).

The only thing left is to give privileged customers a way to
alter the priority of their notifications.

Bug: 3412807
Bug: 3146719
Change-Id: I9e738cc413982845cf4858faa8ccd0a7dbf3187c
2011-02-03 01:01:20 -05:00
Romain Guy
5bfd1afffe Merge "Allocate layers from the layers pool. Bug #3413433" into honeycomb 2011-02-02 21:05:35 -08:00
Romain Guy
09b7c91de7 Allocate layers from the layers pool.
Bug #3413433

This change will be beneficial to Launcher to avoid hiccups when
swiping pages of icons. When a layer is discarded, it is kept
in the layers pool instead of being destroyed right away. This
favors memory reuse over allocations.

Change-Id: Ifb6944ba83d6ceb67c331527c0827b26ce648eb1
2011-02-02 20:28:09 -08:00
Romain Guy
f44ed5adc4 Merge "Don't clobber the local dirty rect after rendering a layer. Bug #3417254 Bug #3413433" into honeycomb 2011-02-02 16:44:07 -08:00
Vasu Nori
6bc710f769 Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb 2011-02-02 16:43:56 -08:00
Romain Guy
62687ec12c Don't clobber the local dirty rect after rendering a layer.
Bug #3417254
Bug #3413433

Change-Id: I8045e9ec414ebe4ce4d38124142a00726d2c634d
2011-02-02 15:44:19 -08:00
Vasu Nori
72725ebcad bug:3414192 new API to designate a download to be OTA update
Change-Id: Iae2f6185e130324ad956f594e78b1d8b2176c808
2011-02-02 15:08:49 -08:00
Leon Scroggins
e89d6418be DO NOT MERGE. Only scroll if the IME is open in certain cases.
Bug:3411564

Requires a change in external/webkit.

Already submitted to master.

Change-Id: Id5b8765bde4070f04fce0743c56a038f88e816ec
2011-02-02 15:05:30 -05:00
Romain Guy
c1f8bcffb8 Merge "Fix incorrect dirty rectangle transformation in hardware layers. Bug #3413433" into honeycomb 2011-02-02 00:47:21 -08:00
Romain Guy
beff8d83ef Fix incorrect dirty rectangle transformation in hardware layers.
Bug #3413433

Change-Id: Iba201c7c4b4f11937797f3afcbf20c5a7395be25
2011-02-01 23:53:34 -08:00
Romain Guy
d51eaa64e3 Merge "Update layers based on the dirty region. Bug #3413433" into honeycomb 2011-02-01 23:05:35 -08:00
Romain Guy
3a3133d876 Update layers based on the dirty region.
Bug #3413433

This helps Launcher when a widget updates during a scroll, or when interacting
with widgets on the workspace if layers are still turned on.

Change-Id: Ic7a42eb34f74f4ae988039754f815e2efd1d1e4f
2011-02-01 23:01:43 -08:00
Romain Guy
518813ec13 Merge "New API to let apps draw without layers. Bug #3413433" into honeycomb 2011-02-01 22:02:00 -08:00
Wink Saville
1bf518d8b3 Merge "Add TelephonyManager.getCurrentPhoneType" into honeycomb 2011-02-01 21:02:10 -08:00
Michael Jurka
b8f939fb57 add missing call to superclass method 2011-02-01 20:50:30 -08:00
Wink Saville
9d72be3318 Add TelephonyManager.getCurrentPhoneType
The new method getCurrentPhoneType has the old behavior of getPhoneType
and does not check for voice capable. This allows code to assume
the old behavior.

bug: 3198435
Change-Id: I0542838ceca2f757cceb6cd7f795e95fe886523e
2011-02-01 19:22:15 -08:00
Ben Murdoch
3b8657debc Merge "Move setExpandedTileBounds from WC to UI thread" into honeycomb 2011-02-01 18:37:43 -08:00
Ben Murdoch
fa148f6889 Move setExpandedTileBounds from WC to UI thread
Bug: 3412928
Change-Id: I2d5c8cc1ba188152dd570ef3a0f2f2f14d64465f
2011-02-02 02:27:40 +00:00
Brian Muramatsu
1d696fa458 Merge "Fix Incorrect Times in TimePickerDialog" into honeycomb 2011-02-01 18:09:36 -08:00
Brian Muramatsu
87879e8ef9 Fix Incorrect Times in TimePickerDialog
Bug 3414311

TimePicker#setCurrentHour subtracts 12 from the given hour if
is24HourView returns false. TimePickerDialog calls setCurrentHour before
setIs24HourView, so the 12 will always be substracted from the time.
Reorder the statements so that TimePickerDialog sets is24HourView,
before setting the hour and time.

Change-Id: Ib997397b04dbdd767e67806aea7614426019e938
2011-02-01 17:56:29 -08:00
Romain Guy
849d0a37cf New API to let apps draw without layers.
Bug #3413433

Launcher now enables layers all the time, but in some cases (for instance, when the
workspace is not scrolling,) it is more efficient to draw without the layer.

Change-Id: I625fb5b48506acda9ae75356fdbbe812c85f2aab
2011-02-01 17:56:09 -08:00
Jaikumar Ganesh
485d577af1 Merge "Fix BluetoothAdapter Connection change intent doc." into honeycomb 2011-02-01 17:06:56 -08:00
Jaikumar Ganesh
0b5b35f8a1 Fix BluetoothAdapter Connection change intent doc.
Bug: 3414206
Change-Id: Icf87e28e11b0b5072fe546225bbfb1dc68487ef0
2011-02-01 16:53:14 -08:00
Dianne Hackborn
e77f99144f Merge "Whoops, need to put this check back." into honeycomb 2011-02-01 16:50:44 -08:00
Dianne Hackborn
a48a37f025 Whoops, need to put this check back.
We still don't want third party wallpapers to be able to do this,
since it can't work with all window animations.

Change-Id: I97c8ef78c36bd89bf47a7c4533ed1c244dcff4a6
2011-02-01 16:30:38 -08:00
Dianne Hackborn
bd77ed7fff Merge "Make image wallpaper use a big surface." into honeycomb 2011-02-01 16:23:47 -08:00
Dianne Hackborn
f185552f63 Make image wallpaper use a big surface.
Change-Id: I119f2bfee5fde08040520bd0da8574194a893ab5
2011-02-01 16:20:20 -08:00
Romain Guy
f222956c95 Merge "Correctly set the alpha of a hardware layer before drawing it. Bug #3410819" into honeycomb 2011-02-01 14:00:35 -08:00
Romain Guy
54229ee5eb Correctly set the alpha of a hardware layer before drawing it.
Bug #3410819

Change-Id: I3ebaca2233f4edf5b59d84ec7706555056a1a4b1
2011-02-01 13:05:16 -08:00
Nick Pelly
17bf5e3ccf DO NOT MERGE
Cherry-pick from GB to HC, updating 11.xml.

Final final final Gingerbread MR API changes.

This is it. I promise.

ACTION_TECHNOLOGY_DISCOVERED -> ACTION_TECH_DISCOVERED
    This was missed in our technology->tech rename.

Hide TagTechnology.reconnect()
    This is used to reset any per-connection state in a tag, by reconnecting
    to it. The first problem is that it belongs on Tag, not TagTechnology. The
    second problem is that it may become redundant once we add Tag.rediscover()
    which will also reconnect to the tag, and will also return a new Tag with
    newly created technologies enumerated. And the third and most significant
    problem is that you can already achieve the same result by just calling
    close() followed by connect().

Hide Tag.createMockTag()
    This API cannot be used reliably. First it requires using int[] for the
    technology list, but those int constants are now hidden. Second it requires
    knowledge of the extras parcel used to fill technology specific data - also
    not public.

Introduce TagTechnology.isConnected()
    Every child class already impelmented this, and given that connect() and
    close() are defined on the interface, then isConnected() should be there
    too.

Modify Ndef.getType to return a string (not int)
    Allows more flexibility in adding new NDEF types. Current public strings are
    org.nfcforum.ndef.type1
    org.nfcforum.ndef.type2
    org.nfcforum.ndef.type3
    org.nfcforum.ndef.type4
    com.nxp.ndef.mifareclassic

Add NdefFormatable.formatReadOnly()
    This allows you to make the tag read-only at the same time as performing
    format and write. It is important because we currently don't have any
    public API to re-enumerate a tag technology list after making a tag
    NDEF compatible, so you can't perform the format as a seperate step
    without physically removing the tag from field and returning it.

Modify Readonly -> ReadOnly

Make Tag class final

Change-Id: Ifa8a17741fcc95776ffdba42f611eadb036aaf2d
2011-02-01 11:12:56 -08:00
Kristian Monsen
8b8f79898d Fix for bug 3407633 Cookie not set in CookieManager - DO NOT MERGE
Setting http:// at the start if there is no :// in the url

Change-Id: Idfae4f724808267fe9c8ab3864cfc4305ddac0e7
2011-02-01 15:14:11 +00:00
Dave Burke
84a34059eb Smoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)
Change-Id: If8f6aa38174e742e869bce7144de8db84b2f7150
2011-02-01 13:09:11 +00:00
Mike Cleron
ad97c1b128 Merge "Remove MeasuredText debug messages" into honeycomb 2011-01-31 23:22:36 -08:00
Justin Ho
7bae432587 Merge "Enable subclass of SeekBarVolumizer to provide a custom file for sample playback." into honeycomb 2011-01-31 23:20:24 -08:00
Amith Yamasani
998127c804 Enable subclass of SeekBarVolumizer to provide a custom file for sample playback.
Bug: 3409194
Change-Id: I8a408a69fd14cf9058afe01ac5c46d0f5afc1503
2011-01-31 20:28:03 -08:00
Chet Haase
2cd52c809e Merge "Fix invalidation issue with actionbar items" into honeycomb 2011-01-31 19:08:28 -08:00
Chet Haase
f28595e47d Fix invalidation issue with actionbar items
When a view hierarchy becomes VISIBLE, it is possible that the display
list of some of the subtrees needs to be recreated. In particular, if
the subtree was measured while it was GONE, then the children probably
didn't have a valid size. If a display list is created for any of the
subnodes in the tree during this time, then they may have clipped the
children out.

The fix is to force the parent to become INVALIDATED whenever a child
view's bounds change (and it is VISIBLE).

Change-Id: I3624253e65354289f4fb94c9ba76a7e6fb82af9a
2011-01-31 18:52:12 -08:00
Gilles Debunne
8f8aac5e8a Merge "Pixel were missing on the last line of text when using MaxLines." into honeycomb 2011-01-31 18:14:05 -08:00
Gilles Debunne
0ad4f0963a Merge "Patches for the Paste window behavior." into honeycomb 2011-01-31 16:22:25 -08:00
Svetoslav Ganov
1c91433f7c Merge "Set time dialog display changes AM/PM at 1 instead of 12" into honeycomb 2011-01-31 16:11:59 -08:00
Adam Powell
5f639d5a51 Merge "Fix bug 3408834 - actionbar stays gone when leaving reader in lightsout mode" into honeycomb 2011-01-31 16:11:51 -08:00
Gilles Debunne
11f9647e03 Merge "Hint text is visible when using center gravity." into honeycomb 2011-01-31 15:29:56 -08:00
Gilles Debunne
3ce726eb94 Patches for the Paste window behavior.
Bug 3409440

Change-Id: Id266bb83aa6e1912817995881daa9c24a1553c32
2011-01-31 15:20:50 -08:00
Adam Powell
d76cee2b09 Fix bug 3408834 - actionbar stays gone when leaving reader in
lightsout mode

Fix an opportunity for race conditions when the action bar is
shown/hidden rapidly.

Change-Id: I91c0666cad3afd8a4d870d642f971949fba0d333
2011-01-31 15:05:05 -08:00
Svetoslav Ganov
be17a7f269 Set time dialog display changes AM/PM at 1 instead of 12
bug:3408128

Change-Id: Ifb17cbc0f448281cebb20296dcc58766cde02965
2011-01-31 15:02:26 -08:00
Kenny Root
fbc8630736 Remove MeasuredText debug messages
MeasuredText debug messages were left in the tree. Remove them before
shipping.

Bug: 3408963
Change-Id: Ia220eae5835d1325bb6053de0025d8016a1edcad
2011-01-31 13:54:58 -08:00