Commit Graph

20837 Commits

Author SHA1 Message Date
Svetoslav Ganov
72d403ce35 Merge "Sync of the TimePicker attributes with the public Java APIs." 2012-03-02 15:33:20 -08:00
Svetoslav Ganov
53b948d3ae Sync of the TimePicker attributes with the public Java APIs.
1. Renamed an attribute which is not mean to be public so
   its name is not the same as that of an already public one.

bug:6094713

Change-Id: I3f8b3f3840b88265069d3474be7db04056d219c1
2012-03-02 14:58:12 -08:00
Svetoslav Ganov
d56ab1e3a1 Merge "Sync of the DatePicker attributes with the public Java APIs." 2012-03-02 14:03:16 -08:00
Svetoslav Ganov
c49a8be0d2 Sync of the DatePicker attributes with the public Java APIs.
1. Deprecated two old attributes.

2. Renamed an attribute which is not mean to be public so
   its name is not the same as that of an already public one.

bug:6094713

Change-Id: I577a9e191cbd05cd18cb34105dcdbe53c0a5dd1e
2012-03-02 13:39:29 -08:00
Svetoslav Ganov
45e96fd28a Merge "Adding getter/setter for all public attributes in CalendarView." 2012-03-02 13:12:22 -08:00
Alon Albert
e6e47f0517 Merge "Add a displayColor column to view_events" 2012-03-02 11:25:54 -08:00
Jeff Brown
8dc3cc2e13 Allow the SQLite sync mode to be set independently for WAL.
This change leaves the sync mode at FULL for both WAL and non-WAL
but makes it easy to change it for one but not the other.

To reduce the number of synchronous writes, it might make sense to
change the sync mode for non-WAL to NORMAL instead of FULL which
should be just as safe.

On the other hand, the sync mode for WAL should probably remain FULL
because there may be an impact on transaction durability otherwise.

Initial experiments show that there might not be a significant
performance benefit to using NORMAL, but we may revisit this later.

Change-Id: Ifcd55bedcfefa6600974c2295ca5d4163b408cbf
2012-03-02 11:17:16 -08:00
Jeff Brown
d2cca91e92 Merge "Add an API for deleting databases." 2012-03-02 11:15:41 -08:00
Adam Powell
1a7dd039f1 Unhide transient state APIs on View
Change-Id: I0f14728c94cd3461431352e6f01311934aec9858
2012-03-02 10:44:36 -08:00
Martijn Coenen
c13accb265 Merge "Hidden API for setting p2p NFC modes." 2012-03-02 10:13:07 -08:00
Alon Albert
dc927307ec Add a displayColor column to view_events
Change-Id: I0f73685ec75e56929553b01d6ede0ad11fba55f4
2012-03-02 09:43:17 -08:00
Teng-Hui Zhu
ec418d3eae Merge "Make sure egl context is valid for the onTrimMemory call" 2012-03-02 09:41:14 -08:00
George Mount
9a676bfb5f Quick fix for Monkey NPE.
Bug 6097462
 If paste window is shown before the insert thumb, an NPE
 would be thrown. This will be fixed fully later when the paste
 window is showing up only at the proper times rather than every
 time the insert thumb is shown.

Change-Id: I91eec7c28fc64a2274f5c3cd36784fedcae055ca
2012-03-02 07:40:38 -08:00
Jonathan Dixon
3c90952036 Refactor WebView to be a thin proxy class
Splits interface and implementation; all client calls are forwarded
to an abstract WebViewProvider interface, and the existing implementation
moved into the WebViewClassic implementor of this interface.

Originally taken from a snapshot from the development branch, by:
git diff HEAD 9a4c328a54cc05e5 | git apply
- but then rebased to keep up to date with master

Interdepends on webkit and Browser changes:
https://android-git.corp.google.com/g/158979
https://android-git.corp.google.com/g/167911

Change-Id: I91403f32654ff308934e95c832d17b292a7d9b2e
2012-03-02 11:17:47 +00:00
Jonathan Dixon
0dc0da67d9 change WebView to remove use of base class fields
This is done as its own step to make follow up patches easier on the eye.
(mostly implemented with eclipse refactor magic)

Change-Id: I23a9c1cbc5bba9a492e7e2ef1ddd275d84bec057
2012-03-02 11:15:24 +00:00
Jonathan Dixon
ded37ed9a5 Add new WebViewClassic files
Done as its own step, to make the subsequent diff easier on the eye

Change-Id: Ib81eba5c7c26f2e0c9a60792bb0f7cd10e4c78bc
2012-03-02 11:15:14 +00:00
Adam Powell
6435da6119 am d9760a81: am 25517fdc: am 637c50db: am c7e5a2fe: Merge "Fix dividers for LinearLayout (TabWidget)"
* commit 'd9760a813e99670c5bdb05c95ae3bafb58abf897':
  Fix dividers for LinearLayout (TabWidget)
2012-03-01 23:57:10 -08:00
Adam Powell
d9760a813e am 25517fdc: am 637c50db: am c7e5a2fe: Merge "Fix dividers for LinearLayout (TabWidget)"
* commit '25517fdc53018ef676a1d340e2d5cbd780e5dc8b':
  Fix dividers for LinearLayout (TabWidget)
2012-03-01 22:52:39 -08:00
Adam Powell
637c50db47 am c7e5a2fe: Merge "Fix dividers for LinearLayout (TabWidget)"
* commit 'c7e5a2fe3042014f78667228a92e41d0a19547fd':
  Fix dividers for LinearLayout (TabWidget)
2012-03-01 22:46:26 -08:00
Svetoslav Ganov
ff37505cb1 Adding getter/setter for all public attributes in CalendarView.
bug:6094713

Change-Id: Iff4a1d903d597ae8a3d74a4e4734376acca417f3
2012-03-01 21:31:34 -08:00
Jeff Brown
79087e4b96 Add an API for deleting databases.
Add SQLiteDatabase.deleteDatabase to delete a database and all
of its auxiliary files.

This method is also used by Context.deleteDatabase and resolves issues
where auxiliary files would get left behind.

Bug: 5972489
Change-Id: I3633b9b4978972a1d240ac0a9861420ecf989149
2012-03-01 19:56:53 -08:00
Fabrice Di Meglio
dd3ef2c573 Improve RTL APIs
- follow changed / reset pattern

Change-Id: I1c5e9b39196029bd78add2ab13b984da124822ca
2012-03-01 17:34:56 -08:00
Teng-Hui Zhu
4a00ab2563 Make sure egl context is valid for the onTrimMemory call
It turns out that terminateHardwareResources can call into destroySurface
to make the current context 0, like in Gmail.

bug:6079959
Change-Id: I07b2f3e91d6276b6c8e1b48f72bc87d28337fe2f
2012-03-01 16:46:32 -08:00
Jeff Brown
0765d4483b Merge "Shouldn't catch Throwable in AsyncTask." 2012-03-01 16:43:41 -08:00
Jeff Brown
b1ec5ef460 Shouldn't catch Throwable in AsyncTask.
Throwable includes classes of Error that really should be fatal.

Bug: 5945222
Change-Id: I602f958396048451f404dd2306cdf5e57172acf0
2012-03-01 16:33:04 -08:00
Adam Powell
c7e5a2fe30 Merge "Fix dividers for LinearLayout (TabWidget)" 2012-03-01 16:26:04 -08:00
Fabrice Di Meglio
ac5a3a1c12 Merge "Make layoutDirection API public" 2012-03-01 16:23:29 -08:00
Fabrice Di Meglio
98aec1c7ef Make layoutDirection API public
Change-Id: Ie125513e4ea72b33b42355dbc43f9b9b6d46d7eb
2012-03-01 16:21:55 -08:00
Teng-Hui Zhu
b22d6c11ef Merge "Allow webview to delete GL resource in a valid EGL context" 2012-03-01 16:04:18 -08:00
Teng-Hui Zhu
d962413872 Allow webview to delete GL resource in a valid EGL context
bug:6079959

Change-Id: Idee1031b0bcc4aeb498a18eb01970a8ed7efd285
2012-03-01 15:37:58 -08:00
Jean-Baptiste Queru
b08dee9d38 am f09c0c7f: am 93920d79: am a66be970: am 11aa4cc3: Merge "Set width of spinner\'s dropdown to fit on device"
* commit 'f09c0c7f31e72611d91b4ac91ce5a9f019b16083':
  Set width of spinner's dropdown to fit on device
2012-03-01 15:35:37 -08:00
Jean-Baptiste Queru
ab38500d9c am dbc591e2: am c69d6134: am 6ae4fe94: am 9303919d: Merge "Adds documentation for ContentResolver notifyChange()"
* commit 'dbc591e27686486c732fca2f94fde645e3487b7a':
  Adds documentation for ContentResolver notifyChange()
2012-03-01 15:35:33 -08:00
Martijn Coenen
188cddb1d8 Hidden API for setting p2p NFC modes.
Change-Id: I406bab36b441cf99b5b45f51701dbcbab588a9b0
2012-03-01 15:23:01 -08:00
Steve Block
cab063cf38 Merge "Prevent a 'TODO' from appearing in the JavaDoc" 2012-03-01 14:21:25 -08:00
Teng-Hui Zhu
148c5dadf4 Merge "Clean up Surface Texture on Java side" 2012-03-01 11:32:59 -08:00
Teng-Hui Zhu
fdd646b2b1 Clean up Surface Texture on Java side
bug:6079959

Change-Id: I5869d4fe4dc6eb12a117937b95a8277897d71ebb
2012-03-01 11:18:15 -08:00
Wink Saville
85c738f6ba Merge "If no NITZ information use Country Code to set TimeZone." 2012-03-01 10:28:56 -08:00
Wink Saville
a27421a306 If no NITZ information use Country Code to set TimeZone.
This is not perfect and only works if the CC is known via
the GSM radio and is only accurate if there is one time zone
per country. This does nothing to resolve time zone problems
for wifi only devices.

So this is a partial fix for bug 2896745

Bug: 2896745
Change-Id: I78f013836c4e4870b8b1016a8312f5adbe0d31c9
2012-03-01 10:25:48 -08:00
Jeff Brown
672f74bbe2 Merge "Improve documentation of SQLite debugging options." 2012-03-01 10:23:51 -08:00
Jeff Brown
638eff7ee1 Improve documentation of SQLite debugging options.
Change-Id: Id3b4d9e4e9dd62d2a1e6188477225af7717788f4
2012-03-01 10:21:29 -08:00
Steve Block
8a7259bdc2 Prevent a 'TODO' from appearing in the JavaDoc
Change-Id: I3fdd46263cea413d519c56f4bd0e9d873f6fbfa6
2012-03-01 11:25:27 +00:00
satok
592c85cd6c Merge "Handle sentence level spell checking hidden APIs" 2012-03-01 00:25:03 -08:00
satok
8898358bfd Handle sentence level spell checking hidden APIs
Change-Id:  Ia91f1771c0b8ef458dd5b023f4c372cc36a15657
2012-03-01 15:56:58 +09:00
Jeff Brown
9a4a1a5414 Merge "Externalize more SQLite configuration options." 2012-02-29 21:29:22 -08:00
Jeff Brown
5936ff097e Externalize more SQLite configuration options.
Moved more configuration into config.xml so we can tweak settings
like the default journal mode, WAL auto-checkpoint interval and
so on.

This change itself should not introduce any functional differences.

Change-Id: Id6c95fa25b116ce47e8ae49cd8a80d52b1c0dd80
2012-02-29 21:03:20 -08:00
Irfan Sheriff
43d8a95fa8 Merge "Improve Wi-Fi hand-off" 2012-02-29 19:33:06 -08:00
Fabrice Di Meglio
81c4350a89 Merge "Fix bug #3389545 android:ellipsize="end" doesn't work without using android:singleLine="true" which is deprecated" 2012-02-29 18:45:54 -08:00
Fabrice Di Meglio
34a126e51a Fix bug #3389545 android:ellipsize="end" doesn't work without using android:singleLine="true" which is deprecated
- take care of single line case too

Change-Id: I73c3dcb96f22241b35d7cbaf43cd9bd46a4abcaa
2012-02-29 18:43:14 -08:00
Irfan Sheriff
07573b3249 Improve Wi-Fi hand-off
When Wi-fi connects at L2 layer, the beacons reach and the device
can maintain a connection to the access point, but the application
connectivity can be flaky (due to bigger packet size exchange).

We now use Watchdog to monitor the quality of the last hop on
Wi-Fi using signal strength and ARP connectivity as indicators
to decide if the link is good enough to switch to Wi-Fi as the uplink.

ARP pings are useful for link validation but can still get through
when the application traffic fails to go through and thus not best indicator
real packet loss since they are tiny packets (28 bytes) and have
much low chance of packet corruption than the regular data
packets.

Signal strength and ARP used together ends up working well in tests.
The goal is to switch to Wi-Fi after validating ARP transfer
and RSSI and then switching out of Wi-Fi when we hit a low
signal strength threshold and waiting until the signal strength
improves and validating ARP transfer.

Change-Id: Ica593291ec7772da892f03cf45b649635b730c47
2012-02-29 17:33:36 -08:00
Gilles Debunne
161d9cf954 Merge "Invalidate text display list on scroll" 2012-02-29 17:32:20 -08:00