37275 Commits

Author SHA1 Message Date
Chet Haase
f2f7d8f9dd Fix invalidation issue for optimized/GL case.
The bug caused intermittent artifacts where some apps would not get
repainted until some overall screen invalidation occurred.

Change-Id: I82a3294429f15fe51cc8f4b47134e3b5540cb240
2010-12-03 14:35:29 -08:00
Irfan Sheriff
00506e38dc Merge "Fix configuration change handling" 2010-12-03 14:29:08 -08:00
Jim Miller
848024f744 Merge "Fix 3201849: Remove builder pattern from DrawableHolder setters" 2010-12-03 14:21:42 -08:00
Irfan Sheriff
be9ee6a498 Fix configuration change handling
When IP or proxy config changes, we now reconfigure
the network and inform connectivityservice.

Also, fixed the naming for changes on configured
networks.

Bug: 3237735
Change-Id: I2a94b3158b6b0e0d27442d7fd525a8a23f0497f8
2010-12-03 14:15:39 -08:00
Dianne Hackborn
88bf6084c3 Merge "Fix issue #3175809: system_server crash with SEGV_MAPERR (IKXEVEREST-1372)" 2010-12-03 13:16:38 -08:00
Dianne Hackborn
87fc308282 Fix issue #3175809: system_server crash with SEGV_MAPERR (IKXEVEREST-1372)
Don't crash if dump() is called before we have set mDisplay.

Change-Id: I0d3d356ff27dbc61353a5b99e348178937d5f4a5
2010-12-03 13:09:12 -08:00
Xavier Ducrohet
ad2ff860bf Merge "LayoutLib: Animation support in insert/move/removeChild actions." 2010-12-03 12:27:27 -08:00
Xavier Ducrohet
5f1644fb25 Merge "LayoutLib: Create new layoutparams when moving a child" 2010-12-03 12:27:14 -08:00
Wink Saville
17db4067a3 Merge "Cleanup logging." 2010-12-03 12:16:50 -08:00
Wink Saville
ed9c02b56c Cleanup logging.
Change-Id: Ie73c6d97ec19b0d27e58c085b60e885d90066056
2010-12-03 12:01:38 -08:00
Jeff Brown
6a9566592a Merge "Add method for sending wallpaper commands directly to an engine." 2010-12-03 11:52:38 -08:00
Xavier Ducrohet
e1179ea065 LayoutLib: Animation support in insert/move/removeChild actions.
Also update to use the new SceneResult API.

Change-Id: Iaac6df0c250fbefc8758310c37e0cf47cae6875d
2010-12-03 11:50:36 -08:00
Jeff Brown
9f3bdfe3eb Add method for sending wallpaper commands directly to an engine.
This enables the livewallpaper preview activity to send tap commands to the
wallpaper so that the preview is more interactive.

Also add a command for sending secondary pointer taps for multitouch
enabled wallpapers.

Change-Id: I9fa10cc47d92dfa9f1a1208aba44c66943eee3ec
2010-12-03 11:35:42 -08:00
Gilles Debunne
647fc85af8 Merge "Removed unused text_select_handle asset" 2010-12-03 11:33:51 -08:00
Gilles Debunne
7ffbc13776 Removed unused text_select_handle asset
Change-Id: Ide48933d372f95e80df16f90b8bb915193d6cebb
2010-12-03 11:28:10 -08:00
Kenny Root
592f4dd8c1 Merge "Move disk usage utilities to its own library" 2010-12-03 11:23:48 -08:00
Amith Yamasani
3b7fec8d56 Merge "Use SearchView in SearchDialog for legacy apps using the old model." 2010-12-03 11:22:48 -08:00
Amith Yamasani
968ec93839 Use SearchView in SearchDialog for legacy apps using the old model.
Bug: 3140925

Removed all the code from SearchDialog that is already in SearchView
and moved more stuff into SearchView.

SearchDialog layout changed to be more like a Holo.Light themed action mode.
Search field is right justified and limited to 500dip.

Zero query dropdown added to SearchView (causing some problems with Gmail,
but that may be an existing issue that's only now showing up due to this change)

Holo.Light search views assets still need to be updated, as the contrast is too low.
2010-12-03 11:18:25 -08:00
Teng-Hui Zhu
c99821d01a Fix the stretching issue when viewport change.
When native webkit code ask java to provide the visibleRect,
the calculation should not take the overscrolling into concern.

The original change was added for this issue, http://b/issue?id=2496502,
and we don't have overscroll any more, so it should be safe to
revert the original change.

bug:3212547

Change-Id: I57e3353b3277f83302ccfd9916a38aa691fa15c7
2010-12-03 10:59:19 -08:00
Dianne Hackborn
189ee18d6c Implement smarter sizing of WRAP_CONTENT windows.
This extends the view hierarchy's measure pass to allow view to
propagate up to their parent additional information besides just
their measured size.  They can now report that their measured width
and/or height should be larger than the size their parent is
limiting them to (even though by definition they need to contrain
their reported measurements to the limits imposed by the parent).

ViewRoot uses this information to determine if it should remeasure
the window with a larger size limit to try to make it fit.

Change-Id: I90af3b7a8ec45d0a5c003fb009857025209d83eb
2010-12-03 10:46:18 -08:00
Cary Clark
32820249ad abandon long press on scroll; clear hit on keydown
If the application scrolls the webview without allowing
WebView.java to receive the motion event, stop any long
press timer in progress. This prevents select text from
appearing in applications that host webviews and do their
own flinging.

If the cursor is moved with the dpad or trackball,
reset the hit test state used by long press. This allows
cts tests to run reliably; they emulate key presses
to move between links.

bug:3250291 (app fling)
bug:3241830 (cts fail)
Change-Id: Ida364051ffa090455ddc6c3c3dd41baea5615293
2010-12-03 10:52:07 -05:00
Patrick Scott
2f492277ea Attempt to scroll layers everytime the user drags.
This allows the user to continue scrolling a layer even after reaching the end
of it.  Only pin the fling velocity in the direction of the fling.  This is
preparation for flinging layers.

Record the inval region when updating layers so that the new layer will draw.

TODO: Keep track of whether the user started on a layer to prevent scrolling a
layer if the user drags across one.

Bug: 3022562

Change-Id: I25f84497a67dfb1e0fc424207f6c97817715501c
2010-12-03 10:32:57 -05:00
Steve Block
bcdf40b42f Merge "Update WebView.addJavascriptInterface() to ignore null instances" 2010-12-03 03:38:00 -08:00
Ben Murdoch
cbdfd0fc0c Merge "Add a value for the dimensions of xlarge app icons." 2010-12-03 03:05:54 -08:00
Bjorn Bringert
1921eab4e7 Merge "Only decrement mRemaining once in read()." 2010-12-03 01:28:05 -08:00
Wink Saville
d8591020ec Merge "Add reason field to DEACTIVATE_DATA_CALL request." 2010-12-02 21:43:00 -08:00
Jim Miller
c002fab06d Fix 3201849: Remove builder pattern from DrawableHolder setters
This removes the builder pattern from DrawableHolder setters
to avoid reflection and unnecessary GCs in Animators.

Change-Id: I8e3485823f30f10d768d0ab447a5ee3281a363f0
2010-12-02 20:43:15 -08:00
satok
eae7133bf6 Merge "Make the size of "shirt pocket" 0 when the icon of "shirt pocket" is invisible" 2010-12-02 19:23:29 -08:00
satok
2993f18b06 Make the size of "shirt pocket" 0 when the icon of "shirt pocket" is invisible
bug: 3230503

Change-Id: I1028a92b6ce048c39af1e89845576198132b3176
2010-12-03 12:21:56 +09:00
Xavier Ducrohet
01811aa862 LayoutLib: Create new layoutparams when moving a child
Change-Id: Ie2183490e8d26ef194030a9d87fe7745f24f1d83
2010-12-02 18:58:25 -08:00
Xavier Ducrohet
63f4e23347 Merge "LayoutLib: Update to use the new moveChild API." 2010-12-02 18:06:23 -08:00
Hung-ying Tyan
2aef9a1e84 am 7da1ffc9: am e2abd103: Merge "Set AudioGroup mode according to audio settings" into gingerbread
* commit '7da1ffc9d2a51ef6120389a06351fd770ab45f46':
  Set AudioGroup mode according to audio settings
2010-12-02 18:02:58 -08:00
Hung-ying Tyan
7da1ffc9d2 am e2abd103: Merge "Set AudioGroup mode according to audio settings" into gingerbread
* commit 'e2abd103a2d311738ff1dd1e1d9b8e6c52aa870c':
  Set AudioGroup mode according to audio settings
2010-12-02 17:56:40 -08:00
Hung-ying Tyan
e2abd103a2 Merge "Set AudioGroup mode according to audio settings" into gingerbread 2010-12-02 17:50:33 -08:00
Xavier Ducrohet
3c78f2de35 LayoutLib: Update to use the new moveChild API.
Also, return supported capabilities.

Change-Id: I824120d50f2865a667dc6c81d455ae19321966b6
2010-12-02 17:49:11 -08:00
Joe Onorato
4276ca78f2 Merge "Tweak the settings panel assets / layout. Not done yet." 2010-12-02 17:29:41 -08:00
Joe Onorato
4d83413fff Merge "Make AbsSeekBar support having setThumb called after initialization is done." 2010-12-02 17:29:29 -08:00
Joe Onorato
c91d580258 Merge "Brightness and volume controls in the quick settings panel." 2010-12-02 17:29:12 -08:00
Joe Onorato
ea686131ee Merge "New SeekBar assets." 2010-12-02 17:29:02 -08:00
Joe Onorato
3d5d628872 Merge "Show the operator or wifi ssid in the status bar panel." 2010-12-02 17:28:47 -08:00
Romain Guy
9d0161799c Merge "Correctly index transparent quads when generating 9patch meshes. Bug #3250026" 2010-12-02 17:15:05 -08:00
Romain Guy
bd41a11078 Correctly index transparent quads when generating 9patch meshes.
Bug #3250026

Change-Id: Id7e051e9ed81f6b4e7748756503d8055ac7d531a
2010-12-02 17:16:26 -08:00
Joe Onorato
75362101ac Tweak the settings panel assets / layout. Not done yet.
Change-Id: Ib014947f1260cb290818b7af0151fe0c165950c6
2010-12-02 16:52:18 -08:00
Joe Onorato
2e585f7e22 Make AbsSeekBar support having setThumb called after initialization is done.
Change-Id: Ic7c2e1a4ec067f50a95aaff924bbd7bc453a575f
2010-12-02 16:52:17 -08:00
Joe Onorato
1e28f4110f Brightness and volume controls in the quick settings panel.
Change-Id: I2d2394c84a2783772f16dbeb88664381917e0ead
2010-12-02 16:52:16 -08:00
Joe Onorato
df7cc31ad0 New SeekBar assets.
Change-Id: Ic4a470ea29be04e6f7c91b3ab72f4b814a40b8e0
2010-12-02 16:52:15 -08:00
Joe Onorato
355ebc09d2 Show the operator or wifi ssid in the status bar panel.
Change-Id: Ia2983bce35c5f2ab706995777c80e96cc9a4c2ae
2010-12-02 16:52:14 -08:00
Gilles Debunne
9d5055a2bc Merge "Fix in vertical measurement in text lines with different text sizes" 2010-12-02 16:47:50 -08:00
Xia Wang
3c3743c541 Merge "Add Wi-Fi connection test for static IP" 2010-12-02 16:39:53 -08:00
Xia Wang
a42a1e6b6f Add Wi-Fi connection test for static IP
- Add support in access point parser to support static ip settings
- Add Wi-Fi test with static IP configuration
- Use WifiManager new APIs
- Fix issue: if the expected AP is not in the scan list, retry scanning.
  Maximum is 5.
- Fix issue: wait for wifi state change before connecting to AP.

Change-Id: Id09b921c8a6a4b14f3c65cdea0b58c7e6f395520
2010-12-02 16:25:26 -08:00