17356 Commits

Author SHA1 Message Date
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
Mattias Petersson
d9463f50c8 Fix for crash when setting live wallpaper.
This fix prevents a crash that sometimes happens when setting a
live wallpaper. It happened when pressing "Set wallpaper" button
in the live wallpaper preview activity, before the preview was
fully loaded.

The crash happened in native code while updating the wallpaper
surface when calling mInputChannel.registerInputChannel(),
because the previous call to
mSession.add(mWindow, mLayout, View.VISIBLE, mContentInsets,
             mInputChannel)
had failed. The fix aborts the surface update when it is not
possible to add the window.

Change-Id: I0e79a851e5c7f7b15eb07043c63d1f4d78f14616
2011-01-12 15:41:55 +01: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
Brad Fitzpatrick
43194ce05e am 52d70722: am cb842753: Merge "Closing cursor in finalizer to avoid GREF and fd leak in acore"
* commit '52d70722654548d156bd7a1cb8c1f05b94b09f06':
  Closing cursor in finalizer to avoid GREF and fd leak in acore
2011-01-12 00:04:27 -08:00
Wei-Ta Chen
25bce3a673 Do not merge.
Backport changes related to BitmapRegionDecoder from HoneyComb to
Gingerbread.

Bug: 3309014

////////////////////////////////////////////////////
This is a combination of 7 commits.
Revert "Do not merge."

This reverts commit f7681f84918c27f6a626681ce37ed2a236c44e82.

Change-Id: I46fd710600b1649773eaea2d9abc2b21a592f9a6

Fix a initialization bug in BitmapRegionDecoder.

Change-Id: I6c1151fd34970a84d4de52d664d9a5dc464892c5

Fix segfault when tring to throw IOException.

Change-Id: I530cc4409ba4ca17cec933afad077c5f60ba554f

Fix 3122139, where previewing an attachment for the second time will
fail.

Use AutoFDSeek to mark and restore the position before we read data from
the descriptor.

Change-Id: I3d4f012dce486e19b113bc90a98b94031cfa8195

Add inPreferQualityOverSpeed into BitmapFactory.Options.

The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.

The field by default is not set and thus does not affect existing
applications.

Bug: 3238925
Change-Id: I93d55b7226e47a43e639325cd1a677694d6f2ee4

Unhide inPreferQualityOverSpeed in BitmapFactory.Options.

The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.

The field by default is not set and thus does not affect existing
applications.

Bug: 3238925

Related changes: https://android-git.corp.google.com/g/#change,83291 and
                 https://android-git.corp.google.com/g/#change,83294

Change-Id: I969f5c413f9b2179454aeb90e18ae8222ee583b4

Correct the API comments.

BitmapRegionDecoder supports PNG as well.
2011-01-11 22:54:10 -08:00
Svetoslav Ganov
d753aea1ad am 2ad2bf23: Merge "Renaming NumberPicker resources to be consistent." into honeycomb
* commit '2ad2bf232714009586c5163e08754886bdd9ea20':
  Renaming NumberPicker resources to be consistent.
2011-01-11 21:58:22 -08: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
771fcc5e3d am 28514f8f: Merge "API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"" into honeycomb
* commit '28514f8f9cdac95799d5654a30fe36ef05443dd3':
  API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
2011-01-11 20:03:57 -08:00
Romain Guy
af62958690 am 9688fdf5: am fcf3d12d: Merge "Typo in Javadoc"
* commit '9688fdf51edb82a73e1a6d436bf7bce706c049fb':
  Typo in Javadoc
2011-01-11 19:34:38 -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
2b6f5210ec am 5220834c: Merge "Down arrow on the month can end up at the start of the month" into honeycomb
* commit '5220834c6ccdabf949dfe7160548ad378850d71b':
  Down arrow on the month can end up at the start of the month
2011-01-11 18:06:46 -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
Dianne Hackborn
b5637c467d am 45a8f53b: Merge "Get rid of old ParcelFileDescriptor API." into honeycomb
* commit '45a8f53b25c8306c7f2c37f3a1d70ace21956e28':
  Get rid of old ParcelFileDescriptor API.
2011-01-11 18:00:26 -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
650284739e am d139a0ca: Merge "Better backend for hardware layers." into honeycomb
* commit 'd139a0ca25dbabfaeaed6383f3177704fe0183e2':
  Better backend for hardware layers.
2011-01-11 17:53:58 -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
0879ea3228 am 49c771c4: 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
* commit '49c771c4da8bb7cf135e6afed3a901b1744beb67':
  WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content.
2011-01-11 17:45:37 -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
0001f1e8f9 am 2ea2553b: Merge "Update large-screen translations." into honeycomb
* commit '2ea2553bda727f60fb05043cd13588091533f551':
  Update large-screen translations.
2011-01-11 17:41:01 -08:00
Eric Fischer
2ea2553bda Merge "Update large-screen translations." into honeycomb 2011-01-11 17:39:12 -08:00
Justin Ho
e2d63a4794 am 2d2899f9: Merge "Updated expander assets from Gingerbread" into honeycomb
* commit '2d2899f9ff292ecb7d1d8564ed52229bdd93819b':
  Updated expander assets from Gingerbread
2011-01-11 17:36:38 -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
eb23129e77 am 1a6c5b64: Merge "Dropdown, checkboxes, buttons from Gingerbread" into honeycomb
* commit '1a6c5b64deac492bc58eb94ffdb0ba21aa1934f0':
  Dropdown, checkboxes, buttons from Gingerbread
2011-01-11 16:13:06 -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
431845609f am 16ffa6cb: Merge "Fix bug 3338079 - Dialog styled activity decor" into honeycomb
* commit '16ffa6cb2d31d130bb0b58afca31c461c784ce5d':
  Fix bug 3338079 - Dialog styled activity decor
2011-01-11 15:59:54 -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
Kenny Root
1c6e764275 Allow updated system apps to retain priority
Previously any updated system apps would not be able to have a greater
than 0 priority on an activity intent filter. Moving the priority check
later in the package scanning allows it to apply to updated system
packages as well.

Bug: 2572398
Change-Id: I9fdf7906809518b28b49ffec31afec1442d85d3c
2011-01-11 15:51:46 -08:00
Justin Ho
3bb4a5451e am 9b5b54b7: Merge "List selectors, menu backgrounds, popups, menu backgrounds from Gingerbread (HDPI and MDPI)" into honeycomb
* commit '9b5b54b72349982213c1482cfdf2908346921ecd':
  List selectors, menu backgrounds, popups, menu backgrounds from Gingerbread (HDPI and MDPI)
2011-01-11 15:41:37 -08:00
Justin Ho
4f38ffa115 am d5c91fe0: Merge "Updated HDPI btn_default states from Gingerbread" into honeycomb
* commit 'd5c91fe067d7d65d0a5b31954218d2795f2b7f58':
  Updated HDPI btn_default states from Gingerbread
2011-01-11 15:41:34 -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
f75286061b am c82c787c: Merge "Update AndroidClock font for LockScreen and tweak transparency." into honeycomb
* commit 'c82c787caa6bf4ef08a81e0a6ed9e12e52f35114':
  Update AndroidClock font for LockScreen and tweak transparency.
2011-01-11 14:15:55 -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
6632169d84 am 910a347c: Merge "Updated btn default states (MDPI) from Gingerbread" into honeycomb
* commit '910a347cee738bbd8da4b6386bfe95c0bf0566bf':
  Updated btn default states (MDPI) from Gingerbread
2011-01-11 14:07:14 -08:00
Justin Ho
910a347cee Merge "Updated btn default states (MDPI) from Gingerbread" into honeycomb 2011-01-11 14:05:28 -08:00
Huahui Wu
0a8fb4b21a am 3ee37b12: Merge "b/3331379 reduce ping-to-zoom jitter." into honeycomb
* commit '3ee37b12d598d7354fddb698bc6bdefb3b390f64':
  b/3331379 reduce ping-to-zoom jitter.
2011-01-11 14:02:46 -08:00
Justin Ho
b61d3baf6c Updated HDPI btn_default states from Gingerbread
Change-Id: I3defa049dfe2364fc2cda6dcce50126ad242d0fb
2011-01-11 14:02:13 -08:00