12236 Commits

Author SHA1 Message Date
Cary Clark
5e17a1a18c don't scroll past the document bounds
bug:3260869
Change-Id: I255d2b18d738a422bd9d2948621b65e2f54ca0cd
2010-12-08 09:51:27 -05:00
Steve Block
81f19ffb94 Expose WebView.onPause() and onResume() in the public API
Also fixes up captialization of 'JavaScript' to be consistent.

Bug: 3054638
Change-Id: Ib60da17edb818c97013b399b4442f72c3bb386bd
2010-12-08 11:18:10 +00:00
Nick Pelly
ff9afc1d61 am 8abce7f5: am 40ddd4a6: Merge "Implemented getSize() to return max ndef size." into gingerbread
* commit '8abce7f56e4298d3e0035208be48c7afe0e3d2ad':
  Implemented getSize() to return max ndef size.
2010-12-07 23:03:52 -08:00
Martijn Coenen
53bf29b916 am 2f3ed791: am 5289b91c: Implement ndef formatting.
* commit '2f3ed7912e852da88efd5ebf9651ba3a89d3c9bd':
  Implement ndef formatting.
2010-12-07 23:01:02 -08:00
Nick Pelly
8abce7f56e am 40ddd4a6: Merge "Implemented getSize() to return max ndef size." into gingerbread
* commit '40ddd4a64908c0cbe4970d2ba1703f74717620a8':
  Implemented getSize() to return max ndef size.
2010-12-07 22:57:23 -08:00
Mathias Agopian
f9e2ca326f Merge "resolved conflicts for merge of a0f011ff to master" 2010-12-07 22:57:04 -08:00
Nick Pelly
40ddd4a649 Merge "Implemented getSize() to return max ndef size." into gingerbread 2010-12-07 22:55:21 -08:00
Martijn Coenen
6d9fc7e1ef Implemented getSize() to return max ndef size.
Change-Id: Ia584e8cfa51a4eaef5f03dc436c78a67296c2cae
2010-12-07 22:54:07 -08:00
Mathias Agopian
669084dbe6 resolved conflicts for merge of a0f011ff to master
Change-Id: I4c17021fc269ce66c98cc345353600eda332f980
2010-12-07 22:53:40 -08:00
Martijn Coenen
2f3ed7912e am 5289b91c: Implement ndef formatting.
* commit '5289b91c885158094988a9a7b51b3139565eb639':
  Implement ndef formatting.
2010-12-07 22:35:01 -08:00
Martijn Coenen
5289b91c88 Implement ndef formatting.
Change-Id: I6e3e3abdc304bc14d7c93a413e42bf957963e288
2010-12-07 22:30:39 -08:00
Romain Guy
dde4c35385 Merge "Correctly release the OpenGL Canvas on EGL error." 2010-12-07 20:15:29 -08:00
Romain Guy
67f27952c1 Correctly release the OpenGL Canvas on EGL error.
Change-Id: Ib31fd8445f7ce5f7aa7e0205de0e7db80d024fc2
2010-12-07 20:12:50 -08:00
Svetoslav Ganov
4bfd794475 Updated the NumberPicker for exposing it into the SDK
Change-Id: I3bd48d0210da8a202b6ff60deecb5d7776f1b73b
2010-12-07 17:59:31 -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
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
Mindy Pereira
1a94f3b582 Merge "Make horizotnalscrollview and scrollview edgeglows match the new algorithm." 2010-12-07 16:10:57 -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
6da7e935f9 No NPE in Browser when pasting in WebTextView.
Bug 3258790

Change-Id: I25d67ee85babb1bb3e4d05ea7b4e4d3756c60411
2010-12-07 14:35:47 -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
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
Gilles Debunne
1ab60b44e6 Merge "Fix for Blink in TextView." 2010-12-07 12:55:09 -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
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
Nick Pelly
59b3866653 am 8c30a47d: am 47e6ccb6: Merge "Corrected MIFARE default key set" into gingerbread
* commit '8c30a47d801be50272098e60d0079ae1b4ebd22a':
  Corrected MIFARE default key set
2010-12-07 09:40:35 -08:00
Nick Pelly
8c30a47d80 am 47e6ccb6: Merge "Corrected MIFARE default key set" into gingerbread
* commit '47e6ccb65ab0088cf04809c234cdb5f747579c8c':
  Corrected MIFARE default key set
2010-12-07 09:34:47 -08:00