20527 Commits

Author SHA1 Message Date
Svetoslav Ganov
0058f724eb Merge "Accessibility services cannot obtain the source of an event coming from a root namespace descendant." 2011-10-03 17:43:39 -07:00
Danielle Millett
fee5cb54af Merge "Reworked biometric weak check functions" 2011-10-03 17:38:47 -07:00
Dianne Hackborn
7d657e5cfa Merge "Add mechanism for Parcel to not allow FDs to be written to it." 2011-10-03 17:13:54 -07:00
Dianne Hackborn
9ecebbfbf7 Add mechanism for Parcel to not allow FDs to be written to it.
This is to help implement issue #5224703.

Change-Id: I026a5890495537d15b57fe61227a640aac806d46
2011-10-03 16:58:41 -07:00
Adam Powell
7c2d205298 Merge "Don't obtain attributes for the whole theme when looking for selection mode drawables." 2011-10-03 16:57:05 -07:00
Danielle Millett
58396984ef Reworked biometric weak check functions
Renamed isBiometricEnabled to isBiometricWeakInstalled.  This function
now checks if the system property is set, the facelock package is
installed, and if the phone has a front facing camera.  It no longer
checks if facelock is currently set as the unlock method.
Added isBiometricWeakInstalled checks to all cases where facelock is used
in LockPatternKeyguardView

Change-Id: Ia86a7ad6118101c6aab90ffb2ee9c42bf2548149
2011-10-03 18:41:01 -04:00
Svetoslav Ganov
2cdedffcfa Accessibility services cannot obtain the source of an event coming from a root namespace descendant.
1. The user can touch the screen at an arbitrary location potentially crossing the root namespace
   bounday which will send an accessibility event to accessibility services and they should be able
   to obtain the event source. Also accessibility ids are guaranteed to be unique in the window.
   Added a package scoped findViewByAccessibilityId method that dives into nested root namespaces.

2. Added accessibility support to the AnalogClock.

bug:5405934

Change-Id: I84edcb554bae41aafcbbc2723c5e62c1ef8a6ddf
2011-10-03 15:07:44 -07:00
John Reck
213478b858 Merge "Hardware accelerated button focus rings" 2011-10-03 15:01:10 -07:00
John Reck
bdfb3c5a69 Hardware accelerated button focus rings
Bug: 5353510

Change-Id: Ie6a2c509b5890d3d091465a36804648999228553
2011-10-03 14:14:33 -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
Svetoslav Ganov
1401935b8f Merge "Adding accessibility support to the share UI." 2011-10-03 11:53:48 -07:00
Russell Brenner
e4255b1769 Merge "Center box text vertically" 2011-10-03 11:29:16 -07: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
Adam Cohen
5d5f340520 Adding default padding to AppWidgetHostView for widgets >= API level 14
Change-Id: Idbbeafba664847f01393bb0c6102f774390380d5
2011-09-30 19:00:00 -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
Steven Ross
3553c296c0 Moving fallback check code to Settings
Change-Id: Ife924771d7bfedc6eccc6817172a699569560025
2011-09-30 15:48:40 -04:00
Gilles Debunne
845d9c7f7e Bug 5327547: re-check word after it (may) have been added to user dictionary.
Change-Id: Id4f32477c3368a140883dd34c97578aab46b04db
2011-09-30 11:24:53 -07:00
Gilles Debunne
176cd0d3b4 Bug 5384674: When only one suggestion is returned, it is displayed twice
Two separate issues here:
- The results of the spell checker may be identical to the one set by the IME. Since
we merge the spans, the entries are duplicated. Filter spell checker results to avoid
these duplicates.

- When the text is saved on rotation, the spans are saved and restored. Since we start
a new spell check when the window is attached, it also doubles the size.

Change-Id: I21e1a5ae1b264bc97f44d762e4589bf520c6c19c
2011-09-30 11:19:02 -07:00
Steven Ross
d42825f40e Merge "calling back SetupFaceLock to clean up temporary gallery" 2011-09-30 11:08:47 -07:00
Gilles Debunne
eba3d92341 Merge "Bug 5384675: Color in add to dictionary" 2011-09-30 10:58:30 -07:00
Gilles Debunne
9fb46925d3 Merge "Bug 5384535: Underline for typo even if there are no suggestions" 2011-09-30 10:58:10 -07:00
Gilles Debunne
5b92a451c0 Merge "Bug 5254884: suggestions are no logner copied in the clipboard" 2011-09-30 10:58:01 -07:00
Gilles Debunne
67ed574cdb Merge "Bug 5250788: EditText gets slower has the entered text gets longer" 2011-09-30 10:57:51 -07:00
Gilles Debunne
c2deadc9f3 New underline color for the Voice recognized suggestions
Change-Id: Icb863942e7c11caca7384deca5c59866d4668256
2011-09-30 10:43:43 -07:00
repo sync
82afa6e61e Merge "Fix IPv6 on wifi" 2011-09-30 09:57:36 -07:00
Mark Wagner
ff1ea0dc53 Merge "bugfix 5381702 MMS app puts temporary files on sdcard in wrong location" 2011-09-30 09:55:10 -07:00
Wei Huang
51e6e3f2ef Merge "Convert content type "image/jpg" to "image/jpeg"." 2011-09-30 09:23:03 -07:00
Kenny Root
83a5926ee3 Merge "Add DUMP permission checks to services" 2011-09-30 08:57:43 -07:00
satok
594cb47654 Merge "Use user's settings for the spell check language instead of the system locale" 2011-09-30 01:52:40 -07:00
satok
70deff4c10 Use user's settings for the spell check language instead of the system locale
Bug: 5390462
Change-Id: Ia2a3981cb93f451646debe5ee6b037313825cf9f
2011-09-30 17:49:40 +09:00
Luca Zanolin
af43add388 Merge "The x and y position of the pop-up where not calculated correctly when the text view had internal scrolling." 2011-09-30 01:01:35 -07:00
Owen Lin
e29288629d Convert content type "image/jpg" to "image/jpeg".
"image/jpg" is not a valid mimetype while "image/jpeg" is.
So change it to "image/jpeg" to increase the compatibillity with other
Apps in android. (e.g., Gallery)

bug: 5342561
Change-Id: Ia37433e35482492b7226c87a670bef3399ac4bb6
2011-09-30 15:26:34 +08:00
Svetoslav Ganov
2783b4fa43 Merge "ActivityChooserView shows "see all" improperly." 2011-09-29 17:54:22 -07:00
Fabrice Di Meglio
46c78b4de1 Merge "Fix bug #5387832 [UI/Visual] Address of the website is not displayed properly(second line of the address is partly shown)" 2011-09-29 17:53:09 -07:00
Romain Guy
638f17c1b7 Merge "TextureView works best when it draws stuff. Bug #5391188" 2011-09-29 17:23:52 -07:00
Romain Guy
59c7f80dd2 TextureView works best when it draws stuff.
Bug #5391188

Change-Id: I5e754881ccb08ff288ebd60de77282c9cbcf3f86
2011-09-29 17:21:45 -07:00
repo sync
7960d9f888 Fix IPv6 on wifi
Bug: 5388757
Change-Id: I3c8c776c26dad1daa9801d0455fde749c0206401
2011-09-29 16:59:01 -07:00
Svetoslav Ganov
1c07e22c36 ActivityChooserView shows "see all" improperly.
1. The cooser was presenting the "Show all" option if the number
   of available activities was more than the initial max count of activities
   to be shown. Since the show all option is added to the drop down
   the latter becomes effectively one longer than the initial max activity
   count which may make the drop down taller than client expectats. Also
   this leads to the case where if the activities are one more than the
   initial activity count pressing the show all button will just replace
   the show all item with the activity that did not fit - this is somehow
   annoying to the user.

bug:5379282

Change-Id: I2693214cb0b66edb2a3bdffc01ed29139341111c
2011-09-29 16:51:04 -07:00
Amith Yamasani
966222ef24 Merge "Handle the case of Preference lists that have header views inserted at the top." 2011-09-29 16:48:55 -07:00
Romain Guy
1e70aa94c1 Merge "Add system property to force hw acceleration." 2011-09-29 16:39:16 -07:00
Romain Guy
9622e20486 Add system property to force hw acceleration.
Change-Id: I538e641435f282b1af20866a8acd1f8d292734c4
2011-09-29 16:38:24 -07:00
Mangesh Ghiware
293fe94920 Merge "Force a WebView pictureset reset on screen rotation." 2011-09-29 15:57:51 -07:00
Amith Yamasani
2d43d283fc Handle the case of Preference lists that have header views inserted at the top.
Without this change, wrong Preference is returned when you select one.
Subtract the number of headers from the index before querying the adapter.
Needed for:
Bug: 5203189

Change-Id: Iba7277789ebbd7e3e9954931b1ea06c7e34f3c15
2011-09-29 15:16:16 -07:00
Philip Milne
a15cb2cda7 Merge "Fix for 5393156" 2011-09-29 15:01:27 -07:00
Philip Milne
4a145d7262 Fix for 5393156
. Fix for the above.
. Make instances of Space invisible by default.
. Correctly accomodate parental constraints when row/col order is undefined.

This fix allows GridLayout to accomodate simple dependencies between
its axes. In the example given in bug 5393156, the presence of a
multi-line TextView means that GridLayout can only compute its height
after it has computed its width. This fix adds a second measurement pass
to GridLayout that passes infomation betwen the axes, using the GridLayout's
orientation property to indicate which axis should be examined first.

Change-Id: I90761c6fcfe8edc7ef6d9a89076fd5cda3adc0a4
2011-09-29 14:48:44 -07:00