29536 Commits

Author SHA1 Message Date
Chet Haase
296a5b4018 Merge "Re-enable DisplayList properties." 2012-04-02 15:42:27 -07:00
Adam Cohen
4c99498620 Only preload items if they are within the valid range (issue 6265338, 6194161)
Change-Id: Ic2713b41ad545a004df1e06e4be9946d7336c4b3
2012-04-02 15:38:18 -07:00
Chet Haase
9420abd56a Re-enable DisplayList properties.
Re-enabling DisplayList properties last week caused some app
errors due to the way that some transforms were being handled (specifically,
those coming from the old Animations and ViewGroup's childStaticTransformation
field). This change pushes *all* transform/alpha data from View.draw() into
the view's DisplayList, making DisplayLists more encapsulated (and correct).

Change-Id: Ia702c6aae050784bb3ed505aa87553113f8a1938
2012-04-02 15:31:24 -07:00
Yang Chuang
7511f9cd2f Add Japanese specific key codes.
These keys are specific to Japanese hardware keyboard which can be
used by input method.

Patch ported from AOSP, with the addition of EISU and KANA mappings.

Change-Id: I647473cdd257458e3b9d134b0fc623eae946c3e0
2012-04-02 15:19:45 -07:00
Gilles Debunne
646a404df1 Merge "Refactoring SpannableStringBuilder" 2012-04-02 15:15:56 -07:00
Romain Guy
8f3b8e3299 Allow fine-grained control over functors execution
Adds non-drawing execution mode

Change-Id: I82f92cf1b9a3b9ff2ca6d7427c4e02b73e04e6bf
2012-04-02 15:15:07 -07:00
Tom Taylor
5a7a1db494 Merge "Fix deadlock in PDU code" 2012-04-02 15:14:13 -07:00
George Mount
a7a1d5f8da Merge "Don't show keyboard on focus change." 2012-04-02 12:51:13 -07:00
George Mount
20c19f47a1 Merge "Remove unused FORM_DID_BLUR hooks." 2012-04-02 12:50:44 -07:00
Tom Taylor
733e697776 Fix deadlock in PDU code
Bug 6257442

If PduPersister.load bails out early and throws an exception,
it will leave the uri it's working on in an updated-locked
state. With this change, the uri is removed from the updated
list in a finally clause. The other PDU function in
this file already does the correct thing.

Change-Id: I596bd46724282b245ddba109670f3cebd61ed57c
2012-04-02 11:58:41 -07:00
Brian Carlstrom
ac21af330d Merge "Add support for native library paths with instrumentation" 2012-04-02 11:52:22 -07:00
Gilles Debunne
b51036f72a Refactoring SpannableStringBuilder
Made TextWatcher notification process clearer by moving it to
a single place, with methods renamed.

Also reverts CL 177544: we cannot broadcast span chages just yet,
the layout has not been reflown. A future CL will change this
behavior to make sure span changes are correctly broadcasted.

Change-Id: I9ef88dce91dff5f5f45e2845d5b3f18f1c853de3
2012-04-02 11:33:22 -07:00
Fabrice Di Meglio
e0435a6c6a Merge "Fix layout params resolution" 2012-04-02 11:26:22 -07:00
George Mount
c3cbeddcb5 Remove unused FORM_DID_BLUR hooks.
Bug 6111763
 Webkit Change: I015e1a57e81e897c124af5d96ba76b4d07a381fc

Change-Id: I56a862a6c0f0d7799f4e935bb7f5103bb2edbb9b
2012-04-02 11:10:57 -07:00
Brian Carlstrom
d893a890c9 Add support for native library paths with instrumentation
(cherry picked from commit 8e658fd0415b3d6f44223c39a7e59a00cb0954aa)

Change-Id: Idb1e031d5deeea9305af8aacc17ae2d0d064dfc6
2012-04-02 11:04:59 -07:00
Jeff Brown
3e09cc98f4 Merge "Info logs should be loggable by default." 2012-04-02 11:03:36 -07:00
Jeff Brown
d56feb91b4 Info logs should be loggable by default.
Bug: 6265031
Change-Id: I6f10818c1d28fa71f434d4b372c764d04967d213
2012-04-02 10:53:17 -07:00
Romain Guy
6db53c34a7 Fix builds without USE_OPENGL_RENDERER
Change-Id: I84b8dfb57dcc7de700d481774efded88e51d361a
2012-04-02 10:52:52 -07:00
Sunil Jogi
72677c98bd Patch to support MIFARE with SAK 0x01
Change-Id: Ic30c083bb43b37f90beefc0ff165ba2713635a7f
2012-04-02 10:37:55 -07:00
George Mount
55cd3b85f3 Don't show keyboard on focus change.
Bug 6270400
 Webkit change: I1f06b7220e22665f5932928855c81eca6534bf2f

Change-Id: I2aa65b405b3a394b55821a4d688afeb22244c2c7
2012-04-02 10:29:12 -07:00
Michael Jurka
e6c966caa3 Merge "Add frame counter to dumpGfxInfo" 2012-04-02 09:45:36 -07:00
Daniel Sandler
0424716328 Merge "Show action buttons in expanded notifications." 2012-04-02 05:27:03 -07:00
Dianne Hackborn
fe2b7ccca4 Fix issue #6268190
Change-Id: Ib269fe34c4d3e704f4080076e173241c0761040c
2012-03-31 19:47:09 -07:00
Daniel Sandler
96fd7c1c1a Show action buttons in expanded notifications.
Any notification with at least one action will now have an
expanded form by default. BigPicture/BigText can have
actions, too, of course.

Change-Id: I6f54cac65d9a9f335d8038c2105cd2c674f991ff
2012-03-30 22:18:06 -04:00
Dianne Hackborn
61d6c8ca49 Merge "Add new feature to let apps layout over status bar / system bar." 2012-03-30 17:36:32 -07:00
Svetoslav Ganov
96695f9ba0 Merge "Added "slide" to slide-to-unlock spoken instructions." 2012-03-30 16:07:17 -07:00
Eric Laurent
3d275af3c3 Merge "implemented synchronous audio capture" 2012-03-30 16:00:26 -07:00
Fabrice Di Meglio
4a5268857e Fix layout params resolution
- dont need to check if any parent as getResolvedLayoutDirection() is handling this case

Change-Id: I915b4a72e38d072005e47d3c5a3f63febbef6e60
2012-03-30 15:56:48 -07:00
Michael Kolb
7784d151c1 Merge "Prevent message being sent twice in onSavePassword" 2012-03-30 15:38:28 -07:00
Svetoslav Ganov
d06fa89b52 Merge "Replace increment/decrement with increase/decrease." 2012-03-30 15:27:30 -07:00
Dianne Hackborn
3a3a6cfd8e Add new feature to let apps layout over status bar / system bar.
The main change is a few new flags you can supply to
View.setSystemUiVisibility().  One is a new visibility mode,
SYSTEM_UI_FLAG_FULLSCREEN, which is basically the same as
the global FLAG_FULLSCREEN option for windows, but driven as
part of the system UI state.

There are also three new flags for telling the framework that you
would like to have your application's UI ignore screen
decorations -- SYSTEM_UI_FLAG_LAYOUT_NO_NAVIGATION for going
behind the navigation bar and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
for ignoring full screen decorations (that is the status bar).

In combination with this you can use SYSTEM_UI_FLAG_LAYOUT_STABLE
to have the framework report consistent insets to your application.

When using NO_NAVIGATION, when the user taps the screen we now
also automatically clear ONLY_CONTENT, so that we atomically show
both UI elements.  This should make it easy for apps like video
players that want to move between fully full-screen and regular
modes.

The ActionBar has also been extended when in overlay mode so
that it will adjust the system window insets to also account
for its space, and allow it to be hidden using the new
SYSTEM_UI_FLAG_FULLSCREEN.

Change-Id: Ic8db1adec49a0f420bfe40c1d92eb21307856d0b
2012-03-30 15:22:04 -07:00
Svetoslav Ganov
5ee329f0da Merge "Set class name for WebView on A11y events and infos." 2012-03-30 15:13:47 -07:00
Romain Guy
2a841f4c08 Merge "Detect surface resizes" 2012-03-30 15:00:10 -07:00
alanv
ea0772122f Set class name for WebView on A11y events and infos.
Bug: 6209073
Change-Id: I08b2b0010e619ed9b3afaeb4f4fc92e3afbcffd1
2012-03-30 14:59:42 -07:00
Romain Guy
7687882800 Detect surface resizes
HardwareRenderer normally relies on the window manager to be notified of
surface dimension changes. It is however possible to execute a drawing pass
before receiving the window manager notification. We must therefore compare
the actual size of the target surface to the window size and perform a full
redraw when they are not the same.

Change-Id: Idccc8592f3f777edee1ef67a98a4c2a825dcfba7
2012-03-30 14:54:22 -07:00
Eric Fischer
5702ee6fa9 Merge "Import translations. DO NOT MERGE" 2012-03-30 14:49:19 -07:00
Victoria Lease
203a46e53b Merge "java-side enable/disable switch for link prefetch via WebSettings" 2012-03-30 14:45:42 -07:00
Gilles Debunne
9c5e144bc0 Merge "Spans added during a text change are broadcasted" 2012-03-30 14:18:25 -07:00
Danielle Millett
c9788774a6 Merge "Fix 6238404: Changed deleteGallery and deleteTempGallery to use broadcasts" 2012-03-30 14:09:03 -07:00
Victoria Lease
7a52f26543 java-side enable/disable switch for link prefetch via WebSettings
Bug: 5218987
Change-Id: Id59324ad372df76cff8d2cae8606201db6e8d636
2012-03-30 14:08:02 -07:00
alanv
a2ef47f1c6 Added "slide" to slide-to-unlock spoken instructions.
Change-Id: I73640fde77bd3840ab788f930f343ef3bdfe786a
2012-03-30 14:03:42 -07:00
alanv
7960fe0fa6 Replace increment/decrement with increase/decrease.
Change-Id: Ic9c0b1e27091c85e712f2a8a7e347e2e1ee2c3ea
2012-03-30 13:56:14 -07:00
Jeff Sharkey
bbd0df091a Merge "Migrate to shared MockWebServer." 2012-03-30 13:51:03 -07:00
Michael Kolb
d2bfdfdd3e Prevent message being sent twice in onSavePassword
Bug: 6256107

Change-Id: I1cdc7d49b6e479532385c29d759b8d4e4ab7aaa3
2012-03-30 13:48:01 -07:00
Gilles Debunne
fc1190b8f1 Spans added during a text change are broadcasted
More consistent with the SpanWatcher design.

Change-Id: I3a1e4d92fb422f4cc689dabcdef1473d93fef5ad
2012-03-30 13:43:37 -07:00
Eric Fischer
2efa47b14a Import translations. DO NOT MERGE
Change-Id: I9caf479e5252fd34664a0604c6fe6bfad716d5ba
2012-03-30 12:57:51 -07:00
Danielle Millett
574e49ee16 Fix 6238404: Changed deleteGallery and deleteTempGallery to use broadcasts
Previously since these were starting an activity, if it was called from
outside an activity (for example when calling resetPassword() in
DevicePolicyManager) it throws a run time exception.  Since these don't
need UI, they have been changed to be broadcasts.

Change-Id: Id87e3dc868a01f0eed901e8e8007f91f74cd51fe
2012-03-30 14:59:37 -04:00
Gilles Debunne
d88876a72f Extracted text editing logic in a separate class
Editor specific method and fields are extracted to a dedicated Editor class.

Some private fields and methods had to be made package private so that the
Editor can see them. No change in the public API.

Other changes in this CL:
- The Blink class no longer has a WeakReference to the TextView
- EasyEditSpanController is no longer a field of ChangeWatcher.

Future work:
remove the getEditor() method in TextView and
clean whitespaces and indentation.
remove the EasyEditSpanController as a change watcher, fix spanWatcher

Change-Id: I1fbe0176b6bd27d90f556dc3a90469367f77437c
2012-03-30 11:10:36 -07:00
Martijn Coenen
5eeee5e0bb Merge "Fix permission documentation." 2012-03-30 09:43:44 -07:00
John Reck
4da5c4ac6f Merge "Fix typo preventing layers from scrolling to top" 2012-03-30 09:20:14 -07:00