1421 Commits

Author SHA1 Message Date
Guang Zhu
b9a39cd300 Adding missing callback onJsConfirm to dismiss any confirmation dialogs 2009-06-03 14:14:27 -07:00
Guang Zhu
3e8950c0c7 Added new parameter to enable a manual pause between pages 2009-06-03 12:23:09 -07:00
Android (Google) Code Review
be512bff60 Merge change 3038 into donut
* changes:
  Cleaning up makefile for libttssynthproxy for the simulator.
2009-06-03 10:08:46 -07:00
Jean-Michel Trivi
8aeac9408f Cleaning up makefile for libttssynthproxy for the simulator. 2009-06-03 09:43:14 -07:00
Bjorn Bringert
33a22dc9c8 Close icon input stream in SuggestionsAdapter.
Before, SuggestionsAdapter would not close input streams after
reading icons from them. This leaks file descriptors and,
in the case of MemoryFiles, virtual address space.
2009-06-03 13:01:24 +01:00
Bjorn Bringert
c1823701cc Handle EOF correctly in MemoryFile input stream.
Before, the variants of MemoryFile.MemoryInputStream.read() would throw
IOException or  IndexOutOfBoundsException if EOF was encountered
before the requested number of bytes was read. This violates
the contract of InputStream.read().

This patch makes read() return the number of bytes available, if any.
If already at EOF, -1 is returned. The patch also adds new tests,
which checks cases where MemoryFile.MemoryInputStream.read()
should throw IndexOutOfBoundsException or return -1. several of these
tests failed with the old code and pass now.

This fixes http://b/issue?id=1881894
2009-06-03 12:53:42 +01:00
Bjorn Bringert
963cd006c4 Allow creating AssetFileDescriptors for MemoryFiles.
This allows content providers to use in-memory data to implement
ContentProvider.openAssetFile(), instead of just normal files
and sockets as before.

To test cross-process use of AssetFileDescriptors for MemoryFiles,
a test content provider and a client for it are added to
AndroidTests.

Fixes http://b/issue?id=1871731
2009-06-03 12:53:42 +01:00
Satish Sampath
8dbe612dc6 Adding internal method replacePreferredActivity.
This was required because we need a way to set the preferred activity for a
particular intent filter based on user selection (in our case the
ACTION_WEB_SEARCH intent filter for selecting the preferred search engine from
the list of available search engines providers). The current
addPreferredActivity call was not sufficient since it leaves the existing
preferred activities in the list and does not remove them, which this call
does.
2009-06-03 07:54:42 +01:00
Android (Google) Code Review
5f784df568 Merge change 3011 into donut
* changes:
  simplify this test
2009-06-02 22:54:04 -07:00
Romain Guy
9af0b4f7be Add new listener to GestureOverlayView. This listener fires whenever the overlay thinks the user is starting a new gesture. This allows Home to snap the workspace back to its original position during a gesture operation. 2009-06-02 21:59:42 -07:00
Mathias Agopian
de15ddc86c simplify this test 2009-06-02 18:35:48 -07:00
Android (Google) Code Review
97c2fdfc2e Merge change 2957 into donut
* changes:
  Allow response payload on RIL_REQUEST error
2009-06-02 18:19:29 -07:00
johnwang
03228fa8f9 Allow response payload on RIL_REQUEST error
Handle response payload while RIL_REQUEST returns error.

	modified:   gsm/GsmServiceStateTracker.java
2009-06-02 17:23:08 -07:00
Android (Google) Code Review
2c159ec05b Merge change 2971 into donut
* changes:
  Corrected the name of the native library the SynthProxy class loads (libttssynthproxy instead of libsynthproxy) to match the lib name from frameworks/base/tts/jni/Android.mk.
2009-06-02 17:22:18 -07:00
Android (Google) Code Review
7322c96cc0 Merge change 2967 into donut
* changes:
  Fixed issue where code for extracting scripts was eclipsed by runTest method.
2009-06-02 16:42:42 -07:00
Jean-Michel Trivi
1f4b92a2d6 Corrected the name of the native library the SynthProxy class loads (libttssynthproxy instead of libsynthproxy) to match the lib name from frameworks/base/tts/jni/Android.mk. 2009-06-02 16:02:31 -07:00
Guang Zhu
3dfd0e131e Fixed issue where code for extracting scripts was eclipsed by runTest method. 2009-06-02 15:42:48 -07:00
Android (Google) Code Review
1a21de56b9 Merge change 2961 into donut
* changes:
  Addressed comments of change 2515 for the TtsService class:  - made the SpeechItem and SoundResource inner classes static,  - prefixed the TtsService member variables by 'm',  - changed indentation from 2 to 4 characters.
2009-06-02 15:35:46 -07:00
Android (Google) Code Review
432900bffb Merge change 2962 into donut
* changes:
  Fixes #1890914.
2009-06-02 15:16:34 -07:00
Romain Guy
ce16d787bd Fixes #1890914.
Bright theme's background color should be #fff9f9f9 instead of pure white (#ffffffff).
2009-06-02 15:15:12 -07:00
Jean-Michel Trivi
78ebbabfe1 Addressed comments of change 2515 for the TtsService class:
- made the SpeechItem and SoundResource inner classes static,
 - prefixed the TtsService member variables by 'm',
 - changed indentation from 2 to 4 characters.
2009-06-02 15:09:51 -07:00
Doug Kramer
b42e1ff65a am b33940ab: AI 149494: Minor improvements to wording in design tips for missing activity and notifications See latest document at: http://doog:9000/guide/practices/ui_guidelines/activity_task_design.html
Merge commit 'b33940abca9d43891575f58a1107c8ec247afed1' into donut

* commit 'b33940abca9d43891575f58a1107c8ec247afed1':
  AI 149494: Minor improvements to wording in design tips for missing activity and notifications
2009-06-02 13:15:15 -07:00
Doug Kramer
b33940abca AI 149494: Minor improvements to wording in design tips for missing activity and notifications
See latest document at:
  http://doog:9000/guide/practices/ui_guidelines/activity_task_design.html

Automated import of CL 149494
2009-06-02 12:17:49 -07:00
Jean-Michel Trivi
a74303d806 Trying to fix sim-eng build: when building the simulator on linux, link (only) with libdl, as opposed to also making libdl a build target. 2009-06-02 12:05:18 -07:00
Wei-Ta Chen
eb949674fd Unhide inPurgeable in BitmapFactory.Options.
The correctness and effectiveness of the usage of the parameter are evaluated in:
https://android-git.corp.google.com/g/Gerrit#change,2768
2009-06-02 11:01:43 -07:00
Jean-Michel Trivi
30b70cec05 Trying to fix the build for simulator: modifying makefile to not link against libdl. 2009-06-02 10:43:58 -07:00
Android (Google) Code Review
b2decbe2f1 Merge change 2515 into donut
* changes:
  Adding the TtsService class for text-to-speech synthesis.
2009-06-02 10:11:58 -07:00
Charles Chen
a042a740d3 Adding the TtsService class for text-to-speech synthesis. 2009-06-02 09:57:53 -07:00
Android (Google) Code Review
abf3c80c60 Merge change 2572 into donut
* changes:
  Adding java/jni code for the Java TTS SynthProxy class, which relays calls from the TTS service to the native TTS plugin library.
2009-06-02 08:55:25 -07:00
Karl Rosaen
a058f02b59 progress towards impression and click stats on all sources, plus some internal cleanup
(framework portion)

suggestionCursor has new callbacks for impressions and clicks
- impressions now used to trigger "more" UI, cleanup apis around that

search dialog reports which position was clicked on via cursor#respond
- can now detect when sources under "more results" are clicked
- also used to simplify existing stuff:
  - can detect when "more results" entry is clicked and toggle base on that (no longer need INTENT_ACTION_CURSOR_RESPOND one off)
  - use response from click reporting to instruct which position should be selected
2009-06-02 15:00:37 +01:00
Android (Google) Code Review
b3c3778edb Merge change 2844 into donut
* changes:
  Added some icon debug logging to SuggestionsAdapter.
2009-06-02 01:31:21 -07:00
Bjorn Bringert
b791f34474 Added some icon debug logging to SuggestionsAdapter.
Good for checking that lazy contact photos works.
2009-06-02 09:29:34 +01:00
Android (Google) Code Review
4ff42ad6d7 Merge change 2843 into donut
* changes:
  Use JNI region calls in MemoryFile read and write.
2009-06-02 01:25:24 -07:00
Bjorn Bringert
ad984f1933 Use JNI region calls in MemoryFile read and write.
This will reduce copying or pinning, depending on GC policies, which should
improve performance. See dalvik/docs/jni-tips.html#RegionCalls for more information.

Fixes http://b/issue?id=1887911
2009-06-02 09:22:42 +01:00
Android (Google) Code Review
c665349543 Merge change 1522 into donut
* changes:
  support more minor cdms sms bearer data subparameters
2009-06-02 00:58:47 -07:00
Android (Google) Code Review
35feec46d9 Merge change 2761 into donut
* changes:
  TODO's from Teleca with modifications from wink.
2009-06-02 00:49:46 -07:00
Tammo Spalink
baae313f89 support more minor cdms sms bearer data subparameters
- also clean up CdmaSmsAddress
2009-06-02 11:10:53 +08:00
Tammo Spalink
641bb3d8df expose (but still hide) sms user data headers
addresses bug http://b/issue?id=1751571
2009-06-02 10:43:59 +08:00
Android (Google) Code Review
f5df83035a Merge change 2879 into donut
* changes:
  Add backup side of new FullBackupAgent class
2009-06-01 19:30:54 -07:00
Android (Google) Code Review
7728be035f Merge change 2896 into donut
* changes:
  added a test that exhibits some lighting issues in the software renderer. see external bug 1709
2009-06-01 19:01:11 -07:00
Mathias Agopian
46d7ccb403 added a test that exhibits some lighting issues in the software renderer. see external bug 1709 2009-06-01 18:59:44 -07:00
Christopher Tate
93e7e22ec9 Add backup side of new FullBackupAgent class
This class backs up an app's entire data directory tree.  Intended for use
by the backup-through-adb full mirroring facility, etc.  @hide because
it's not really something end apps will need to use.
2009-06-01 16:49:50 -07:00
Android (Google) Code Review
b56736b666 Merge change 2864 into donut
* changes:
  Fixed bug where test status is not marked "DONE" when completed
2009-06-01 15:27:28 -07:00
Guang Zhu
627f9343b5 Fixed bug where test status is not marked "DONE" when completed 2009-06-01 15:26:08 -07:00
Android (Google) Code Review
2ba3223cc9 Merge change 2855 into donut
* changes:
  Add a new method to load html data into the WebView.
2009-06-01 15:22:18 -07:00
Android (Google) Code Review
c17f16e33a Merge change 2851 into donut
* changes:
  Change comment for SUGGEST_COLUMN_INTENT_EXTRA_DATA to clarify that this column is for use by global search only.
2009-06-01 14:50:26 -07:00
Jean-Michel Trivi
700ec6568c Adding java/jni code for the Java TTS SynthProxy class, which relays calls from the TTS service to the native TTS plugin library. 2009-06-01 14:45:12 -07:00
Ramanan Rajeswaran
8cb6617107 Add a new method to load html data into the WebView. 2009-06-01 14:43:44 -07:00
Wink Saville
f315238a2b TODO's from Teleca with modifications from wink. 2009-06-01 14:39:20 -07:00
Mike LeBeau
21fd5f144a Change comment for SUGGEST_COLUMN_INTENT_EXTRA_DATA to clarify that
this column is for use by global search only.
2009-06-01 22:30:56 +01:00