Commit Graph

52 Commits

Author SHA1 Message Date
Derek Sollenberger
1e64f02bf7 Add basic test for retrieving the plugin's visible rect.
Change-Id: I32f80587438060ebaa0cbfb5f992fb4baadcdf67
2011-01-07 14:14:37 -05:00
Derek Sollenberger
349bc37aa8 Update Animation Plugin to use OpenGL.
Change-Id: Ib20fa69422a0dae804c95f71b70a65027ad8e9cf
2011-01-04 16:39:05 -05:00
Derek Sollenberger
018ba7867d am 131bf0b0: am 704da604: Merge "Disable Proguard for the SampleBrowerPlugin" into gingerbread
Merge commit '131bf0b09ea3725bfe1c605c2fe7229d3d63a9cb'

* commit '131bf0b09ea3725bfe1c605c2fe7229d3d63a9cb':
  Disable Proguard for the SampleBrowerPlugin
2010-08-27 16:04:52 -07:00
Derek Sollenberger
48c0834ab5 Disable Proguard for the SampleBrowerPlugin
The native plugin library makes calls into java files that are
not often stripped out when Proguard optimizes the package.

Change-Id: I6ce8867dc9fa23e8a6adcc8daf9c8fb75f83c16d
2010-08-27 10:40:51 -04:00
Ben Murdoch
3b6f45dbd2 Merge Webkit at r58956: Plugin code has switched to C99 integer types. See http://trac.webkit.org/changeset/58590
Change-Id: Id521afd66935db6149a341f89ab6b4d7440e4695
2010-05-14 10:24:06 +01:00
Bart Sears
33638a7cd2 Put the test for the new API back in now that the requestCenterFitZoom
API has been put back in.

Revert "Revert "Add a test for the new requestCenterFitZoom api.""

This reverts commit 103e576893.
2010-03-15 15:52:54 -07:00
Grace Kloba
103e576893 Revert "Add a test for the new requestCenterFitZoom api."
This reverts commit 8f406a355f.
2010-03-12 18:35:23 -08:00
Grace Kloba
8f406a355f Add a test for the new requestCenterFitZoom api. 2010-03-12 13:35:47 -08:00
Grace Kloba
fffd4793c3 Match the new android_npapi 2010-03-09 14:10:59 -08:00
Derek Sollenberger
051c37a270 am 71ee406e: am 7364d2bc: Add full-screen option to the sample paint plugin.
Merge commit '71ee406e9b0e42246189804d3174be47a83eb903'

* commit '71ee406e9b0e42246189804d3174be47a83eb903':
  Add full-screen option to the sample paint plugin.
2010-03-01 07:30:19 -08:00
Derek Sollenberger
7364d2bc45 Add full-screen option to the sample paint plugin. 2010-03-01 09:35:49 -05:00
Derek Sollenberger
942e429796 am 23270e75: am 5b674145: Adding basic on/off screen event handling to the sample background plugin.
Merge commit '23270e751a8769fba15d5cf41f0d572ea36b948e'

* commit '23270e751a8769fba15d5cf41f0d572ea36b948e':
  Adding basic on/off screen event handling to the sample background plugin.
2010-02-23 19:54:11 -08:00
Derek Sollenberger
5b67414517 Adding basic on/off screen event handling to the sample background plugin. 2010-02-23 09:33:01 -05:00
Derek Sollenberger
4fe6d38a68 Removing unused parameter from NP_Initialize. 2010-01-21 15:04:58 -05:00
Derek Sollenberger
1645f9cab0 am aebdb460: am 1bc5ab62: Adding a new sub-plugin that gives visual feedback for navigation keys.
Merge commit 'aebdb4608541e3ffb158283bbc249b586ad9aa8f'

* commit 'aebdb4608541e3ffb158283bbc249b586ad9aa8f':
  Adding a new sub-plugin that gives visual feedback for navigation keys.
2010-01-14 11:31:00 -08:00
Derek Sollenberger
1bc5ab625c Adding a new sub-plugin that gives visual feedback for navigation keys. 2010-01-14 14:06:50 -05:00
Derek Sollenberger
b81615148c resolved conflicts for merge of a85d523b to master 2010-01-11 17:12:46 -05:00
Derek Sollenberger
d53b56d180 Removed dependence on java interfaces and use only one surface for both embedded and fullscreen surfaces. 2010-01-11 13:45:50 -05:00
Romain Guy
74192eafec Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:18 -08:00
Grace Kloba
a0e762caea free the NPObject in NPP_Destroy. 2009-12-27 14:33:09 -08:00
Grace Kloba
b59457e055 Change full screen surface to Opaque as it is required
by the new plugin model.

Comment out the video as it is not working and causes
crash when touch.
2009-12-16 11:38:53 -08:00
Grace Kloba
2c0f89aaf6 Update SampleBrowserPlugin to show handling
long press and double tap events.
2009-12-09 11:11:45 -08:00
Derek Sollenberger
e8454e7969 updating sample plugin to use new full screen interfaces. 2009-12-08 08:11:33 -05:00
Derek Sollenberger
51cce58c45 Ensure the plugin's native code is never called with an invalid NPP pointer. 2009-12-01 08:26:20 -05:00
Derek Sollenberger
e62ce17ac9 Refactoring the logging interface to remove dependence on NPP. 2009-11-30 11:52:06 -05:00
Derek Sollenberger
04b3e9a6c6 Refactoring sample plugin to use updated java interfaces. 2009-11-30 08:41:08 -05:00
Derek Sollenberger
b4a23918d3 Updating sample plugin to test java class loading. 2009-11-09 15:38:58 -05:00
Derek Sollenberger
bb660dd555 updating sample plugins to support fixed surface dimensions. 2009-10-13 11:45:47 -04:00
Derek Sollenberger
b8947eee34 Adding a full screen video sample plugin. Also cleaned up surface plugins to use the provided JavaVM. 2009-10-05 14:59:48 -04:00
Daniel Sandler
75ab82e25f hdpi artwork for development/{apps,samples}.
(drop dated 29-Sep-2009)

Change-Id: Ie022d478ed4eafc641e475dad94f507a6c358595
2009-09-29 20:41:24 -04:00
Derek Sollenberger
4a9200d094 renaming setJavaClassName to setPluginStubJavaClassName
Change-Id: I1a962ed93e27615611a248b8791d3392ba36df1e
2009-09-21 09:15:38 -04:00
Patrick Scott
4a8c3bf380 Do not install libsampleplugin by default.
This avoids installing the library during a normal build. When building
SampleBrowserPlugin, the library will be packaged in the apk.
2009-09-17 15:07:35 -04:00
Derek Sollenberger
08581f1c06 Updating samplePlugin to use java surface views.
Change-Id: I1b925ce3a6aeb0bd5464a7d5711449029944d7de
2009-09-15 19:31:43 -04:00
Derek Sollenberger
16ce3cdcac adding support for plugins to use the java view system.
Change-Id: I7305300dfc09e3e0968a1e61c21a6a2cdb983594
2009-09-15 19:31:43 -04:00
Derek Sollenberger
0c763b60ce adding README to sample plugins and cleaning up the animation plugin. 2009-08-11 10:05:46 -04:00
Derek Sollenberger
5ad138fef8 allow surfaces to specify the bitmap's pixel format 2009-08-10 10:50:59 -04:00
Derek Sollenberger
d049ec168b updating the sample plugin to reflect the latest changes in android_npapi.h 2009-08-07 11:26:44 -04:00
Grace Kloba
9ffe5ac6c4 Add the test for the new SystemInterface in the android_npapi. 2009-08-04 17:51:06 -07:00
Derek Sollenberger
c356b9f040 adding sample cod to access dom and javascript. 2009-07-30 16:57:07 -04:00
Derek Sollenberger
b6f5cd2d77 adding touch support to the paint plugin. 2009-07-28 15:09:23 -04:00
Derek Sollenberger
4fb83e6fa2 adding first pass of a sample paint plugin based on surface views. 2009-07-27 16:40:13 -04:00
Derek Sollenberger
c654bce09e adding support for tracking the visible rectangles. 2009-07-20 11:25:29 -04:00
Derek Sollenberger
c0f2657695 Adding support for surface views. also removed subplugin's dependency on ANPCanvas. 2009-07-17 08:50:53 -04:00
Derek Sollenberger
21f3991238 Updating the sample plugin with performance optimizations and better audio support. 2009-07-09 09:25:04 -04:00
Derek Sollenberger
0e827219dd Adding navigation support to the sample form plugin. 2009-07-08 11:11:33 -04:00
Derek Sollenberger
81382964c8 Fixing a typo in the android plugin api. 2009-07-07 11:26:38 -04:00
Derek Sollenberger
71f7d255d8 Adding focus and keyboard support to the form plugin. 2009-07-02 17:05:08 -04:00
Derek Sollenberger
db398a7c21 Adding a new sample plugin to test text input. 2009-06-29 13:53:04 -04:00
Derek Sollenberger
f42e2f4e92 Adding a basic sample plugin to test audio playback 2009-06-26 11:42:46 -04:00
Mike Reed
d3b9a76870 add zoom field to visibleRect event 2009-06-24 13:39:49 -04:00