19928 Commits

Author SHA1 Message Date
Xia Wang
fb2f199292 Merge "Remove long sleep time in WifiApStress test as it causes the test to run for a long time." 2011-02-23 13:19:24 -08:00
Xia Wang
8d2f78898e Remove long sleep time in WifiApStress test
as it causes the test to run for a long time.

Change-Id: I82dd042866f9e9f4637a5c3cc553334abe769260
2011-02-23 11:39:14 -08:00
Scott Main
e86c12c9e4 am 02be2f1d: am 2788e4f9: docs: fix some typos
* commit '02be2f1d874078f227af34fcac7863eca1f35653':
  docs: fix some typos
2011-02-23 11:27:12 -08:00
Scott Main
02be2f1d87 am 2788e4f9: docs: fix some typos
* commit '2788e4f96a3f210192145a340a1d072c70c7bc4f':
  docs: fix some typos
2011-02-23 11:24:42 -08:00
Leon Scroggins
91ebba38ee Merge "New flag to open intent in a new tab." 2011-02-23 11:20:05 -08:00
Scott Main
2788e4f96a docs: fix some typos
Change-Id: I2dc9855f8fe87234d4337351e8bac6c382fb74d2
2011-02-23 10:54:31 -08:00
Irfan Sheriff
563db5343f Merge "Add support for background scanning" 2011-02-23 10:41:12 -08:00
James Dong
afc671fc5e Merge "Application-managed callback buffer support for raw image" 2011-02-23 10:38:21 -08:00
Leon Scroggins
af5b406ad6 New flag to open intent in a new tab.
Bug:3405773

Change-Id: I363bfbfee90e98cd1e6a57452e599a79637a8555
2011-02-23 10:46:35 -05:00
Daniel Sandler
70564141ce Merge "Minor cleanups to Notification docs." 2011-02-23 06:43:12 -08:00
Daniel Sandler
5e98dbc770 Merge "Documentation: Notification.icon is mandatory." 2011-02-23 06:42:48 -08:00
Bjorn Bringert
ceb1997174 Merge "ActivityManager exposes launch count API." 2011-02-23 02:30:57 -08:00
Alon Albert
5df34ac754 am a0946d63: am 1aba843d: am ccc802e1: Merge "Support quoted parameters" into gingerbread
* commit 'a0946d6399431d3cc86ef06d44695251ab04933b':
  Support quoted parameters
2011-02-22 21:56:23 -08:00
Romain Guy
e42aa50ded am e5410aa1: am ad492161: am a2090bea: am 7118bdec: Merge "Fix for #12945: ProgressBar.setMax() will always redraw."
* commit 'e5410aa165d2c707c9f31eabbfcf9c2332d9228a':
  Fix for #12945: ProgressBar.setMax() will always redraw.
2011-02-22 21:35:20 -08:00
Alon Albert
a0946d6399 am 1aba843d: am ccc802e1: Merge "Support quoted parameters" into gingerbread
* commit '1aba843dc327490a749059bcddff90e8048ed75c':
  Support quoted parameters
2011-02-22 21:23:50 -08:00
Alon Albert
1aba843dc3 am ccc802e1: Merge "Support quoted parameters" into gingerbread
* commit 'ccc802e12be64248c2c6822eb36a957435a06ef2':
  Support quoted parameters
2011-02-22 21:18:52 -08:00
James Dong
e00cab707d Application-managed callback buffer support for raw image
bug - 3292153

Change-Id: I9789f7c5cde3a3889d7375e881181e9152d95fc2
2011-02-22 20:48:15 -08:00
Kenny Root
1665da555d Merge "Fix poll options for NativeActivity's hasEvents" 2011-02-22 16:08:42 -08:00
Gilles Debunne
2bbe178fea Merge "Text selection handles correctly scroll" 2011-02-22 15:48:06 -08:00
Kenny Root
2bb10f4299 Fix poll options for NativeActivity's hasEvents
NativeActivity created a pipe to wake up a Looper it's attached to, but
it failed to set the right options for the read part of the pipe. This
affects only the NativeActivity API call for AInputQueue_hasEvents

Change-Id: I02e5dad4e700f4c724b3187a4b7e0df931dd1eed
2011-02-22 15:29:21 -08:00
Gilles Debunne
81f08086b4 Text selection handles correctly scroll
Bug 3416154

The origin of the problem is new display optimisations that enable
a scrollView to be scrolled without calling the onDraw method of its
children. As a result, the handles' positions were not updated on scroll.

DropDown popup menu have an integrated scroll listener that will fix the
problem. Using these indead is the first part of the solution.

The next problem is that when they get hidden, these popups try to move their
parent (the TextView in our case) which creates a scroll conflict. Fixed by
overriding findDropDownPosition.

Finally, when the handles get invisible, a new scroll listener has to be
installed that will show them back in case the view is scrolled back.

This is also an important step to fix Bug 3441308 (selectable text in list
views).

Debugging find outs:
Small optimization in PopupWindow to avoir unregistering then registering
back the listener when it is updated.

getHandle().show(); is not needed since updatePosition will do it through
moveTo().

Change-Id: I6bf6a3649538328257734ed1e651b23b889d65d9
2011-02-22 15:21:17 -08:00
Fabrice Di Meglio
beefeb6151 Merge "Code cleaning" 2011-02-22 15:03:24 -08:00
Fabrice Di Meglio
dd347df9f8 Code cleaning
- use constants whenever possible
- better memory allocation of buffers
- add logging thru conditional compilation

Change-Id: I486195b1cb35046ea00971630832978c1b2e64a0
2011-02-22 14:52:50 -08:00
Romain Guy
e5410aa165 am ad492161: am a2090bea: am 7118bdec: Merge "Fix for #12945: ProgressBar.setMax() will always redraw."
* commit 'ad492161e4384efe11daec60cd14902f6b2c662a':
  Fix for #12945: ProgressBar.setMax() will always redraw.
2011-02-22 14:48:21 -08:00
Gilles Debunne
59b8a3269e Merge "Bugfixes in StaticLayout." 2011-02-22 14:00:28 -08:00
Gilles Debunne
76327dc0a8 Merge "Tuning the touch up filter." 2011-02-22 13:59:20 -08:00
Gilles Debunne
b153bc9d55 Merge "Cursor background attribute made public" 2011-02-22 13:57:36 -08:00
Gilles Debunne
8eb18b114e Merge "Fixes around cursor blink." 2011-02-22 13:57:14 -08:00
Gilles Debunne
0c4650b4d5 Merge "Cursor does not jump back to its previous position when IME is showed up." 2011-02-22 13:57:00 -08:00
Jesse Wilson
57283d7aba Merge "Save a few bytes on the zygote heap." 2011-02-22 13:20:56 -08:00
Mike Lockwood
3c85a4e639 Merge "KeyguardManager: Add isKeyguardLocked() and isKeyguardSecure()" 2011-02-22 13:11:11 -08:00
Romain Guy
795e42e91a Merge "Add more info to View.getLayoutParams()" 2011-02-22 11:50:32 -08:00
Romain Guy
01c174bce3 Add more info to View.getLayoutParams()
Change-Id: I9abc64c9bbf726a02256a9ab692d9c555a6e3525
2011-02-22 11:51:06 -08:00
Romain Guy
d379d53a5e Add missing docs to AttributeSet.
Change-Id: Ieabc9e63104d274e59c3bd9a4e7ec475c5e32c6b
2011-02-22 11:32:29 -08:00
Romain Guy
f4f9c937b6 Merge "Add missing docs to AttributeSet." 2011-02-22 11:30:09 -08:00
Romain Guy
ffa337483a Fix incorrect id name in ListActivity's documentation.
Change-Id: I83ce45d313f31b15b84abf64294eff19accc30b6
2011-02-22 11:24:15 -08:00
Romain Guy
2569137929 Merge "Fix incorrect id name in ListActivity's documentation." 2011-02-22 11:22:23 -08:00
Romain Guy
84c6b95a77 Add documentation to GridView.
Change-Id: Ic81e498ad05f0c9c33580ecd6ce895ff1b6e00c4
2011-02-22 11:15:42 -08:00
Romain Guy
2b9f895b02 Merge "Add documentation to GridView." 2011-02-22 11:13:29 -08:00
Patrick Scott
e835fd7212 Merge "Scroll layers on touch events." 2011-02-22 11:06:02 -08:00
Cary Clark
16ed2ab09f Merge "don't scale nav slop when zooming" 2011-02-22 11:04:44 -08:00
Jaikumar Ganesh
b7508df1f6 Merge "Fix compiler errors when compiled with debug option." 2011-02-22 10:57:48 -08:00
Jaikumar Ganesh
2653a1e7ca Fix compiler errors when compiled with debug option.
The Logv statement was missing the format specifier.

Change-Id: Ibf986d28dabfdbb3fbfd75381cb349448c6e57e7
2011-02-22 10:53:29 -08:00
Jaikumar Ganesh
d0269f708b Merge "Make BluetoothInputDevice inherit from BluetoothProfile." 2011-02-22 10:43:53 -08:00
Jaikumar Ganesh
4ab0e7746f Make BluetoothInputDevice inherit from BluetoothProfile.
This makes it in sync with BluetoothHeadset and BluetoothA2dp profiles.

Change-Id: I3ddb1d18b04aacb173b7bc376bca21c277a6afe4
2011-02-22 10:42:26 -08:00
Alon Albert
ccc802e12b Merge "Support quoted parameters" into gingerbread 2011-02-22 10:31:26 -08:00
Cary Clark
e9290826db don't scale nav slop when zooming
Map the nav slop from device dimensions to content dimensions
so that the nav slop is not scaled when the screen is zoomed.

bug:3465598
Change-Id: I764e7d0ef59107f3f8b3781744df532dd45005b6
2011-02-22 13:20:56 -05:00
Patrick Scott
cfa734a359 Scroll layers on touch events.
Send the LayerAndroid unique id and the current scroll rect during motion up
events and all touch events.

Bug: 3442108
Change-Id: I09a18ded7b7ce15984f61a329b2666f7cfadd0dc
2011-02-22 11:19:02 -05:00
Peter Visontay
8d224caf98 ActivityManager exposes launch count API.
Bug: 3431684
Change-Id: I49d4fb0b1620aafaf251d77700bc017859328968
2011-02-22 11:51:49 +00:00
Irfan Sheriff
fcc0845cf9 Add support for background scanning
Background scanning (preferred network offload) allows us the
host to sleep while the dongle monitors the presence of any
preferred networks. This allows us for significant power savings
since the system does not have to wake up often to initiate
a scan

Bug: 3453021
Change-Id: I7c1dbfd0c3f717df81e4da6091c4c5657c9ec9ca
2011-02-21 14:02:44 -08:00