36980 Commits

Author SHA1 Message Date
Gilles Debunne
af150b5bbd Merge "Long press starts a new selection if one is already started." 2010-11-23 17:29:17 -08:00
Brad Fitzpatrick
1b29825cca Misc Looper cleanups; add android.util.PrefixPrinter
Change-Id: I0b9adce46cb785b4dd4e6296e1f97c8bcf0dbfbf
2010-11-23 17:17:33 -08:00
Gilles Debunne
710a910e73 Long press starts a new selection if one is already started.
Change-Id: Ide525ff0021cf145bb5d2b8db2d09b7b7909289b
2010-11-23 17:09:15 -08:00
Jeff Brown
c97e6f9f35 Merge "Fix build on Linux due to different strrchr prototype." 2010-11-23 16:32:54 -08:00
Jeff Brown
ab841350f9 Fix build on Linux due to different strrchr prototype.
It seems Linux host build has a fancy strrchr overload that preserves
constness.  That's nice but it broke this.

Change-Id: I3c9b57b9ce9abc5d334d1e7b2498a3248bd20a6a
2010-11-23 16:29:54 -08:00
Joe Onorato
1d7ac9699e Merge "new signal strength assets" 2010-11-23 16:21:36 -08:00
Joe Onorato
ec10fa2515 Merge "updated battery assets" 2010-11-23 16:21:29 -08:00
Joe Onorato
5409deac03 Merge "Turn off the long press on home action" 2010-11-23 16:21:22 -08:00
Mike Lockwood
2ed9910d55 Merge changes Ia5fec45a,I74927f73,I5a3c0b07
* changes:
  MTP: Fix typo in MtpServer::doGetObjectPropList
  MTP: Implement GetPartialObject command
  MTP: Use DateTime form in GetObjectPropDesc for date/time properties.
2010-11-23 16:11:29 -08:00
Chet Haase
aa0c8ab00b Merge "Fix hang in native bitmap recycling due to nested mutex locks" 2010-11-23 16:01:49 -08:00
Joe Onorato
ddbba42b81 new signal strength assets
Change-Id: I6387d68659ff7ccf5024f186eeb75ab33c477a1f
2010-11-23 15:54:44 -08:00
Joe Onorato
8db70edf34 updated battery assets
Change-Id: I1a7a00c038041031daee59fb63bd5271da276619
2010-11-23 15:54:44 -08:00
Joe Onorato
46b0d6861c Turn off the long press on home action
Change-Id: I8b083e9e9b8bde4751264de18e5400434b315848
2010-11-23 15:54:43 -08:00
Jeff Brown
42e514b0d1 Merge "Port Emulator keymaps." 2010-11-23 15:51:27 -08:00
Mike Lockwood
e3634c3a80 MTP: Fix typo in MtpServer::doGetObjectPropList
Change-Id: Ia5fec45a238c49a6797a4ac55457ddb5d6521408
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-23 18:45:25 -05:00
Mike Lockwood
44e82ddaec MTP: Implement GetPartialObject command
Allows host to read partial contents of files on the device

Change-Id: I74927f7394224d674e1d150a4b72a51d9358459b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-23 18:45:01 -05:00
Mike Lockwood
5b19af05f2 MTP: Use DateTime form in GetObjectPropDesc for date/time properties.
Change-Id: I5a3c0b07a9f2958b86947256606e6a824dbe93a6
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-23 18:38:55 -05:00
Mindy Pereira
9123cbfe80 Merge "Create logic for applying padding only to custom preference layouts" 2010-11-23 15:34:27 -08:00
Jeff Brown
061cf75884 Port Emulator keymaps.
Also added a validation tool for keymaps (not currently integrated
into the build system but getting there).

This change brings back Android.mk with the intent that it will
be used to validate keymaps in a later change.

Added some missing keys that are present on phones.

Bug: 3215210
Bug: 3225421
Change-Id: Id817c6e2215164616942c51a42752915d9ceacd3
2010-11-23 15:26:48 -08:00
Mindy Pereira
2266b92072 Create logic for applying padding only to custom preference layouts
n the case of any standard PreferenceFragment layout, we can
change the list styling to add padding and set clipToPadding to false.
In this case, we don't want extra padding in the parent ViewGroup
(R.id.prefs).
When an app specifies a custom preference fragment layout, we want
to add the previously existing padding styles R.id.prefs.

Change-Id: Idfd77dcbef264c6f5f4121b66fd54c684ad0a288
2010-11-23 14:47:52 -08:00
Scott Main
f67eb43600 docs: fix code snippet error
Change-Id: I5d65effce4a88af2cbf990276015ed24200037b5
2010-11-23 14:46:49 -08:00
Andreas Huber
52b52cdfb7 Support streaming data across binder boundaries.
Change-Id: Ifbac61406dcb81343765f99ccba08bd90f9274cc
2010-11-23 14:46:13 -08:00
Costin Manolache
e4e6efa46b Fix permission.
Change-Id: Ifb545e8fb1a312f0fecb9aed35027c0cb98fab65
2010-11-23 14:40:37 -08:00
Guang Zhu
2aafca6408 pass layout test list using external file
Currently layout test list is passed between two processes in
intent, which does not work for large lists. This change store
the list in external storage folder (per app based, actual
location determined by framework) instead.

Change-Id: Ib175f766159f5e4f831d6b9ace9f1c4caef7298d
2010-11-23 14:32:53 -08:00
Brad Fitzpatrick
07cb89432c Merge "StrictMode.Span annotations for ScrollView." 2010-11-23 14:15:00 -08:00
Chet Haase
5cafc52fb1 Fix hang in native bitmap recycling due to nested mutex locks
Change-Id: Ic37d5408ddb3f68aba6520fb0c78ffde91dfbe62
2010-11-23 14:11:43 -08:00
Chet Haase
2970c49938 various fixes for animations and javadocs
Issues around threading of animations and AnimatorSet bugs are
fixed in this change. Unrelated fixes to javadocs in other
framework classes are also part of the change.

Change-Id: I35f7e03ffdec9143bc2eb155e8f9384798ad35b3
2010-11-23 14:05:42 -08:00
Irfan Sheriff
f499eedd8b Merge "Stop listening to supplicant state change events" 2010-11-23 13:43:06 -08:00
Xavier Ducrohet
912aa81988 Merge "Layoutlib: use default nine patch classes." 2010-11-23 13:38:21 -08:00
James Dong
9fff216da9 Merge "Do not getConfig on video encoder on output port" 2010-11-23 13:38:18 -08:00
satok
4f4180737c Merge "Change return type of getShortcutInputMethodsAndSubtypes to Map<InputMethodInfo, List<InputMethodSubtype>>" 2010-11-23 13:34:04 -08:00
satok
f3db1af8d5 Change return type of getShortcutInputMethodsAndSubtypes to Map<InputMethodInfo, List<InputMethodSubtype>>
bug: 3201828

- Brushed up the code

Change-Id: I11ad9d1d749bd8947144ca7f1676bab3cf777fd6
2010-11-24 06:32:44 +09:00
Irfan Sheriff
533ada4260 Merge "Fix Wifi's setting of isAvailable." 2010-11-23 13:27:56 -08:00
Brad Fitzpatrick
ce81f3a955 StrictMode.Span annotations for ScrollView.
Between the animation system, ListView, and this, we can now account
for the large majority of animations in-flight at any point and annotate
StrictMode violations accordingly.

Note that StrictMode.Span goes out of its way to not allocate memory
and is very light-weight, especially on user builds where it's a
no-op.

I've tested this with the LOG_V debugging in StrictMode and I think
I've gotten all the entry/exit cases of ScrollView's animations.  At
least, I'm not able to get it out-of-sync at least, even with
orientation changes during scroll/fling, etc.  It's possible I missed
a path, but that should show up as excessive false positives during
dropbox uploads if so.

Change-Id: I3b0545111a775d9fa8e171f2a190031f1b56c4c0
2010-11-23 12:44:08 -08:00
Robert Greenwalt
3c661bde45 Fix Wifi's setting of isAvailable.
Manifested itself in ConnectivityService reporting no connectivity.

bug:3220092
Change-Id: I4c0149125b8e2b9c2493f87d208aecbf21590fff
2010-11-23 12:41:46 -08:00
Xavier Ducrohet
2d56b273ef Layoutlib: use default nine patch classes.
Move away from using our own implementation of NinePatchDrawable.
Now use native delegate for a few methods of NinePatch.

The byte[] used to describe the 9-patch chunk is entirely controlled
by the delegate. Therefore, while the default version (JNI) use the
array as a representation of a C struct, this version uses the array
as a serialized version of NinePatchChunk.

A cache mechanism using SoftReferences allows us to not deserialize
the array every time rendering needs to access the chunk itself.

The Bridge-level cache mechanism for bitmaps and nine-patches as
changed. Since the new nine-patches doesn't hold the bitmap
data anymore (it's stored in a normal Android bitmap which
is cached itself through the cache), then the nine-patch cache
has been changed to only contain the nine patch chunk.

Also initialize the canvas with the display metrics to prepare
for correct scaling when density of the assets don't match the target
density.

Still to come: actual density support in the 9-patch drawing code.

Change-Id: Ibefcccf4432e1986e8436e0c41a0107741593536
2010-11-23 11:54:25 -08:00
James Dong
0c9153df10 Do not getConfig on video encoder on output port
Change-Id: Id53e01dd8f3ec0c9ca94bb1d6dfccd7696254a2d
2010-11-23 11:44:51 -08:00
Mindy Pereira
b43d7589cf Merge "Update edge and glow rendering to match new specs." 2010-11-23 11:32:51 -08:00
Brad Fitzpatrick
05063d8a59 Merge "StrictMode fingerprinting / hashCode improvements." 2010-11-23 11:19:53 -08:00
Jean-Baptiste Queru
39154dfb87 am 9df7f313: am f0f6c54b: Merge "frameworks/base: Destroy the overlay even if there is an error"
* commit '9df7f31359866a77a47c9fab3171c71715fd0056':
  frameworks/base: Destroy the overlay even if there is an error
2010-11-23 11:17:48 -08:00
Jean-Baptiste Queru
9df7f31359 am f0f6c54b: Merge "frameworks/base: Destroy the overlay even if there is an error"
* commit 'f0f6c54b13831b11bd7a3bd7a01dc49b7505e56e':
  frameworks/base: Destroy the overlay even if there is an error
2010-11-23 11:14:57 -08:00
Mindy Pereira
a5531d784b Update edge and glow rendering to match new specs.
Change-Id: Id2ad0ff4fa78617cb79475952e9ce561ee8fec10
2010-11-23 11:12:20 -08:00
Jean-Baptiste Queru
f0f6c54b13 Merge "frameworks/base: Destroy the overlay even if there is an error" 2010-11-23 11:02:09 -08:00
Huahui Wu
a8f84063ff Merge "b/3186860: fix failing layout tests: fast/events/touch/basic-multi-touch-events-limited.html fast/events/touch/touch-target-limited.html" 2010-11-23 10:56:54 -08:00
Brad Fitzpatrick
f3d86be6d7 StrictMode fingerprinting / hashCode improvements.
Change-Id: I08ff939327f7c11a562851847ae91c67b1db4f87
2010-11-23 10:48:55 -08:00
Brad Fitzpatrick
a6a52dece7 Merge "Cache WindowManager in StrictMode; add android.util.Singleton" 2010-11-23 10:41:07 -08:00
Huahui Wu
3ebb51daa4 b/3186860: fix failing layout tests:
fast/events/touch/basic-multi-touch-events-limited.html
 fast/events/touch/touch-target-limited.html

Change-Id: I55ecc9944c888a005885704e296de7b7513a8172
2010-11-23 10:24:02 -08:00
Cary Clark
6c9aca670b Merge "cancel text selection on rotate" 2010-11-23 10:14:55 -08:00
Brad Fitzpatrick
0dccd0f0dc Merge "CloseGuard cleanups." 2010-11-23 10:14:29 -08:00
Cary Clark
c5cd5e9079 cancel text selection on rotate
Rotating the screen may cause it to layout differently. The
selected text may be hard to match or may not be visible at
all. Cancel the text selection mode when a rotate is detected.

bug:3205291
Change-Id: If7e8f98a1cc396bf21f8261f2a7b4a342907ef2f
2010-11-23 13:12:32 -05:00