17097 Commits

Author SHA1 Message Date
Amith Yamasani
5980cbbc9c Use light preference panel drawable for Theme.Light
Bug: 3281676

Change-Id: I16c5cca277e8d6d5e80f8b72b7b67456e7352889
2011-01-12 10:37:00 -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
Kenny Root
af604587c9 Add sym_def_app_icon to mipmap directory
The default activity icon was a drawable so different densities were
being stripped out during build time. Copying it to the mipmap
directory allows all different scales to be used.

Bug: 3325002
Change-Id: Id7138aa243ba11c02b33f0e3e9154569542592e8
2011-01-12 10:14:21 -08:00
Jaikumar Ganesh
ac6f13dc68 Revert "Add temporary hack for keyboards not following spec."
This reverts commit 8cc316e4f4458725f78b2b7ebde2f780f9b8447b.
2011-01-12 10:08:57 -08:00
Mike Lockwood
35a2ea2fbf Remove permission android.permission.WRITE_MEDIA_STORAGE
Access to the /data/media directory is now restricted exclusively to the
sdcard daemon, so there is no longer a need for this permission.

Change-Id: Iea8400f0eee167df19cc231c502d251a364f98b3
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-12 12:48:13 -05: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
Chet Haase
efcceb856a New interpolator resources now found in interpolator/ directory
Change-Id: Ib08200d71fce1706a0c683df104f0ff3d777ca17
2011-01-12 07:41:31 -08: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
Kristian Monsen
3ede315d65 Add a static method to get the InputStream of a content URL
Part of fix for bug 2862096

Change-Id: I91f7e7aa1f0fef10b1617e91a167594d4de41b71
2011-01-12 11:53:28 +00:00
Kristian Monsen
80ff5d82bd Adding a static method to get the size of a content url
Part of fixes for bug 2862096

Change-Id: I86f1255c17efb367fac54b69b8de220d2874fc70
2011-01-12 10:21:17 +00:00
Svetoslav Ganov
2ad2bf2327 Merge "Renaming NumberPicker resources to be consistent." into honeycomb 2011-01-11 21:56:03 -08:00
Jim Miller
39d4b067a7 Fix 3201849: Use custom Drawable for bg in lockscreen
This uses a custom drawable to improve the performance of
rendering a transparent background in LockScreen on devices
without hardware acceleration.

Change-Id: I7aae13070d475c3ac19d91ba5c6cb7d2a83a18ce
2011-01-11 20:30:20 -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
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
Romain Guy
d139a0ca25 Merge "Better backend for hardware layers." into honeycomb 2011-01-11 17:52:05 -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
Xia Wang
2dc2991f58 Wait for Wi-Fi state change before set the state verification criteria.
bug: 3336896

Change-Id: If4faf55d1c9a326a0cbd95013b8a5edce562230e
2011-01-11 17:35:56 -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
Gilles Debunne
923505803a New QuickContactBadge holo style.
The background is removed. A blue triangle is displayed on the lower right corner.
Now theme dependant.

Change-Id: I984ac5185039569bd378af9f15b59d11fd1b5c8f
2011-01-11 11:12:51 -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