36945 Commits

Author SHA1 Message Date
Gilles Debunne
d803cdef9a Selection handles no longer fade out.
This fade out was mainly introduced for forms with selectAllOnFocus fields, where
is hide some content. These no longer trigger selection mode and hence do not display
the handles.

Handles will be visible as long as selection mode goes on.

Change-Id: Ib8c2cc97308a91722f69aa0bb0caccb21d94c2c4
2010-11-30 12:11:15 -08:00
Romain Guy
6f72bebe92 Update 9patch structure when rendering with different divs/colors.
Bug #3221488

Change-Id: Ifc9e42a991d630feadc9e8032322f37504d09d6d
2010-11-30 12:06:39 -08:00
Chet Haase
7306668586 animation bugfix plus xml resources for new View properties
There was a bug around animation duration where it was possible,
for small durations or large inter-frame times, to calculate
fractions outside of the 0-1 range, causing bad value calculations.

Unrelated: new View properties for translation, scale, and rotation
were added in this release. This commit addes XML resources for
those properties.

Change-Id: Ieaf5dd729588adb2a40656aa82beecc3576f4af5
2010-11-30 11:11:43 -08:00
Justin Ho
ae3834ef9e Merge "Adding new ringtones and notifications" 2010-11-30 11:05:58 -08:00
Justin Ho
b6ac282eae Adding new ringtones and notifications
Change-Id: I2f59c1e5ef723e370165fc35c40a31df0ab0ee9f
2010-11-30 10:58:56 -08:00
Gilles Debunne
d1dc72a081 Long press in empty space stops text selection
Bug 3240058

Change-Id: I888ee691a0fdc89895db43f9ed01acebf7a0b6d3
2010-11-30 10:51:43 -08:00
Cary Clark
f72a59bbbb Merge "use the original hit if the cache is killed" 2010-11-30 10:23:52 -08:00
Gilles Debunne
458f4633b8 Merge "Dragging inside the same TextView is a move instead of a copy." 2010-11-30 10:07:41 -08:00
Cary Clark
b849134c1e use the original hit if the cache is killed
The nav cache may not have a cursor set if it is
rebuilt while the long press timer is running. Use
the original hit test data in this case.

bug:3198707
Change-Id: I795a3afb31de3667b3a69abbe898381912806802
2010-11-30 12:43:17 -05:00
Mike Lockwood
84e3916720 Merge "MTP: Don't fail in playlist transfer if not all playlist items can be found." 2010-11-30 09:22:00 -08:00
Mike Lockwood
50225445f8 Merge "MTP: Make sure buffer is big enough before reading the data packet" 2010-11-30 09:21:19 -08:00
Mike Lockwood
7adfd1896c MTP: Don't fail in playlist transfer if not all playlist items can be found.
Change-Id: I8275c4e5eca34e193a3cedcba16442bf388e74eb
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-30 12:19:50 -05:00
Mike Lockwood
9dfc7de2cc MTP: Make sure buffer is big enough before reading the data packet
Fixes buffer overflow when transferring large playlists.

Change-Id: I1b7feaf9e56d849e5b6609f0f68a6aa5a3ae1ea8
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-30 12:19:41 -05:00
Dianne Hackborn
fefc0743f8 Merge "Auto-show IME for dialogs on large screens." 2010-11-29 22:56:03 -08:00
Dianne Hackborn
7d3a5bcf30 Auto-show IME for dialogs on large screens.
On a large screen the IME is not going to as significantly
cover a pan & scan window, so allow it to auto-show if the
app hasn't otherwise specified its visibility.

Also some fixes here and there.

Change-Id: I10227ec59c43454e06e6870633f53426f4d78b83
2010-11-29 22:52:12 -08:00
satok
af4bf400ab Fix a bug of equals in InputMethodSubtype
Change-Id: I68b4726bedfb55d4737cf859ad3cb54bc19f9511
2010-11-30 14:02:49 +09:00
Adam Powell
12190b36a9 Add the Switch widget
Switch is hidden currently; it will be used in SystemUI and preferences.

Change-Id: I2cd8458783f938f00f5ee5e7a67fb5a90404797d
2010-11-29 19:14:58 -08:00
Gilles Debunne
4ae0f29d26 Dragging inside the same TextView is a move instead of a copy.
Change-Id: I0edbe601455a951354e8671b8bd4d7e6afd6f439
2010-11-29 19:01:09 -08:00
Dirk Dougherty
92f4d9db83 am f4c2eaf2: am 47ccfcb0: Doc change: add AccelerometerPlay to the generated samples.
* commit 'f4c2eaf2628582abf6eb0cc335bc864d2c64f440':
  Doc change: add AccelerometerPlay to the generated samples.
2010-11-29 18:19:38 -08:00
Dirk Dougherty
f4c2eaf262 am 47ccfcb0: Doc change: add AccelerometerPlay to the generated samples.
* commit '47ccfcb015c06f12eb91ccbb1113c15a368960d8':
  Doc change: add AccelerometerPlay to the generated samples.
2010-11-29 18:16:50 -08:00
Dianne Hackborn
af60e276e8 Merge "Fix issue #3225529: AlertDialogs are squishing their content views" 2010-11-29 18:14:35 -08:00
Dirk Dougherty
47ccfcb015 Doc change: add AccelerometerPlay to the generated samples.
Change-Id: I95764f216455bbceef7fa95a1a819b906e4e7e7c
2010-11-29 18:12:36 -08:00
Andy Stadler
d93e75e45e Merge "Update device password expiration/alarm behavior" 2010-11-29 18:11:58 -08:00
Dianne Hackborn
711e62a84f Fix issue #3225529: AlertDialogs are squishing their content views
ViewRoot is now smarter about measuring WRAP/WRAP windows.

Change-Id: I690fc78ddbe252d7c8070edb8e7352aec6c67ce9
2010-11-29 18:06:36 -08:00
Costin Manolache
6189be3f3d Merge "Revert "Merge "Fix permission."" It breaks apps that rely on the wrong permission." 2010-11-29 18:06:07 -08:00
Jim Miller
8b2a4001d0 Merge "Fix 3024522: Add "no lock screen" support to the framework." 2010-11-29 18:00:34 -08:00
Costin Manolache
fa04b8de11 Revert "Merge "Fix permission."" It breaks apps that rely on the wrong permission.
This reverts commit 974ab30569f9543c897047972260887cb33f8827, reversing
changes made to 8b780ec773b2d1765f3ce932ee8f86c9048fdb85.
2010-11-29 17:50:28 -08:00
Guang Zhu
2f422a50d6 Merge "pass layout test list using external file" 2010-11-29 17:50:04 -08:00
Andy Stadler
043116a572 Update device password expiration/alarm behavior
* Change alarm math to snap to multiples of 24h before expiration
* Stop recurring alarm when no expirations upcoming
* Fix small bug in update logic when device password is updated

Change-Id: I31ce147e4f8c766245fae3e286fc50eaee4cfa22
2010-11-29 17:43:32 -08:00
Romain Guy
6d95662f98 Put @ViewDebug.ExportedProperty back on TextView.mText
Change-Id: I68d36ebad07b4ad828c245e1d57ebe0effcc4239
2010-11-29 17:41:48 -08:00
Chris Tate
31db0f630b Merge "Ensure that the first post-restore backup pass is correct" 2010-11-29 17:32:15 -08:00
Dirk Dougherty
e7d9ab0dcf am cb1af77f: am b1150edc: Remove HeavyWeight sample from generated html samples.
* commit 'cb1af77f1fefddb78b4540db7d4a1df673caffe2':
  Remove HeavyWeight sample from generated html samples.
2010-11-29 17:15:47 -08:00
Dirk Dougherty
cb1af77f1f am b1150edc: Remove HeavyWeight sample from generated html samples.
* commit 'b1150edc22d97b36c626a460717803f22b9fa5f2':
  Remove HeavyWeight sample from generated html samples.
2010-11-29 17:12:40 -08:00
Dirk Dougherty
b1150edc22 Remove HeavyWeight sample from generated html samples.
Change-Id: Idafb3d225d8e6a694faa2d8679c4dad6198df466
2010-11-29 17:03:15 -08:00
Chris Tate
249345b842 Ensure that the first post-restore backup pass is correct
Some restore passes bring an ancestral dataset to the application, but
others instead act to bring an app back into sync with its own most-
recently-saved data.  In the latter case the state file written by the
app after the restore is a correct basis for generating future backup
deltas, but in the former case it is not.

The app should not be required to distinguish between these cases;
the framework has all the information necessary to handle the saved
state correctly following any flavor of restore operation.  This
patch makes the Backup Manager properly cause a full backup pass
following an ancestral-dataset restore.  After a current-set
restore the saved state file is an accurate description for
purposes of continued backup operations, so is preserved.

Change-Id: I5982f32c9bb17fb7c953b465673ced11c40b0d95
2010-11-29 16:20:49 -08:00
Costin Manolache
974ab30569 Merge "Fix permission." 2010-11-29 16:11:26 -08:00
Eric Fischer
8b780ec773 Merge "Import revised translations." 2010-11-29 16:03:04 -08:00
Joe Onorato
7b606b8957 Merge "Show the network type." 2010-11-29 15:53:48 -08:00
Joe Onorato
42f8e13024 Show the network type.
Change-Id: I3487655dce80eef26bfd575b63eb649d9b5e5325
2010-11-29 15:52:43 -08:00
Svetoslav Ganov
206316a61f New Number picker widget
Change-Id: I834e725b58682e7a48cc3f3302c93c57b35d4e27
2010-11-29 15:47:55 -08:00
Jim Miller
2a98a4cbaa Fix 3024522: Add "no lock screen" support to the framework.
This adds a new feature where LockScreen can be disabled to
allow the device to go straight to the home screen when
powered on.

Change-Id: I288e8d5359442c042ae7911340885877a864faff
2010-11-29 15:39:08 -08:00
Scott Main
360a102f41 Merge "docs: add preview sdk docs to provide an api overview and install steps, enable the 'preview' flag for the docs build revise sdk side nav for preview" 2010-11-29 15:23:31 -08:00
Olivier Bailly
997d15e1a6 Merge "fix int vs. pointer mismatch in return statement. Add missing include header for compilation on x86 target." 2010-11-29 15:12:33 -08:00
Eric Fischer
8d1efa9577 Import revised translations.
Change-Id: I8d5fe7c1cf2f2a7903997da38b6abfe4dcabdab7
2010-11-29 15:10:37 -08:00
Vasu Nori
a84a744bb1 Merge "if db close() fails due to un-closed sql statements, print useful msg" 2010-11-29 15:09:30 -08:00
Louis Huemiller
883ad9e260 Merge "Hardware Composer Stress Test" 2010-11-29 15:04:12 -08:00
Gilles Debunne
8df09a0906 SelectAllOnFocus switches to highlighted mode, not text selection mode
Change-Id: Ia0adf561f207e0a82d9588471823da7f5b2f1799
2010-11-29 14:57:12 -08:00
Joe Onorato
3abc5b00f8 Merge "Do not disturb." 2010-11-29 14:55:57 -08:00
Joe Onorato
2039e48474 Do not disturb.
Change-Id: I9550970f322872787ef903ca762dfdf2ed9d2835
2010-11-29 14:54:24 -08:00
Dianne Hackborn
e26092e202 Merge "Don't leak." 2010-11-29 14:43:06 -08:00