59370 Commits

Author SHA1 Message Date
Kenny Root
a503a0f5d4 Add explicit mimetype for verifier calls
Change-Id: I29ffb216680aa24fd9ca3fb4d190038f6d724cb9
2011-10-03 14:46:10 -07:00
George Mount
1fa26cbfc8 Fix monkey NullPointerException
bug: 5385775
 Check mWebViewCore has been destroyed
 Remove mWebTextView from WebView when WebView is destroyed
 Clear WebTextView's handler when it is removed from WebView

Change-Id: I9c62292d693109e692c341e3e4dba3e04af81fe4
2011-10-03 14:40:52 -07:00
John Reck
bdfb3c5a69 Hardware accelerated button focus rings
Bug: 5353510

Change-Id: Ie6a2c509b5890d3d091465a36804648999228553
2011-10-03 14:14:33 -07:00
Chia-chi Yeh
e4474c3b70 ConnectivityService: detach the logic of global proxy.
The current implementation of global proxy is dead,
and it will be removed completely in separate changes.

Change-Id: I54f6b3960f761483d28d808e99db4c71c9c0348d
2011-10-03 14:04:42 -07:00
Irfan Sheriff
774f9856d3 Merge "Remember wifi disable due to airplane" 2011-10-03 13:53:42 -07:00
Adam Powell
d2b58940f7 Don't obtain attributes for the whole theme when looking for selection
mode drawables.

Change-Id: I82d327e8fcf67baa557245982b2b5ba76ffa9fec
2011-10-03 13:42:41 -07:00
Adam Powell
be25ca2997 Merge "Fix bugs around overlay action modes." 2011-10-03 13:32:47 -07:00
Adam Powell
f8419a0299 Fix bugs around overlay action modes.
Multiple focusable windows cause undesired behavior around selection
modes. TextView isn't sure how to behave when it loses window focus
with regard to selection handles and action modes need to be focusable
for WebView find on page since it uses an EditText as a custom view.

For now:

* Use a layered window decor for overlay action mode when there is no
  action bar requested. This eliminates an extra window and avoids the
  issue described for full-screen UIs.

* Disable WebView's find-on-page mode when the action mode's UI will
  not be focusable. This only affects WebViews in floating windows.

Also remove the "Text Selection" title for WebView's selection mode at
UX's request, as it is inconsistent with TextView's selection mode and
the string does not fit on phones in portrait even on wide
devices. This now uses the same mechanism used in TextView to decide
whether to use title text.

Change-Id: I80caeecea9b47728cf26bb0a388153ca0bdeafe1
2011-10-03 13:20:23 -07:00
Gilles Debunne
f00b4decc3 Merge "Bug 5327547: re-check word after it (may) have been added to user dictionary." 2011-10-03 12:58:52 -07:00
Gilles Debunne
6771c7fdbe Merge "Bug 5384674: When only one suggestion is returned, it is displayed twice" 2011-10-03 12:58:42 -07:00
Gilles Debunne
d3871c53cf Merge "New underline color for the Voice recognized suggestions" 2011-10-03 12:58:34 -07:00
Matthew Xie
9de1feb673 Send TURN_HOT message to the state machine from BluetoothService after it starts
All the messages sent to the StateMachine were ignored before the StateMachine
starts. To avoid TURN_HOT message from being ignored, move it out to BluetoothService
to send to the BluetoothAdapterStateMachine after the state machine starts
bug 5333923

Change-Id: I14ccd6dd7e6430aad2bca9230d01578b5327cc3f
2011-10-03 12:50:27 -07:00
Scott Main
b9e7e132ea Merge "docs: fix wacky markup bug caused by lack of sentence terminator" 2011-10-03 12:19:55 -07:00
Irfan Sheriff
31b92e28a5 Remember wifi disable due to airplane
Add the wifi disabled due to airplane mode as a seperate settings so
that wifi is restored after a reboot when airplane mode is turned off

Bug: 5365718
Change-Id: I36a9694bbcacd5bb5f89498e4adc47c81e611da6
2011-10-03 12:13:20 -07:00
Svetoslav Ganov
1401935b8f Merge "Adding accessibility support to the share UI." 2011-10-03 11:53:48 -07:00
Daniel Sandler
e0ef70abf5 Merge "Slightly less ugly ICS adb icons." 2011-10-03 11:30:10 -07:00
Russell Brenner
e4255b1769 Merge "Center box text vertically" 2011-10-03 11:29:16 -07:00
Daniel Sandler
11e1fd246c Slightly less ugly ICS adb icons.
Change-Id: I40448c3fa58fe15a924e306584105110657c9f1a
2011-10-03 14:17:39 -04:00
Svetoslav Ganov
70853772bd Adding accessibility support to the share UI.
Added content description to the overflow button and default
action target as well as content description for the popup
list with share targets.

bug:5398787

Change-Id: Iea1e9d85893899f7d161986cb958595083c79b93
2011-10-03 11:16:40 -07:00
Daniel Sandler
58d807f66a Merge "Fix contentDescriptions in status bar." 2011-10-03 11:08:52 -07:00
Xavier Ducrohet
b11d09cb66 am 6c465bbe: (-s ours) Cherry-pick f1dee1 from master for SDK. do not merge.
* commit '6c465bbe805354dc0101d2cac1d7ce374bb336a0':
  Cherry-pick f1dee1 from master for SDK. do not merge.
2011-10-03 10:43:49 -07:00
Fabrice Di Meglio
8ebf1efd66 Merge "Fix potential issue with the TextLayoutCache with glyphs" 2011-10-03 09:56:39 -07:00
Fabrice Di Meglio
eb3b750c1d Merge "Improve TextLayoutCache performances a bit" 2011-10-03 09:56:32 -07:00
Xavier Ducrohet
6c465bbe80 Cherry-pick f1dee1 from master for SDK. do not merge.
Layoutlib: add support for ITextServicesManager.

This include a fix in layoutlib_create to properly handle
delegating a static method of an inner class (was broken and
only worked on non static method).

Added a few comments here and there to *_Accessor classes so
that it's a bit more obvious what they are for and how they are
used.

Change-Id: I186ce33236e4de08d0205f75fb8d20d74c92da34
2011-10-03 09:54:57 -07:00
Xavier Ducrohet
7b1c30dfda Merge "Layoutlib: add support for ITextServicesManager." 2011-10-03 09:11:23 -07:00
Xavier Ducrohet
f1dee199a0 Layoutlib: add support for ITextServicesManager.
This include a fix in layoutlib_create to properly handle
delegating a static method of an inner class (was broken and
only worked on non static method).

Added a few comments here and there to *_Accessor classes so
that it's a bit more obvious what they are for and how they are
used.

Change-Id: Ifc31dd1a006393bb0c08e22b6a17f500dd62e090
2011-10-03 09:06:07 -07:00
satok
4a553e3a70 Prioritize the order of subtypes in method.xml for implicitly enabled subtypes
Bug: 5401115
Change-Id: I6d9229cd266e27b68a6b9a2892aabfba4fe4de00
2011-10-03 17:49:57 +09:00
Teng-Hui Zhu
53b1aaaa08 am 2842ca8a: am bcb14ce1: (-s ours) Compiling issue fix since SurfTex header changed.
* commit '2842ca8ac63ad5e7b6a6eb89285d14db424c2bab':
  Compiling issue fix since SurfTex header changed.
2011-10-01 12:05:59 -07:00
Teng-Hui Zhu
2842ca8ac6 am bcb14ce1: (-s ours) Compiling issue fix since SurfTex header changed.
* commit 'bcb14ce1fc06ba7161e7e30420264dd0f2ad8433':
  Compiling issue fix since SurfTex header changed.
2011-10-01 12:01:46 -07:00
Flavio Lerda
0fce15b03c Add a cached formatted phone number to call log.
This column is used by the phone application to cache the formatted
phone number. This is needed to avoid computing the formatted phone
number in the main thread (because it requires disk access) but not
update the formatted phone number after the UI has been shown (except
the first time around or if anything else has changed).

Bug: 5316982
Change-Id: I4e2dd2e3fb35a0e0d15039e4c0c9841a909f7a8a
2011-10-01 18:55:33 +01:00
Svetoslav Ganov
82e236d72a The logic for not populating text to some accessibility events is scattered.
1. Some accessibility evenents should not and were not dispatched for
   text population but there was no centralized location for enforcing
   this - rather the system was firing them in a specific way or there
   were conditions in a few places enforcing that. Now this is centralized
   and clean.

2. Updated the documentation with some new event types the were lacking.

3. Explicitly stated in the documentaition which events are dispatched to
   the sub-tree of the source for text populatation.

bug:5394527

Change-Id: I86e383807d777019ac98b970c7d9d02a2f7afac6
2011-09-30 19:55:27 -07:00
Michael Jurka
0230f20cfa Merge "Fixing accessibility support in Recent Apps" 2011-09-30 19:46:58 -07:00
Adam Cohen
450c9c4566 Merge "Adding default padding to AppWidgetHostView for widgets >= API level 14" 2011-09-30 19:26:05 -07:00
Adam Cohen
5d5f340520 Adding default padding to AppWidgetHostView for widgets >= API level 14
Change-Id: Idbbeafba664847f01393bb0c6102f774390380d5
2011-09-30 19:00:00 -07:00
Roman Nurik
b927ec199c Mark random music player sample as updated in the resource TOC
Change-Id: I26b387ff62d56a276bef10c3c943c3baf5646a39
2011-09-30 18:15:13 -07:00
Fabrice Di Meglio
155fa38a71 Fix potential issue with the TextLayoutCache with glyphs
- there may be a mapping of one char to many glyphs

Change-Id: I48846d176d61dc8d8e513ca144fdf8ad805e63b7
2011-09-30 17:24:35 -07:00
Amith Yamasani
8cb751b05a Tie the lockscreen sounds with the ringer volume.
Actual volume is a ratio of the ringer volume and drops along with
but slower than the ringer volume, so that at lowest ringer volume,
the lockscreen sounds are still somewhat audible.

Don't start the sounds if the ringer is muted.

Bug: 5394473
Change-Id: Ifcf242b3198b4ec8f12334e26ec23ebf05a96b83
2011-09-30 17:14:18 -07:00
Chia-chi Yeh
9f3bd386aa Merge "SipService: handle connectivity changes correctly." 2011-09-30 17:12:49 -07:00
Russell Brenner
b76b3b1c81 Center box text vertically
Apply Gravity.CENTER_VERTICAL for single-line editable text

Bug: 5267547
Change-Id: Ie81354214e6eb97554d1f9e8e47377a2b0e73df6
2011-09-30 17:03:32 -07:00
Teng-Hui Zhu
bcb14ce1fc Compiling issue fix since SurfTex header changed.
Change-Id: I7790626d287d4b44cd9d9fc9f902237b6d059678
2011-09-30 16:59:19 -07:00
Chia-chi Yeh
ee59e6a9fc SipService: handle connectivity changes correctly.
This patch assumes that for the same network type,
there MUST be a DISCONNECTED between two CONNECTEDs.
Also removes the Wi-Fi scanning since the framework
already handles this when a WifiLock is held.

Bug: 4283795
Change-Id: I08481e70c651cffcbb516c8cc6584c919078fa4f
2011-09-30 16:46:30 -07:00
Michael Jurka
7daf95d552 Fixing accessibility support in Recent Apps
- also switching "Recent applications" to "Recent apps" as per our new language guidelines

Change-Id: Ib625429ad22ce75ede782d59c0f45894d00c8502
2011-09-30 16:44:01 -07:00
Eric Fischer
6b804a9dd0 Merge "Import revised translations." 2011-09-30 16:38:53 -07:00
Eric Fischer
d3530ac774 Import revised translations.
Change-Id: Ic8e228878fde375b90797c6e344fcb3114180f1d
2011-09-30 16:32:04 -07:00
Adrian Ludwig
3fd8275c0a Merge "Update existing security FAQ and Developer Overview" 2011-09-30 15:46:41 -07:00
Jamie Gennis
94309e3fc7 Merge "SurfaceTexture: parameterize the texture target" 2011-09-30 15:28:46 -07:00
Scott Main
44c7968acd docs: fix wacky markup bug caused by lack of sentence terminator
Change-Id: Ibb8b57c176f026bb1ea573a545036d2bc91955e4
2011-09-30 15:25:14 -07:00
Jamie Gennis
8606fefa21 SurfaceTexture: parameterize the texture target
This change adds a hack to allow Android Browser to use a SurfaceTexture
to stream RGBA images to a GL_TEXTURE_2D texture object.

Change-Id: Idb90064d5d4b920959ef3be7451362ac5012460e
2011-09-30 14:19:41 -07:00
Fabrice Di Meglio
717060b076 Improve TextLayoutCache performances a bit
- the gain is about 5% and the timing is more stable
- use compare_type() and strictly_order_type()

Change-Id: Iab81869a8ba461ce786a468b6c59b8f34e8db838
2011-09-30 14:08:25 -07:00
The Android Open Source Project
c8f68e5c7f Reconcile with ics-factoryrom-release
Change-Id: I0b476b0f30ab6e5747e67ab667fef7231b171787
2011-09-30 13:24:24 -07:00