40298 Commits

Author SHA1 Message Date
Gilles Debunne
88b5953ab2 Merge "NULL inputType text fields should never show the IME." into honeycomb 2011-01-24 14:46:57 -08:00
Gilles Debunne
705a27a97c Merge "Non-editable TextViews should not display a cursor." into honeycomb 2011-01-24 14:46:42 -08:00
Adam Powell
c831e3192c Merge "Fix bug 3382994 - android.view.WindowManager$BadTokenException" into honeycomb 2011-01-24 14:35:11 -08:00
Xavier Ducrohet
5b9936f651 Merge "LayoutLib: Use special view cookie for include-merge case." into honeycomb 2011-01-24 14:31:28 -08:00
Adam Powell
55767443ad Fix bug 3382994 - android.view.WindowManager$BadTokenException
Remove pending callbacks when ActionMenuView is detached.

Change-Id: Ia61e446f60f10dd82476c00b4c11177182e7db60
2011-01-24 14:28:37 -08:00
Adam Powell
bffb0a2586 Merge "Fix bug 3237638 - make it easy to change a "refresh" AB button/icon into the indeterminate progress icon" into honeycomb 2011-01-24 14:23:36 -08:00
Xavier Ducrohet
82b9232565 LayoutLib: Use special view cookie for include-merge case.
All items directly under the <merge> tag now return the view cookie
of the referencing <include> tag using a special class for
easy differentiation in the calling client.

Change-Id: I7a2a4e642be9564f47e256fd1586012497d34792
2011-01-24 14:14:53 -08:00
Adam Powell
abbcc241c0 Fix bug 3237638 - make it easy to change a "refresh" AB button/icon
into the indeterminate progress icon

This fixes a bug that caused ActionViews to not be updated properly
after a pass through invalidateOptionsMenu/onPrepareOptionsMenu. Apps
can now set/clear action views to display progress spinner widgets or
anything else on demand.

Change-Id: I138eceb504177c6bb5b86d40a68a82973aa841a5
2011-01-24 14:03:16 -08:00
Andreas Huber
bc5172fe66 Merge "Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder" into honeycomb 2011-01-24 13:57:11 -08:00
Eric Fischer
f7358996d3 Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-01-24 13:46:28 -08:00
Andreas Huber
a8385dd7c1 Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder
Change-Id: Ia22ebce66d9c35de4b04c3eedc9495847796901d
related-to-bug: 3384367
2011-01-24 13:36:30 -08:00
Andreas Huber
c45d3ad084 Merge "The .mkv parser lib leaves some tracks NULL if it doesn't support them." into honeycomb 2011-01-24 13:29:58 -08:00
Huahui Wu
94b8b114ab Merge "A few small cleanning-ups." into honeycomb 2011-01-24 13:25:17 -08:00
Daniel Sandler
1e25a23f9d Merge "Vertically align SSID/PLMN on lockscreen." into honeycomb 2011-01-24 13:14:35 -08:00
Justin Ho
7040e33c18 Merge "Updated checkbox assets for legacy applications" into honeycomb 2011-01-24 12:55:29 -08:00
Gilles Debunne
98dbfd4940 Non-editable TextViews should not display a cursor.
Bug 3381320

The tests were inconsistent between makeBlink and onDraw.
If the text is non-editable, do not draw the cursor.

Change-Id: I0405e59444261a553e868b3ae5bdddd278f60bb2
2011-01-24 12:54:10 -08:00
Daniel Sandler
bfa8983b65 Vertically align SSID/PLMN on lockscreen.
Bug: 3373818
Change-Id: Ie20584c5247bd52e376ddcb97205ba967ce3a8ea
2011-01-24 15:52:46 -05:00
Andreas Huber
dfe8d9b1ff The .mkv parser lib leaves some tracks NULL if it doesn't support them.
But it still counts them as valid tracks...

Change-Id: I77e8fd24cce91a586e8e418759db55b6eba449c0
related-to-bug: 3377186
2011-01-24 12:46:12 -08:00
Eric Fischer
a1a8d941c2 Import revised translations. DO NOT MERGE
Change-Id: I4babd2856874af87e991dab0f5c9696e54ca49b4
2011-01-24 12:35:32 -08:00
Gilles Debunne
8cbb4c6e30 NULL inputType text fields should never show the IME.
Bug 3381317

Changes made in https://android-git.corp.google.com/g/#change,91880
displayed the IME onFocus. However, the test was not consistent to what
is done in touch event. textIsEditable is now checked too.

Change-Id: If11382c1c90a557839b87d62494253470c42b621
2011-01-24 12:33:56 -08:00
Huahui Wu
f93246923f A few small cleanning-ups.
1. Remove mDeferMultiTouch in WebView, it was for testing only but
we don't need it now since we always pass MultiTouch to WebKit.

2. Remove the use of mDeferMultiTouch in DRT tests.

3. Correct the index of getX(Y) for the second touch point in the
debug string of MotionEvent.

Change-Id: Ib63cfc5935af1a169ed26b2b138f74908492bc18
2011-01-24 12:07:37 -08:00
Justin Ho
ec42272205 Updated checkbox assets for legacy applications
Change-Id: I30c39101b365a0bcc78e1b5ff67a9d2ae732e5ae
2011-01-24 12:07:37 -08:00
Andreas Huber
da6f929584 Merge "Make AwesomePlayer's reset process more verbose to track down ANRs (again)" into honeycomb 2011-01-24 10:45:59 -08:00
Santosh Madhava
3648691259 Merge "Resubmit of 'Fix for isssue 3369932 : stopPreview returns 0'" into honeycomb 2011-01-24 10:45:36 -08:00
Joe Onorato
da34e13bb4 Merge "Remove unwanted parameter (it was a typo)." into honeycomb 2011-01-24 10:43:55 -08:00
Andreas Huber
aac2e9e156 Make AwesomePlayer's reset process more verbose to track down ANRs (again)
Change-Id: I0d66994cc4295fd5ceeaaf151ce913ed0dd995f9
related-to-bug: 3362836
2011-01-24 10:31:52 -08:00
Santosh Madhava
4ff8a0b410 Resubmit of 'Fix for isssue 3369932 : stopPreview returns 0'
Change-Id: Id2e4598f29191c506ab99a112bd7743f6a794cd6
2011-01-24 10:17:05 -08:00
Joe Onorato
e595cad6ee Remove unwanted parameter (it was a typo).
Bug: 3241144
Change-Id: I569f6c8dffb17041a422be6084b6eab89624a57b
2011-01-24 09:25:35 -08:00
Chet Haase
67005b05cc Merge "Use optimized display lists for all hwaccelerated rendering" into honeycomb 2011-01-24 09:24:59 -08:00
Daniel Sandler
78b32fc451 Merge "Smoothly hide the list when there are no notifications." into honeycomb 2011-01-24 08:59:08 -08:00
Gilles Debunne
7108724d4b Merge "New fix for popup behavior in AutoCompleteTextViews." into honeycomb 2011-01-24 08:58:07 -08:00
Chet Haase
daf98e941e Use optimized display lists for all hwaccelerated rendering
Previously, display lists were used only if hardware acceleration
was enabled for an application (hardwareAccelerated=true) *and* if
setDrawingCacheEnabled(true) was called. This change makes the framework
use display lists for all views in an application if hardware acceleration
is enabled.

In addition, display list renderering has been optimized so that
any view's recreation of its own display list (which is necessary whenever
the visuals of that view change) will not cause any other display list
in its parent hierarchy to change. Instead, when there are any visual
changes in the hierarchy, only those views which need to have new
display list content will recreate their display lists.

This optimization works by caching display list references in each
parent display list (so the container of some child will refer to its
child's display list by a reference to the child's display list). Then when
a view needs to recreate its display list, it will do so inside the same
display list object. This will cause the content to get refreshed, but not
the reference to that content. Then when the view hierarchy is redrawn,
it will automatically pick up the new content from the old reference.

This optimization will not necessarily improve performance when applications
need to update the entire view hierarchy or redraw the entire screen, but it does
show significant improvements when redrawing only a portion of the screen,
especially when the regions that are not refreshed are complex and time-
consuming to redraw.

Change-Id: I68d21cac6a224a05703070ec85253220cb001eb4
2011-01-24 08:43:20 -08:00
satok
57ffc00239 Add a way that subtype will be excluded from a last input method
Bug: 3382702

- Added SUBTYPE_EXTRAVALUE_EXCLUDE_FROM_LAST_IME and if subtype has this extra value,
It will be excluded from a last input method which will be called from switchToLastInputMethod

Change-Id: I03ae10e07f978dcc3a83dd77b10613048dce7f22
2011-01-25 00:52:53 +09:00
Gil Dobjanschi
9c265fcc84 Merge "VideoEditor:Clear Surface API addition" into honeycomb 2011-01-23 22:32:28 -08:00
Dianne Hackborn
582a3944f7 Merge "Fix a regression in the wallpaper drawing." into honeycomb 2011-01-23 22:12:39 -08:00
Jeff Brown
033f63a1a5 Fix a regression in the wallpaper drawing.
We should not lock and post the surface if we don't intend to
draw anything into it.

Change-Id: Idfd1cf127bdc1f5e1f5e783a8991d44de90878da
2011-01-23 22:01:49 -08:00
Adam Powell
77ddb02620 Merge "Fix bug 3360953 - Toasts use the holo theme in non-HC apps" into honeycomb 2011-01-23 22:00:29 -08:00
Dheeraj Sharma
05d9f81bd6 VideoEditor:Clear Surface API addition
Change-Id: I824c4a9d7f0a11ad60f8045eccc8b6139b66af22
2011-01-23 21:41:34 -08:00
Adam Powell
472b026dc1 Fix bug 3360953 - Toasts use the holo theme in non-HC apps
Change-Id: Ic386b35ec47613655f4b17395090959f9031e3ad
2011-01-23 21:15:23 -08:00
Adam Powell
a6ce081970 Merge "Fix bug 3381275 - Too much padding on the left of a custom nav bar" into honeycomb 2011-01-23 20:52:38 -08:00
Adam Powell
2a7ea67a03 Fix bug 3381275 - Too much padding on the left of a custom nav bar
Hide the title layout if it's empty to omit any included padding.

Change-Id: I01d287c8e214ed3648a47f5ca00b50f78d1659ad
2011-01-23 20:35:28 -08:00
Joe Onorato
4c541b1303 Merge "visibility ("lights out") API." into honeycomb 2011-01-23 19:26:13 -08:00
Joe Onorato
664644d9e0 visibility ("lights out") API.
1. Views may setSystemUiVisibility() to recommend that
the system chrome (status bar or other UI) show or hide
itself.  (This functionality was previously available only
via the FLAG_FULLSCREEN window flag for some SystemUI
implementations.)

2. Views may register a OnSystemUiVisibilityChangedListener
on a view, and find out when the system UI actually
appears or disappears, allowing apps to coordinate the
appearance of their own UI if desired.

Bug: 3241144
Change-Id: Ia1758d94099182d49a1e3688ea2738ae4995b829
2011-01-23 19:22:52 -08:00
Adam Powell
2bed570bba Fix bug 3367627 - spontaneous crash
Fix a little-traversed codepath that could cause some grief.

Change-Id: I75e6931c3208a0f18b40446f23a2fdd5a0065ce8
2011-01-23 19:20:43 -08:00
Joe Onorato
2cd06609b4 Merge "Fix typo that causes brigtness to be wrong." into honeycomb 2011-01-23 18:26:02 -08:00
Gilles Debunne
4a74dbc3f2 New fix for popup behavior in AutoCompleteTextViews.
Bug 3374144

The fix in https://android-git.corp.google.com/g/#change,91880 is not
sufficient. An updated adapter needs to be able to force an update of
the poup result list.

Addded a flag that prevents the popup from being re-opened when it has
previously been closed by a user action.

Change-Id: I45fab056c8ebd6dc4317430213f2bc37b51b79e3
2011-01-23 18:20:43 -08:00
Adam Powell
7ed3d005ac Merge "Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge" into honeycomb 2011-01-23 18:16:09 -08:00
Adam Powell
b0ff6f9955 Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge
Also adjust default web text selection menu to allow overflow, preventing items
from being cut off in portrait or on smaller screens.

Change-Id: I686c9a8daab31a38c2fcb75ee1402f09f568c238
2011-01-23 18:07:45 -08:00
Dianne Hackborn
9476f04590 Merge "Fix issue #3215261: NPE in WiFi Settings" into honeycomb 2011-01-23 17:45:59 -08:00
Dianne Hackborn
89ba6750e5 Fix issue #3215261: NPE in WiFi Settings
And also fix #3343369: EGL_BAD_DISPLAY and/or broadcast intent
TIME_SET before boot completion

And a few more tweaks to animations to keep the wallpaper displayed
when needed.

And make more use of the drag and drop "rotation disabled" thing to
also use it while animating the screen rotation, since if we try to
start a new rotation while doing the animation we end up with a mess.

Change-Id: I373af305a6e23a92835abed96229a83e173f67ce
2011-01-23 17:35:08 -08:00