1390 Commits

Author SHA1 Message Date
Leon Scroggins
a5645b2e7f Preparation of WebView for changes in the title bar.
Remove the zoom overview and 1x buttons from the ZoomButtonsController,
since the functionality will now be placed elsewhere.  Make zoomScrollOut
and canZoomScrollOut public (albeit hidden), so they can be called by the
Browser.  Also rename ExtendedZoomControls' mZoomControls to
mPlusMinusZoomControls so they are not confused with WebView's mZoomControls.
2009-06-09 15:31:19 -04:00
Leon Scroggins
fd06bc8d6e Remove obsolete notion of invalid node.
In the old navigation model, we set focus to a node, and checked to see
if that node was still valid (could have changed since we built the
navigation cache).  Then we sent a message back to the UI thread to
tell it to draw the ring differently.  In the new model, we are essentially
moving a mouse, so we do not concern ourselves with whether the node is
valid.  Removed all the code for passing the message to the UI thread
and calling into native.  Needs a change to external/webkit to work
properly.
2009-06-09 10:39:37 -04:00
Romain Guy
3cfda9c225 am f642aa2a: Removes gestures from ListView.
Merge commit 'f642aa2a44e63aa105bbc6aec59f9bee261986ef'

* commit 'f642aa2a44e63aa105bbc6aec59f9bee261986ef':
  Removes gestures from ListView.
2009-06-08 23:50:30 -07:00
Romain Guy
f642aa2a44 Removes gestures from ListView. 2009-06-08 23:24:18 -07:00
Jean-Michel Trivi
db241b881c am bac43254: In Tts class, removing method to set the specific engine to use as the framework is always using the engine selected in the Text-To-Speech service.
Merge commit 'bac43254b219c827f3d1fd286f4a7f19e9ee2f05'

* commit 'bac43254b219c827f3d1fd286f4a7f19e9ee2f05':
  In Tts class, removing method to set the specific engine to use as the
2009-06-08 18:14:28 -07:00
Android (Google) Code Review
c4662dc191 am 97d6f756: Merge change 3491 into donut
Merge commit '97d6f75646703f351894991025d16b14399a11b7'

* commit '97d6f75646703f351894991025d16b14399a11b7':
  Moving the Tts java class from the android.tts package to the android.speech.tts package.
2009-06-08 17:41:00 -07:00
Jean-Michel Trivi
bac43254b2 In Tts class, removing method to set the specific engine to use as the
framework is always using the engine selected in the Text-To-Speech service.
2009-06-08 17:37:25 -07:00
Android (Google) Code Review
97d6f75646 Merge change 3491 into donut
* changes:
  Moving the Tts java class from the android.tts package to the android.speech.tts package. The Tts class (still hidden at this point) is the only Text-To-Speech class that will be exposed to application developers.
2009-06-08 17:27:18 -07:00
Android (Google) Code Review
a92f696407 am d2d058b7: Merge change 3506 into donut
Merge commit 'd2d058b7d657e73255c3665c8b2f63845a8d25d0'

* commit 'd2d058b7d657e73255c3665c8b2f63845a8d25d0':
  Revamp IRestoreSession a bit
2009-06-08 16:42:21 -07:00
Jean-Michel Trivi
21a6a6d26b Moving the Tts java class from the android.tts package to the android.speech.tts package.
The Tts class (still hidden at this point) is the only Text-To-Speech class that will be
exposed to application developers.
2009-06-08 16:39:01 -07:00
Christopher Tate
9b3905c4a2 Revamp IRestoreSession a bit
We now supply an array of RestoreSet objects instead of wacky Bundle
shenanigans.  Also, pushed beginRestoreSession() out to the BackupManager
concrete interface class so that SetupWizard can use it.

(beginRestoreSession() is @hide, non-privileged apps cannot use it.  It's
also guarded by android.permission.BACKUP enforcement.)
2009-06-08 16:01:24 -07:00
Romain Guy
5519185292 resolved conflicts for merge of bad927 to master 2009-06-08 15:33:17 -07:00
Android (Google) Code Review
bad927a987 Merge change 3480 into donut
* changes:
  Do not automatically enable gestures in list based on filtering/fastscroll status. Enable gestures in Contacts for now.
2009-06-08 14:59:13 -07:00
Romain Guy
0a20264db8 Do not automatically enable gestures in list based on filtering/fastscroll status. Enable gestures in Contacts for now. 2009-06-08 14:47:01 -07:00
Ken Shirriff
793f0ffc23 resolved conflicts for merge of 410ea6 to master 2009-06-08 13:44:17 -07:00
Android (Google) Code Review
410ea66256 Merge change 3471 into donut
* changes:
  Fix contact creation.
2009-06-08 13:28:01 -07:00
Android (Google) Code Review
cf7903af3c am 996b1c8d: Merge change 3431 into donut
Merge commit '996b1c8d681268961a9e6518b9a5cbe98ccf0111'

* commit '996b1c8d681268961a9e6518b9a5cbe98ccf0111':
  Moved error status from SpeechServiceRecognizerListener
2009-06-08 13:08:47 -07:00
Android (Google) Code Review
996b1c8d68 Merge change 3431 into donut
* changes:
  Moved error status from SpeechServiceRecognizerListener
2009-06-08 13:06:30 -07:00
Ken Shirriff
e7eb9662c3 Fix contact creation.
This was broken by my change 2934.
bug=1903820
2009-06-08 12:52:50 -07:00
Cary Clark
19436561c6 send click in browser when key is sent to unfocused text field
Also, set focusControllerActive state based on presence of
focus and cursor that wants key events.

Disable focusControllerActive when moved cursor wants key
events.

Remove unused recompute-focus code.
2009-06-08 11:02:06 -04:00
Leon Scroggins
1c7f8c56c8 Update the language from "focus".
Previously, many methods, variables, etc referred to the focus.
Now, they have been changed to refer to the cursor when
appropriate.  Some references were changed to the focusCandidate,
since they may apply to either the focus or the cursor, which
is a candidate for focus.  Also removed unneeded method
unblockFocus.  WebView will not work without a corresponding
change in external/webkit.
2009-06-08 10:14:32 -04:00
Mitsuru Oshima
409895e374 Moved error status from SpeechServiceRecognizerListener 2009-06-08 02:28:04 -07:00
Android (Google) Code Review
8bb61e6835 am 58c24412: Merge change 3422 into donut
Merge commit '58c244125fc2d2067bf89e67a154f6ca2421fe36'

* commit '58c244125fc2d2067bf89e67a154f6ca2421fe36':
  Check AirplaneMode when enabling Bluetooth has finished.
2009-06-07 21:44:06 -07:00
Android (Google) Code Review
58c244125f Merge change 3422 into donut
* changes:
  Check AirplaneMode when enabling Bluetooth has finished.
2009-06-07 21:42:14 -07:00
Christopher Tate
bd235f10a9 am 8c850b79: Add IRestoreSession interface for the restore flow
Merge commit '8c850b792f2d371fd8a4aff146d9d757ee982539'

* commit '8c850b792f2d371fd8a4aff146d9d757ee982539':
  Add IRestoreSession interface for the restore flow
2009-06-07 21:04:39 -07:00
Daisuke Miyakawa
5c43f735d9 Check AirplaneMode when enabling Bluetooth has finished.
This is part of manual merge from cupcake_dcm to donut.
Should be reviewed by mchan and takaoka.
Original internal CL: 149471-p9
2009-06-08 12:57:55 +09:00
Christopher Tate
8c850b792f Add IRestoreSession interface for the restore flow
Restore is a fairly complicated, somewhat stateful process, so we introduce
a new interface to encapsulate the various bits and pieces into a nicely
separable component.  In particular, this will make it much cleaner to
open and interrogate an expensive-to-construct transport and then reuse it
for the actual restore process itself.
2009-06-07 19:33:20 -07:00
Christopher Tate
53c31ed1ff am b4a6188a: Add rough-draft restore API set to IBackupTransport
Merge commit 'b4a6188a74273611abcae05f3a3b1f0547548301'

* commit 'b4a6188a74273611abcae05f3a3b1f0547548301':
  Add rough-draft restore API set to IBackupTransport
2009-06-07 15:35:14 -07:00
Christopher Tate
b4a6188a74 Add rough-draft restore API set to IBackupTransport
* getAvailableBackups returns the list of backup sets available for restore

* getAppSet() returns the set of apps available from a given backup set

* getRestoreData() streams the full backup data for a given application
(within a given backup set) into a FD; that data will be handed to the
app's backup agent for processing.
2009-06-07 15:30:44 -07:00
Android (Google) Code Review
4dde34b2f0 am da55569b: Merge change 3417 into donut
Merge commit 'da55569b0aaf98ff4d472d85ae1b038e76e1e9c3'

* commit 'da55569b0aaf98ff4d472d85ae1b038e76e1e9c3':
  Adjust IBackupTransport interface
2009-06-07 14:12:04 -07:00
Christopher Tate
7b88128e08 Adjust IBackupTransport interface
Instead of just passing a package name to performBackup, pass the whole
PackageInfo struct, explicitly including the list of signatures for the package.
No need to make each transport look this up individually when it's a necessary
part of the backup payload for each app.
2009-06-07 13:55:42 -07:00
Android (Google) Code Review
4bfa86011a am 4e0b13c9: Merge change 3348 into donut
Merge commit '4e0b13c9a94f2085d44d0fe36fd16e2599477145'

* commit '4e0b13c9a94f2085d44d0fe36fd16e2599477145':
  Fix AlphabetIndexer.getSectionForPosition()
2009-06-05 21:17:24 -07:00
Suchi Amalapurapu
76ff31b201 am d299b819: Add a new attribute to android manifest for defining the GLES version number. This attribute is parsed by the PackageParser into ConfigurationInfo. The major and minor version numbers are defined as the higher and lower order bits.
Merge commit 'd299b8194dde8c4875e5f032918ab35ebad8b1f1'

* commit 'd299b8194dde8c4875e5f032918ab35ebad8b1f1':
  Add a new attribute to android manifest for defining the GLES version number.
2009-06-05 21:17:11 -07:00
Android (Google) Code Review
fa4d817851 am 7b0d2d93: Merge change 3223 into donut
Merge commit '7b0d2d933d8a601cf6259f25576f5615ff146b33'

* commit '7b0d2d933d8a601cf6259f25576f5615ff146b33':
  Adding new Settings.Secure properties for the Text-To-Speech functionality.
2009-06-05 21:16:59 -07:00
Android (Google) Code Review
680b30f60c am 39665367: Merge change 3317 into donut
Merge commit '3966536766cbe0bd45570c6785e912131911ff79'

* commit '3966536766cbe0bd45570c6785e912131911ff79':
  Fixes #1899273.
2009-06-05 21:16:47 -07:00
Ken Shirriff
2676375449 resolved conflicts for merge of 716b56 to master 2009-06-05 15:18:51 -07:00
Android (Google) Code Review
4e0b13c9a9 Merge change 3348 into donut
* changes:
  Fix AlphabetIndexer.getSectionForPosition()
2009-06-05 14:53:00 -07:00
Suchi Amalapurapu
d299b8194d Add a new attribute to android manifest for defining the GLES version number.
This attribute is parsed by the PackageParser into ConfigurationInfo. The major
and minor version numbers are defined as the higher and lower order bits.
2009-06-05 13:49:09 -07:00
Android (Google) Code Review
7b0d2d933d Merge change 3223 into donut
* changes:
  Adding new Settings.Secure properties for the Text-To-Speech functionality. Those properties are secure to prevent applications from altering the user's settings without his knowledge.
2009-06-05 13:29:21 -07:00
Phil Dubach
1b111bb6e2 Fix AlphabetIndexer.getSectionForPosition()
This did not properly set the cursor position before reading, which
resulted in wrong return values or exceptions in the cursor.
2009-06-05 12:27:59 -07:00
Jean-Michel Trivi
f62ba452bb Adding new Settings.Secure properties for the Text-To-Speech functionality.
Those properties are secure to prevent applications from altering the user's settings without his knowledge.
2009-06-05 11:29:16 -07:00
Android (Google) Code Review
3966536766 Merge change 3317 into donut
* changes:
  Fixes #1899273.
2009-06-05 11:27:52 -07:00
Romain Guy
834f0391b5 Fixes #1899273.
When a "ghost" stroke was showing, events would be intercepted in ListView. This patch modifies the logic used to detect when to still events: either the current stroke is a gesture, or the previous stroke was a gesture.
2009-06-05 11:24:09 -07:00
Android (Google) Code Review
716b56817a Merge change 2934 into donut
* changes:
  Don't crash on null edit url.
2009-06-05 10:12:34 -07:00
Satish Sampath
5e23cbc660 am f9acde27: Include web search providers in Searchables.
Merge commit 'f9acde27486bcc6eea1092073f7b47c31749efd6'

* commit 'f9acde27486bcc6eea1092073f7b47c31749efd6':
  Include web search providers in Searchables.
2009-06-05 09:42:40 -07:00
Android (Google) Code Review
78084a625a Merge change 3208
* changes:
  Add "locked" column to sms and pdu tables.
2009-06-05 08:47:58 -07:00
Ben Murdoch
6262ae5c9d Implement handling of console messages from WebCore. Default implementation in WebChromeClient is to do nothing. 2009-06-05 12:39:02 +01:00
Satish Sampath
f9acde2748 Include web search providers in Searchables.
- Along with ACTION_SEARCH we now enumate ACTION_WEB_SEARCH as well so web search providers are covered in the searchables list. This fixes a broken unit test.
- Moved get/setPreferredWebSearchActivity and get-all-web-search-providers implementation to this module when the searchables list gets updated, so that it happens on boot and on package add/remove events and remains up to date. The duplicate code in WebSearchProvider will be removed in a separate change.
- Also made Searchables broadcast an intent when the searchables list got rebuilt, so components such as GlobalSearch/SuggestionSources no longer need to do this on their own.
2009-06-05 10:34:53 +01:00
Android (Google) Code Review
79525264e5 Merge change 3284
* changes:
  rename string_array.h to StringArray.h and move the implementation from the header file to a new cpp file.
2009-06-05 01:29:08 -07:00
Mathias Agopian
8ed6beb515 rename string_array.h to StringArray.h and move the implementation from the header file to a new cpp file.
StringArray is used in two places in framework/base and in the Sim. Ideally we should get rid of it and use Vector<String8> instead of creating new code.
2009-06-05 01:26:23 -07:00