36984 Commits

Author SHA1 Message Date
Chia-chi Yeh
4c7cc83827 Merge "RTP: Prepare to unhide the APIs." 2010-11-30 19:45:47 -08:00
Chia-chi Yeh
53aa6ef70d RTP: Prepare to unhide the APIs.
Polish things a little bit.

Change-Id: I2c3cea8b34b9c858879bc722ea1f38082ba22b8d
2010-12-01 11:35:51 +08:00
Jeff Brown
1f2451007c Ensure the ShortcutManager uses the correct key character map.
The ShortcutManager used to only receive the key code of the key event
that triggered the shortcut.  This change now provides the shortcut
manager with the whole key event so it can look up the associated
character using the correct key character map.

To make this more efficient, added a mechanism for recycling
key events.  At the moment it is only used by key events owned by the
system process, since clients of the existing API (such as Views)
might continue to hold on to key events after dispatch has finished so
they would break if the key event were recycled by the framework.

Deprecated KeyCharacterMap.BUILT_IN_KEYBOARD.

Change-Id: I4313725dd63f2be01c350c005a41c7fde9bc67e8
2010-11-30 18:50:17 -08:00
Jeff Brown
47e6b1b5ee Support non-orientation aware keyboards and other devices.
Fixed a bug with dpad keys on external keyboards being rotated
according to the display orientation by adding a new input device
configuration property called "keyboard.orientationAware".

Added a mechanism for overriding the key layout and key character
map in the input device configuration file using the new
"keyboard.layout" and "keyboard.characterMap" properties.

Also added "trackball.orientationAware", "touch.orientationAware" and
"touch.deviceType" configuration properties.

Rewrote the configuration property reading code in native code
so that it can be used by EventHub and other components.

Added basic support for installable idc, kl, and kcm files
in /data/system/devices.  However, there is no provision for
copying files there yet.

Disabled long-press character pickers on full keyboards so that
key repeating works as expected.

Change-Id: I1bd9f0c3d344421db444e7d271eb09bc8bab4791
2010-11-30 17:15:49 -08:00
Mike Lockwood
735206f121 Merge "NotificationManagerService: minor cleanup" 2010-11-30 17:03:32 -08:00
Mike Lockwood
35e16bfa9b NotificationManagerService: minor cleanup
Change-Id: I998727662eb3c0bae20e5af3f8c5e702bf5d4f38
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-30 19:53:36 -05:00
Hung-ying Tyan
1c8c173666 am c41b27e2: am 349f3509: Merge "Correct SipService.isOpened() implementation." into gingerbread
* commit 'c41b27e2748ee19620636a14721a1dc14c3b418c':
  Correct SipService.isOpened() implementation.
2010-11-30 16:24:15 -08:00
Hung-ying Tyan
121006789e am 5c85338d: am d9e12303: Merge "Notify SipSessions before closing SIP stack." into gingerbread
* commit '5c85338dcf85462534d85440ded100a8012ff9dd':
  Notify SipSessions before closing SIP stack.
2010-11-30 16:24:05 -08:00
Hung-ying Tyan
ebf28fa3f0 am 0e58a952: am 0bba9535: Merge "Throw proper exceptions in SipManager" into gingerbread
* commit '0e58a9529895e270dae90e69486a59e41de714b8':
  Throw proper exceptions in SipManager
2010-11-30 16:23:54 -08:00
Chia-chi Yeh
1981674771 am 4f93f08d: am 683a7ff9: Merge "Visualizer: Fix the conversion from 8-bit sample to 16-bit sample." into gingerbread
* commit '4f93f08d8c8b8067ff2176d9ec15c76c0e4cc0c2':
  Visualizer: Fix the conversion from 8-bit sample to 16-bit sample.
2010-11-30 16:23:40 -08:00
Irfan Sheriff
cc20f3c384 am ea6bb1b4: (-s ours) am ee93169e: Merge "DO NOT MERGE fix runstate race condition" into gingerbread
* commit 'ea6bb1b4d7111dfd084f772f83094bda662fdb23':
  DO NOT MERGE fix runstate race condition
2010-11-30 16:23:29 -08:00
Chia-chi Yeh
342a9be009 am e843dfa8: am bd399b0b: Merge "RTP: Pause echo suppressor when far-end volume is low." into gingerbread
* commit 'e843dfa8dcd0a7bfa956b75424bb5db834975a64':
  RTP: Pause echo suppressor when far-end volume is low.
2010-11-30 16:23:17 -08:00
Mindy Pereira
a5e22df10a Merge "Preference changes to layouts." 2010-11-30 14:19:19 -08:00
Michael Kolb
f7f07e5762 Fix page scroll during text selection
Bug: 3190609
    Leave embedded title bar in place during text selection CAB mode

Change-Id: I7140241ac7eeb442cfe7665580525d8cdfce220f
2010-11-30 13:59:02 -08:00
Mindy Pereira
8b2fb60cd4 Preference changes to layouts.
Change-Id: I37366c3465aa1d8d2bd30fb6ae4b821f5f2d5e2d
Additional changes to make the left and right padding
behave the same way as the top and bottom padding.
That is, our default pref screens will automatically
apply the padding and clipToPadding tags. Custom preference
screens will appear as before.
Uses LayoutParams now instead of a specific id.
2010-11-30 13:57:58 -08:00
Michael Jurka
62490bd358 Re-add performance optimization in View
- undoing change 79897

Change-Id: I52eb1247c4fead5e4203d7e7200129aa815e7c9b
2010-11-30 13:49:24 -08:00
Daniel Sandler
0b44476a23 Merge "Fix build." 2010-11-30 13:18:36 -08:00
Daniel Sandler
1bfddc8d15 Fix build.
Change-Id: Iccbe1609bbe582180d1c61f908b8dce4d485494b
2010-11-30 16:17:28 -05:00
Gilles Debunne
8e06a63099 Selection in URL, email, phone, date, numbers selects all
Change-Id: Ide3603404f356564e294b7698b52c2d55e314db9
2010-11-30 12:51:24 -08:00
Daniel Sandler
399ac12c11 Merge "When updating notifications, always reuse the last row." 2010-11-30 12:48:31 -08:00
Daniel Sandler
373a998374 When updating notifications, always reuse the last row.
Ordinarily, changing the "when" slot when updating a
Notification will move its expanded payload to the bottom of
the notification panel's list. But if it's already at the
bottom, this causes an unsightly out-then-in animation
sequence. We now check for that exact situation.

Bug: 3222274
Bug: 3162218
Change-Id: I8b643b3f8bce64e57a22bdbb06d92c196c2484c2
2010-11-30 15:32:55 -05:00
Gilles Debunne
d803cdef9a Selection handles no longer fade out.
This fade out was mainly introduced for forms with selectAllOnFocus fields, where
is hide some content. These no longer trigger selection mode and hence do not display
the handles.

Handles will be visible as long as selection mode goes on.

Change-Id: Ib8c2cc97308a91722f69aa0bb0caccb21d94c2c4
2010-11-30 12:11:15 -08:00
Romain Guy
6f72bebe92 Update 9patch structure when rendering with different divs/colors.
Bug #3221488

Change-Id: Ifc9e42a991d630feadc9e8032322f37504d09d6d
2010-11-30 12:06:39 -08:00
Hung-ying Tyan
c41b27e274 am 349f3509: Merge "Correct SipService.isOpened() implementation." into gingerbread
* commit '349f3509f7335bbdef443a75afa36fb3c2d9552c':
  Correct SipService.isOpened() implementation.
2010-11-30 11:46:15 -08:00
Hung-ying Tyan
5c85338dcf am d9e12303: Merge "Notify SipSessions before closing SIP stack." into gingerbread
* commit 'd9e12303d279654afe16319f948f93490cd1b4d5':
  Notify SipSessions before closing SIP stack.
2010-11-30 11:46:08 -08:00
Hung-ying Tyan
0e58a95298 am 0bba9535: Merge "Throw proper exceptions in SipManager" into gingerbread
* commit '0bba9535413f9ceefe03f1cef9ddaddccd05cae5':
  Throw proper exceptions in SipManager
2010-11-30 11:46:01 -08:00
Chia-chi Yeh
4f93f08d8c am 683a7ff9: Merge "Visualizer: Fix the conversion from 8-bit sample to 16-bit sample." into gingerbread
* commit '683a7ff922409d2aa6c944bc4e08de32029e80e5':
  Visualizer: Fix the conversion from 8-bit sample to 16-bit sample.
2010-11-30 11:45:54 -08:00
Irfan Sheriff
ea6bb1b4d7 am ee93169e: Merge "DO NOT MERGE fix runstate race condition" into gingerbread
* commit 'ee93169ed1072d3be627601223dafbcc061e7568':
  DO NOT MERGE fix runstate race condition
2010-11-30 11:45:45 -08:00
Chia-chi Yeh
e843dfa8dc am bd399b0b: Merge "RTP: Pause echo suppressor when far-end volume is low." into gingerbread
* commit 'bd399b0bd205a1a3889bae1a619c6d4d4a0f4816':
  RTP: Pause echo suppressor when far-end volume is low.
2010-11-30 11:45:31 -08:00
Chet Haase
7306668586 animation bugfix plus xml resources for new View properties
There was a bug around animation duration where it was possible,
for small durations or large inter-frame times, to calculate
fractions outside of the 0-1 range, causing bad value calculations.

Unrelated: new View properties for translation, scale, and rotation
were added in this release. This commit addes XML resources for
those properties.

Change-Id: Ieaf5dd729588adb2a40656aa82beecc3576f4af5
2010-11-30 11:11:43 -08:00
Justin Ho
ae3834ef9e Merge "Adding new ringtones and notifications" 2010-11-30 11:05:58 -08:00
Justin Ho
b6ac282eae Adding new ringtones and notifications
Change-Id: I2f59c1e5ef723e370165fc35c40a31df0ab0ee9f
2010-11-30 10:58:56 -08:00
Gilles Debunne
d1dc72a081 Long press in empty space stops text selection
Bug 3240058

Change-Id: I888ee691a0fdc89895db43f9ed01acebf7a0b6d3
2010-11-30 10:51:43 -08:00
Cary Clark
f72a59bbbb Merge "use the original hit if the cache is killed" 2010-11-30 10:23:52 -08:00
Gilles Debunne
458f4633b8 Merge "Dragging inside the same TextView is a move instead of a copy." 2010-11-30 10:07:41 -08:00
Cary Clark
b849134c1e use the original hit if the cache is killed
The nav cache may not have a cursor set if it is
rebuilt while the long press timer is running. Use
the original hit test data in this case.

bug:3198707
Change-Id: I795a3afb31de3667b3a69abbe898381912806802
2010-11-30 12:43:17 -05:00
Mike Lockwood
84e3916720 Merge "MTP: Don't fail in playlist transfer if not all playlist items can be found." 2010-11-30 09:22:00 -08:00
Mike Lockwood
50225445f8 Merge "MTP: Make sure buffer is big enough before reading the data packet" 2010-11-30 09:21:19 -08:00
Mike Lockwood
7adfd1896c MTP: Don't fail in playlist transfer if not all playlist items can be found.
Change-Id: I8275c4e5eca34e193a3cedcba16442bf388e74eb
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-30 12:19:50 -05:00
Mike Lockwood
9dfc7de2cc MTP: Make sure buffer is big enough before reading the data packet
Fixes buffer overflow when transferring large playlists.

Change-Id: I1b7feaf9e56d849e5b6609f0f68a6aa5a3ae1ea8
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-30 12:19:41 -05:00
Hung-ying Tyan
349f3509f7 Merge "Correct SipService.isOpened() implementation." into gingerbread 2010-11-30 00:56:57 -08:00
Hung-ying Tyan
d9e12303d2 Merge "Notify SipSessions before closing SIP stack." into gingerbread 2010-11-30 00:54:51 -08:00
Hung-ying Tyan
0bba953541 Merge "Throw proper exceptions in SipManager" into gingerbread 2010-11-30 00:51:22 -08:00
Chia-chi Yeh
683a7ff922 Merge "Visualizer: Fix the conversion from 8-bit sample to 16-bit sample." into gingerbread 2010-11-29 22:56:56 -08:00
Dianne Hackborn
fefc0743f8 Merge "Auto-show IME for dialogs on large screens." 2010-11-29 22:56:03 -08:00
Dianne Hackborn
7d3a5bcf30 Auto-show IME for dialogs on large screens.
On a large screen the IME is not going to as significantly
cover a pan & scan window, so allow it to auto-show if the
app hasn't otherwise specified its visibility.

Also some fixes here and there.

Change-Id: I10227ec59c43454e06e6870633f53426f4d78b83
2010-11-29 22:52:12 -08:00
Irfan Sheriff
ee93169ed1 Merge "DO NOT MERGE fix runstate race condition" into gingerbread 2010-11-29 22:26:52 -08:00
Chia-chi Yeh
bd399b0bd2 Merge "RTP: Pause echo suppressor when far-end volume is low." into gingerbread 2010-11-29 22:19:57 -08:00
satok
af4bf400ab Fix a bug of equals in InputMethodSubtype
Change-Id: I68b4726bedfb55d4737cf859ad3cb54bc19f9511
2010-11-30 14:02:49 +09:00
Adam Powell
12190b36a9 Add the Switch widget
Switch is hidden currently; it will be used in SystemUI and preferences.

Change-Id: I2cd8458783f938f00f5ee5e7a67fb5a90404797d
2010-11-29 19:14:58 -08:00