5960 Commits

Author SHA1 Message Date
Maryam Garrett
5e3f6caeb0 Merge "Enable onepointfivetap-and-swipe to select." 2010-01-06 12:51:48 -08:00
Dan Egnor
be5460cb10 Merge "Simplify EventLog interface -- remove supported for nested sequences (which nobody used) and streamline the API, adding documentation in preparation for inclusion in the SDK." 2010-01-06 12:49:43 -08:00
Dan Egnor
62136d3e1c Simplify EventLog interface -- remove supported for nested
sequences (which nobody used) and streamline the API, adding
documentation in preparation for inclusion in the SDK.

Gut and deprecate EventLogTags, which unfortunately was put
into the public SDK (an oversight).  Include the functionality
in EventLog proper, in a simpler and easier to use manner.

This change doesn't actually un-@hide anything, but it does
change it to @pending.
2010-01-06 12:30:12 -08:00
Maryam Garrett
62c4ad3b6b Enable onepointfivetap-and-swipe to select.
The goal of this new feature is to enable users to select
text without having to go through the cumbersome context
menu.  Now users can simply execute a
onepointfivetap-and-swipe gesture to select text.
Onepointfivetap is similar to doubletap gesture (where a
finger goes down, up, down, up, in a short time period),
except in the onepointfive tap, a users finger only needs
to go down, up, down in a short time period.

I don't think this change should cause any waves, because
this interaction is consistent with the select interaction
using  a computer-mouse and computer-screen, and i've
checked and it seems to be implemented on other touch-based
phones as well.

Change-Id: Iba84f7316a647e963ba7c57ca608bfdc3bb438b8
2010-01-06 13:55:07 -05:00
Bjorn Bringert
d755b06805 Add RemoteViews.setBundle() method.
This is needed for setting the app search data for an upcoming search
source selection widget which is @RemoteView.

Change-Id: I2d04ff68d0ad7f12e88ed25ded75e174a8403bcc
2010-01-06 17:38:17 +00:00
Doug Zongker
1af33d0ddc add recovery system interface to API
Adds android.os.RecoverySystem (marked as pending) to replace the
(hidden) com.android.internal.os.RecoverySystem.  RecoverySystem
contains methods for:

  - verifying the signature of an update package
  - rebooting to install a package
  - rebooting to wipe user data

(The reboot functions require "android.permission.REBOOT" and
"android.permission.ACCESS_CACHE_FILESYSTEM".)  Providing these
simplifies implementation of OTA update for device builders.

Change-Id: I63ce743b156e7a1a0327fd395b0e4a82c0eda79a
2010-01-05 20:03:19 -08:00
Adam Powell
3e7b44fade Merge "Don't perform ListView click events for INVALID_POSITION. Addresses bug 2329294" 2010-01-05 17:38:20 -08:00
Adam Powell
c7426628df Don't perform ListView click events for INVALID_POSITION.
Addresses bug 2329294
2010-01-05 17:32:23 -08:00
Dianne Hackborn
03abb8179f Kill the task killers.
The ActivityManager.restartPackage() API is now deprecated, and no longer
allows applications to mess up the state of other applications.  This was
being abused by task killers, causing users to think their other applications
had bugs.

A new API is introduced for task killers,
ActivityManager.killBackgroundProcesses(), which allows these applications
to kill processes but only the same amount that the out of memory
killer does, thus causing no permanent damage.  The old restartPackage()
API is now a wrapper for calling this new API.

There is also a new private forceStopPackage() API that is used for the
system's force stop UI which does what the old restartPackage() API did.
2010-01-05 15:47:05 -08:00
Amith Yamasani
4dfa3b706c Merge "Fix for 2345922: Press and hold space in ?123 mode will give ....." 2010-01-05 14:17:47 -08:00
Amith Yamasani
4d2c27b145 Fix for 2345922: Press and hold space in ?123 mode will give .....
Abort the repeat sequence until the next touch down event.
2010-01-05 14:06:18 -08:00
Marco Nelissen
592632562a Unhide some MediaStore things that should be public. 2010-01-05 12:56:04 -08:00
Grace Kloba
5aded76004 am 552346a7: am 106f9b24: Patch from Huahui Wu.
Merge commit '552346a743be7c8b10893f817238e92938866999'

* commit '552346a743be7c8b10893f817238e92938866999':
  Patch from Huahui Wu.
2010-01-05 11:32:52 -08:00
Grace Kloba
552346a743 am 106f9b24: Patch from Huahui Wu.
Merge commit '106f9b244633171ab75dd98b9761b7137c1a4705' into eclair-mr2-plus-aosp

* commit '106f9b244633171ab75dd98b9761b7137c1a4705':
  Patch from Huahui Wu.
2010-01-05 11:20:18 -08:00
Grace Kloba
106f9b2446 Patch from Huahui Wu.
Fix http://b/issue?id=1908085
2010-01-05 10:50:39 -08:00
Cary Clark
57d2c3ad19 extract selected text from the picture
This deletes the messages between WebView and WebViewCore
that pass a region and extracts the rendered text
and returns the selected text from WebView directly.

This requires companion changes in external/webkit,
which in turn is dependent on changes to external/skia.

Fixes http://b/2166748
2010-01-05 10:31:04 -05:00
Daisuke Miyakawa
2f389aa3ac Merge "Fix test breakage in vCard exporter." 2010-01-04 20:51:08 -08:00
Daisuke Miyakawa
1301341f13 Fix test breakage in vCard exporter.
Due to the change Iae8dbac1, all tests for vCard exporeter has failed.
This change fixes the breakage by using a kind of dirty Dependency Injection.

Current test framework for vCard exporter strongly depends on the assumption that
ContentValues objects are able to be directly passed to objects which use
ContentResolver, while the change above disabled the feature by removing
queryEntities().

This change makes VCardComposer forcibly uses queryEntities() via Reflection.
I agree that this change is not so clean, but works fine for now.
2010-01-05 13:44:51 +09:00
Erik
3763464e8f b/2293263 Replaced busybit functionality with eventDay functionality.
Made changes to start stripping out busybits and replace them with checks only to see if an event eists on a given day.
This file ties into several other areas so not all busybits references were removed and those that were have been
commented out to make it easier to find errors.
2010-01-04 16:29:15 -08:00
Suchi Amalapurapu
d9328513da Turn off debug flag 2010-01-04 16:18:06 -08:00
Romain Guy
1dabb95d28 Merge "Ignore key events when the widget is disabled. Bug: #2353635." 2010-01-04 15:40:27 -08:00
Android Git Automerger
d5c19608c6 Merge branch 'master' of ssh://android-git.corp.google.com:29418/platform/frameworks/base 2010-01-04 15:39:56 -08:00
Romain Guy
992cc4282e Ignore key events when the widget is disabled.
Bug: #2353635.
2010-01-04 15:39:40 -08:00
Marco Nelissen
7eca501433 Merge "MediaFile.UNKNOWN_STRING -> MediaStore.UNKNOWN_STRING" 2010-01-04 15:10:33 -08:00
Marco Nelissen
9a488b44cb MediaFile.UNKNOWN_STRING -> MediaStore.UNKNOWN_STRING 2010-01-04 15:09:03 -08:00
Suchi Amalapurapu
40967d61fc Merge "Add four way directional rotation to WindowOrientationListener" 2010-01-04 15:07:14 -08:00
Suchi Amalapurapu
63104edbf0 Add four way directional rotation to WindowOrientationListener 2010-01-04 15:05:20 -08:00
Romain Guy
7d3cbfe2db Merge "Plug memory leak in Simple*Adapter, due to the misuse of a WeakHashMap. This removes an optimization but the benefit is not worth the memory leak. Bug: #2353474." 2010-01-04 14:54:02 -08:00
Romain Guy
c8ca2a3a07 Plug memory leak in Simple*Adapter, due to the misuse of a WeakHashMap.
This removes an optimization but the benefit is not worth the memory leak.
Bug: #2353474.
2010-01-04 14:52:38 -08:00
Romain Guy
4cb8b8ffdf Merge "Fix typo in ColorStateList documentation." 2010-01-04 14:46:28 -08:00
Romain Guy
79dc8ccddd Fix typo in ColorStateList documentation. 2010-01-04 14:45:49 -08:00
Romain Guy
1c2d1d0296 Merge "Do not start filtering if the first character is a space. Bug: #2347833." 2010-01-04 14:34:55 -08:00
Romain Guy
cf6c5720a7 Do not start filtering if the first character is a space.
Bug: #2347833.
2010-01-04 14:34:08 -08:00
Marco Nelissen
f9f4173c7d Merge "Add the UNKNOWN_STRING definition to MediaStore. It will be removed from MediaFile once I've updated the code that uses it." 2010-01-04 14:02:49 -08:00
Ying Wang
24c10062cd am 5c529a0c: am 08fa1428: Rename ro.monkey to monkey.running
Merge commit '5c529a0cb587d0dfa38e5642e268ca56285a356f'

* commit '5c529a0cb587d0dfa38e5642e268ca56285a356f':
  Rename ro.monkey to monkey.running
2010-01-04 13:49:47 -08:00
Marco Nelissen
ed297a8417 Add the UNKNOWN_STRING definition to MediaStore. It will be removed
from MediaFile once I've updated the code that uses it.
2010-01-04 13:24:31 -08:00
Ying Wang
5c529a0cb5 am 08fa1428: Rename ro.monkey to monkey.running
Merge commit '08fa1428eed52083789dc3b366aea4873199bd37' into eclair-plus-aosp

* commit '08fa1428eed52083789dc3b366aea4873199bd37':
  Rename ro.monkey to monkey.running
2010-01-04 12:59:17 -08:00
Nicolas Roard
0804043689 am 081798f9: am 38863336: layers support
Merge commit '081798f91270adb2a68979e5f7867d2021b8eed3'

* commit '081798f91270adb2a68979e5f7867d2021b8eed3':
  layers support
2010-01-04 12:49:50 -08:00
Ying Wang
08fa1428ee Rename ro.monkey to monkey.running
So that Monkey can set ro.mokey before running and reset it after running.
2010-01-04 11:56:24 -08:00
Nicolas Roard
081798f912 am 38863336: layers support
Merge commit '3886333644467beeaf60c13fb94f242538067765' into eclair-mr2-plus-aosp

* commit '3886333644467beeaf60c13fb94f242538067765':
  layers support
2010-01-04 11:42:41 -08:00
Nicolas Roard
3886333644 layers support 2010-01-04 19:30:55 +00:00
Dan Egnor
1337b012f8 Fix DropBox reference in SDK comment. (Fix SDK build.) 2010-01-04 11:02:00 -08:00
Romain Guy
f1d068981b Merge "Fix obsolete advice in RelativeLayout's documentation." 2010-01-04 10:58:13 -08:00
Romain Guy
520c4204fb Fix obsolete advice in RelativeLayout's documentation. 2010-01-04 10:56:38 -08:00
Marco Nelissen
e80a066984 Merge "Don't round size to page size. Ashmem will do this internally as needed." 2010-01-04 10:31:28 -08:00
Dan Egnor
e38d58bf89 Remove Google-specific (or only-used-by-Google-code) classes.
Fix a small typo in Context javadoc.
2010-01-04 10:14:21 -08:00
Grace Kloba
c70cf9af8d am 9002eb44: am 67166b6e: Merge "Cleanup the cache file when we decide not saving it. This logic was lost when we switched back using FLASH instead of RAM for the cache." into eclair-mr2
Merge commit '9002eb44043868a2f5fc38128748464492f297c6'

* commit '9002eb44043868a2f5fc38128748464492f297c6':
  Cleanup the cache file when we decide not saving it.
2010-01-04 10:05:13 -08:00
Grace Kloba
9002eb4404 am 67166b6e: Merge "Cleanup the cache file when we decide not saving it. This logic was lost when we switched back using FLASH instead of RAM for the cache." into eclair-mr2
Merge commit '67166b6eaea7a3bc83ec7bf2876b3807cda859f1' into eclair-mr2-plus-aosp

* commit '67166b6eaea7a3bc83ec7bf2876b3807cda859f1':
  Cleanup the cache file when we decide not saving it.
2010-01-04 10:01:16 -08:00
Grace Kloba
67166b6eae Merge "Cleanup the cache file when we decide not saving it. This logic was lost when we switched back using FLASH instead of RAM for the cache." into eclair-mr2 2010-01-04 09:55:54 -08:00
Marco Nelissen
7bcbd51173 Don't round size to page size. Ashmem will do this internally as needed. 2010-01-04 09:54:45 -08:00