16523 Commits

Author SHA1 Message Date
Jeff Brown
77019fa4f9 Merge "Add support for fallback keycodes." 2010-12-07 17:39:28 -08:00
Jeff Brown
49ed71db42 Add support for fallback keycodes.
This change enables the framework to synthesize key events to implement
default behavior when an application does not handle a key.
For example, this change enables numeric keypad keys to perform
their associated special function when numlock is off.

The application is informed that it is processing a fallback keypress
so it can choose to ignore it.

Added a new keycode for switching applications.

Added ALT key deadkeys.

New default key mappings:
- ESC -> BACK
- Meta+ESC -> HOME
- Alt+ESC -> MENU
- Meta+Space -> SEARCH
- Meta+Tab -> APP_SWITCH

Fixed some comments.
Fixed some tests.

Change-Id: Id7f3b6645f3a350275e624547822f72652f3defe
2010-12-07 17:35:26 -08:00
Carl Shapiro
4ffae87678 Merge "Add a property to set the starting size of a VM." 2010-12-07 17:34:07 -08:00
Jeff Hamilton
2460a5fa23 am 03dc51b1: am 0f74afbb: Merge "Remove Type X Tags from the top-level API." into gingerbread
* commit '03dc51b1a07c7d79f1d12751b19ebda044857333':
  Remove Type X Tags from the top-level API.
2010-12-07 17:23:56 -08:00
Romain Guy
dbf78bdb7a Fix possible NPE in ViewRoot with GL rendering enabled.
Bug #3257222

Change-Id: Ic11cbe5f06311627eb7eac4dfa8864b43651d904
2010-12-07 17:04:03 -08:00
Carl Shapiro
38cfa8ca8b Add a property to set the starting size of a VM.
Change-Id: I3c981417baadfef64990fd90b4a275ed706a0b5b
2010-12-07 16:48:29 -08:00
Mindy Pereira
1a94f3b582 Merge "Make horizotnalscrollview and scrollview edgeglows match the new algorithm." 2010-12-07 16:10:57 -08:00
Makoto Onuki
debfb7fc01 Merge "Add space after property name in error message" 2010-12-07 16:05:22 -08:00
Xia Wang
8c1c1e875e Make the scan test log consistent.
Change-Id: I44fd790c21fed6bb2b615a047b762b5ac7c451bb
2010-12-07 15:39:11 -08:00
Mindy Pereira
b1297f7635 Make horizotnalscrollview and scrollview edgeglows match the new algorithm.
Instead of going past the left and right sides, the glow now
stretches just to the width of the edge and stops.
For horizontalscrollview, instead of going past the top and bottom,
now stretches just to the height and stops.
Change-Id: I0cc9bdef3ab263b16dd32e088c6b64ff5a8809c8
2010-12-07 15:33:51 -08:00
Makoto Onuki
a52a5e7c4c Add space after property name in error message
Change-Id: I15c1acc468ff17a1ebd1bc28288d0ac7113748b2
2010-12-07 15:27:53 -08:00
Romain Guy
5d2089bf94 Merge "Fixing the build breakage" 2010-12-07 15:18:02 -08:00
Svetoslav Ganov
3119fd426d Fixing the build breakage
Change-Id: I8589e5fcdeec127c84d2b419f6ef44d7011a5a6b
2010-12-07 15:15:34 -08:00
Brad Fitzpatrick
4ce445f027 Merge "Fix doc typo." 2010-12-07 14:54:24 -08:00
Brad Fitzpatrick
26b71be600 Fix doc typo.
Change-Id: I9d4db682e3d365e783d5d70fbf66d47fe04e88eb
2010-12-07 14:52:58 -08:00
Gilles Debunne
2f0c6a460a Merge "No NPE in Browser when pasting in WebTextView." 2010-12-07 14:48:38 -08:00
Xia Wang
923e5b7700 Merge "Add Wi-Fi stress tests." 2010-12-07 14:47:07 -08:00
Gilles Debunne
6da7e935f9 No NPE in Browser when pasting in WebTextView.
Bug 3258790

Change-Id: I25d67ee85babb1bb3e4d05ea7b4e4d3756c60411
2010-12-07 14:35:47 -08:00
Svetoslav Ganov
ea26a4feb6 bug 3248277 android.webkit.AccessibilityInjectorTest tests are flaky on trygon
Change-Id: I06332bc6eafb692b9ec829a093d23eccde897a2a
2010-12-07 14:32:33 -08:00
Xia Wang
90e1c782a6 Add Wi-Fi stress tests.
- Wi-Fi scan stress
- Wi-Fi reconnection stress
- Measure Wi-Fi scanning performance:
  . Average scanning time
  . Scanning quality

Change-Id: Ifce496876811816b452aed4ae9642fdb2db44798
2010-12-07 14:21:51 -08:00
Mathias Agopian
a0f011ff49 am 05813b0e: Merge changes I244b5469,I32044e91 into gingerbread
* commit '05813b0eb92cb1bc79607ee402f14ca1e4b43f6d':
  [3253328, 3171580] Treat GONE and INVISIBLE views the same when calculating transparent regions
  [3171580] Fix two typos related to fixed-size buffers
2010-12-07 14:20:14 -08:00
Mathias Agopian
05813b0eb9 Merge changes I244b5469,I32044e91 into gingerbread
* changes:
  [3253328, 3171580] Treat GONE and INVISIBLE views the same when calculating transparent regions
  [3171580] Fix two typos related to fixed-size buffers
2010-12-07 14:18:21 -08:00
Romain Guy
49c7a01a87 Merge "Adding DatePciker widget based on the Calednar team code. Updated DatePciker and DatePickerDialog as the second part of the Time/Date pciker refresh feature." 2010-12-07 14:04:47 -08:00
Jeff Hamilton
03dc51b1a0 am 0f74afbb: Merge "Remove Type X Tags from the top-level API." into gingerbread
* commit '0f74afbbf4bd0fe35889e26fc46f94c4ca6382d8':
  Remove Type X Tags from the top-level API.
2010-12-07 14:04:40 -08:00
Daniel Sandler
688ad19d95 am f340d082: Merge "More precise status bar battery icons." into gingerbread
* commit 'f340d082b8488de6f131c1e5932cd3abc16b47c1':
  More precise status bar battery icons.
2010-12-07 14:01:31 -08:00
Jeff Hamilton
0f74afbbf4 Merge "Remove Type X Tags from the top-level API." into gingerbread 2010-12-07 13:59:29 -08:00
Martijn Coenen
72df4ea830 Remove Type X Tags from the top-level API.
Also added an extra to carry the ndef message, so we can have it in multiple
Ndef instances without doing an active read.

Change-Id: I2ecabc24732990c5c9979ee3a001a7fb13da21d9
2010-12-07 13:51:47 -08:00
Brian Muramatsu
504bb5adee Merge "Fix Settings getFloat Methods" 2010-12-07 13:49:56 -08:00
Svetoslav Ganov
50f34d14f6 Adding DatePciker widget based on the Calednar team code. Updated DatePciker and DatePickerDialog as the second part of the Time/Date pciker refresh feature.
Change-Id: Id32c614bcd799463ca33bf08fb7d5cf44f8326a6
2010-12-07 13:34:23 -08:00
Jean-Baptiste Queru
65dd62a306 resolved conflicts for merge of ee27dd35 to master
Change-Id: Ia9f4ea86b8554ff04a3aa6b9e065239ae73740e7
2010-12-07 13:17:37 -08:00
Jean-Baptiste Queru
ee27dd356e am 12902d68: resolved conflicts for merge of 78742e01 to stage-korg-master
* commit '12902d687fa1bd4bff3c2dfc079c71eacb00eedd':
  Strings for NI position request are moved to resources
2010-12-07 13:02:22 -08:00
Gilles Debunne
1ab60b44e6 Merge "Fix for Blink in TextView." 2010-12-07 12:55:09 -08:00
Jean-Baptiste Queru
12902d687f resolved conflicts for merge of 78742e01 to stage-korg-master
Change-Id: I0ce429afeb26184f075b4ed326fc4e1c0833e905
2010-12-07 12:51:49 -08:00
Costin Manolache
5f383ad969 Fix bug in permission grant system.
Change-Id: Ieae1a576fdcba30b24e0430f322843369de2a697
2010-12-07 12:27:54 -08:00
Steve Block
689a342b0f Add WebView.removeJavascriptInterface()
Bug: 3234178
Change-Id: I7136f8d76b20f90a7e9e1c55b6755ffe6c35b77b
2010-12-07 20:16:13 +00:00
Gilles Debunne
f48e83b328 Fix for Blink in TextView.
The callback is removed when the window is detached. Prevents weak references to
the TextView from being kept.

No longer created for non editable texts (!).

Hiding the cursor handle when cursor is hidden.

Change-Id: Ic92f6cfc5b6ef6460f1edc6b9a564e4153d9c40f
2010-12-07 12:13:51 -08:00
Daniel Sandler
f340d082b8 Merge "More precise status bar battery icons." into gingerbread 2010-12-07 12:03:36 -08:00
Jean-Baptiste Queru
78742e01f7 Merge "Strings for NI position request are moved to resources" 2010-12-07 12:01:25 -08:00
Adam Powell
8a78d759c4 Merge "Fix bug 3259292 - Make FrameLayout respect margins without a gravity setting" 2010-12-07 11:51:28 -08:00
Chet Haase
1a8e404743 Remove broken doc link to removed method
Change-Id: Id1b1ab8e15d9af9fa38946cc5c673062a4b5a72d
2010-12-07 11:29:39 -08:00
Adam Powell
5e0ae67656 Fix bug 3259292 - Make FrameLayout respect margins without a gravity setting
Change-Id: I94ebf4064e64daaa547263adbdce86bfb836d55d
2010-12-07 11:26:34 -08:00
Shimeng (Simon) Wang
9ef0376e5f Merge "Prevent scaling beyond zoom overview scale." 2010-12-07 11:08:48 -08:00
Brad Fitzpatrick
c5448ba75f Merge "Make getSharedPreference() async, blocking on first access." 2010-12-07 11:02:45 -08:00
Chet Haase
5151b325a4 Merge "Change cancel/end behavior of animations to be synchronous" 2010-12-07 10:51:28 -08:00
Brad Fitzpatrick
4cd50b8d76 Make getSharedPreference() async, blocking on first access.
Bug: 3177046
Change-Id: Ibc36a1e196afd39c4f9da513a2bf4ba9e2c72177
2010-12-07 10:50:36 -08:00
Chet Haase
e2ab7ccd38 Change cancel/end behavior of animations to be synchronous
Previously, cancel() and end() calls would simply log a message to
be handled later by the animation handler. This caused problems with
coordinating complex animations, where some start() events for
future animations would occur before end() events for animations already
completed.
The change is to make these events synchronous (and require them to be
called from the appropriate thread), simplifying the code and the usage.

Also, fixed various timing and event bugs in AnimatorSet, and removed
the getter/setter properties from ObjectAnimator, since an earlier change
makes these properties undesirable (because the code will use a faster
JNI approach instead of reflection when it can).

Change-Id: I05c16645c2a31a92048a6031ddb126eb4312a946
2010-12-07 10:44:08 -08:00
Wink Saville
9315c9547a Merge "Have MobileDataStateTracker & DataConnectionTracker communicate directly." 2010-12-07 10:34:49 -08:00
Wink Saville
e798268f16 Have MobileDataStateTracker & DataConnectionTracker communicate directly.
Added CMD_SET_DATA_ENABLE which is sent when data is enabled/disabled
via the ConnectivityService. It is anticipated that the communication
channel will be used for additional commands and to receive unsoliciated
commands from DataConnectionTracker back to MobileDataStateTracker.

Change-Id: I3863e7385155d503f069b1dcb7e4f766ec78b5f8
2010-12-07 10:31:02 -08:00
Shimeng (Simon) Wang
88ec644d67 Prevent scaling beyond zoom overview scale.
issue: 3243899
Change-Id: I1d6cbb1b1f75c7aadb3b9cc6e82d912217508dc4
2010-12-07 10:27:34 -08:00
Patrick Scott
6231091feb Add fling to scrollable layers.
Requires a change in external/webkit.

Use the normal drag/fling pipeline but handle layers in each of the callbacks.
Record the scrolling range for a layer and use it to compute the fling/drag
ranges.  If the user reaches the edge of a layer, switch to scrolling the main
page unless the user switches direction.

Change-Id: Ifedde8fcf4f76d533586164c75defcebffec16e9
2010-12-07 13:12:44 -05:00