37293 Commits

Author SHA1 Message Date
Adam Powell
8c345d8316 Integrate new holo button assets; update action bar tab styles
Change-Id: I9e16b08f507cf176f57568d8cc88a913aa08fcce
2010-12-05 12:17:29 -08:00
Adam Powell
d8b3f2e8ee Action mode animations
Change-Id: I132791217a38257e4fe730f2dd364cf48069c75d
2010-12-03 20:30:52 -08:00
Adam Cohen
26e30bb7fe Preventing StackView auto-advance during / near interaction
Change-Id: Ieea5492933b87f1eb30703a23c90f53869f92c20
2010-12-03 18:36:57 -08:00
Shimeng (Simon) Wang
82609adab8 Merge "Make sure the returned web view width is at least 0." 2010-12-03 18:22:29 -08:00
Michael Jurka
4d2bd4c9ae fixing getLocationInWindow
- takes into account mTranslationX/Y

Change-Id: I7d622fe9e8b5e021f8585894b72ffd82c087cc57
2010-12-03 18:05:12 -08:00
Romain Guy
7c2bacf6a9 Merge "Don't render degenerate triangles in 9patches. Bug #3251983" 2010-12-03 16:49:45 -08:00
Joe Onorato
4b2970c115 Merge "make screencap able to save pngs." 2010-12-03 16:49:39 -08:00
Romain Guy
a5ef39a216 Don't render degenerate triangles in 9patches.
Bug #3251983

Change-Id: Ib0b38a7b8111542372f4c4c106b6321c26fe4ad4
2010-12-03 16:48:20 -08:00
Dianne Hackborn
50ed8294d3 Fix issue #3201066: Locale change not reflected by settings
Change-Id: I356c7ec021df7a20f52017e0630d341230ea349f
2010-12-03 16:38:25 -08:00
Shimeng (Simon) Wang
3712754941 Make sure the returned web view width is at least 0.
This will fix issue 3241963; since in WebViewCore.java there's a way
to deal with a 0-width view, but not with negative width.

issue: 3241963
Change-Id: I177bee48e53ba5108889bc2c06aebffbc6cb44c6
2010-12-03 16:34:00 -08:00
Dianne Hackborn
8c7a580b34 Some theme cleanup.
- Add new dialog themes without a title bar.
- Add new Theme.Holo.NoActionBar.DialogWhenLarge.
- Remove old Extended and Theme.Light.Holo themes.
- Reorder the public definitions to keep things nice.

Also @hide the MipmapDrawable class.

Change-Id: Ic69a56e9b28aacf441780633f37f0bc6a475d08a
2010-12-03 16:32:50 -08:00
Joe Onorato
5cff0630eb make screencap able to save pngs.
Change-Id: Idf3542ff05670bc872bd91770810ed775266514f
2010-12-03 16:07:08 -08:00
James Dong
988f382308 Merge "Prepare for publishing MediaMetadataRetriever as public API" 2010-12-03 15:36:06 -08:00
James Dong
faf09ba940 Prepare for publishing MediaMetadataRetriever as public API
step one:
o replaced captureFrame with getFrameAtTime
o removed getMode

bug - 2433195

Change-Id: I38a8cecef29014692f0b08b8818326e3ebb40a12
2010-12-03 15:32:47 -08:00
Amith Yamasani
4838548209 Added to SearchView : getQuery() and setOnSearchClickListener()
Bug: 3083393
Bug: 3172295
2010-12-03 15:21:07 -08:00
Chet Haase
f870c28d76 Merge "Fix invalidation issue for optimized/GL case." 2010-12-03 15:17:01 -08:00
Adam Powell
d3f5ce154f Merge "Fix bug 3248342 - resource not found for non-xlarge" 2010-12-03 14:42:11 -08:00
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
Adam Powell
de0f5c99d9 Fix bug 3248342 - resource not found for non-xlarge
Change-Id: Ie3db1dcdec2bded49dc7579277f5c81773284647
2010-12-03 14:34: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