39140 Commits

Author SHA1 Message Date
Leon Scroggins
7014b12873 Find when pressing enter. Call onClickListener in TextView.
Bug:3313519

In Find ActionMode, Enter should call find on page (rather than
advancing focus to the WebView).

In TextView, pass and Enter key down to super, so that the
pressed state can get called properly, and the
onClickListener will fire.

Change-Id: Ia875fa6b5cf02565a0d066a009e68ce97718b032
2011-01-11 15:17:34 -05:00
Leon Scroggins
d5208cf42c Merge "Enable write ahead logging on databases used by WebView." into honeycomb 2011-01-11 09:24:39 -08:00
James Dong
f2e48873ae Merge "Don't release the video recording frame after recording is stopped in CameraSourceTimeLapse.cpp" into honeycomb 2011-01-11 08:56:02 -08:00
Chet Haase
53ee3316bc Rename RGBEvaluator to ArgbEvaluator
Change-Id: Iee74b475960d623fa757349e4053bd7c58cf5734
2011-01-11 06:46:44 -08:00
Romain Guy
91bfb813b6 Merge "Composite layers as regions." into honeycomb 2011-01-10 22:25:05 -08:00
Romain Guy
7230a74e9a Composite layers as regions.
This change detects what area of a layer was drawn into and generates a mesh
to match this area exactly. This can be used to avoid blending empty pixels
when the layer is composited.
This change also adds proper layers support to lines rendering and implements
layers composition in a more readable way.

Change-Id: I4a5588b98b19bd66891ebdc39631b193c5e31999
2011-01-10 22:26:16 -08:00
Romain Guy
a07105b7d2 Better logging of out of memory errors in OpenGLRenderer.
Change-Id: I6b72a084340d8d4b6e0b0a100ed4314d09d441ef
2011-01-10 21:14:18 -08:00
Romain Guy
89254c984e Merge "Better logging of out of memory errors in OpenGLRenderer." into honeycomb 2011-01-10 21:11:27 -08:00
Jim Miller
19b78d949c Merge "Fix 3305645: Hide recents if there are no recent apps." into honeycomb 2011-01-10 21:06:22 -08:00
Jim Miller
01f9944749 Fix 3305645: Hide recents if there are no recent apps.
Change-Id: I7a6131b22fd73cb8dae12b8bb80a5921414c1861
2011-01-10 21:02:25 -08:00
James Dong
545c22ffd2 Don't release the video recording frame after recording is stopped in CameraSourceTimeLapse.cpp
bug - 3334999

Change-Id: I1c83080713696221048da9b1a9f8c2ee48849ade
2011-01-10 20:43:33 -08:00
Jeff Brown
f527a1d936 Merge "Prevent events from getting backlogged." into honeycomb 2011-01-10 20:17:28 -08:00
Mike Lockwood
3459e27e5d un@hide android.os.Environment.isExternalStorageEmulated()
Change-Id: I35e7dc59763595523cb5af569e237bcff5cf1b49
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-10 22:12:31 -05:00
Louis Huemiller
bcd3b56acf Merge "Hardware Composer Test hwcCommit set blend type" into honeycomb 2011-01-10 18:09:49 -08:00
Louis Huemiller
676693674f Hardware Composer Test hwcCommit set blend type
Change-Id: If345641bd009cfd131b1a8e74cd4a9e8e4a7dfc7
2011-01-10 18:03:05 -08:00
Louis Huemiller
f6e4c0b557 Merge "Hardware Composer Test Overlap Stats" into honeycomb 2011-01-10 17:46:38 -08:00
Xavier Ducrohet
a57ca45d5d Merge "LayoutLib: move asserts around." into honeycomb 2011-01-10 17:44:16 -08:00
Joe Onorato
9c3850f24e Merge "current.xml" into honeycomb 2011-01-10 17:41:54 -08:00
Adam Powell
5c5fa339b4 Merge "Fix bug 3333015 - Overflow menu item submenus do not open" into honeycomb 2011-01-10 17:35:34 -08:00
Joe Onorato
77bbf6f066 current.xml
Change-Id: I58cacb79f4d44a0cf90ddbe5efcdcb50f6db81ce
2011-01-10 17:35:21 -08:00
Romain Guy
c71ad30f0c Fix the build
Change-Id: I39fde4140240bdd7fdb5d2823e990efbfde4a83e
2011-01-10 17:33:55 -08:00
Joe Onorato
94d7eef3be Merge "Make AppWidgetService handle components enabling and disabling." into honeycomb 2011-01-10 17:33:28 -08:00
Joe Onorato
e5e9558871 Merge "add ComponentInfo.isEnabled()" into honeycomb 2011-01-10 17:33:18 -08:00
Romain Guy
58818ab5b5 Merge "Fix the build" into honeycomb 2011-01-10 17:30:57 -08:00
Leon Scroggins
86e1fa647f Remove nativeCursorMatchesFocus, which is no longer necessary.
Bug:3335014

Requires a change in external/webkit.

Change-Id: I1dbaa73e86f312c6142c915e8cb252cf238f09c3
2011-01-10 17:28:02 -08:00
Joe Onorato
d070e89396 Make AppWidgetService handle components enabling and disabling.
Change-Id: Ie6b75cb90be38bbce694ccf2d5a342d7f0172fa4
2011-01-10 17:26:39 -08:00
Joe Onorato
a85a91573a add ComponentInfo.isEnabled()
Change-Id: I5ce59f62dc0ce3ce446bdbe397d1515e43031d76
2011-01-10 17:26:39 -08:00
Jeff Brown
928e054931 Prevent events from getting backlogged.
This change implements two heuristics.

1. When events are older than 10 seconds, they are dropped.

2. If the application is currently busy processing an event and
   the user touches a window belonging to a different application
   then we drop the currently queued events so the other application
   can start processing the gesture immediately.

Note that the system takes care of synthesizing cancelation events
automatically for any events that it drops.

Added some new handle types to allow the native dispatcher to
indirectly refer to the WindowManager's window state and app window
token.  This was done to enable the dispatcher to identify the
application to which each window belongs but it also eliminates
some lookup tables and linear searches through the window list
on each key press.

Bug: 3224911
Change-Id: I9dae8dfe23d195d76865f97011fe2f1d351e2940
2011-01-10 17:23:05 -08:00
Louis Huemiller
35ad62763f Hardware Composer Test Overlap Stats
Change-Id: I2f4a02924149f3964de31fb6250f4c21a64d96aa
2011-01-10 17:21:15 -08:00
Adam Powell
f0ad6e6eaf Fix bug 3333015 - Overflow menu item submenus do not open
Submenus of action bar menus will open as new menus.

Change-Id: I924b87bbea91b0df5e3608ec894530302c0e1d8d
2011-01-10 17:14:51 -08:00
Robert Greenwalt
55ccb88775 Merge "Don't check for services before boot-complete" into honeycomb 2011-01-10 17:13:24 -08:00
Jeff Brown
f900fed882 Merge "Fix NPEs in detached views." into honeycomb 2011-01-10 17:11:34 -08:00
Robert Greenwalt
03b15b976c Don't check for services before boot-complete
fixes the build

Change-Id: I2ee55d9aaad53dac16fa8182df3a7b43b57eb719
2011-01-10 17:09:25 -08:00
Mike Lockwood
f9a04233c1 @hide android.permission.WRITE_MEDIA_STORAGE
This permission is not needed for non-system or unbundled apps,
so we don't need it in the public API

Change-Id: I1a2a0349c6c5b7b5dc3104d69f4e39e95b878db9
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-10 19:59:02 -05:00
Romain Guy
3b703f2d11 Hide Canvas.getGL()
Change-Id: I6d81cf9f43ce0c990fe30b3b3159c95ac738ae79
2011-01-10 16:42:55 -08:00
Jeff Brown
b3ea92235c Fix NPEs in detached views.
Bug: 3297518
Change-Id: Ife1384f3a5bebbd28a29f97dc6d519f8a0b10ba9
2011-01-10 16:26:36 -08:00
Alex Sakhartchouk
fe852e216f Updating cubemap loading code.
Change-Id: I93bb00e5fd1ccc622d17eba70a510664c2093723
2011-01-10 15:57:57 -08:00
Vasu Nori
3045bbaf58 bug:3330569 print better message to help debug the problem
methods such as SQLiteStatement.simpleQueryForString() expect
one and only row to be returned when the query is executed.
if the application provides a query that doesn't return any data,
then the error message printed is pretty confusing.

make it less confusing and print the query itself to help debug
the error.

Change-Id: Ife2066f3a3eab0b98845a49e8f72b518458a7757
2011-01-10 15:37:47 -08:00
Dmitri Plotnikov
817b3f9342 Fixing field description.
PhoneLookup._ID is the contact id, not the data row id.

Change-Id: I51a308e26b93e178fde43123d0dfcb2b46630d6e
2011-01-10 15:29:54 -08:00
Huahui Wu
0904c0dcfb b/3302354 Always pass multi-touch events into WebKit, then handle them in WebView if preventDefault is not set.
WebViewCore.java: add a MotionEvent field into TouchEventData for multi-touch so the extra data such as pressure, size can be preserved.
WebView.java:
  1. Extracted the common code for multi-touch and single touch to a new private function: handleTouchEventCommon()
  2. Extracted the multi-touch code, including zooming and panning, to a new private function: handleMultiTouchInWebView()
  3. In onTouchEvent(), single touch events keep the code path, but multi-touch events are always passed to Webkit first.
  4. In Privatehandler.handleMessage(), if WebKit didn't consume the multi-touch event, the private handler calls the handleMultiTouchInWebView() to zoom and pan.

Change-Id: I3eba8812bd7cf6a298ff12e0b66223dae6725060
2011-01-10 15:22:03 -08:00
Romain Guy
d2c78b3972 Fix the build.
Change-Id: Ief8734697e8fdacb6fdbfdbd78793e06beb86d26
2011-01-10 15:01:13 -08:00
Leon Scroggins
09eac425c2 Enable write ahead logging on databases used by WebView.
Bug:3337213
Change-Id: Ic687bc506faba23c3e52e44f0a5d0146a352206e
2011-01-10 17:23:53 -05:00
Subir Jhanb
e896be71c7 Making the sync manager take the data connected value from ConnectivityManager and not from the intent.
BUG:3337128

Change-Id: Ife2705569fcdde1b201773d6622a8a9d0b7ccfa1
2011-01-10 14:18:09 -08:00
Stephen Hines
d94988bb0c Merge "Split time functions into rs_time.rsh header." into honeycomb 2011-01-10 14:14:35 -08:00
Romain Guy
778f5f95d7 Merge "Make sure onCancelled() is called if cancel() is called early." into honeycomb 2011-01-10 13:39:41 -08:00
Elliott Hughes
6452c259e0 Merge "Remove tests for dead API." into honeycomb 2011-01-10 13:39:30 -08:00
Romain Guy
5ba812b9e9 Make sure onCancelled() is called if cancel() is called early.
In some situations, when cancel() was called before the task had a
chance to start its execution, onCancelled() would not be invoked.

Change-Id: I6c1f4cd28a209fb8cc779bb212f500565dfceaae
2011-01-10 13:33:12 -08:00
Elliott Hughes
ffcac1a127 Remove tests for dead API.
We removed the implementation, so there's no point trying to test it. (The
methods are still there for binary compatibility, which is why this still
compiled.)

Change-Id: I51f392f3dab542fca0c80fab4974354e2c689b9e
2011-01-10 12:57:36 -08:00
Jesse Wilson
eb97c0ddc0 Patch new JSON APIs with changes informed by GSON.
Change-Id: I86c12a123080cc06ab23d11d1563bb52c5902517
2011-01-10 12:56:31 -08:00
Gilles Debunne
b3fbd7e0fd Merge "Stop text selection mode when new text replaces selection." into honeycomb 2011-01-10 12:49:23 -08:00