17038 Commits

Author SHA1 Message Date
Dianne Hackborn
4389434c1d Make ProgressDialog a little less lame.
Change-Id: Ic3f1dd8ba32dd02d422ee6f05fff5541e54bb8a1
2011-01-12 11:17:17 -08:00
Dianne Hackborn
6014527c35 Add "min size" facility to the Window class.
This allows us to have a new dialog theme that behaves like an alert dialog
for both Dialog and Activity versions.  Very useful with so many more things
being displayed as dialogs on our nice large screen.

Note I didn't change the existing dialog themes to have this behavior, since
it will probably break things.  Instead there is a new variation.  And the
DialogWhenLarge variations now use this for their dialog form, to fix many
of the real new dialogs we have that need this behavior.

Removed the public definition of the one alert dialog theme.  None of the
others have ever been public, this one shouldn't be.

Added new .Panel versions of the Holo themes, like we already had for the
original themes.

Changed the alert dialog layout to no longer use WeightedLinearLayout,
since the window now takes care of that.  This allowed for the removal
of the xlarge version of those layouts.

Change-Id: I0c8372bde25eb9af47404a719b3f07230baf73bf
2011-01-12 10:33:13 -08:00
Patrick Scott
92a9a3c5ef Merge "Do not merge." into honeycomb 2011-01-12 09:44:59 -08:00
Patrick Scott
d1737edc13 Do not merge.
Cherry picked:

Add an api to toggle content url access.

By default, WebView allows access to content providers on the system.  This
setting allows applications to turn off content urls.

Bug: 1196879
Change-Id: I49eaea6d7b9ccc3b3a4443d712222556087568c0
2011-01-12 12:42:51 -05:00
Cary Clark
7170bb6391 add null check to copy selection
This prevents a toast from appearing
if copyselection is done initially.

bug:3339016
Change-Id: If6f91b8f3794b3807fb3319fc542838abd431c64
2011-01-12 10:12:15 -05:00
Svetoslav Ganov
2ad2bf2327 Merge "Renaming NumberPicker resources to be consistent." into honeycomb 2011-01-11 21:56:03 -08:00
Christopher Tate
02d2b3ba9b API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
There will be, in the future, a flag (View.DRAG_FLAG_GLOBAL) that means
for the drag to be cross-application.  For now that flag constant is @hide
and furthermore the server-side implementation strips it, enforcing
local-only drags.

Change-Id: I8db840480ab90e18a5b8ecf29d62b4e6eafd405e
2011-01-11 18:30:23 -08:00
Svetoslav Ganov
5220834c6c Merge "Down arrow on the month can end up at the start of the month" into honeycomb 2011-01-11 18:04:42 -08:00
Svetoslav Ganov
d7419986ca Down arrow on the month can end up at the start of the month
bug:3338078

1. The bug was that I was claculating delta month and day from
   the current date but was changing the latter in the middle
   thus causing inconsistent state.

Change-Id: Id3082b01778fc2b3116aa412aff3f12e9ebf0c97
2011-01-11 17:59:32 -08:00
Dianne Hackborn
540f86aa42 Get rid of old ParcelFileDescriptor API.
Also some new debugging code in AsyncTaskLoader.

Change-Id: Ib13386b7862821cf0ee31b003bedef78f46240f1
2011-01-11 17:56:12 -08:00
Romain Guy
d139a0ca25 Merge "Better backend for hardware layers." into honeycomb 2011-01-11 17:52:05 -08:00
Romain Guy
6c319ca127 Better backend for hardware layers.
With this new backend, a hardware layer is only recreated when
its associated view is udpated. This offers fast composition
in GL and fast update of the layer in GL as well.

Change-Id: I97c43a612f5955c6bf1c192c8ca4af10fdf1d076
2011-01-11 17:53:19 -08:00
Svetoslav Ganov
49c771c4da Merge "WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content." into honeycomb 2011-01-11 17:43:01 -08:00
Eric Fischer
2ea2553bda Merge "Update large-screen translations." into honeycomb 2011-01-11 17:39:12 -08:00
Justin Ho
2d2899f9ff Merge "Updated expander assets from Gingerbread" into honeycomb 2011-01-11 17:34:34 -08:00
Justin Ho
9c2a702722 Updated expander assets from Gingerbread
Change-Id: Ieb5e47bc6907e6805ae55be3a9efa13b47309cdd
2011-01-11 17:33:10 -08:00
Svetoslav Ganov
012dd5a461 Renaming NumberPicker resources to be consistent.
1. The resources for the NumberPicker now start with 'numberpicker_' instead of the legacy 'timepicker_'

2. Removed unused resources.

Change-Id: Ide7c61df1936f174b6fffc778cba3a58b324556a
2011-01-11 17:02:46 -08:00
Eric Fischer
67145ddd4a Update large-screen translations.
Change-Id: Iff616447f1cd547d887c0aa84071daa34166a5ad
2011-01-11 16:59:54 -08:00
Justin Ho
1a6c5b64de Merge "Dropdown, checkboxes, buttons from Gingerbread" into honeycomb 2011-01-11 16:11:35 -08:00
Justin Ho
6c3c2f9ff7 Dropdown, checkboxes, buttons from Gingerbread
Change-Id: Iec4818958f7a0cf41dab94695a06b9b3d0f72acb
2011-01-11 16:00:39 -08:00
Adam Powell
16ffa6cb2d Merge "Fix bug 3338079 - Dialog styled activity decor" into honeycomb 2011-01-11 15:58:29 -08:00
Adam Powell
32aa2c90ee Fix bug 3338079 - Dialog styled activity decor
Fixed a bug in FastScroller that could cause a crash on an empty list
in always-show mode.

Fix holo light button text color

Change-Id: I7b50043d715b9b870eb34808017d743ba64d2e08
2011-01-11 15:57:07 -08:00
Justin Ho
9b5b54b723 Merge "List selectors, menu backgrounds, popups, menu backgrounds from Gingerbread (HDPI and MDPI)" into honeycomb 2011-01-11 15:39:40 -08:00
Justin Ho
d5c91fe067 Merge "Updated HDPI btn_default states from Gingerbread" into honeycomb 2011-01-11 15:39:10 -08:00
Svetoslav Ganov
b01c3d2bf2 WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content.
bug:3341772

1.  Now a key in the binding is represented as a long with 32 MSB for modifiers and 32 LSB for keyCode.

bug: 3340732

1. Added check in the WebView key handling code to diable the accessibility injector/injected script in
   case accessibility is been disabled after loading the content.

Change-Id: Ic3746dff16ec77ba682a5b139cec0e6afd8fc839
2011-01-11 15:11:30 -08:00
Justin Ho
a969294f17 List selectors, menu backgrounds, popups, menu backgrounds from Gingerbread (HDPI and MDPI)
Change-Id: I74ecf0133e7b395caa699b41a7e4f8e60772fd13
2011-01-11 14:21:48 -08:00
Jim Miller
c82c787caa Merge "Update AndroidClock font for LockScreen and tweak transparency." into honeycomb 2011-01-11 14:13:37 -08:00
Justin Ho
910a347cee Merge "Updated btn default states (MDPI) from Gingerbread" into honeycomb 2011-01-11 14:05:28 -08:00
Justin Ho
b61d3baf6c Updated HDPI btn_default states from Gingerbread
Change-Id: I3defa049dfe2364fc2cda6dcce50126ad242d0fb
2011-01-11 14:02:13 -08:00
Huahui Wu
3ee37b12d5 Merge "b/3331379 reduce ping-to-zoom jitter." into honeycomb 2011-01-11 13:59:46 -08:00
Justin Ho
5a999e7729 Updated btn default states (MDPI) from Gingerbread
Change-Id: I09006ef68d7b17e0a1dde56d24bf90a97cb4069d
2011-01-11 13:58:24 -08:00
Justin Ho
2706a1f8f6 Merge "Updated permission bullet" into honeycomb 2011-01-11 13:51:33 -08:00
Justin Ho
69c3f8c672 Merge "Updated Help icon" into honeycomb 2011-01-11 13:51:00 -08:00
Justin Ho
26df73aee5 Updated permission bullet
Change-Id: Idbfb5dcb17b29cd47e0fd65d23bf920f68b9b271
2011-01-11 13:49:48 -08:00
Chet Haase
d865011473 All animator resources moved to res/animator
Change-Id: I9342ff21e9a15ba29da946e091343a6f8223c181
2011-01-11 12:50:24 -08:00
Leon Scroggins
9fafe4e0eb Merge "Find when pressing enter. Call onClickListener in TextView." into honeycomb 2011-01-11 12:41:52 -08:00
Justin Ho
8ba3b77169 Updated Help icon
Change-Id: Ifa6598ec8cb89c5533b76c85b1c164b30e8eb6ff
2011-01-11 12:19:53 -08:00
Leon Scroggins
7014b12873 Find when pressing enter. Call onClickListener in TextView.
Bug:3313519

In Find ActionMode, Enter should call find on page (rather than
advancing focus to the WebView).

In TextView, pass and Enter key down to super, so that the
pressed state can get called properly, and the
onClickListener will fire.

Change-Id: Ia875fa6b5cf02565a0d066a009e68ce97718b032
2011-01-11 15:17:34 -05:00
Huahui Wu
acd944cce2 b/3331379 reduce ping-to-zoom jitter.
Change-Id: I522c86661777e670776b9fb448dc3333cef8b77b
2011-01-11 11:32:34 -08:00
Shimeng (Simon) Wang
c1960a6020 Merge "Change function parameter from int to float." into honeycomb 2011-01-11 10:54:43 -08:00
Shimeng (Simon) Wang
5d8e7a444c Change function parameter from int to float.
This change has a corresponding change in external/webkit:
https://android-git.corp.google.com/g/#change,88118

issue: 3225233
Change-Id: Icff31ef5c440cb02671ed363f57a0a5549cb32ef
2011-01-11 10:52:44 -08:00
Robert Greenwalt
cef295780a Merge "Change local names for greater clarity." into honeycomb 2011-01-11 10:15:21 -08:00
Robert Greenwalt
1b744ca49c Change local names for greater clarity.
Change-Id: I806284317c0c756260080b6c006b4c338b9cbc6d
2011-01-11 10:08:31 -08:00
Shimeng (Simon) Wang
eafbce5571 Ignore overflow:hidden in overview mode.
The feature was enabled to prevent flash sites from flickering due to
viewport height change when the site is scrolled.

Now fixed viewport height is in honeycomb, this flickering shall be
a non-issue.  So to support better scrolling of overflow:hidden sites
and better consistency, overflow:hidden in overview mode is ignored
as well.

Tested on flash site http://home.disney.go.com/mwc.index to make sure
no flickering happens.  More testing shall be done once good flash
player is there.

issue: 3330038
Change-Id: Ia3f61ce49cfb970d26976d4e876c337d210a9df2
2011-01-11 09:56:35 -08:00
Leon Scroggins
d5208cf42c Merge "Enable write ahead logging on databases used by WebView." into honeycomb 2011-01-11 09:24:39 -08:00
Chet Haase
53ee3316bc Rename RGBEvaluator to ArgbEvaluator
Change-Id: Iee74b475960d623fa757349e4053bd7c58cf5734
2011-01-11 06:46:44 -08:00
Jim Miller
d04980d6f4 Update AndroidClock font for LockScreen and tweak transparency.
Change-Id: I5e4e8cb67c0498105f3b3d87c68c44b85e5baf77
2011-01-10 21:18:26 -08:00
Romain Guy
89254c984e Merge "Better logging of out of memory errors in OpenGLRenderer." into honeycomb 2011-01-10 21:11:27 -08:00
Romain Guy
a07105b7d2 Better logging of out of memory errors in OpenGLRenderer.
Change-Id: I6b72a084340d8d4b6e0b0a100ed4314d09d441ef
2011-01-10 21:14:18 -08:00
Mike Lockwood
3459e27e5d un@hide android.os.Environment.isExternalStorageEmulated()
Change-Id: I35e7dc59763595523cb5af569e237bcff5cf1b49
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-10 22:12:31 -05:00