3797 Commits

Author SHA1 Message Date
Dianne Hackborn
7c32e4bc30 am d023f9a9: Merge change 24829 into eclair
Merge commit 'd023f9a9a90705410250cd86bc6446c738423a99' into eclair-plus-aosp

* commit 'd023f9a9a90705410250cd86bc6446c738423a99':
  Some optizations to wallpaper drawing/scrolling.
2009-09-14 15:54:08 -07:00
Android (Google) Code Review
d023f9a9a9 Merge change 24829 into eclair
* changes:
  Some optizations to wallpaper drawing/scrolling.
2009-09-14 18:45:42 -04:00
San Mehat
d5b281f4b4 am aa931bcb: Merge change 24841 into eclair
Merge commit 'aa931bcb0acb93ce760f4e5d27153fb1c6d33a10' into eclair-plus-aosp

* commit 'aa931bcb0acb93ce760f4e5d27153fb1c6d33a10':
  process: Switch to common cutils sched_policy api
2009-09-14 15:38:43 -07:00
Android (Google) Code Review
aa931bcb0a Merge change 24841 into eclair
* changes:
  process: Switch to common cutils sched_policy api
2009-09-14 18:31:39 -04:00
Dianne Hackborn
19382ac1a4 Some optizations to wallpaper drawing/scrolling.
First, fix some issues with the final wallpaper bitmap
we use: ensure it is always 16bpp, and make sure dithering
of its bitmap is turned off.   We take of dithering
when loading, to make sure we don't use it when drawing.

Also add new APIs to return the wallpaper with the equivalent
of Launcher's old FastBitmapDrawable.  As doing this, also load
the default wallpaper the same way as custom ones, taking care to
resize it as needed at load time.

Finally implement a mechanism for the window manager to wait
for the wallpaper to redraw at its new position before returning
from the application's call to change the offset.  This ensures
that the wallpaper better tracks the application.  Note that there
is a timeout in this wait that is relatively short, and if it
expires we will run for a while without waiting.

Change-Id: Ife449437746da85958bd447e0a6cf3d2223b398c
2009-09-14 15:29:44 -07:00
Romain Guy
ae7e8a760d am 944808f3: Merge change 24927 into eclair
Merge commit '944808f392e416858e3265b14b9e0a4410a1dbbf' into eclair-plus-aosp

* commit '944808f392e416858e3265b14b9e0a4410a1dbbf':
  Fix a possible NPE in View.
2009-09-14 15:23:31 -07:00
Android (Google) Code Review
944808f392 Merge change 24927 into eclair
* changes:
  Fix a possible NPE in View.
2009-09-14 18:15:59 -04:00
Romain Guy
8c11e31143 Fix a possible NPE in View.
Change-Id: Ieebd176e1f42c78e298aca973e9e5eed2dc3c6d9
2009-09-14 15:15:30 -07:00
Jaikumar Ganesh
61c150903c am 482d54bb: Add black listing of car kits by name.
Merge commit '482d54bb0cd9e00fd929185c31fea3ad845d97bc' into eclair-plus-aosp

* commit '482d54bb0cd9e00fd929185c31fea3ad845d97bc':
  Add black listing of car kits by name.
2009-09-14 15:01:09 -07:00
Jaikumar Ganesh
482d54bb0c Add black listing of car kits by name. 2009-09-14 14:55:24 -07:00
Jim Miller
7df4c83a95 am df5e76f9: Merge change 24814 into eclair
Merge commit 'df5e76f9c635a84efa16c5e2f6cf516b4b8fe300' into eclair-plus-aosp

* commit 'df5e76f9c635a84efa16c5e2f6cf516b4b8fe300':
  Enable log message for tracking issue #2092299.
2009-09-14 14:46:33 -07:00
Android (Google) Code Review
df5e76f9c6 Merge change 24814 into eclair
* changes:
  Enable log message for tracking issue #2092299.
2009-09-14 17:37:56 -04:00
Leon Scroggins
9fc38f40fe am d247aadf: Bring up the soft keyboard when touching a focused textfield.
Merge commit 'd247aadfc4b8117130908c44a2ed1f6d290a92ef' into eclair-plus-aosp

* commit 'd247aadfc4b8117130908c44a2ed1f6d290a92ef':
  Bring up the soft keyboard when touching a focused textfield.
2009-09-14 14:18:12 -07:00
Leon Scroggins
d247aadfc4 Bring up the soft keyboard when touching a focused textfield.
Fix for http://b/issue?id=2118333

Change-Id: Ifa540de139b35548dde2b714b628ca1879a605c5
2009-09-14 17:01:28 -04:00
Grace Kloba
d5a2813bb7 am dd817492: Remove trackball double click. Treat each click as a single click.
Merge commit 'dd8174928c9c2966b1491acd604612a3b38e600a' into eclair-plus-aosp

* commit 'dd8174928c9c2966b1491acd604612a3b38e600a':
  Remove trackball double click. Treat each click as a single click.
2009-09-14 13:43:56 -07:00
Grace Kloba
dd8174928c Remove trackball double click. Treat each click as a single click. 2009-09-14 13:34:39 -07:00
Cary Clark
3ff3e3fc3f am 298d32e1: Set the minimum fling to the title height.
Merge commit '298d32e1934cddf6b93e6a4588ab05630cd39ec7' into eclair-plus-aosp

* commit '298d32e1934cddf6b93e6a4588ab05630cd39ec7':
  Set the minimum fling to the title height.
2009-09-14 12:32:08 -07:00
Cary Clark
298d32e193 Set the minimum fling to the title height.
Dragging and flinging have different minimums for the max Y
value. Allow the fling to have the title height instead of zero
for the minimum max Y so the title can always be removed via
fling.

This fixes http://b/issue?id=2109006
2009-09-14 15:21:14 -04:00
Eric Fischer
76d82371a9 am 13bc4ad1: Merge change 24902 into eclair
Merge commit '13bc4ad18bc401c2a80e7dde8cba18841d709a78' into eclair-plus-aosp

* commit '13bc4ad18bc401c2a80e7dde8cba18841d709a78':
  Add "rtsp" to the list of URL schemes that get linkified.
2009-09-14 12:02:13 -07:00
Android (Google) Code Review
13bc4ad18b Merge change 24902 into eclair
* changes:
  Add "rtsp" to the list of URL schemes that get linkified.
2009-09-14 14:54:42 -04:00
Eric Fischer
7a4be89f5a Add "rtsp" to the list of URL schemes that get linkified.
Bug 1845298
2009-09-14 11:48:50 -07:00
Grace Kloba
920d01f80a am b6e164c7: Per suggestion in http://b/issue?id=2062340, update the UNIQUE in the httpauth table.
Merge commit 'b6e164c779881cf68768224bd67a8d949be0618a' into eclair-plus-aosp

* commit 'b6e164c779881cf68768224bd67a8d949be0618a':
  Per suggestion in http://b/issue?id=2062340, update the UNIQUE in the
2009-09-14 11:33:56 -07:00
Grace Kloba
b6e164c779 Per suggestion in http://b/issue?id=2062340, update the UNIQUE in the
httpauth table.
2009-09-14 10:47:07 -07:00
Grace Kloba
d161e3f275 am 0fdae4cc: Merge change 24747 into eclair
Merge commit '0fdae4cc744c3be3855b47e82d2244df8503258c' into eclair-plus-aosp

* commit '0fdae4cc744c3be3855b47e82d2244df8503258c':
  Use floor to calculate the range to avoid the rounding error triggered
2009-09-14 09:32:57 -07:00
Android (Google) Code Review
0fdae4cc74 Merge change 24747 into eclair
* changes:
  Use floor to calculate the range to avoid the rounding error triggered scrollbar. The worst case is that you can never scroll down to the last pixel. The old special case can cause problem when getViewWidth/Height have changed which do not match mLastXXSent any more.
2009-09-14 12:27:40 -04:00
Bjorn Bringert
c16f6f3331 am 6cb1330d: Merge change 24683 into eclair
Merge commit '6cb1330d26d2fe8a01c33ab3fbaee2bfebb6f47e' into eclair-plus-aosp

* commit '6cb1330d26d2fe8a01c33ab3fbaee2bfebb6f47e':
  Tell GlobalSearch about searches without a suggestion
2009-09-14 08:39:31 -07:00
Android (Google) Code Review
6cb1330d26 Merge change 24683 into eclair
* changes:
  Tell GlobalSearch about searches without a suggestion
2009-09-14 11:30:43 -04:00
Bjorn Bringert
c00083425b am ab50b86b: Deprecate showSearchIconAsBadge and icon search attrs
Merge commit 'ab50b86b79936623b5e326f2ed84b3c947c8ec93' into eclair-plus-aosp

* commit 'ab50b86b79936623b5e326f2ed84b3c947c8ec93':
  Deprecate showSearchIconAsBadge and icon search attrs
2009-09-13 23:31:54 -07:00
Bjorn Bringert
ab50b86b79 Deprecate showSearchIconAsBadge and icon search attrs
mlebeau says:
"Basically, because we now show the app icon for in-app
search, showSearchIconAsBadge is a bit unnecessary, but it does in
fact still work. Basically if either showSearchIconAsBadge or
showSearchLabelAsBadge are specified, we grow the height of the search
bar and place the provided icon or the provided label, respectively,
above the text field and app icon. But we do not remove the app icon
if the developer specifies showSearchIconAsBadge - it's still just the
'badge area' above the icon."

Fixes:
http://b/issue?id=2105329
"Deprecate searchable attributes 'showSearchIconAsBadge' and 'icon'"

Change-Id: Ie2976aafe42b4ab870be9e64b34eb0ed441ebbb0
2009-09-14 06:59:50 +01:00
Bob Lee
e0100f4736 am 93f00def: Merge change 24509 into eclair
Merge commit '93f00def4b63511be91057b2bc69f1dda6f038e9' into eclair-plus-aosp

* commit '93f00def4b63511be91057b2bc69f1dda6f038e9':
  Addressed reviewer comments.
2009-09-13 15:48:31 -07:00
Android (Google) Code Review
93f00def4b Merge change 24509 into eclair
* changes:
  Addressed reviewer comments.
2009-09-13 18:43:38 -04:00
Jim Miller
27844c386e Enable log message for tracking issue #2092299. 2009-09-13 00:02:14 -07:00
San Mehat
242d65bf9f process: Switch to common cutils sched_policy api
Signed-off-by: San Mehat <san@google.com>
2009-09-12 10:48:03 -07:00
Ye Wen
a472608879 am 9a0bf14c: Moving ImProvider to TalkProvider: Change Im.java to use the new TalkProvider; change the authority from "im" to "com.google.android.providers.talk"; also change the mime types.
Merge commit '9a0bf14c4f715a8ffa645c77c4c183dcfa3e31c8' into eclair-plus-aosp

* commit '9a0bf14c4f715a8ffa645c77c4c183dcfa3e31c8':
  Moving ImProvider to TalkProvider: Change Im.java to use the new TalkProvider; change the authority
2009-09-12 08:27:03 -07:00
Ye Wen
9a0bf14c4f Moving ImProvider to TalkProvider: Change Im.java to use the new TalkProvider; change the authority
from "im" to "com.google.android.providers.talk"; also change the mime types.
2009-09-11 22:22:20 -07:00
Jack Wang
65e301c09b am e441dcbb: Merge change 22561 into eclair
Merge commit 'e441dcbb4ed197cf248420308f5eaa935333651e' into eclair-plus-aosp

* commit 'e441dcbb4ed197cf248420308f5eaa935333651e':
  Performance measurement framework:
2009-09-11 18:09:34 -07:00
Jack Wang
ff1df69dd4 Performance measurement framework:
+ For bug 1810508
  - Added PerformanceCollector class to collect runtime and memory usage data
    * Moved performance snapshotting from Intrumentation to PerformanceCollector
  - Added PerformanceResultsWriter interface which defines functions for
    reporting performance data

+ Framework integration
  - Added TimedTest annotation to automatically time tests and write results
    to instrumentation output
  - Modified PerformanceTestBase to add collection hooks and wrapper methods
  - Modified WatcherResultPrinter in InstrumentationTestRunner to implement
    PerformanceResultsWriter for instrumentation output of performance data
  - Modified InstrumentationTestRunner and AndroidTestRunner to pass writer
    instance to test
2009-09-11 17:15:15 -07:00
Christopher Tate
3c73187566 am 38eeac30: Merge change 24797 into eclair
Merge commit '38eeac305a188b7ea4f586071c1d467c3f952be6' into eclair-plus-aosp

* commit '38eeac305a188b7ea4f586071c1d467c3f952be6':
  Don't backup/restore telephony material from secure settings
2009-09-11 17:13:23 -07:00
Android (Google) Code Review
38eeac305a Merge change 24797 into eclair
* changes:
  Don't backup/restore telephony material from secure settings
2009-09-11 20:04:01 -04:00
Christopher Tate
0738e88935 Don't backup/restore telephony material from secure settings
* Remove several nonportable telephony settings from the set to be included in
  the backed-up dataset

* Explicitly ignore those settings if they're encountered during a restore
  operation, so that we don't inadvertently do things like configure a GSM
  phone to use CDMA logic.
2009-09-11 16:35:39 -07:00
Costin Manolache
d42da36810 am d3e061fc: Merge change 24609 into eclair
Merge commit 'd3e061fc8f4a2a1e6b98ee43fd706ac09c786b61' into eclair-plus-aosp

* commit 'd3e061fc8f4a2a1e6b98ee43fd706ac09c786b61':
  If disk-full, don't crash the system server. Still todo: when we have disk we should trigger the  event again.
2009-09-11 16:29:47 -07:00
Android (Google) Code Review
d3e061fc8f Merge change 24609 into eclair
* changes:
  If disk-full, don't crash the system server. Still todo: when we have disk we should trigger the  event again.
2009-09-11 19:24:44 -04:00
Grace Kloba
e621d6ffb9 Use floor to calculate the range to avoid the rounding error triggered
scrollbar. The worst case is that you can never scroll down to the last
pixel. The old special case can cause problem when getViewWidth/Height
have changed which do not match mLastXXSent any more.

Remove FIND_HEIGHT from computeVerticalScrollRange per conversation with Leon.

Change computeMaxScrollY to use computeVerticalScrollRange which matches
how it computes X.

Change onMeasure to use contentToViewDimension() as it has the same logic.
2009-09-11 15:07:25 -07:00
Romain Guy
b04c6689d0 am 02ee5387: Merge change 24764 into eclair
Merge commit '02ee5387d3b9904f18d639f4d49612f4b3563eed' into eclair-plus-aosp

* commit '02ee5387d3b9904f18d639f4d49612f4b3563eed':
  Add @Widget annotation to GestureOverlayView to make it usable in ADT.
2009-09-11 14:36:20 -07:00
Android (Google) Code Review
02ee5387d3 Merge change 24764 into eclair
* changes:
  Add @Widget annotation to GestureOverlayView to make it usable in ADT.
2009-09-11 17:30:46 -04:00
Romain Guy
51099c5aa6 Add @Widget annotation to GestureOverlayView to make it usable in ADT.
Change-Id: I86251f0d35e38460f09779f047aabfa99d2e97ae
2009-09-11 14:29:15 -07:00
Jaikumar Ganesh
e08e60a7cb am 32d8571f: Changes for BT 2.1
Merge commit '32d8571f509c392dca732c243e9b2138c15daecf' into eclair-plus-aosp

* commit '32d8571f509c392dca732c243e9b2138c15daecf':
  Changes for BT 2.1
2009-09-11 14:27:33 -07:00
Jaikumar Ganesh
32d8571f50 Changes for BT 2.1
1) Handle incoming 2.1 pairing requests
2) Modify displaying error messages on bond failures.
3) Add delay while accepting incoming pairing for certain 2.1 devices.
When MITM is on, the link key request might come more than once.
Auto accept with a delay.
4) Handle DisplayPasskey callback for pairing a 2.1 keyboard with
a 2.1 device
2009-09-11 14:12:48 -07:00
Dianne Hackborn
f6626fecdf am 162ec999: Merge change 24635 into eclair
Merge commit '162ec9993e9695946a6b954fd53eebb63e055540' into eclair-plus-aosp

* commit '162ec9993e9695946a6b954fd53eebb63e055540':
  Fix issue #1983406: Soft keyboard doesn't show up in an EditText with "digits" attribute set
2009-09-11 13:54:04 -07:00
Dianne Hackborn
b7860bea3b am 8cae124a: Various cleanup around resources and nine-patches.
Merge commit '8cae124af2142687a6833dbaab8a43df6dd67b43' into eclair-plus-aosp

* commit '8cae124af2142687a6833dbaab8a43df6dd67b43':
  Various cleanup around resources and nine-patches.
2009-09-11 13:47:56 -07:00