1221 Commits

Author SHA1 Message Date
Eric Fischer
c08dd9e27e Add CLDR data/formats for newly-translated locales. 2009-07-01 11:10:35 -07:00
Satish Sampath
1b1a6e406c Fix build break by adding an @hide javadoc comment. 2009-07-01 19:08:05 +01:00
Satish Sampath
fef8d3e4d8 Make search UI open up quicker to the user.
On invoking the search UI, the drop down list box with past queries and shortcut items
appears after a few hundreds of milliseconds on screen. This was because we were
displaying the drop down within the onFilterCompleted callback after the list box filtered
the items based on the given query text. While that code path is necessary, for the first
invocation of the search dialog with an empty query we can show the list box before the
text stuff happens. This change does that, issuing an async request to show the drop
down after pending events have been processed.

Without this change, on an average it took 350ms for the code to show the drop down.
With this change, on an average it takes 150ms.
2009-07-01 17:55:31 +01:00
Android (Google) Code Review
50d87fbd69 Merge change 5879 into donut
* changes:
  Represent new searchSettingsDescription attribute on searchables in SearchableInfo.
2009-07-01 08:51:31 -07:00
Mitsuru Oshima
8f25c426b1 resolve complex value in application context instead of system context. 2009-07-01 00:10:43 -07:00
Android (Google) Code Review
c56096fe1f Merge change 5878 into donut
* changes:
  Add new attribute 'searchSettingsDescription' for use within an app's searchable.xml. This attribute defines the string to be shown as the description a searchable in the 'searchable items' section of system search settings.
2009-06-30 18:44:12 -07:00
Mike LeBeau
735b333bf6 Represent new searchSettingsDescription attribute on searchables in
SearchableInfo.
2009-06-30 18:27:40 -07:00
Mike LeBeau
f763e8f42d Add new attribute 'searchSettingsDescription' for use within an app's
searchable.xml. This attribute defines the string to be shown as the
description a searchable in the 'searchable items' section of system
search settings.
2009-06-30 18:26:21 -07:00
Android (Google) Code Review
b0b815da8c Merge change 5845 into donut
* changes:
  Always clear the TextView drag state whenever a touch begins.
2009-06-30 15:44:07 -07:00
Eric Fischer
58b971d733 Always clear the TextView drag state whenever a touch begins.
Apparently it can sometimes miss a touch release, which would prevent
the longpress menu from appearing if the location of the new touch was
too far from the location of the previous touch.

Bug 1673223
2009-06-30 15:22:51 -07:00
Android (Google) Code Review
f3ab3c3437 Merge change 5833 into donut
* changes:
  Fix nit on length of flag constant.
2009-06-30 14:35:59 -07:00
lknguyen
09b3373d83 Fix nit on length of flag constant. 2009-06-30 14:09:33 -07:00
Android (Google) Code Review
d8de2ba426 Merge change 5750 into donut
* changes:
  Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads.
2009-06-30 13:48:14 -07:00
Dianne Hackborn
1dac277f93 Implement issue #1943927 (need notification in status bar when adb is active)
This is a little hacky -- we just assume that if adb is enabled and power
is connected through usb, then it is active.

The icons and text are temporary until final design is provided.
2009-06-30 13:40:51 -07:00
Dave Sparks
d0cbb1a52d Check to make sure the Java camera object is still valid on the
callback from native. Omitted from previous fix. Bug 1936850.
2009-06-30 13:20:30 -07:00
Romain Guy
b5537c4522 Replace indeterminate progress animated asset with new ones 2009-06-30 12:39:18 -07:00
Android (Google) Code Review
5fb4cab2db Merge change 5787 into donut
* changes:
  Fix http://code.google.com/p/android/issues/detail?id=3059
2009-06-30 10:57:18 -07:00
Wu-cheng Li
b8a10fe456 Allow setPreviewDisplay after startPreview. 2009-07-01 01:41:25 +08:00
Marco Nelissen
2f189fa0f7 Fix http://code.google.com/p/android/issues/detail?id=3059 2009-06-30 10:32:00 -07:00
Android (Google) Code Review
7a5738624f Merge change 5720 into donut
* changes:
  Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
2009-06-30 07:06:50 -07:00
lknguyen
b0cba43305 Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads. 2009-06-29 20:50:25 -07:00
Android (Google) Code Review
aa4f1f9edc Merge change 5711 into donut
* changes:
  Adding in TTS service support for language query and level of support.
2009-06-29 17:26:32 -07:00
Android (Google) Code Review
22e8cbc32b Merge change 5656 into donut
* changes:
  Generate key events for actions sent to generic input connections.
2009-06-29 17:13:49 -07:00
Grace Kloba
65c0fc4fc4 Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it. 2009-06-29 17:03:42 -07:00
Jean-Michel Trivi
ddb0a803fd Adding in TTS service support for language query and level of support. 2009-06-29 16:58:32 -07:00
Android (Google) Code Review
27a8e07e4a Merge change 5699 into donut
* changes:
  Adding status return codes for TTS calls.
2009-06-29 16:26:57 -07:00
Charles Chen
5c22f516be Adding status return codes for TTS calls. 2009-06-29 16:25:58 -07:00
Android (Google) Code Review
ab4748c62d Merge change 5694 into donut
* changes:
  Implement persistent enable/disable of the backup manager
2009-06-29 15:35:11 -07:00
Android (Google) Code Review
48d4f67300 Merge change 5692 into donut
* changes:
  Adjust the character picker layout a little so it will fit on the screen.
2009-06-29 15:34:05 -07:00
Christopher Tate
6ef58a1509 Implement persistent enable/disable of the backup manager
Backup & restore is still enabled by default, but with the expectation that it
will be enabled during the course of the Setup Wizard or some other privileged
entity that has notified the user about the ramifications.  While disabled,
data-changed notices will still be collected, but no backup pass will be
scheduled.  When the backup manager is later enabled, any pending data-changed
notices will then be processed and the apps invoked for backup.
2009-06-29 15:33:27 -07:00
Eric Fischer
48d2c4a904 Adjust the character picker layout a little so it will fit on the screen.
Previously when there were three rows of characters, the Cancel button
would hang off the edge a little.

Bug 1747709
2009-06-29 15:30:11 -07:00
Android (Google) Code Review
3a608f829b Merge change 5684 into donut
* changes:
  Fixes #1940605. MeasureSpec's mode and height were inverted in RelativeLayout.
2009-06-29 14:29:23 -07:00
Romain Guy
baac46339d Fixes #1940605. MeasureSpec's mode and height were inverted in RelativeLayout.
Also bumps up the cache's number of Nodes.
2009-06-29 14:28:29 -07:00
Android (Google) Code Review
52bce9c4e7 Merge change 5680 into donut
* changes:
  Fixes #1949502. Prevents an NPE in View.buildDrawingCache().
2009-06-29 14:26:31 -07:00
Romain Guy
e112322872 Fixes #1949502. Prevents an NPE in View.buildDrawingCache(). 2009-06-29 14:26:04 -07:00
Dianne Hackborn
86d56cca9c Generate key events for actions sent to generic input connections.
There is a compatibility issue with the cupcake IME where the generic
input connection would just consume actions.  Late in cupcake this
stuff was reworked so that the IME would send an action command
to the app instead of an enter key event, and the compatibility code
got lost.
2009-06-29 12:00:39 -07:00
Joe Onorato
8aeaf2e079 The BACKUP permission should have the signatureOrSystem protectionLevel,
because the setup wizard isn't signed by the same cert as the framework.
2009-06-29 14:46:30 -04:00
Tammo Spalink
c25dbf88fc add comment about endianness 2009-06-28 16:01:58 +08:00
Christopher Tate
9171749700 Use system properties to track the current transport
This change retools the transport selection mechanism a fair bit.  Transports
are now specified by name rather than by numeric ID, and the name of the
currently selected transport is stored in a persistent system property under the
name "persist.service.bkup.trans".

The name -> IBackupTransport translation is now handled by maintaining a map
from the names to the live IBackupTransport objects that correspond.  The Google
transport service observer now registers and unregisters the transport as the
service goes up and down.

The bmgr command has been expanded to include real transport interrogation and
selection by name, and some documentation has been written for it.
2009-06-26 21:14:41 -07:00
Romain Guy
f4f7046183 Update spinner's drawables. Clean up resources, pave the way for new animation. 2009-06-26 19:21:54 -07:00
Romain Guy
fbd8f69a84 Fixes #1946141. Introduce new caching API to control scaling.
This change fixes issues with existing applications that access the drawing cache
directly. The API now lets application choose whether they want to get a scaled
drawing cache or not. The framework relies on the scaled cache for quality
purposes.
2009-06-26 16:56:32 -07:00
Android (Google) Code Review
a1590586e4 Merge change 5578 into donut
* changes:
  Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser. In a followup change, Grace will need to remove EXTRA_APPEND_LOCATION as we are replacing that with this.
2009-06-26 16:38:51 -07:00
Mike LeBeau
74d909565b Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser.
In a followup change, Grace will need to remove EXTRA_APPEND_LOCATION
as we are replacing that with this.
2009-06-26 16:38:03 -07:00
Android (Google) Code Review
3059924953 Merge change 5570 into donut
* changes:
  Adding implementation of IPA to the TextToSpeech.java
2009-06-26 16:24:03 -07:00
Android (Google) Code Review
3a15fbd7df Merge change 5581 into donut
* changes:
  Add a null check in an AutoCompleteTextView callback to prevent a crash.
2009-06-26 16:23:51 -07:00
Eric Fischer
d072154bdd Add a null check in an AutoCompleteTextView callback to prevent a crash.
It looks like the drop down list had already been taken down before the
callback fired so it caused a null pointer exception.  In this case just
do nothing instead.

Bug 1927858
2009-06-26 16:14:59 -07:00
Amith Yamasani
a013a98f93 Fix the nested preferences title. Again.
Made a mistake when refactoring just before checkin. ! ?
2009-06-26 16:05:33 -07:00
Charles Chen
d4989093ed Adding implementation of IPA to the TextToSpeech.java 2009-06-26 15:56:10 -07:00
Android (Google) Code Review
ec0cf8bc87 Merge change 5554 into donut
* changes:
  Adding in the playSilence method to TextToSpeech.java
2009-06-26 15:20:36 -07:00
Charles Chen
f032bc7da5 Adding in the playSilence method to TextToSpeech.java 2009-06-26 14:41:55 -07:00