24063 Commits

Author SHA1 Message Date
satok
5357806980 API cleanup for the spell checker framework
Bug: 5110151

- Add a bundle to an argment of newSpellCheckerSession
- Expose SpellCheckerSessionImpl in SpellCheckerService
- Fix function names
- etc

Change-Id: Ia8ec783b7b4d5fcd18389854b445fc10fc502297
2011-08-04 12:53:56 +09:00
Jim Miller
cf27a3ecc6 Merge "Fix 5044158: layout and asset work on lockscreen PIN mode" 2011-08-03 19:41:45 -07:00
Dianne Hackborn
21351d1b44 Merge "Whoops also need to move notification shade above lock screen." 2011-08-03 18:58:04 -07:00
Dianne Hackborn
e8ecde10b3 Whoops also need to move notification shade above lock screen.
And this requires making a new layer for the volume toast.

Change-Id: I4f272d56c87cf3b6bf886774b0fb02e610ab9164
2011-08-03 18:55:50 -07:00
Jaikumar Ganesh
8c90038503 Merge "Fix PAN bug for reverse tethering." 2011-08-03 18:15:11 -07:00
Mathias Agopian
452f035c31 Merge changes I689cb0c0,I09603218
* changes:
  Add a 'release' method to the SurfaceTexture public Java API
  Mark Window-Manager-specific APIs on android.view.Surface as @hide
2011-08-03 18:12:36 -07:00
Matthew Xie
cffb287b44 Merge "Add a timeout for disconnecting devices to recover from error situation" 2011-08-03 17:31:11 -07:00
Mathias Agopian
ec46b4e1ca Add a 'release' method to the SurfaceTexture public Java API
Bug: 5063618
Change-Id: I689cb0c01c14e597ccfb4eb0972e64fa570bd4e8
2011-08-03 17:23:44 -07:00
Jaikumar Ganesh
b389bdfba2 Merge "Enforce permission for changeApplicationState function." 2011-08-03 17:20:52 -07:00
Romain Guy
e28cde6253 Merge "Added Device Default Themes." 2011-08-03 17:16:02 -07:00
Kenny Root
01704e76fa Merge "Better error codes for missing files" 2011-08-03 17:09:38 -07:00
Matthew Xie
9a943a6420 Add a timeout for disconnecting devices to recover from error situation
Start the timer (3 second) just after calling disconnect devices.
If the timer expires, it indicates an error condition. we don't wait
on the ALL_DEVICES_DISCONNECTED event upon the error. Instead, get out of
switching state and turn off BT to reset out of the error condition.

Change-Id: I27aa8cd7b6fe50d9191e2d32fc2d6eac50424403
2011-08-03 17:08:55 -07:00
Jeff Sharkey
a841e52401 Merge "Expose quota status for active network." 2011-08-03 17:05:21 -07:00
Andrew Sapperstein
d31d3887bb Added Device Default Themes.
Now we have device default themes that OEMs
can change without affecting the Holo theme
or its derivatives. Additionally, the device
default themes point to device default styles
that have stubs (while inheriting from their
holo analogs).

Change-Id: I91f4a828eca1ba4da1d5b073dd04a34e52534aa4
2011-08-03 17:02:01 -07:00
Jaikumar Ganesh
2cbb33c362 Fix PAN bug for reverse tethering.
We were the setting the iface as null while disconnecting
and so when disconnected the iface used was null - which would
lead to a crash. During connecting we don't know the interface,
so we use null.

Change-Id: I970f2f1886fa32237936eff439c359187a798832
2011-08-03 16:42:55 -07:00
Romain Guy
8c8333c80e Merge "Destroy the EGL surface when the ViewRootImpl surface is invalid Bug #5109839" 2011-08-03 16:23:35 -07:00
Romain Guy
1d0c708961 Destroy the EGL surface when the ViewRootImpl surface is invalid
Bug #5109839

Change-Id: Icebde9abf43b852397a73ffef519004993b46901
2011-08-03 16:22:24 -07:00
Kenny Root
1ebd74acf9 Better error codes for missing files
Make sure that files that don't exist aren't returning bogus 'out of
space' error codes.

Add some Javadoc so I can remember what each thing does in an IDE.

Add copyright header to NativeLibraryHelper

Bug: 3375299
Change-Id: Iac46019160921daca65b21d38897e5165063316e
2011-08-03 16:03:42 -07:00
Philip Milne
271865565a Merge "Tidy." 2011-08-03 16:01:59 -07:00
Philip Milne
4c8cf4c933 Tidy.
Simplify logic for alignment modes.
Simplify drawing of rectangles.
Remove redundant code that was generating warnings in IDEA.
Remove the flexibility variable from Spec as it always has the value UNDEFINED.
Supress remaining inspection warning for clean (green) inspection status.

Change-Id: I2ddd80c68e7a6db0877648c2fdecefe9dbe7d32f
2011-08-03 15:37:05 -07:00
Jim Miller
79a02b1585 Fix 5044158: layout and asset work on lockscreen PIN mode
Fix PIN entry layout issues on hdpi, large-mdpi and xhdpi devices where emergencyCallButton was partially off-screen.

Copy button assets from latinIME for PIN screen.

Make PIN keyboard horizontal and vertical gaps configurable.

Change-Id: I415fcd83f02971b987c3df418d4114b8e1ab3945
2011-08-03 15:12:04 -07:00
Gilles Debunne
eba69ac070 Merge "A tap on the insertion handle is only handled if it has not been moved" 2011-08-03 15:01:50 -07:00
Jaikumar Ganesh
f5fb6c8ce3 Enforce permission for changeApplicationState function.
The ADMIN permission is for use cases where we want to manage BT connection
at a deeper level. So just the Bluetooth permission is good enough here.

Change-Id: Iddd038fe9f9a26f155b4edc9484ba1fe27b178ba
2011-08-03 15:00:07 -07:00
Mathias Agopian
b923066dee Mark Window-Manager-specific APIs on android.view.Surface as @hide
Bug: 5063337
Change-Id: I096032186acfc6b6a032636188e4d44907e46233
2011-08-03 14:44:48 -07:00
Dianne Hackborn
bac9cd68a0 Merge "Put back the status bar animations." 2011-08-03 14:01:55 -07:00
Gilles Debunne
c0e74ca822 Merge "Bug 5050963: Suggestion popup moves with its associated TextView" 2011-08-03 13:58:49 -07:00
Adam Powell
5254d5edee Merge "Fix bug 5093394 - Double SearchView!! What does it mean!?" 2011-08-03 12:16:58 -07:00
Adam Powell
6b0e97c7c4 Fix bug 5093394 - Double SearchView!! What does it mean!?
It means we should collapse any expanded action items when we
clear out all items from a MenuBuilder.

Change-Id: I59cacd862a89b3a50c61b02c64b1ea71907af83f
2011-08-03 12:07:30 -07:00
Jaikumar Ganesh
adcea06113 Merge "Fix PAN bugs." 2011-08-03 11:16:18 -07:00
Romain Guy
590840ff54 Merge "Don't recreate the EGL surface if the surface is not ready Bug #5114545" 2011-08-03 11:16:01 -07:00
Romain Guy
d3facf341b Don't recreate the EGL surface if the surface is not ready
Bug #5114545

Change-Id: I95149dc18e0582ca358716a6b0d89a4edc8fca26
2011-08-03 11:14:38 -07:00
Steve Block
cb484804e0 Merge "In DeviceMotionService, handle the fact that we may receive updates from SensorManager after unregistering." 2011-08-03 10:48:07 -07:00
Chris Craik
62c7b37590 Merge "Added automated performance test to TileBenchmark" 2011-08-03 09:46:15 -07:00
Jaikumar Ganesh
e3b79ca1b9 Fix PAN bugs.
1. The interface was null for reverse tethering.
2. When disconnecting the server, we were passing the address instead of the
interface.

Change-Id: I6004cdf1eed000211cddc6b120e0aded5758eb1e
2011-08-03 09:15:41 -07:00
Steve Block
d09001fea4 In DeviceMotionService, handle the fact that we may receive updates from SensorManager after unregistering.
Bug: 5110230
Change-Id: I9be502538517a094c83d2d1a9073dfaee3b436e7
2011-08-03 14:18:20 +01:00
Debashish Chatterjee
3f76ca47e2 Merge "Step1 of renaming READ_WRITE_OWN_VOICEMAIL to ADD_VOICEMAILS." 2011-08-03 06:06:30 -07:00
Debashish Chatterjee
766839cb6f Step1 of renaming READ_WRITE_OWN_VOICEMAIL to ADD_VOICEMAILS.
READ_WRITE_OWN_VOICEMAIL sounds a confusing name. Dianne recommened to
rename it to ADD_VOICEMAILS as this simply allows 3rd party apps to add
new voicemails to the system. The fact that we allow the app to acces
only its own voicemail is implicit and need not be highlighted in the
permission name. See bug: 5098551 for more details

This CL implements the 1st step of this change by adding the permission
ADD_VOICEMAILS. A follow up CL will remove READ_WRITE_OWN_VOICEMAIL once
content provider and contacts app have been modified to start using the
new ADD_VOICEMAILS permission instead.

Bug: 5098551
Change-Id: I515e7967bdb0e8498a60a32983f9122ce10dcc4a
2011-08-03 10:48:58 +01:00
satok
c660091696 Rename API name "RESULT_ATTR_LOOKS_TYPO"
Change-Id: I42ab73513de20ea9a39af734b358094269ca7fe4
2011-08-03 18:46:18 +09:00
Dianne Hackborn
59aed3885e Put back the status bar animations.
Change-Id: I9b326e8da9fa17878dde8a83c6551e9eb600bb7e
2011-08-02 22:53:31 -07:00
Gilles Debunne
040023a481 A tap on the insertion handle is only handled if it has not been moved
Without this test, an arbitrary drag of the handle that happens to end next to
where it started triggers the replace/paste action popup window, which is very
confusing.

Change-Id: Ib1f848147a1c12c231a28f2e730eccaf5321f85c
2011-08-02 20:16:32 -07:00
Adam Powell
85de77a1c7 Merge "Fix bug 5098288 - Rethink the suite of new themes" 2011-08-02 18:44:50 -07:00
Jeff Sharkey
f0ceede8ff Expose quota status for active network.
Create API to expose quota status derived from underlying network
policy.  This is designed to support applications making informed
decisions when performing network requests.

Fix bug with random stats generation, and write policy when changing
restrict background data flag.  Deprecate EXTRA_NETWORK_INFO, since
it varies based on UID.

Bug: 4517283, 5088603
Change-Id: Ic6893a8967f69937e466be226ba7bb86ef5a5d2d
2011-08-02 18:19:54 -07:00
Gilles Debunne
21078e4349 Bug 5050963: Suggestion popup moves with its associated TextView
Generalisation of the onPreDraw listener pattern for all popup windows
(SuggestionsPopupWindow, ActionPopupWindow and HandleView).

Added a shared PositionListener class that tracks movements of the
parent's TextView and limit calls to hierarchy to get this position from
different places.

See also bug 5106062.

Change-Id: Ia2fe9509fa7df683acc859f9871bf4630c2da4dc
2011-08-02 18:00:48 -07:00
Adam Powell
269248d112 Fix bug 5098288 - Rethink the suite of new themes
Cut down the list of new themes for ICS. Holo apps now have
Theme.Holo, Theme.Holo.Light, and Theme.Holo.Light.DarkActionBar to
choose from.

Add manifest attribute android:uiOptions to express
splitActionBarWhenNarrow. Other options may move into this later as
well. (DialogWhenLarge?) This attribute is valid on both activity and
application tags; application settings will serve as the default for
activities that do not explicitly set uiOptions.

uiOptions are not currently reflected in the startup window for new
activities.

Change-Id: Iffdc2ce4cc69f79c9bd4e541b7923286e6936c1e
2011-08-02 17:58:24 -07:00
Robert Greenwalt
baef393241 Merge "Reduce ConnectivityService logging" 2011-08-02 17:32:05 -07:00
Robert Greenwalt
58d4c59581 Reduce ConnectivityService logging
bug:5106520
Change-Id: I4a7a5cac51c09e9e2275b30b7b2c053f94b9088d
2011-08-02 17:18:41 -07:00
Romain Guy
04ee7956ea Merge "Add the ability to enable/disable marquee fading per device" 2011-08-02 17:03:22 -07:00
Dianne Hackborn
5857bceaea Merge "Clear the bitmap from the canvas in a lot of places." 2011-08-02 16:57:50 -07:00
Chris Craik
555c55ed65 Added automated performance test to TileBenchmark
bug:5062896

Depends on external/webkit change:
https://android-git.corp.google.com/g/#change,125566

Loads pages from SD card, and scrolls through them reporting results. Added
contentInvalidateAll hidden WebView method, and made pageSwapCallback
extensible.

Change-Id: I9f7377aad6fd7c101177dde552a72357c8b4e400
2011-08-02 16:47:21 -07:00
Dianne Hackborn
6311d0a079 Clear the bitmap from the canvas in a lot of places.
Change-Id: I6b2071ac7b348c473b9bdd1b972d095aebbb4fb3
2011-08-02 16:37:58 -07:00